Disclosure of Invention
The invention aims to provide an information push system of the Internet of things, which comprises at least one hardware device, an electronic communication device and a remote server, wherein the remote server stores at least one subject name and a plurality of groups of corresponding start codes; when the hardware device is started for the first time, the electronic communication device uploads a starting code of the hardware device to the remote server, the remote server judges a subject name to which the starting code of the hardware device belongs and pushes at least one message related to the subject name to the electronic communication device according to the judged subject name, and therefore a user of the electronic communication device can receive an advertisement or a notification message pushed by the remote server when waiting for the hardware device to execute starting verification.
Another objective of the present invention is to provide a message push system of internet of things, wherein when a remote server intends to execute a firmware update program on a hardware device, a firmware software containing a message is transmitted to an electronic communication device, an application program of the electronic communication device updates the firmware of the hardware device through the firmware software and configures the message in the updated firmware, and when the application program of the electronic communication device performs an operation on the hardware device after the firmware update, the message to be pushed in the firmware is displayed on an operation interface of the application program of the electronic communication device, so that an advertisement or a notification message can be pushed to a user of the electronic communication device through the hardware device even though the electronic communication device is in an offline environment.
Another objective of the present invention is to provide a message pushing system of internet of things, wherein a hardware device is configured with a unique start code, during a period of executing a wireless communication connection procedure, an electronic communication device transmits the unique start code to a remote server, the remote server determines a topic name to which the unique start code of the hardware device belongs and pushes at least one message related to the topic name to the electronic communication device according to the determined topic name, wherein a user of the electronic communication device can receive an advertisement or a notification pushed by the remote server before waiting for the completion of the wireless communication connection procedure between the electronic communication device and the hardware device.
Another objective of the present invention is to provide a message push system of internet of things, in which a message is pre-configured in a hardware device, a user of an electronic communication device can input a start code when starting the hardware device for the first time, and then the hardware device pushes a corresponding message to the electronic communication device in a short-distance communication manner according to the start code input by the user of the electronic communication device during the application program of the electronic communication device controlling the hardware device.
To achieve the above object, the present invention provides an information push system of internet of things, comprising: the remote server comprises a database and a graphical program interface, wherein the database is connected with the graphical program interface, the graphical program interface comprises a theme input box and a starting code generator, the starting code generator generates a plurality of groups of starting codes corresponding to theme names according to the theme names input by the theme input box, and the theme names and the corresponding starting codes are stored in the database; at least one hardware device, including a microcontroller and a first short-distance communication module, the microcontroller connects the first short-distance communication module, each hardware device is allocated with a group of start codes; and at least one electronic communication device, including a processor, a second short-distance communication module, a network communication module, a storage module and a display unit, the processor is connected with the second short-distance communication module, the network communication module, the storage module and the display unit, the storage module stores an application program capable of controlling the operation of the hardware device, the electronic communication device is connected with the first short-distance communication module of the hardware device through the second short-distance communication module, when the application program is started, an operation interface of the application program is displayed on the display unit, wherein when the hardware device is started for the first time, the application program of the electronic communication device uploads a start code of the hardware device to a remote server, the remote server judges a theme name corresponding to the start code of the hardware device and broadcasts at least one message related to the theme name to the electronic communication device according to the judged theme name, the message pushed by the remote server is displayed on the operation interface of the application program of the electronic communication device.
In an embodiment of the present invention, the management device further includes a management device with a networking function, the management device is communicatively connected to the remote server, the management device includes an input interface, when the management device logs in the remote server, a user of the management device inputs a topic name on a topic input box of the graphical program interface through the input interface and inputs a number of start codes to be generated on the start code generator to obtain a plurality of sets of start codes corresponding to the topic name, and the user of the management device configures a set of start codes for each hardware device.
In an embodiment of the present invention, the management device uploads at least one message associated with the topic name to the remote server and stores the message in a database of the remote server.
In one embodiment of the present invention, the subject name is an enterprise name, a merchant name, a brand name, or an event name.
In one embodiment of the present invention, the message is an advertisement message or a notification message.
In an embodiment of the present invention, the message is a text format, a sound format or a film format.
In an embodiment of the present invention, the hardware device stores a firmware, at least one message is built in the firmware, and when the electronic communication device operates the hardware device through the application program, the message of the firmware of the hardware device is displayed on the operation interface of the application program of the electronic communication device.
In an embodiment of the invention, after the remote server receives the start code of the hardware device, the remote server judges the theme name corresponding to the start code of the hardware device, selects at least one message associated with the theme name according to the judged theme name, configures the message in firmware software, when the remote server executes a firmware updating program for the hardware device, transmits the firmware software containing the message to the electronic communication device, the application program of the electronic communication device updates the firmware of the hardware device through the firmware software and configures the message in the updated firmware, and then when the electronic communication device executes control on the hardware device after the firmware is updated, the message is displayed on an operation interface of the application program of the electronic communication device.
In one embodiment of the present invention, the hardware device is further configured with a unique identifier that, when the hardware device is first booted, the method comprises the steps that an application program of the electronic communication device uploads a starting code and a unique identifier of a hardware device to a remote server, the remote server records the unique identifier of the hardware device and sets the unique identifier of the hardware device and the starting code to correspond to the same subject name, the electronic communication device transmits the unique identifier of the hardware device to the remote server when the application program of the electronic communication device executes a short-distance wireless communication connection program between the electronic communication device and the hardware device, the remote server judges the subject name corresponding to the unique identifier of the hardware device and pushes at least one message related to the subject name to the electronic communication device according to the judged subject name, and the message pushed by the remote server is displayed on an operation interface of the application program of the electronic communication device.
In an embodiment of the present invention, after the remote server receives the unique identifier of the hardware device, the remote server determines a topic name corresponding to the unique identifier of the hardware device, selects at least one message associated with the topic name according to the determined topic name, configures the selected message in firmware software, and when the remote server executes a firmware update program for the hardware device, transmits the firmware software including the message to the electronic communication device, and an application program of the electronic communication device updates the firmware of the hardware device through the firmware software and configures the message in the updated firmware, and then when the electronic communication device executes control on the hardware device after updating the firmware, the message is displayed on an operation interface of the application program of the electronic communication device.
The invention also provides an information push system of the internet of things, which comprises: at least one hardware device, including a microcontroller and a first short-distance communication module, storing a firmware, the microcontroller connecting with the first short-distance communication module, wherein the firmware is configured with a plurality of sets of start codes and a plurality of messages, each start code is configured to correspond to at least one message; the electronic communication device is connected with the first short-distance communication module of the hardware device through the second short-distance communication module, and when the application program is started, an operation interface of the application program is displayed on the display unit; the user of the electronic communication device inputs one of the start codes on the operation interface of the application program and transmits the input start code to the hardware device through the second short-distance communication module and the first short-distance communication module, after the microcontroller of the hardware device receives the start code, the microcontroller judges the message corresponding to the received start code and pushes the message corresponding to the received start code to the electronic communication device, and the message pushed by the hardware device is displayed on the operation interface of the application program of the electronic communication device.
The invention also provides a message pushing method of the internet of things, which is applied to a message pushing system, wherein the message pushing system comprises a remote server, at least one hardware device and at least one electronic communication device, the remote server comprises a database and a graphical program interface, the graphical program interface is input with a theme name to generate a plurality of groups of starting codes corresponding to the theme name, each hardware device is respectively provided with a group of starting codes, the electronic communication device comprises an application program capable of controlling the operation of the hardware device, and the message pushing method comprises the following steps: connecting the electronic communication device with the hardware device in a short-distance communication mode; enabling an application program of the electronic communication device to upload a starting code of the hardware device to a remote server when the hardware device is started for the first time; and after receiving the starting code of the hardware device, the remote server judges the theme name corresponding to the starting code of the hardware device and pushes at least one message related to the theme name to the electronic communication device according to the judged theme name.
The invention further provides a message push method of the internet of things, which is applied to a message push system, the message push system comprises at least one hardware device and at least one electronic communication device, the hardware device comprises a microcontroller, a first short-distance communication module and a firmware, the electronic communication device comprises an application program capable of controlling the operation of the hardware device, and the message push method comprises the following steps: allocating a plurality of sets of boot codes and a plurality of messages corresponding to the boot codes to a firmware of the hardware device; connecting the electronic communication device with the hardware device in a short-distance communication mode; enabling a user of the electronic communication device to input one of the start codes on an operation interface of the application program and transmit the input start code to the hardware device; after receiving the starting code, the hardware device judges the message corresponding to the received starting code; and enabling the hardware device to broadcast the received message corresponding to the start code to the electronic communication device.
Detailed Description
Fig. 1 is a diagram illustrating an architecture of an internet of things message push system according to an embodiment of the present invention. As shown in fig. 1, the message push system 100 of the internet of things of the present embodiment includes a remote server 10, a management device 20, at least one hardware device 30, and at least one electronic communication device 40. The remote server 10 is a network platform that can push messages. The management device 20 and the electronic communication device 40 may also be a mobile phone, a computer or an electronic device with networking function, and the hardware device 30 may also be a self-timer, an intelligent appliance, a bluetooth speaker or other intelligent electronic devices.
The remote server 10 includes a database 11 and a graphical program interface 13, and the database 11 is connected to the program interface 13. The program interface 13 may also be a web page type program interface or a software type program interface, which includes a theme input box 131 and a boot code generator 133. The start code generator 133 may also be a random code generator or a serial number generator.
The management device 20 includes an input interface 21 and a network communication unit 23, which is communicatively connected to the remote server 10 by the network communication unit 23. The input interface 21 may also be a keyboard or a touch screen. After the management device 20 logs in the remote server 10, the user of the management device 20 uses the input interface 21 to input at least one topic name 132 in the topic input box 131 of the program interface 13 of the remote server 10, and inputs a number of boot codes to be generated in the boot code generator 133, so that the program interface 13 generates a plurality of sets of boot codes 134 corresponding to the topic names 132. Then, the remote server 10 transmits the plurality of sets of start codes 134 generated by the graphical program interface 13 back to the management device 20 in a file manner, and stores the topic name 132 and the plurality of sets of start codes 134 corresponding thereto in the database 11.
After the user of the management apparatus 20 obtains the plurality of sets of boot codes 134 from the remote server 10, the user of the management apparatus 20 allocates a set of boot codes 134 for each hardware apparatus 30. In an embodiment of the present invention, the user of the management device 20 records the start code 134 in the firmware 351 of the hardware device 30, or in another embodiment of the present invention, the user of the management device 20 prints the start code 134 on a piece of paper by a photocopying method, and then places the piece of paper containing the start code 134 in the package of the hardware device 30 or sticks the piece of paper on the housing of the hardware device 30. After each hardware device 30 is configured with a set of activation codes 134, the user of the management device 20 delivers the hardware device 30 to the user of the electronic communication device 40 in a vending or giving manner.
Furthermore, the hardware device 30 includes a microcontroller 31, a first short-distance communication module 33 and a storage element 35, the microcontroller 31 is connected to the first short-distance communication module 33 and the storage element 35, and the storage element 35 stores a firmware 351. The electronic communication device 40 includes a processor 41, a second short-distance communication module 43, a network communication module 45, a storage module 47 and a display unit 49, wherein the processor 41 is connected to the second short-distance communication module 43, the network communication module 45, the storage module 47 and the display unit 49.
After the user of the electronic communication device 40 obtains the hardware device 30, the electronic communication device 40 can install an application 471, so as to control the operation of the hardware device 30 by using the application 471. The application 471 is stored in the storage module 47. The storage module 47 is a data storage device, such as: a flash memory component. Before the user of the electronic communication device 40 wants to control the operation of the hardware device 30, first, the application 471 is started, and an operation interface 472 of the application 471 is displayed on the display unit 49. The user of the electronic communication device 40 can click a connection button 4721 on the operation interface 472 to execute a short-range wireless communication connection procedure 420 between the second short-range communication module 43 of the electronic communication device 40 and the first short-range communication module 33 of the hardware device 30. When the wireless communication connection process 420 is completed, the wireless communication connection between the electronic communication device 40 and the hardware device 30 is established, so that the user of the electronic communication device 40 can control the operation of the hardware device 30 through the application 471. In the present invention, the first short-range communication module 33 and the second short-range communication module 43 are a bluetooth communication module, a WiFi communication module or a component capable of short-range communication, respectively.
Furthermore, when the hardware device 30 is started for the first time, the application 471 of the electronic communication device 40 uploads the start code 134 of the hardware device 30 to the remote server 10. In an embodiment of the present invention, the firmware 351 of the hardware device 30 is configured with the boot code 134, and the electronic communication device 40 can retrieve the boot code 134 in the firmware 351 of the hardware device 30 through the application 471 and upload the boot code 134 to the remote server 10. Alternatively, in another embodiment of the present invention, the user of the electronic communication device 40 inputs the start code 134 of the hardware device 30 through a keyboard or a touch screen and uploads the start code 134 to the remote server 10. After receiving the boot code 134 of the hardware device 30 uploaded by the electronic communication device 40, the remote server 10 executes a boot verification procedure for the hardware device 30. When the start verification procedure is executed, the central control unit of the remote server 10 further determines the topic name 132 of the start code 134 of the hardware device 30 and pushes at least one message 136 associated with the topic name 132 to the electronic communication device 40 according to the determined topic name 132. The message 136 pushed by the remote server 10 is displayed on the operation interface 472 of the application 471 of the electronic communication device 40. In the present invention, the message 136 is a text format, a sound format or a film format.
In one embodiment of the present invention, the user of the management device 20 is a business or a merchant, the user of the electronic communication device 40 is a consumer, and the hardware device 20 is an article of merchandise sold to the consumer by the business or the merchant. The subject name 132 inputted by the user of the management device 20 on the program interface 13 of the remote server 10 is a business name, a business name or a brand name, and uploads at least one advertisement message 136 associated with the business, brand or merchandise to the remote server 10 and is stored in the database 11 of the remote server 10. When the hardware device 30 is first activated, the application 417 of the electronic communication device 40 transmits the activation code 134 to the remote server 10. After the remote server 10 receives the start code 134 of the hardware device 30 from the electronic communication device 40, the remote server 10 determines the name of the enterprise, the business or the brand corresponding to the start code 134 from the database 11, extracts the advertisement message 136 associated with the name of the enterprise, the business or the brand from the database 10, broadcasts the advertisement message 136 to the electronic communication device 40, and broadcasts the advertisement message 136 on the operation interface 472 of the application 471 of the electronic communication device 40. Accordingly, the user of the electronic communication device 40 can receive the pushed advertisement while waiting for the hardware device 30 to execute the verification start procedure, so as to achieve the purpose of marketing goods for the enterprise or the merchant.
Alternatively, in another embodiment of the present invention, the user of the management device 20 is a manager of a community, the user of the electronic communication device 40 is a member of the community, and the hardware device 20 is a gift given to the member by the community. The subject name 132 inputted by the user of the management device 20 on the program interface 13 of the remote server 10 is an activity name, and at least one notification message 136 related to the member activity is uploaded to the remote server 10 and stored in the database 11 of the remote server 10. When the hardware device 30 is first activated, the electronic communication device 40 transmits the activation code 134 to the remote server 10. After the remote server 10 receives the start code 134 from the electronic communication device 40, the remote server 10 determines the activity name corresponding to the start code 134 from the database 11, extracts the notification message 136 associated with the activity name from the database 10, broadcasts the notification message 136 to the electronic communication device 40, and then broadcasts the notification message 136 on the operation interface 472 of the application 471 of the electronic communication device 40. Thus, the user of the electronic communication device 40 can receive the community notification pushed by the remote server 10 to achieve the purpose of campaign promotion while waiting for the hardware device 30 to execute the start verification procedure.
The hardware device 30 of the present invention is further configured with a unique identifier 301. The unique activation code 301 may also be a physical address of the first short-range communication module 33, such as: a Media Access Control Address (MAC Address) of the bluetooth communication module, a product serial number of the hardware device 30, or an identification number written by a manufacturer. When the hardware device 30 is first started, the application 471 of the electronic communication device 40 transmits the start code 134 of the hardware device 30 to the remote server 10 together with the unique identifier 301. The remote server 10 records the unique identifier 301 of the hardware device 30 and sets the unique identifier 301 and the activation code 134 of the hardware device 30 to correspond to the same subject name 132. Whenever the application 471 of the electronic communication device 40 executes the short-distance wireless communication connection process 420 between the electronic communication device 40 and the hardware device 30, the electronic communication device 40 transmits the unique identifier 301 of the hardware device 30 to the remote server 10, the remote server 10 determines the topic name 132 corresponding to the unique identifier 301 of the hardware device 30 transmitted by the electronic communication device 40 and pushes the message 136 associated with the topic name to the electronic communication device 40 according to the determined topic name 132, so that the pushed message 136 is displayed on the operation interface 472 of the application 471 of the electronic communication device 40. Thus, the user of the electronic communication device 40 can receive the advertisement or notification message 136 from the remote server 10 before waiting for the wireless communication connection between the electronic communication device 40 and the hardware device 30 to be completed.
In an embodiment of the present invention, before the user of the management device 20 delivers the hardware device 30 to the user of the electronic communication device 40, the user may also set up at least one message 136 to be pushed in the firmware 351 of the hardware device 30. Then, when the electronic communication device 40 operates the hardware device 30 through the application 471, the message 136 in the firmware 351 is displayed on the operation interface 472 of the application 471 of the electronic communication device 40.
In addition, in another embodiment of the present invention, after the remote server 10 receives the start code 134 or the unique identifier 301 of the hardware device 30, the remote server determines the topic name 132 corresponding to the start code 134 or the unique identifier 301 of the hardware device 30, selects at least one message 136 associated with the topic name 132 according to the determined topic name 132, and configures the new message 136 in a firmware 138. Thereafter, when the remote server 10 executes a firmware update procedure on the hardware device 30, the firmware software 138 including the new message 136 is transmitted to the electronic communication device 40. The application 471 of the electronic communication device 40 updates the firmware 351 of the hardware device 30 through the firmware software 138 and configures the new message 136 in the updated firmware 351, and then when the application 471 of the electronic communication device 40 performs an operation on the firmware-updated hardware device 30, the new message 136 in the firmware 351 is displayed on the operation interface 472 of the application 471 of the electronic communication device 40. Thus, even if the electronic communication device 40 is in an offline environment, new advertisements or notification messages 136 can be pushed to the electronic communication device 40 via the hardware device 30.
Fig. 2 is a flowchart of a method for pushing messages of the internet of things according to an embodiment of the present invention, and also refer to fig. 1. As shown in fig. 1 and fig. 2, first, in step S501, the electronic communication device 40 utilizes the second short-range communication module 43 to connect to the first short-range communication module 33 of the hardware device 30 in a short-range communication manner. In step S502, when the hardware device 30 is first started, the application 471 of the electronic communication device 40 uploads the start code 134 of the hardware device 30 to the remote server 10, and the remote server 10 executes a start verification procedure for the hardware device 30 after receiving the start code 134 of the hardware device 30 uploaded by the electronic communication device 40. In step S503, when the remote server 10 executes the start verification procedure of the hardware device 30, the remote server further determines the topic name 132 of the start code 134 of the hardware device 30, selects at least one message 136 associated with the topic name 132 according to the determined topic name 132, and pushes the message 136 to the electronic communication device 40, wherein the pushed message 136 is displayed on the operation interface 472 of the application 471 of the electronic communication device 40. Thus, the user of the electronic communication device 40 can receive the message 136 pushed by the remote server 10 while waiting for the hardware device 30 to execute the start verification procedure.
Further, in step S504, after the hardware device 30 completes the initiated verification procedure, the remote server 10 can further execute a firmware update procedure on the hardware device 30, configure the message 136 selected in step S503 into firmware software 138, and send the firmware software 138 including the message 136 to the electronic communication device 40. In step S505, after the electronic communication device 40 receives the firmware software 138, the application 471 of the electronic communication device 40 updates the firmware 351 of the hardware device 30 through the firmware software 138 and the configuration message 136 is in the updated firmware 351. Then, in step S506, while the application 471 of the electronic communication device 40 operates the hardware device 30, the updated message 136 in the firmware 351 is displayed on the operation interface 472 of the application 471 of the electronic communication device 40. In this case, the electronic communication device 40 can push the advertisement or notification message 136 to the electronic communication device 40 through the hardware device 30 even if the electronic communication device 40 is in an offline state during the operation of the hardware device 30.
Fig. 3 is a flowchart of a message push method of the internet of things according to another embodiment of the present invention, and fig. 1 is also included. As shown in fig. 1 and 3, first, in step S511, the electronic communication device 40 connects to the hardware device 30 in a short-range communication manner. In step S512, the hardware device 30 is started for the first time, the application 471 of the electronic communication device 40 uploads the start code 134 and the unique identifier 301 of the hardware device 30 to the remote server 10, and the remote server 10 executes a verification procedure for starting the hardware device 30. Subsequently, in step S513, the remote server 10 further determines the topic name 132 to which the boot code 134 of the hardware device 30 belongs when executing the boot verification procedure of the hardware device 30, and sets that the unique identifier 301 of the hardware device 30 and the boot code 134 correspond to the same topic name 132. In step S514, the remote server 10 pushes at least one message 136 associated with the topic name 132 to the electronic communication device 40 according to the topic name 132 corresponding to the activation code 134 or the unique identifier 301, and the pushed message 136 is displayed on the operation interface 472 of the application 471 of the electronic communication device 40. Thereafter, in step S515, the application 471 of the electronic communication device 40 transmits the unique identifier 301 of the hardware device 30 to the remote server 10 during the execution of the short-distance wireless communication connection 420 between the electronic communication device 40 and the hardware device 30. In step S516, after the remote server 10 receives the unique identifier 301 of the hardware device 30, the remote server 10 determines the topic name 132 corresponding to the unique identifier 301 of the hardware device 30 transmitted by the electronic communication device 40 and selects at least one new message 136 associated with the topic name 132 according to the determined topic name 132, and the new message 136 is pushed to the electronic communication device 40 by the remote server 10 to be displayed on the operation interface 472 of the application 471 of the electronic communication device 40. In step S517, the remote server 10 can further execute a firmware update procedure on the hardware device 30, configure the new message 136 selected in step S516 into a firmware software 138, and send the firmware software 138 including the new message 136 to the electronic communication device 40. In step S518, after the electronic communication device 40 receives the firmware software 138, the application 471 of the electronic communication device 40 updates the firmware 351 of the hardware device 30 through the firmware software 138 and configures the new message 136 in the updated firmware 351. Then, in step S519, while the application 471 of the electronic communication device 40 operates the hardware device 30, the updated new message 136 in the firmware 351 is displayed on the operation interface 472 of the application 471 of the electronic communication device 40.
Fig. 4 is an architecture diagram of an internet of things message push system according to an embodiment of the present invention. As shown in fig. 4, the message push system 600 of the internet of things of the present embodiment includes a management device 60, at least one hardware device 70, and at least one electronic communication device 80. The management device 60 and the electronic communication device 70 may also be a mobile phone, a computer or an electronic device with networking function, and the hardware device 80 may also be a self-timer, an intelligent appliance, a bluetooth speaker or other intelligent electronic devices.
The management device 60 includes an input interface 61, a start code generator 63 and a message setting frame 65. The start code generator 63 and the message setting frame 65 may also be a web page type or a software type program interface. The user of the management device 60 uses the input interface 61 to input the number of the boot codes to be generated into the boot code generator 63 to obtain a plurality of boot codes 62, 64, 66, and sets the message 621/641/661 corresponding to each boot code 62/64/66 in the message setting box 65. For example: the first boot code 62 is configured to correspond to the first type of message 621, the second boot code 64 is configured to correspond to the second type of message 641, and the third boot code 641 is configured to correspond to the third type of message 661.
The hardware device 70 includes a microcontroller 71, a first short-range communication module 73 and a storage element 75. The microcontroller 71 is connected to the first short-range communication module 73 and the storage unit 75. The storage device 75 stores a firmware 751. The user of the management device 60 can configure the boot code 62/64/66 and the corresponding message 621/641/661 into the firmware 751 by recording.
The electronic communication device 80 includes a processor 81, a second short-range communication module 83, a storage module 85 and a display unit 87. The processor 81 is connected to the second short-range communication module 83, the storage module 85 and the display unit 87.
In the present embodiment, the hardware device 70 is a gift or a commodity of a member. The manager or seller of the message push system 600 may deliver different activation codes 62/64/66 to the user of the electronic communication device 80 depending on the identity of the user of the electronic communication device 80 or the purpose of marketing. After the user of the electronic communication device 80 obtains the hardware device 70 and the boot code 62/64/66 thereof, the electronic communication device 80 can further install an application 851, so that the application 851 is utilized to control the operation of the hardware device 70. The application 851 is stored in the storage module 85.
When a user of the electronic communication device 80 wants to control the operation of the hardware device 70, first, the application 851 is started, and an operation interface 852 of the application 851 is displayed on the display unit 87. The user of the electronic communication device 80 can click a connection button 8521 on the operation interface 852 to execute a short-range wireless communication connection procedure 820 between the second short-range communication module 83 of the electronic communication device 80 and the first short-range communication module 73 of the hardware device 70. When the wireless communication connection procedure 820 is completed, a wireless communication connection between the electronic communication device 80 and the hardware device 70 is established, so that a user of the electronic communication device 80 can control the operation of the hardware device 70 through the application 851. In the present invention, the first short-range communication module 73 and the second short-range communication module 83 are a bluetooth communication module, a WiFi communication module or a component capable of short-range communication, respectively.
Furthermore, when the hardware device 70 is first started, the microcontroller 71 of the hardware device 70 executes a boot code input program and exits a boot code input box 853 on the operation interface 852 of the application 851 of the electronic communication device 80, and the user of the electronic communication device 80 inputs a boot code 62/64/66 on the boot code input box 853. Then, subsequently, when the user of the electronic communication device 80 operates the hardware device 70 through the application 851, the microcontroller 71 of the hardware device 70 pushes a corresponding message 621/641/661 according to the start code 62/64/66 inputted by the user of the electronic communication device 80, and the pushed message 621/641/661 is displayed on the operation interface 852 of the application 851 of the electronic communication device 80. For example: the user of the electronic communication device 80 is a member of a merchant, the first type message 621 is an advertisement of the merchant, and the manager or seller of the message push system 600 can deliver the hardware device 70 and the first start code 62 corresponding to the first type message 621 to the user of the electronic communication device 80; then, when the hardware device 70 is started for the first time, the user of the electronic communication device 80 inputs the first start code 62 on the start code input box 853 of the application 851, and then, when the subsequent hardware device 70 is controlled by the application 851 of the electronic communication device 80, the corresponding first type message 621 is pushed to the electronic communication device 80 according to the first start code 62 to be displayed on the operation interface 852 of the application 851 of the electronic communication device 80.
As mentioned above, the messages 621, 641 and 661 are pre-configured in the hardware device 70, and the user of the electronic communication device 80 can input the start code 62/64/66 when the hardware device 70 is started for the first time, and then the hardware device 70 pushes the corresponding message 621/641/661 to the electronic communication device 80 in a short-distance communication manner according to the start code 62/64/66 input by the user of the electronic communication device 80 during the operation of the hardware device 70 by the application 851 of the electronic communication device 80.
Fig. 5 is a flowchart of a message push method of the internet of things according to another embodiment of the present invention, and fig. 4 is also included. As shown in fig. 4 and 5, first, in step S521, a plurality of boot codes 62, 64, 66 and a plurality of corresponding messages 621, 641, 661 are configured to the firmware 751 of the hardware device 70. In step S522, the electronic communication device 80 is connected to the hardware device 70 via a short-range communication method. In step S523, when the hardware device 70 is first started, the operation interface 852 of the application 851 jumps out of the boot code input box 853, the user of the electronic communication device 80 inputs one of the boot codes 62/64/66 in the boot code input box 853 and transmits the input boot code 62/64/66 to the hardware device 70. In step S524, after receiving the boot code 62/64/66, the hardware device 70 determines the message 621/641/661 corresponding to the received boot code 62/64/66, and pushes the determined message 621/641/661 to the electronic communication device 80, so as to display the message 621/641/661 pushed by the hardware device 70 on the operation interface 852 of the application 851 of the electronic communication device 80.
The above description is only one preferred embodiment of the present invention, and should not be taken as limiting the scope of the invention, which is defined by the appended claims, and all changes and modifications that are equivalent to the shape, structure, characteristics and spirit of the invention are intended to be included therein.