Information communication device, program, and communication system

In the wireless communication system at the education site, the broadcast and scanning mechanism between the communication unit and the control unit of the BLE standard, the information loss caused by radio wave interference is solved, and the reliable information transmission and system are realized stability.

CN119071009APending Publication Date: 2024-12-03CASIO COMPUTER CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410696771.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2023-05-31
Filing Date
2024-05-31
Publication Date
2024-12-03

AI Technical Summary

Technical Problem

In the wireless communication between teachers and students using function calculators in education or examination sites, due to radio wave interference and other reasons, the mother machine fails to receive the response data of the child machine in time, resulting in information loss, and the existing technology is difficult to be effective due to radio wave interference. Fix this issue.

Method used

An information communication device and system is designed, with a communication unit and a control unit, which conducts wireless communication through the BLE standard. The child machine and the parent machine are broadcast and scanned mechanisms. After receiving the problem, the child machine generates and broadcasts the login data packet. The mother machine regularly broadcasts the reception status. The child machine and the mother machine distinguish the information type by the packet type and resend the data packet when the reception fails to ensure the reliable transmission of the information.

Benefits of technology

It realizes the reliability of information transmission between multiple sub-machines and the master machine, reduces information loss due to radio wave interference, ensures that the questioner can receive answer data from all sub-machines in a timely manner, and improves the stability of the communication system. and efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119071009A_ABST
    Figure CN119071009A_ABST
Patent Text Reader

Abstract

The invention provides an information communication device, a program, and a communication system. The slave device (10) is provided with a transceiver (16) and a control unit (11). The control unit (11) determines whether or not transmission information, which is information pertaining to transmission of predetermined information in the slave device (10), coincides with reception information, when reception information, which is information pertaining to reception of the predetermined information in the master device (20), is received from the master device (20) via the transceiver (16).
Need to check novelty before this filing date? Find Prior Art

Description

[0001] This application claims the priority and benefit of Japanese Patent Application No. 2023-089654 filed on May 31, 2023. The specification, claims, and all drawings of Japanese Patent Application No. 2023-089654 are incorporated herein by reference. Technical Field

[0002] The present invention relates to an information communication device, a program, and a communication system. Background Art

[0003] Japanese Patent Publication No. 2017-175425 1 discloses a communication technology for a teacher's function calculator, a student's function calculator, and a tablet terminal. The teacher's function calculator and the student's function calculator are in an environment connected to each other wirelessly, the teacher's function calculator and the tablet terminal are in an environment connected to each other wirelessly, and the student's function calculator and the tablet terminal are in an environment connected to each other wirelessly. When the teacher inputs question data into the teacher's function calculator, the question data is sent directly from the teacher's function calculator to the student's function calculator, or the question data is sent from the teacher's function calculator to the student's function calculator via the tablet terminal. When the student inputs the answer to the question into the student's function calculator, the answer data is sent from the student's function calculator to the tablet terminal. Summary of the invention

[0004] According to one method of the present disclosure, an information communication device is provided, which includes a communication unit and a control unit. When information related to the reception of predetermined information in the sending source, i.e., reception information, is received from the sending source via the communication unit, the control unit determines whether information related to the sending of the predetermined information in the device, i.e., sending information, is consistent with the reception information.

[0005] According to one method of the present disclosure, a program is provided, which is a program executed by the control unit of an information communication device having a communication unit and a control unit. When information related to the reception of predetermined information in the sending source, i.e., reception information, is received from the sending source via the communication unit, the program enables the control unit to determine whether information related to the sending of the predetermined information in the device, i.e., sending information, is consistent with the reception information.

[0006] According to one embodiment of the present disclosure, a communication system is provided, which comprises: at least one first information communication device, which has a first communication unit and a first control unit; and a second information communication device, which has a second communication unit and a second control unit. When the second communication unit receives second status information, namely, sending information, related to the sending of predetermined information in each of the first information communication devices, the second control unit generates first status information, namely, receiving information, related to the reception of the predetermined information in the second information communication device for each of the first information communication devices based on the sending information. The second control unit causes the second communication unit to periodically send the receiving information to all of the first information communication devices. When the first communication unit receives the receiving information, the first control unit compares the sending information with the receiving information. When the sending information is inconsistent with the receiving information, the first control unit causes the first communication unit to resend the predetermined information.

[0007] According to one method of the present disclosure, a program is provided, which is a program executed by the control unit of an information communication device having a communication unit and a control unit. When the communication unit receives second status information, namely, sending information, related to the sending of predetermined information in at least one other device, the program causes the control unit to generate first status information, namely, receiving information, related to the reception of the predetermined information in the device for each of the other devices based on the sending information. The program causes the control unit to periodically send the receiving information to all of the other devices via the communication unit. BRIEF DESCRIPTION OF THE DRAWINGS

[0008] Figure 1 It is a diagram showing the overall structure of a communication system.

[0009] Figure 2 is a block diagram of a first information communication device.

[0010] Figure 3 is a block diagram of a second information communication device.

[0011] Figure 4 Indicates the structure of the data packet broadcast by the first information communication device and the second information communication device.

[0012] Figure 5 The flow of the behavior of the questioner, the flow of the behavior of the answerer, the process flow of the control unit of the first information communication device, and the process flow of the control unit of the second information communication device are shown.

[0013] Figure 6The flow of the behavior of the questioner, the flow of the behavior of the answerer, the process flow of the control unit of the first information communication device, and the process flow of the control unit of the second information communication device are shown.

[0014] Figure 7 It is a diagram showing the processing flow of the control unit of the second information communication device.

[0015] Figure 8 This is a diagram showing a processing flow of a control unit of a first information communication device.

[0016] Fig. 9 This shows the structure of the data area of ​​the periodic data packet broadcasted periodically by the second information communication device. DETAILED DESCRIPTION

[0017] Hereinafter, the embodiments are described with reference to the accompanying drawings. The features and technical effects of the embodiments are understood according to the following detailed description and the accompanying drawings. However, the scope of the present disclosure is not limited to the embodiments disclosed below. Since the accompanying drawings are provided only as examples, the scope of the present disclosure is not limited to the examples of the accompanying drawings.

[0018] In the following description, when an ordinal number such as "first" or "second" is assigned to a common name, the ordinal number is used only to identify the object to which the ordinal number is assigned. The ordinal number does not limit the object to which the ordinal number is assigned to a specific object, and the ordinal number does not determine the order, rank, sequence, level, priority, or inferiority, etc. of the object to which the ordinal number is assigned.

[0019] “Broadcasting” means that a source device transmits information to devices around the source device without specifying a destination device.

[0020] “Scanning” means a state in which the destination device is able to receive information broadcasted from the source device.

[0021] Figure 1 1 is a block diagram showing the overall configuration of a communication system. The communication system includes a plurality of first information communication devices 10 and second information communication devices 20. Hereinafter, the first information communication device 10 is referred to as a slave 10, and the second information communication device 20 is referred to as a master 20.

[0022] The sub-unit 10 and the main unit 20 are both configured to be able to perform short-range wireless communication based on a standard that achieves a maximum communication distance of about 100 meters. The communication standard between the main unit 20 and the sub-unit 10 adopts Bluetooth (registered trademark) Low Energy, Wi-Fi (registered trademark), or ZigBee (registered trademark), which is abbreviated as BLE. Below, the main unit 20 and the sub-unit 10 are described in detail, taking the case where the sub-unit 10 and the main unit 20 are configured to be able to perform wireless communication based on the BLE standard as an example.

[0023] The slave 10 and the master 20 do not establish a connection with each other under the BLE standard. That is, the slave 10 and the master 20 do not form a connected network topology.

[0024] The communication system is used in local areas such as education sites, training sites, lecture sites, and examination sites. When a questioner such as a teacher, lecturer, or examiner broadcasts a question using a master phone 20, a plurality of respondents such as children, apprentices, students, listeners, or examinees receive the question using their own slave phones 10. The respondents solve the question and input the answer to the slave phone 10. When the answerer broadcasts the answer using the slave phone 10, the questioner receives the answer using the master phone 20.

[0025] However, since multiple slaves 10 broadcast answers, the master 20 may fail to receive the answer of at least one slave 10 due to radio interference or the like. If the master 20 fails to receive the answer, the slave 10 that broadcasted the answer rebroadcasts the answer without the need for the questioner and the answerer to operate the master 20 and the slave 10 respectively. If the master 20 successfully receives the answer, the slave 10 that broadcasted the answer does not resend the answer. In order to realize such a situation, the slave 10 and the master 20 are configured as follows.

[0026] The slave 10 is a personal computer. The slave 10 may be a computer system other than a personal computer, such as an electronic dictionary, a mobile phone, a smart phone, a tablet computer system, or a laptop computer system.

[0027] Figure 2 1 is a block diagram of a slave 10. The slave 10 includes a control unit 11, a memory 12, a storage device 13, an input key 14, a display device 15, and a transceiver 16. The slave 10 may also include Figure 2 Constituent elements other than those shown in the figure.

[0028] The control unit 11 is composed of at least one processor such as a CPU (Central Processing Unit) etc. The control unit 11 performs various calculations and is responsible for overall control of the slave 10 .

[0029] The memory 12 is composed of at least one RAM as a memory such as a volatile memory, etc. The memory 12 provides a storage area and a work area to the control unit 11, and temporarily stores data when the control unit 11 performs arithmetic processing.

[0030] The storage device 13 is composed of at least one ROM as a memory such as a nonvolatile memory. The storage device 13 may also be a memory capable of writing and deleting data. The storage device 13 stores programs for realizing various calculation functions of the control unit 11. The storage device 13 stores the values ​​of various constants used by the control unit 11 in function calculations, etc. The storage device 13 stores a program 13a executable by the control unit 11.

[0031] The input key 14 has a plurality of keys that can be pressed. When the respondent presses a key, a signal corresponding to the key is transmitted from the input key 14 to the control unit 11, and the control unit 11 recognizes the input or command corresponding to the key. As keys, there are a send key 14a, a numeric key, an operation key, a calculation execution key, and a function key. The send key 14a is a key for instructing the control unit 11 to send a command. The send key 14a can also be used to instruct the control unit 11 to send a command other than a command. The numeric key is a key for causing the control unit 11 to recognize the input of a numeric value. The operation key is a key for causing the control unit 11 to recognize the input of an operator. The calculation execution key is a key for instructing the control unit 11 to start a calculation. The function key is a key for causing the control unit 11 to execute a specific function.

[0032] The display device 15 is constituted by a display device such as a liquid crystal display device or an organic EL (Electro Luminescence) display device, etc. The display device 15 may be a color display type or a monochrome display type.

[0033] The transceiver 16 is a wireless communication module as a communication unit. The transceiver 16 is composed of an antenna, a transmitter, a receiver, and a controller. The transceiver 16 is based on the BLE standard. The transceiver 16 modulates the data packet generated by the control unit 11 into a high-frequency signal, and transmits the high-frequency signal as a transmission wave. The transceiver 16 receives the reception wave of the high-frequency signal, demodulates the reception wave into a data packet, and transmits the information contained in the data packet to the control unit 11.

[0034] The mother machine 20 is a laptop computer system. The mother machine 20 may also be a computer system other than a laptop computer, such as a smart phone, a tablet computer system or a desktop computer system.

[0035] Figure 3 2 is a block diagram of the master device 20. The master device 20 includes a control unit 21, a memory 22, a storage device 23, an input device 24, a display device 25, and a transceiver 26. The master device 20 may also include Figure 3 Constituent elements other than those shown in the figure.

[0036] The control unit 21 is composed of a processor such as a CPU (Central Processing Unit). The control unit 21 may include two or more processors. The control unit 21 performs various calculations and is responsible for overall control of the host machine 20.

[0037] The memory 22 is composed of a RAM such as a volatile memory. The memory 22 provides a storage area and a work area to the control unit 21 and temporarily stores data when the control unit 21 performs arithmetic processing.

[0038] The storage device 23 is composed of a storage device such as a semiconductor storage device or a magnetic storage device. The storage device 23 stores various programs constituting an OS (Operating System), which is installed on the host machine 20. The OS may be a general-purpose OS such as Windows (registered trademark), Android (registered trademark), iOS (registered trademark), macOS (registered trademark), Linux (registered trademark), or Unix (registered trademark). The storage device 23 stores an application 23a that can be executed on the OS, and the application 23a is installed on the host machine 20. The storage device 23 stores a plurality of problem data 23b that can be used in the application 23a.

[0039] The input device 24 is composed of, for example, a touch panel, a mouse, a touch pad, a stylus, a pointing device, a keyboard, a key, or a button. When the questioner performs a gesture such as pressing, moving, sliding, dragging, dropping, clicking, multi-clicking, touching, multi-touching, tapping, multi-tapping, or swiping on the input device 24, the control unit 21 recognizes and obtains input information or a command corresponding to the gesture.

[0040] The display device 25 is composed of a display device such as a liquid crystal display device or an organic EL (Electro Luminescence) display device, etc. The control unit 21 generates a graphic screen for realizing a GUI (Graphical User Interface), outputs an image signal of the graphic screen to the display device 25, and the display device 25 displays the graphic screen according to the image signal.

[0041] The transceiver 26 is a wireless communication module as a communication unit. The transceiver 16 is composed of an antenna, a transmitter, a receiver, and a controller. The transceiver 26 is based on the BLE standard. The transceiver 26 modulates the data packet generated by the control unit 21 into a high-frequency signal, and transmits the high-frequency signal as a transmission wave. The transceiver 26 receives the reception wave of the high-frequency signal, demodulates the reception wave into a data packet, and transmits the information contained in the data packet to the control unit 21.

[0042] <4. Data Packet>

[0043] Figure 4 Represents the structure of a data packet sent according to the BLE standard.

[0044] Figure 4 The data packet shown is an advertising data packet sent when the mutual connection between the main unit 20 and the slave unit 10 is not established. The data packet includes a 1-octet preamble area, a 4-octet access address area, a 2- to 39-octet variable protocol data unit (PDU) area, and a 3-octet cyclic redundancy check (CRC) area. The data length of the data packet is 10 to 47 octets depending on the data length of the PDU area.

[0045] The preamble area stores a numerical value for synchronizing with the destination. The access address area stores a numerical value used to synchronize with the destination and further distinguish a data packet at the destination. The CRC area stores a numerical value for detecting a reception error.

[0046] The PDU area includes a 2-octet header area and a variable payload area of ​​6 to 37 octets. The header area includes an area for storing the type of PDU data, an area for storing the presence or absence of a send address in the payload, an area for storing the presence or absence of a receive address in the payload, an area for storing the data length of the payload area, and an area for which the purpose is undetermined.

[0047] The payload area includes a 6-octet advertisement address area and a maximum of 31 octets of advertisement data area. Identification information for identifying the transmission source is stored in the advertisement address area. The advertisement data area includes a 1-octet data length area, a 3-octet type area, a 1-octet data type area, a 1-octet number of times area, and a maximum of 25 octets of data area. The data length of the advertisement data area or the data area is stored in the data length area. Values ​​determined such as manufacturer identification information are stored in the type area. The values ​​stored in the type area are used to identify the data packet as a data packet sent by the main machine 20 or the slave machine 10. That is, the control units 11 and 21 of the slave machine 10 and the main machine 20 can identify whether the data packet received by the transceiver 16 and 26 is a data packet sent from other slave machines 10 or the main machine 20 through the values ​​stored in the type area.

[0048] In the data type area, data indicating the role or sending direction of a data packet in the communication protocol is stored. Definitions represented by the data stored in the data type area include "sub-machine login", "from the main machine to the sub-machine", "from the sub-machine to the main machine", and "periodic broadcast". When the sub-machine 10 broadcasts a data packet containing the number of the respondent, a value defining "sub-machine login" is stored in the data type area. Hereinafter, this data packet is referred to as a login data packet. When the main machine 20, for example, broadcasts a data packet containing question data, a value defining "from the main machine to the sub-machine" is stored in the data type area. Hereinafter, this data packet is referred to as a "first data packet". When the sub-machine 10 broadcasts a data packet containing predetermined information such as answer data, for example, a value defining "from the sub-machine to the main machine" is stored in the data type area. Hereinafter, this data packet is referred to as a "second data packet". When the main machine 20 broadcasts a data packet containing reception status data, a value defining "periodic broadcast" is stored in the data type area. Hereinafter, this data packet is referred to as a "periodic data packet". The control units 11 and 21 of the slave unit 10 and the master unit 20 can identify whether the packet received by the transceiver 16 or 26 is a login packet, a first packet, a second packet, or a periodic packet, by the value stored in the data type area.

[0049] Reference Figure 5 as well as Figure 6 , a method for a questioner to send a question to a respondent using his own master machine 20 and then receive an answer from the respondent is described. Also, a processing flow for causing the control unit 21 of the master machine 20 to execute the application program 23a of the master machine 20 is described. Also, a method for a respondent to receive a question from a questioner using his own slave machine 10 and then send an answer to the questioner is described. Also, a processing flow for causing the control unit 11 of the slave machine 10 to execute the program 13a of the slave machine 10 is described. Here, Figure 5 as well as Figure 6 The flow of the behavior of the questioner, the flow of the behavior of the answerer, the flow of the processing of the control unit 11 of the slave 10, and the flow of the processing of the control unit 21 of the master 20 are shown.

[0050] The questioner uses the input device 24 of his own master machine 20 to instruct the startup of the application 23a (step S11). If the control unit 21 of the master machine 20 receives the instruction, the control unit 21 starts the application 23a (step S31). Then, first, the control unit 21 of the master machine 20 controls the transceiver 26 to scan the transceiver 26 (step S32). As a result, the transceiver 26 becomes capable of receiving and demodulating data packets based on the BLE standard. In addition, even if the transceiver 26 receives a data packet from a device other than the slave machine 10, since the value stored in the type area of ​​the data packet is different from the determined value, the control unit 21 ignores the data packet.

[0051] Each respondent presses a predetermined key of the input key 14 of his own slave 10 to instruct the start of program 13a (step S21). If the control unit 11 of the slave 10 receives the instruction, the control unit 11 starts program 13a (step S61). Then, first, the control unit 11 of the slave 10 controls the transceiver 16 to make the transceiver 16 scan (step S62). As a result, the transceiver 16 becomes capable of receiving and demodulating data packets based on the BLE standard. In addition, even if the transceiver 16 receives data packets from other slaves 10 and devices other than the master 20, since the value stored in the type area of ​​the data packet is different from the determined value, the control unit 11 ignores the data packet.

[0052] Next, each respondent inputs his / her own unique number (hereinafter referred to as respondent number) into the control unit 11 by operating the input key 14 of his / her own slave 10 (step S22). As a result, the control unit 11 of the slave 10 obtains the respondent number according to the signal of the input key 14 (step S63). The respondent number is, for example, an attendance number, an identification number, a registration number, an apprentice number, a student number, an audience number, a seat number, or an examination number assigned to each respondent.

[0053] After that, each respondent provides a sending instruction to the control unit 11 by operating the sending key 14a of his / her own slave 10 (step S23). When the control unit 11 of the slave 10 receives the sending instruction, the control unit 11 generates the login packet in such a way that the respondent number is stored in the data area of ​​the login packet (step S64). At this time, the control unit 11 of the slave 10 stores the identification information for identifying the slave 10 in the advertisement address area of ​​the login packet, and stores the value indicating "slave login" in the data type area of ​​the login packet. The login packet is used to notify the master 20 of the respondent's presence from the slave 10.

[0054] The control unit 11 of the slave 10 transmits the login packet to the transceiver 16, and controls the transceiver 16 to broadcast the login packet (step S65). Then, the transceiver 16 broadcasts the login packet. The transceiver 26 of the master 20 receives the login packet, and the control unit 21 of the master 20 obtains the login packet (step S33). The control unit 21 of the master 20 stores the identification information and the respondent number stored in the login packet in the memory 22 or the storage device 23 in correspondence with each other (step S34). Thus, the control unit 21 recognizes the correspondence between the identification information and the respondent number of each slave 10.

[0055] When the master machine 20 receives the login data packet from each slave machine 10, the control unit 21 of the master machine 20 sets the reception count value M and the question number value to zero "00000000" with a 1-byte bit mark, and stores them in the memory 22 or the storage device 23 (step S35). In the memory 22 or the storage device 23, the reception count value M is associated with the identification information or the answerer number or both, thereby allocating the reception count value M to each slave machine 10. The reception count value M is the first state information related to the reception of the second data packet containing the answer data in the master machine 20, that is, the reception information. Specifically, the reception count value M indicates the number of times the master machine 20 receives the second data packet containing the answer data broadcasted by the slave machine 10 assigned to the reception count value M. In addition, the reception count value M and the question number value may also be a data length of more than 2 bytes.

[0056] Next, the control unit 21 of the master device 20 starts a periodic broadcast (step S36). The periodic broadcast is for notifying the master device 20 to the slave devices 10 of the number of times the master device 20 has received the second data packet from each slave device 10. The details of the periodic broadcast will be described in detail later.

[0057] On the other hand, after the broadcast of the registration data packet, the control unit 11 of the slave 10 sets the transmission count value N to "00000000" (00000000) with a 1-byte bit mark (step S66). The transmission count value N is the second state information related to the transmission of the second data packet containing the reply data in the slave 10, that is, the transmission information. Specifically, the transmission count value N indicates the number of times the slave 10 broadcasts the second data packet. In addition, the transmission count value N may be a data length of 2 bytes or more.

[0058] Then, when the question setter selects a certain question data 23b using the input device 24 of the host machine 20 (step S12), the control unit 21 reads the question data 23b (step S37). Alternatively, the question setter may make a gesture on the input device 24, and the control unit 21 may recognize and obtain the question data corresponding to the content of the gesture.

[0059] Next, the questioner provides a sending instruction to the control unit 21 by operating the input device 24 (step S23). Then, the control unit 21 adds 1 to the question number value, and generates the first data packet in a manner that the selected question data 23b is stored in the data area of ​​the first data packet (step S38). At this time, the control unit 21 stores the value indicating "from the master machine to the slave machine" in the data type area of ​​the first data packet, and stores the question number value in the number area of ​​the first data packet. In addition, the control unit 21 stores the identification information for identifying the master machine 20 in the advertisement address area of ​​the first data packet. Since the first data packet contains the question data 23b, the first data packet can also be called a question data packet.

[0060] Next, the control unit 21 of the master machine 20 transmits the first data packet to the transceiver 26, and controls the transceiver 26 to broadcast the first data packet (step S39). Then, the transceiver 26 broadcasts the first data packet. The transceiver 16 of each slave machine 10 receives the first data packet, and the control unit 11 of the slave machine 10 obtains the first data packet (step S67). At this time, since there is no broadcast by devices other than the master machine 20, any slave machine 10 successfully receives the first data packet. However, if any of the slave machines 10 fails to receive the first data packet, the question will not be displayed on the display device 15 of the slave machine 10 in the step S68 described later, so the answerer can recognize the failure to receive the first data packet. Therefore, the answerer can request the questioner to resend the question. If the questioner provides the control unit 21 of the master machine 20 with a sending instruction again according to the answerer's request, the control unit 21 controls the transceiver 26 to broadcast the first data packet again.

[0061] If the slave 10 successfully receives the first data packet, the control unit 11 of the slave 10 causes the display device 15 to display a question based on the question data included in the first data packet (step S68).

[0062] When the respondent inputs an answer by operating the input key 14 of the slave 10 (step S24), each control unit 11 recognizes and acquires answer data corresponding to the content of the operation (step S69).

[0063] Next, each respondent operates the send key 14a to provide a send command to the control unit 11 (step S25). When the control unit 11 of the slave 10 receives the send command, the control unit 11 controls the transceiver 16 to stop scanning (step S70).

[0064] Next, the control unit 11 of the slave 10 increases the transmission count value N by 1 (step S71).

[0065] Next, the control unit 11 of the slave 10 generates the second data packet in a manner that the answer data is stored in the data area of ​​the second data packet (step S72). At this time, the control unit 11 of the slave 10 stores the identification information for identifying the slave 10 in the advertisement address area of ​​the second data packet. Furthermore, the control unit 11 stores a value indicating "from the slave to the master" in the data type area of ​​the second data packet, and stores the number of transmissions value N in the number area of ​​the second data packet. Since the second data packet contains the answer data, the second data packet can also be called an answer data packet.

[0066] Next, the control unit 11 of the slave 10 transmits the second data packet to the transceiver 16, and controls the transceiver 16 to broadcast the second data packet (step S73). Then, the transceiver 16 broadcasts the second data packet. Next, the control unit 11 of the slave 10 controls the transceiver 16 to scan (step S74).

[0067] If the transceiver 26 of the master 20 receives the second data packet from the slave 10, the control unit 21 of the master 20 obtains the second data packet (step S40). The control unit 21 of the master 20 can identify the slave 10 as the transmission source based on the identification information stored in the advertisement address area of ​​the second data packet. The control unit 21 of the master 20 can identify that the second data packet is a data packet transmitted from the slave 10 based on the value "from the slave to the master" stored in the data type area of ​​the second data packet. If the control unit 21 can identify in this way, it reads the answer data stored in the data area of ​​the second data packet, and stores the answer data in correspondence with the identification information and the respondent number in the memory 22 or the storage device 23 (step S41).

[0068] Next, the control unit 21 updates the reception count value M in the memory 22 or the storage device by applying the transmission count value N stored in the count area of ​​the second data packet to the reception count value M assigned to the slave 10 (step S42). Since the transmission count value N is increased by 1 in step S71, the reception count value M is also increased by 1 in step S42. In addition, as described above, the reception count value M is assigned to the slave 10 by associating the reception count value M with the identification information or the respondent number or both in the memory 22 or the storage device 23.

[0069] Then, each time the questioner selects question data and issues a transmission instruction as in steps S12 and S13, the control unit 21 of the master machine 20 executes the processing of steps S37 to S39, and the control unit 11 of the slave machine 10 executes the processing of steps S67 and S68. Each time the answerer inputs an answer in response to the reception of question data and issues a transmission instruction as in steps S24 and S25, the control unit 11 of the slave machine 10 executes the processing of steps S69 to S74, and the control unit 11 of the slave machine 10 executes the processing of steps S40 to S42.

[0070] Furthermore, if the master machine 20 successfully receives the reply data from a certain slave machine 10, the control unit 21 of the master machine 20 executes the processing of steps S40 to S42 for the slave machine 10 as described above. Therefore, the reception count value M assigned to the slave machine 10 is equal to the transmission count value N incremented by the control unit 11 of the slave machine 10. On the other hand, if the master machine 20 fails to receive the reply data from a certain slave machine 10, the control unit 21 of the master machine 20 does not execute the processing of steps S40 to S42 for the slave machine 10. Therefore, the reception count value M assigned to the slave machine 10 is different from the transmission count value N incremented by the control unit 11 of the slave machine 10.

[0071] In order to notify each sub-unit 10 whether the master unit 20 has successfully received the reply data, the control unit 21 of the master unit 20 executes the processing of steps S38 to S42 in parallel. Figure 7 The control unit 11 of each slave 10 executes the processing shown in steps S67 to S74 in parallel. Figure 8 Processing shown. Figure 7 The processing shown is the processing started by the control unit 21 in step S36. Figure 7 The processing shown is described in detail.

[0072] First, the control unit 21 of the master unit 20 reads the reception count value M allocated to each slave unit 10 from the memory 22 or the storage device 23 (step S101).

[0073] Next, the control unit 21 of the master machine 20 stores the identification information for identifying the master machine 20 in the advertisement address area of ​​the periodic data packet, and stores the value indicating "periodic broadcast" in the data type area of ​​the periodic data packet. At this time, the control unit 21 generates the periodic data packet in a manner that the least significant bit and the second least significant bit of the read-in reception count value M are stored in the data area of ​​the periodic data packet (step S102). Hereinafter, the least significant bit is abbreviated as LSB (Least Significant Bit), and the second least significant bit is abbreviated as SLSB (Second Least Significant Bit). In addition, if the reception count value M is "0", the values ​​of LSB and SLSB are "0" and "0" respectively. If the reception count value M is "1", the values ​​of LSB and SLSB are "0" and "1" respectively. If the reception count value M is "2", the values ​​of LSB and SLSB are "1" and "0" respectively. If the reception count value M is "3", the values ​​of LSB and SLSB are "1" and "1" respectively.

[0074] Fig. 9The structure of the data area of ​​the periodic data packet is represented. The data area of ​​the periodic data packet includes, for example, a reception status area of ​​13, 14 or 15 octets. The data length of the reception status area is not limited to 13, 14 or 15 octets, and is determined based on the assumed number of slaves 10. The LSB and SLSB of the reception count value M assigned to each slave 10 are allocated and stored in the reception status area. A storage location for the LSB and SLSB is allocated to each slave 10. That is, the storage location of the LSB and SLSB determines the slave 10 and the reception count value M assigned to the slave 10.

[0075] In addition, the control unit 21 may store, for example, the first to third, the first to fourth, the third to fifth, or all bits of the reception count value M in the reception status area. Since the data length of the data area is limited, as the number of bits of the reception count value M stored in the reception status area increases, the number of sub-units 10 assumed decreases.

[0076] After generating the periodic data packet, the control unit 21 of the master device 20 transmits the periodic data packet to the transceiver 26, and controls the transceiver 26 to broadcast the periodic data packet (step S103). Then, the transceiver 26 broadcasts the periodic data packet.

[0077] Next, the control unit 21 of the master machine 20 starts timing (step S104). After that, the control unit 21 of the master machine 20 continues timing until the timing time reaches a certain time (step S105; No). If a certain time has passed since the timing started (step S105; Yes), the control unit 21 of the master machine 20 ends the timing and resets the timing time to zero (step S106). After that, the processing of the control unit 21 of the master machine 20 returns to step S101. The control unit 21 of the master machine 20 repeatedly executes Figure 7 According to the series of processing shown, the master machine 20 periodically transmits a periodic data packet.

[0078] Reference Figure 8 , the processing executed by the control unit 11 of each slave 10 in parallel with the processing of steps S67 to S74 will be described.

[0079] First, each time the transceiver 16 of each slave 10 receives a data packet (step S111), the control unit 11 of each slave 10 determines whether the data packet is a periodic data packet (step S112). If the value stored in the data type area of ​​the data packet is "periodic broadcast", the control unit 11 determines that the data packet is a periodic data packet (step S112; yes). If the value stored in the data type area of ​​the data packet is other than "periodic broadcast", the control unit 11 determines that the data packet is not a periodic data packet (step S112; no).

[0080] If the data packet is a periodic data packet (step S112; Yes), the control unit 11 of each slave 10 compares the LSB and SLSB of the storage location allocated to itself in the reception status area of ​​the periodic data packet with the LSB and SLSB of the transmission count value N (step S113). The transmission count value N is the value incremented in step S71.

[0081] In the case where the master 20 fails to receive the reply data, the LSB and SLSB of the reception count value M in the reception status area of ​​the periodic data packet are different from the LSB and SLSB of the transmission count value N, respectively. If the control unit 11 of the slave 10 determines in this way (step S113; No), the control unit 11 transmits the second data packet generated in step S72 to the transceiver 16, and controls the transceiver 16 to broadcast the second data packet again (step S114). Then, the transceiver 16 broadcasts the second data packet. If the master 20 successfully receives the reply data, the control unit 21 of the master 20 executes the processing of steps S40 to S42. Therefore, the reception count value M assigned to the slave 10 that has retransmitted is equal to the transmission count value N (step S42).

[0082] In addition, the processing in step S114 is not limited to controlling the transceiver 16 to broadcast the second data packet again. For example, the user may be notified of the failure of the host machine 20 to receive the reply data through a predetermined notification unit (e.g., the display device 15, etc.), or the user may be notified of the urging to resend the reply data through a predetermined notification unit.

[0083] When the master unit 20 successfully receives the reply data, the LSB and SLSB of the reception count value M in the reception status area of ​​the periodic data packet are respectively consistent with the LSB and SLSB of the transmission count value N. If the control unit 11 of the slave unit 10 determines in step S113 that (step S113; Yes), the control unit 11 does not retransmit the second data packet and returns to the process of step S111.

[0084] As described above, the slave 10 includes the control unit 11 and the transceiver 16. When the transceiver 16 receives a periodic data packet including the LSB and SLSB of the reception count value M as the first state information related to the reception of the reply data in the master 20 (steps S111 and S112; yes), the control unit 11 compares the LSB and SLSB of the transmission count value N as the second state information related to the transmission of the reply data in the slave 10 with the LSB and SLSB of the reception count value M (step S113). The inconsistency between the LSB and SLSB of the transmission count value N and the LSB and SLSB of the reception count value M means that the master 20 has failed to receive the second data packet. Therefore, when the comparison result shows that the LSB and SLSB of the transmission count value N and the LSB and SLSB of the reception count value M are inconsistent, the control unit 11 causes the transceiver 16 to broadcast the second data packet again (step S114). Thus, the master 20 has an opportunity to receive the second data packet. This helps to prevent the master 20 from missing the reply data from each slave 10 even if there are multiple slaves 10.

[0085] The first state information is information based on the reception count value M. The reception count value M is updated to the transmission count value N indicating the number of times the reply data is sent from the slave 10, which is received by the master 20 together with the reply data (see step S42). The second state information is information based on the transmission count value N indicating the number of times the reply data is sent from the master 20, which is sent by the slave 10 together with the reply data (see step S71). Thus, the slave 10 can determine whether the master 20 has successfully received the second data packet by comparing the LSB and SLSB of the reception count value M stored in the reception state area of ​​the periodic data packet with the LSB and SLSB of the transmission count value N.

[0086] The LSB and SLSB of the reception count value M of each slave 10 are stored in the reception status area of ​​the periodic data packet. The total data length of the LSB and SLSB of the reception count value M is shorter than the data length of the reception count value M. Therefore, even if the data length of the periodic data packet is limited, one periodic data packet can have information on whether the second data packets sent by the plurality of slaves 10 are successfully received. Therefore, each broadcast of the periodic data packet helps to notify the plurality of slaves 10 from the master 20 whether the master 20 has successfully received the second data packet of each slave 10.

[0087] The master device 20 includes a control unit 21 and a transceiver 26. When the transceiver 26 receives a second data packet including a transmission count value N as second status information related to transmission of question data in each of the plurality of slave devices 10, the control unit 21 generates a reception count value M as first status information related to reception of question data in the master device 20 for each slave device 10 based on the transmission count value N (see steps S35 and S42). In parallel with this, the control unit 21 causes the transceiver 26 to periodically broadcast a periodic data packet including LSB and SLSB of the reception count value M for all the slave devices 10 (step S103). Therefore, each broadcast of the periodic data packet helps to notify each slave device 10 from the master device 20 whether the master device 20 has successfully received the second data packet for each slave device 10.

[0088] The control unit 21 causes the transceiver 26 to periodically broadcast a periodic data packet including the LSB and SLSB of the reception count value M for all the slaves 10 (step S103 ). Therefore, the master 20 does not need to communicate with each slave 10 individually.

[0089] The control unit 11 of the slave 10 controls the transceiver 16 to broadcast the registration packet (step S65). The identification information of the slave 10 is stored in the advertisement address area of ​​the registration packet, and the answerer number is stored in the data area of ​​the registration packet. When the master 20 receives the registration packet, the control unit 21 identifies the correspondence between the identification information of each slave 10 and the answerer number. Therefore, the control unit 21 of the master 20 can identify the slave 10 through the registration packet. In addition, since the identification information of the slave 10 is stored in the advertisement address area of ​​the second packet, the control unit 21 can identify the slave 10 that is the source of the second packet. Therefore, the control unit 21 can manage the reception count value M for each slave 10, and can determine the storage location of the LSB and SLSB of the reception count value M in the reception status area of ​​the periodic packet. Even if the transmission of the slave 10 and the master 20 is a broadcast without determining the transmission destination, it is possible to notify each slave 10 from the master 20 whether the master 20 has successfully received the second packet of each slave 10.

[0090] In the above embodiment, the questioner sends a first data packet including question data using the master device 20, and the answerer sends a second data packet including answer data using the slave device 10 in response to the first data packet. Alternatively, the answerer may voluntarily send a second data packet including answer data using the slave device 10. That is, the processing or actions of steps S12, S13, S37 to S39, S67, and S68 may be omitted.

[0091] In step S24, the respondent inputs an answer, but may also input information other than the answer. That is, the data stored in the data area of ​​the second data packet may also be information other than the answer data. For example, the respondent may press any key of the input key 14, and the control unit 11 may recognize the input or command corresponding to the key, and store the input or command in the data area of ​​the second data packet.

Claims

1. An information communication device, It is characterized in that The information communication device comprises a communication unit and a control unit. When receiving reception information related to reception of predetermined information in the transmission source via the communication unit, the control unit determines whether transmission information related to transmission of the predetermined information in the own device and the reception information are consistent.

2. The information communication device according to claim 1, It is characterized in that When the received information and the transmitted information do not match, the control unit performs at least one of notification to a user using a predetermined notification unit and retransmission of the predetermined information via the communication unit.

3. The information communication device according to claim 1, It is characterized in that The reception information is information received by the transmission source together with the predetermined information based on the number of times the predetermined information is transmitted from the own device, The transmission information is information transmitted by the own device together with the predetermined information and based on the number of times the predetermined information has been transmitted from the own device.

4. The information communication device according to claim 2, It is characterized in that At least one of the reception information and the transmission information is a part of a value of the number of times the predetermined information has been transmitted by the own device.

5. A program executed by an information communication device including a communication unit and a control unit, It is characterized in that When receiving reception information related to reception of predetermined information in the transmission source via the communication unit, the program causes the control unit to determine whether transmission information related to transmission of the predetermined information in the own device and the reception information are consistent.

6. A communication system, It is characterized in that The communication system comprises: at least one first information communication device having a first communication unit and a first control unit; and The second information communication device includes a second communication unit and a second control unit. When the second communication unit receives second status information, namely, sending information, related to the sending of predetermined information in each of the first information communication devices, the second control unit generates first status information, namely, receiving information, related to the reception of the predetermined information in the second information communication device for each of the first information communication devices based on the sending information. the second control unit causes the second communication unit to periodically transmit the reception information to all the first information communication devices; When the first communication unit receives the reception information, the first control unit compares the transmission information with the reception information. When the transmission information and the reception information do not match, the first control unit causes the first communication unit to retransmit the predetermined information.

7. A program executed by an information communication device including a communication unit and a control unit, It is characterized in that When the communication unit receives transmission information, which is second status information related to the transmission of predetermined information in each of at least one other device, the program causes the control unit to generate, for each of the other devices, reception information, which is first status information related to the reception of the predetermined information in the own device, based on the transmission information. The program causes the control unit to periodically transmit the reception information to all of the other devices via the communication unit.