[go: up one dir, main page]

CN107231701A - Wireless communications method, wireless communication terminal, service end and teaching are registered device - Google Patents

Wireless communications method, wireless communication terminal, service end and teaching are registered device Download PDF

Info

Publication number
CN107231701A
CN107231701A CN201610480248.1A CN201610480248A CN107231701A CN 107231701 A CN107231701 A CN 107231701A CN 201610480248 A CN201610480248 A CN 201610480248A CN 107231701 A CN107231701 A CN 107231701A
Authority
CN
China
Prior art keywords
wireless communication
communication terminal
data
server
time interval
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201610480248.1A
Other languages
Chinese (zh)
Inventor
李若斌
朱晓庆
刘辙
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Individual
Original Assignee
Individual
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Individual filed Critical Individual
Publication of CN107231701A publication Critical patent/CN107231701A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W74/00Wireless channel access
    • H04W74/08Non-scheduled access, e.g. ALOHA
    • H04W74/0833Random access procedures, e.g. with 4-step access

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

本发明实施例提供一种无线通信方法、无线通信终端、服务端、教学签到装置、教学答题装置、医院分诊装置和考勤装置。其中该方法应用于多个终端向服务端通信的通信系统在中,所述通信方法包括:终端在预定时间内以随机时间间隔向服务端发送预定次数的数据;所述服务端接收并处理所述终端发送的数据。本发明实施例可以远距离与服务端通信,无线通信终端向服务端发送数据或服务端读取无线通信终端的数据时避免了相互干扰或排队的情况。本发明实施例有效防止多个终端与服务端通信时数据相互干扰发生数据冲撞的问题。

Embodiments of the present invention provide a wireless communication method, a wireless communication terminal, a server, a teaching sign-in device, a teaching answering device, a hospital triage device, and an attendance device. Wherein the method is applied to a communication system in which a plurality of terminals communicate with a server, the communication method includes: the terminal sends a predetermined number of data to the server at random time intervals within a predetermined time; the server receives and processes the data The data sent by the terminal. The embodiments of the present invention can communicate with the server at a long distance, and avoid mutual interference or queuing when the wireless communication terminal sends data to the server or the server reads data from the wireless communication terminal. The embodiment of the present invention effectively prevents the problem of data collision caused by mutual data interference when multiple terminals communicate with the server.

Description

无线通信方法、无线通信终端、服务端和教学签到装置Wireless communication method, wireless communication terminal, server and teaching sign-in device

技术领域technical field

本发明实施例涉及一种无线通信方法、无线通信终端、服务端、教学签到装置、教学答题装置、医院分诊装置和考勤装置,属于通信技术领域。The embodiment of the present invention relates to a wireless communication method, a wireless communication terminal, a server, a teaching sign-in device, a teaching answering device, a hospital triage device and an attendance device, and belongs to the field of communication technology.

背景技术Background technique

随着我国经济的发展,随着科技的进步以及对生活质量要求的不断提高,人们要求在消费中得到的服务更加快捷、方便、舒适;同时处于激烈竞争环境中的服务性企业也需要吸引顾客,提高企业自身的服务档次和形象。无线呼叫系统能够为顾客创造良好的消费环境,使其得到方便及时的服务;企业也能随时掌握顾客需要的服务,提高服务效率。它可以广泛应用于酒店、银行、医院、娱乐场所等服务性行业中。因此,研究出一种简单可靠、高效率的无线呼叫系统,对于提高我服务行业的服务水平,改进人们的生活方式,促进社会生活的信息化,具有重要的理论、实用和商用价值。With the development of our country's economy, with the advancement of science and technology and the continuous improvement of the quality of life, people require faster, more convenient and more comfortable services in consumption; at the same time, service enterprises in a fierce competition environment also need to attract customers , Improve the service level and image of the enterprise itself. The wireless call system can create a good consumption environment for customers and enable them to receive convenient and timely services; enterprises can also grasp the services that customers need at any time and improve service efficiency. It can be widely used in service industries such as hotels, banks, hospitals, and entertainment venues. Therefore, researching a simple, reliable and efficient wireless call system has important theoretical, practical and commercial value for improving the service level of our service industry, improving people's life style and promoting the informatization of social life.

在服务行业的营业场所中,顾客需要服务人员能够提供准确、及时的服务,因此要求所设计的系统有很好的实时性和可靠性。一方面,顾客提出的申请能够很快地得到响应,使顾客感觉不到时间的浪费;另一方面,中央服务端不能由于接收到的是错误信息,使服务员打扰并未提出服务申请的顾客。In the business place of the service industry, customers need service personnel to provide accurate and timely services, so the designed system is required to have good real-time and reliability. On the one hand, the customer's application can be responded quickly, so that the customer does not feel the waste of time; on the other hand, the central server cannot cause the waiter to disturb the customer who did not apply for the service because the central server received the wrong information.

针对系统的要求,可以得出导致服务中出现错误的原因有二:一是由于无线信道的复杂性,信息在无线信道的传输过程极易受到干扰而产生错误,接收端不能接收到正确的信息;其二是由于多个呼叫器同时竞争通信信道向中央服务端发出呼叫,各个呼叫器发出的数据相互干扰,使中央服务端不能正确地辨别是哪一台呼叫器发出的申请。这两种错误可能使没有发出呼叫申请的顾客得到了不需要的服务,而有服务要求的顾客又得不到满足,反而降低了服务的效率和准确度,起不到服务行业中需要的无线呼叫系统的作用。According to the requirements of the system, it can be concluded that there are two reasons for errors in the service: one is due to the complexity of the wireless channel, the transmission of information in the wireless channel is easily interfered and errors occur, and the receiving end cannot receive correct information 2. Because a plurality of pagers compete for the communication channel to send a call to the central server at the same time, the data sent by each pager interferes with each other, so that the central server cannot correctly distinguish the application that the pager sends. These two kinds of mistakes may cause customers who have not issued a call application to get unnecessary services, while customers who have service requirements cannot be satisfied, which reduces the efficiency and accuracy of the service, and cannot achieve the wireless service required in the service industry. The role of the calling system.

发明内容Contents of the invention

本发明实施例的所要解决的技术问题是如何防止多个无线通信终端与服务端通信时数据相互干扰发生数据冲撞的问题。The technical problem to be solved in the embodiments of the present invention is how to prevent data interference and data collision when multiple wireless communication terminals communicate with the server.

为实现上述的发明目的,本发明实施例提供了一种无线通信方法、无线通信终端、服务端、教学签到装置、教学答题装置、医院分诊装置和考勤装置。In order to achieve the above object of the invention, the embodiment of the present invention provides a wireless communication method, a wireless communication terminal, a server, a teaching sign-in device, a teaching answering device, a hospital triage device and an attendance device.

一方面,本发明实施例提供一种无线通信方法,应用于多个无线通信终端向服务端通信的通信系统在中,所述通信方法包括:On the one hand, an embodiment of the present invention provides a wireless communication method, which is applied to a communication system in which multiple wireless communication terminals communicate with a server, and the communication method includes:

无线通信终端在预定时间内以随机时间间隔向服务端发送预定次数的数据;The wireless communication terminal sends a predetermined number of data to the server at random time intervals within a predetermined time;

所述服务端接收并处理所述无线通信终端发送的数据。The server receives and processes the data sent by the wireless communication terminal.

可选地,所述随机时间间隔是按下式计算的,Optionally, the random time interval is calculated according to the following formula,

T=S0-RT=S 0 -R

其中,T表示随机时间间隔,S0表示两次发送数据的时间间隔,R表示随机生成数。Among them, T represents a random time interval, S 0 represents the time interval between sending data twice, and R represents a randomly generated number.

可选地,所述两次发送数据的时间间隔是按下式计算的:Optionally, the time interval between sending data twice is calculated as follows:

S0=(L/F)×(1/v)×MS 0 =(L/F)×(1/v)×M

其中,S0表示两次发送数据的时间间隔,L表示无线通信终端发送的数据长度,F表示无线通信终端发送的最大速率,v表示可以接受的碰撞错误率,M表示单位空间内最大无线通信终端数量。Among them, S 0 represents the time interval between two data transmissions, L represents the length of the data sent by the wireless communication terminal, F represents the maximum transmission rate of the wireless communication terminal, v represents the acceptable collision error rate, and M represents the maximum wireless communication rate in the unit space number of terminals.

可选地,预定时间内以随机时间间隔向服务端发送预定次数的数据,包括:Optionally, sending a predetermined number of data to the server at random time intervals within a predetermined period of time, including:

获取随机时间间隔数;Get the number of random time intervals;

启动定时中断;Start timer interrupt;

定时中断发生后发送数据;Send data after the timing interrupt occurs;

发送数据后获取下一个随机时间间隔数;Get the next random time interval number after sending data;

如此循环直至达到预定次数后结束。Repeat this until the predetermined number of times is reached.

可选地,所述数据包括设备唯一识别标识。Optionally, the data includes a unique device identification.

可选地,发送数据的流水号、无线通信终端电池电压、无线通信终端按键信息、AD端口电压参数和IO端口的状态中的任意一项或多项。Optionally, any one or more items of the serial number of the sent data, the battery voltage of the wireless communication terminal, the button information of the wireless communication terminal, the voltage parameter of the AD port, and the state of the IO port.

可选地,所述预定次数为3次至20次。Optionally, the predetermined number of times is 3 to 20 times.

可选地,还包括显示所述无线通信终端状态的步骤,Optionally, it also includes the step of displaying the status of the wireless communication terminal,

所述服务端根据所述无线通信终端发送的所述数据在所述服务端显示所述无线通信终端的状态。The server displays the status of the wireless communication terminal on the server according to the data sent by the wireless communication terminal.

另一方面,本发明实施例还提供一种无线通信终端,包括:控制器和与所述控制器连接的发射器;On the other hand, an embodiment of the present invention also provides a wireless communication terminal, including: a controller and a transmitter connected to the controller;

所述控制器,用于计算在预定时间内的随机时间间隔,在预定时间内以随机时间间隔向所述发射器发送数据发送命令;The controller is configured to calculate a random time interval within a predetermined time, and send a data transmission command to the transmitter at a random time interval within a predetermined time;

所述发射器,用于所述发送命令服务端发送预定次数的数据。The transmitter is used for the sending command server to send data for a predetermined number of times.

可选地,所述随机时间间隔是按下式计算的,Optionally, the random time interval is calculated according to the following formula,

T=S0-RT=S 0 -R

其中,T表示随机时间间隔,S0表示两次发送数据的时间间隔,R表示随机生成数。Among them, T represents a random time interval, S 0 represents the time interval between sending data twice, and R represents a randomly generated number.

可选地,所述两次发送数据的时间间隔是按下式计算的:Optionally, the time interval between sending data twice is calculated as follows:

S0=(L/F)×(1/v)×MS 0 =(L/F)×(1/v)×M

其中,S0表示两次发送数据的时间间隔,L表示无线通信终端发送的数据长度,F表示无线通信终端发送的最大速率,v表示可以接受的碰撞错误率,M表示单位空间内最大无线通信终端数量。Among them, S 0 represents the time interval between two data transmissions, L represents the length of the data sent by the wireless communication terminal, F represents the maximum transmission rate of the wireless communication terminal, v represents the acceptable collision error rate, and M represents the maximum wireless communication rate in the unit space number of terminals.

可选地,所述控制器包括:Optionally, the controller includes:

时间间隔数获取单元,用于获取随机时间间隔数;The number of time interval acquisition unit is used to obtain the number of random time intervals;

中断单元,用于启动定时中断;Interrupt unit, used to start timing interrupt;

命令传输单元,用于在定时中断发生后发送数据,发送数据后获取下一个随机时间间隔数。The command transmission unit is used to send data after the timing interrupt occurs, and obtain the next random time interval number after sending the data.

可选地,所述数据包括设备唯一识别标识。Optionally, the data includes a unique device identification.

可选地,所述数据还包括:发送数据的流水号、无线通信终端电池电压、无线通信终端按键信息、AD端口电压参数和IO端口的状态中的任意一项或多项。Optionally, the data further includes: any one or more items of the serial number of the sent data, the battery voltage of the wireless communication terminal, the button information of the wireless communication terminal, the voltage parameter of the AD port, and the state of the IO port.

可选地,所述预定次数为3次至20次。Optionally, the predetermined number of times is 3 to 20 times.

再另一方面,本发明实施例还提供一种无线通信服务端,其特征在于,所述服务端用于接收无线通信终端发送的数据;In yet another aspect, an embodiment of the present invention further provides a wireless communication server, wherein the server is configured to receive data sent by a wireless communication terminal;

所述服务端处理所述无线通信终端发送的数据,并根据所述无线通信终端发送的所述数据在所述服务端显示所述无线通信终端的状态。The server processes the data sent by the wireless communication terminal, and displays the status of the wireless communication terminal on the server according to the data sent by the wireless communication terminal.

再一方面,本发明实施例还提供一种教学签到装置,包括上述的无线通信终端,所述无线通信终端向服务端发送签到信息。In yet another aspect, an embodiment of the present invention further provides a teaching sign-in device, including the above-mentioned wireless communication terminal, where the wireless communication terminal sends sign-in information to a server.

再一方面,本发明实施例还提供一种教学答题装置,包括上述的无线通信终端,所述无线通信终端向服务端发送答题信息。In yet another aspect, an embodiment of the present invention further provides a teaching answering device, including the above-mentioned wireless communication terminal, and the wireless communication terminal sends answering information to a server.

再一方面,本发明实施例还提供一种医院分诊装置,包括上述的无线通信终端,所述无线通信终端向服务端发送分诊信息。In yet another aspect, an embodiment of the present invention further provides a hospital triage device, including the above-mentioned wireless communication terminal, where the wireless communication terminal sends triage information to a server.

再一方面,本发明实施例还提供一种考勤装置,包括上述的无线通信终端,所述无线通信终端向服务端发送考勤信息。In yet another aspect, an embodiment of the present invention further provides an attendance check device, including the above-mentioned wireless communication terminal, where the wireless communication terminal sends attendance information to a server.

上述技术方案所提供的无线通信方法、无线通信终端、服务端、教学签到装置、教学答题装置、医院分诊装置和考勤装置,可以远距离与服务端通信,无线通信终端向服务端发送数据或服务端读取无线通信终端的数据时避免了相互干扰或排队的情况。本发明实施例有效防止多个无线通信终端与服务端通信时数据相互干扰发生数据冲撞的问题。The wireless communication method, wireless communication terminal, server, teaching sign-in device, teaching answering device, hospital triage device and attendance device provided by the above technical solution can communicate with the server at a long distance, and the wireless communication terminal sends data to the server or When the server reads the data of the wireless communication terminal, mutual interference or queuing is avoided. The embodiment of the present invention effectively prevents the problem of data collision caused by mutual data interference when multiple wireless communication terminals communicate with the server.

附图说明Description of drawings

为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作一简单的介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will give a brief introduction to the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description These are some embodiments of the present invention. Those skilled in the art can also obtain other drawings based on these drawings without creative work.

图1是本发明实施例通信系统结构示意图;FIG. 1 is a schematic structural diagram of a communication system according to an embodiment of the present invention;

图2是本发明实施例提供的无线通信方法流程示意图;FIG. 2 is a schematic flowchart of a wireless communication method provided by an embodiment of the present invention;

图3是本发明实施例无线通信终端结构示意图;FIG. 3 is a schematic structural diagram of a wireless communication terminal according to an embodiment of the present invention;

图4是本发明实施例教学签到装置结构示意图;Fig. 4 is a schematic structural diagram of a teaching sign-in device according to an embodiment of the present invention;

图5是本发明实施例教学答题装置结构示意图;Fig. 5 is a schematic structural diagram of a teaching answering device according to an embodiment of the present invention;

图6是本发明实施例医院分诊装置结构示意图;Fig. 6 is a schematic structural diagram of a hospital triage device according to an embodiment of the present invention;

图7是本发明实施例考勤装置结构示意图。Fig. 7 is a schematic structural diagram of an attendance checking device according to an embodiment of the present invention.

具体实施方式detailed description

为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

如图1所示,本发明实施例提供一种无线通信方法,应用于多个无线通信终端向服务端通信的通信系统在中,如图2所示,该通信方法包括:无线通信终端在预定时间内以随机时间间隔向服务端发送预定次数的数据;服务端接收并处理无线通信终端发送的数据。下面对本发明实施例提供的无线通信方法展开详细的说明。As shown in FIG. 1, an embodiment of the present invention provides a wireless communication method, which is applied to a communication system in which multiple wireless communication terminals communicate with a server. As shown in FIG. 2, the communication method includes: the wireless communication terminal Send predetermined times of data to the server at random time intervals within the time; the server receives and processes the data sent by the wireless communication terminal. The wireless communication method provided by the embodiment of the present invention will be described in detail below.

在本发明实施例中,为了避免多个无线通信终端同时向服务端发送通信数据,造成多路通信数据相互干扰,本发明实施例特意将无线通信终端向服务端发送数据时以随机的时间间隔向服务端发送预定次数的数据。In the embodiment of the present invention, in order to prevent multiple wireless communication terminals from sending communication data to the server at the same time, causing multi-channel communication data to interfere with each other, the embodiment of the present invention deliberately sends data to the server at random time intervals. Send a predetermined number of data to the server.

所述随机时间间隔是按式(1)计算的,The random time interval is calculated according to formula (1),

T=S0-R (1)T=S 0 -R (1)

其中,T表示随机时间间隔,S0表示两次发送数据的时间间隔,R表示随机生成数。该随机生成数可以通过单片机内部随机数发生器得到。通过随机的时间间隔大大降低了无线通信终端向服务端发送数据时的冲撞几率。两次发送数据的时间间隔是按式(2)计算的:Among them, T represents a random time interval, S 0 represents the time interval between sending data twice, and R represents a randomly generated number. The randomly generated number can be obtained by the internal random number generator of the single-chip microcomputer. The random time interval greatly reduces the collision probability when the wireless communication terminal sends data to the server. The time interval between sending data twice is calculated according to formula (2):

S0=(L/F)×(1/v)×M (2)S 0 =(L/F)×(1/v)×M (2)

其中,S0表示两次发送数据的时间间隔,L表示无线通信终端发送的数据长度,F表示无线通信终端发送的最大速率,v表示可以接受的碰撞错误率,M表示单位空间内最大无线通信终端数量。Among them, S 0 represents the time interval between two data transmissions, L represents the length of the data sent by the wireless communication terminal, F represents the maximum transmission rate of the wireless communication terminal, v represents the acceptable collision error rate, and M represents the maximum wireless communication rate in the unit space number of terminals.

在本发明实施例中,通过预定次数的数据发送,即使其中一次数据冲撞导致服务端接收不完整,其余次数的数据至少有一次能被服务端接收到,预定次数的数据至少是两次。预定次数选在3至20次之间,该预定次数优选为5次。In the embodiment of the present invention, through the predetermined number of data transmissions, even if one of the data collisions causes the server to receive incompletely, the remaining times of data can be received by the server at least once, and the predetermined number of data is at least twice. The predetermined number of times is selected between 3 and 20 times, and the predetermined number of times is preferably 5 times.

在本发明实施例中,预定时间内以随机时间间隔向服务端发送预定次数的数据,包括:获取随机时间间隔数;启动定时中断;定时中断发生后发送数据;发送数据后获取下一个随机时间间隔数;如此循环直至达到预定次数后结束。通过随机时间间隔数进一步使两个随机时间间隔相同的几率大大降低,不同的无线通信终端在同一时间内的随机时间间隔一样的了能性大大降低。In the embodiment of the present invention, the predetermined times of data are sent to the server at random time intervals within the predetermined time, including: obtaining the number of random time intervals; starting a timing interruption; sending data after the timing interruption occurs; obtaining the next random time after sending the data The number of intervals; this cycle will end after reaching the predetermined number of times. The probability that two random time intervals are the same is further greatly reduced by using the number of random time intervals, and the possibility that different wireless communication terminals have the same random time intervals at the same time is greatly reduced.

在本发明实施例中,无线通信终端向服务端发送的数据至少包括设备唯一识别标识,用于服务端可以根据该设备唯一识别标识区分发送数据的设备。当然可以理解,本发明实施例不仅限于此,无线通信终端向服务端发送的数据还可以包括:发送数据的流水号、无线通信终端电池电压、无线通信终端按键信息、AD端口电压参数、IO端口的状态。服务端接收到无线通信终端的数据后,服务端可以从相同设备唯一识别标识的多次数据中取其中的一次作为需要的数据。服务端可以从发送数据的流水号确定是当前设备的第几次发送的数据。当然服务端从发送的数据中得到无线通信终端的电池电压,具体是用户按那个按键,AD端口电压参、IO端口的状态等信息。服务端根据无线通信终端发送的数据在服务端显示无线通信终端的状态。具体地,服务端将收到的信息显示出来,帮助用户确定无线通信终端的数据发送状态和无线通信终端的具体状态。如果服务端显示当前无线通信终端的电压过低,则用户可以在第一时间得到无线通信终端的电量不足,需更换无线通信终端或电池,如果服务端不显示无线通信终端的信息,则证明当前无线通信终端数据发送失败,需要重新按键发送数据。In the embodiment of the present invention, the data sent by the wireless communication terminal to the server at least includes a unique device identification, so that the server can distinguish the device sending the data according to the unique device identification. Of course, it can be understood that the embodiment of the present invention is not limited thereto. The data sent by the wireless communication terminal to the server may also include: the serial number of the sent data, the battery voltage of the wireless communication terminal, the button information of the wireless communication terminal, the voltage parameter of the AD port, the IO port status. After the server receives the data of the wireless communication terminal, the server can take one of the multiple data of the unique identification of the same device as the required data. The server can determine the number of data sent by the current device from the serial number of the sent data. Of course, the server obtains the battery voltage of the wireless communication terminal from the sent data, specifically information such as which button the user presses, the voltage parameter of the AD port, and the status of the IO port. The server displays the status of the wireless communication terminal on the server according to the data sent by the wireless communication terminal. Specifically, the server displays the received information to help the user determine the data transmission status of the wireless communication terminal and the specific status of the wireless communication terminal. If the server shows that the current voltage of the wireless communication terminal is too low, the user can immediately know that the battery of the wireless communication terminal is insufficient, and the wireless communication terminal or battery needs to be replaced. If the server does not display the information of the wireless communication terminal, it proves that the current The wireless communication terminal fails to send data, and needs to press the button again to send data.

为进一步体现本发明实施例提供的无线通信方法的优越性,本发明实施例还提供一种应用上述方法的无线通信终端,包括:控制器和与控制器连接的发射器;控制器,用于计算在预定时间内的随机时间间隔,在预定时间内以随机时间间隔向发射器发送数据发送命令;发射器,用于发送命令服务端发送预定次数的数据。In order to further demonstrate the superiority of the wireless communication method provided by the embodiment of the present invention, the embodiment of the present invention also provides a wireless communication terminal applying the above method, including: a controller and a transmitter connected to the controller; a controller for Calculate the random time interval within the predetermined time, and send the data sending command to the transmitter at random time intervals within the predetermined time; the transmitter is used to send the command server to send the data for a predetermined number of times.

在本发明实施例中,为了避免多个无线通信终端同时向服务端发送通信数据,造成多路通信数据相互干扰,本发明实施例特意将无线通信终端向服务端发送数据时以随机的时间间隔向服务端发送预定次数的数据。In the embodiment of the present invention, in order to prevent multiple wireless communication terminals from sending communication data to the server at the same time, causing multi-channel communication data to interfere with each other, the embodiment of the present invention deliberately sends data to the server at random time intervals. Send a predetermined number of data to the server.

所述随机时间间隔是按式(1)计算的,The random time interval is calculated according to formula (1),

T=S0-R (1)T=S 0 -R (1)

其中,T表示随机时间间隔,S0表示两次发送数据的时间间隔,,R表示随机生成数。该随机生成数可以通过单片机内部随机数发生器得到。通过随机的时间间隔大大降低了无线通信终端向服务端发送数据时的冲撞几率。两次发送数据的时间间隔是按式(2)计算的:Among them, T represents a random time interval, S 0 represents the time interval between sending data twice, and R represents a randomly generated number. The randomly generated number can be obtained by the internal random number generator of the single-chip microcomputer. The random time interval greatly reduces the collision probability when the wireless communication terminal sends data to the server. The time interval between sending data twice is calculated according to formula (2):

S0=(L/F)×(1/v)×M (2)S 0 =(L/F)×(1/v)×M (2)

其中,S0表示两次发送数据的时间间隔,L表示无线通信终端发送的数据长度,F表示无线通信终端发送的最大速率,v表示可以接受的碰撞错误率,M表示单位空间内最大无线通信终端数量。Among them, S 0 represents the time interval between two data transmissions, L represents the length of the data sent by the wireless communication terminal, F represents the maximum transmission rate of the wireless communication terminal, v represents the acceptable collision error rate, and M represents the maximum wireless communication rate in the unit space number of terminals.

在本发明实施例中,通过预定次数的数据发送,即使其中一次数据冲撞导致服务端接收不完整,其余次数的数据至少有一次能被服务端接收到,预定次数的数据至少是两次。预定次数选在3至20次之间,该预定次数优选为5次。In the embodiment of the present invention, through the predetermined number of data transmissions, even if one of the data collisions causes the server to receive incompletely, the remaining times of data can be received by the server at least once, and the predetermined number of data is at least twice. The predetermined number of times is selected between 3 and 20 times, and the predetermined number of times is preferably 5 times.

在本发明实施例中,控制器包括:时间间隔数获取单元,用于获取随机时间间隔数;中断单元,用于启动定时中断;命令传输单元,用于在定时中断发生后发送数据,发送数据后获取下一个随机时间间隔数。通过随机时间间隔数进一步使两个随机时间间隔相同的几率大大降低,不同的无线通信终端在同一时间内的随机时间间隔一样的了能性大大降低。In the embodiment of the present invention, the controller includes: a time interval acquisition unit, used to acquire random time interval numbers; an interrupt unit, used to start a timing interruption; a command transmission unit, used to send data after the timing interruption occurs, and send data After that gets the next random time interval number. The probability that two random time intervals are the same is further greatly reduced by using the number of random time intervals, and the possibility that different wireless communication terminals have the same random time intervals at the same time is greatly reduced.

在本发明实施例中,无线通信终端向服务端发送的数据至少包括设备唯一识别标识,用于服务端可以根据该设备唯一识别标识区分发送数据的设备。当然可以理解,本发明实施例不仅限于此,无线通信终端向服务端发送的数据还可以包括:发送数据的流水号、无线通信终端电池电压、无线通信终端按键信息、AD端口电压参数、IO端口的状态。服务端接收到无线通信终端的数据后,服务端可以从相同设备唯一识别标识的多次数据中取其中的一次作为需要的数据。服务端可以从发送数据的流水号确定是当前设备的第几次发送的数据。当然服务端从发送的数据中得到无线通信终端的电池电压,具体是用户按那个按键,AD端口电压参、IO端口的状态等信息。服务端接收到无线通信终端的数据后,服务端可以从相同设备唯一识别标识的多次数据中取其中的一次作为需要的数据。服务端可以从发送数据的流水号确定是当前设备的第几次发送的数据。当然服务端从发送的数据中得到无线通信终端的电池电压,具体是用户按那个按键,AD端口电压参、IO端口的状态等信息。服务端根据无线通信终端发送的数据在服务端显示无线通信终端的状态。具体地,服务端将收到的信息显示出来,帮助用户确定无线通信终端的数据发送状态和无线通信终端的具体状态。如果服务端显示当前无线通信终端的电压过低,则用户可以在第一时间得到无线通信终端的电量不足,需更换无线通信终端或电池,如果服务端不显示无线通信终端的信息,则证明当前无线通信终端数据发送失败,需要重新按键发送数据。In the embodiment of the present invention, the data sent by the wireless communication terminal to the server at least includes a unique device identification, so that the server can distinguish the device sending the data according to the unique device identification. Of course, it can be understood that the embodiment of the present invention is not limited thereto. The data sent by the wireless communication terminal to the server may also include: the serial number of the sent data, the battery voltage of the wireless communication terminal, the button information of the wireless communication terminal, the voltage parameter of the AD port, the IO port status. After the server receives the data of the wireless communication terminal, the server can take one of the multiple data of the unique identification of the same device as the required data. The server can determine the number of data sent by the current device from the serial number of the sent data. Of course, the server obtains the battery voltage of the wireless communication terminal from the sent data, specifically information such as which button the user presses, the voltage parameter of the AD port, and the status of the IO port. After the server receives the data of the wireless communication terminal, the server can take one of the multiple data of the unique identification of the same device as the required data. The server can determine the number of data sent by the current device from the serial number of the sent data. Of course, the server obtains the battery voltage of the wireless communication terminal from the sent data, specifically information such as which button the user presses, the voltage parameter of the AD port, and the status of the IO port. The server displays the status of the wireless communication terminal on the server according to the data sent by the wireless communication terminal. Specifically, the server displays the received information to help the user determine the data transmission status of the wireless communication terminal and the specific status of the wireless communication terminal. If the server shows that the current voltage of the wireless communication terminal is too low, the user can immediately know that the battery of the wireless communication terminal is insufficient, and the wireless communication terminal or battery needs to be replaced. If the server does not display the information of the wireless communication terminal, it proves that the current The wireless communication terminal fails to send data, and needs to press the button again to send data.

为进一步体现本发明实施例提供的无线通信方法的优越性,本发明实施例还提供一种应用上述方法的无线通信服务端,无线通信服务端用于接收无线通信终端发送的数据;无线通信服务端处理无线通信终端发送的数据,并根据无线通信终端发送的数据在服务端显示无线通信终端的状态。服务端可以从发送数据的流水号确定是那个无线通信终端的数据,服务端从发送的数据中得到无线通信终端的电池电压,具体是用户按那个按键,AD端口电压参、IO端口的状态等信息。无线通信服务端根据无线通信终端发送的数据在无线通信服务端显示无线通信终端的状态。具体地,服务端将收到的信息显示出来,帮助用户确定无线通信终端的数据发送状态和无线通信终端的具体状态。如果服务端显示当前无线通信终端的电压过低,则用户可以在第一时间得到无线通信终端的电量不足,需更换无线通信终端或电池,如果服务端不显示无线通信终端的信息,则证明当前无线通信终端数据发送失败,需要重新按键发送数据。In order to further reflect the superiority of the wireless communication method provided by the embodiment of the present invention, the embodiment of the present invention also provides a wireless communication server applying the above method, the wireless communication server is used to receive the data sent by the wireless communication terminal; the wireless communication service The terminal processes the data sent by the wireless communication terminal, and displays the status of the wireless communication terminal on the server according to the data sent by the wireless communication terminal. The server can determine the data of the wireless communication terminal from the serial number of the sent data, and the server can obtain the battery voltage of the wireless communication terminal from the sent data, specifically, which button the user presses, the voltage parameter of the AD port, the status of the IO port, etc. information. The wireless communication server displays the status of the wireless communication terminal on the wireless communication server according to the data sent by the wireless communication terminal. Specifically, the server displays the received information to help the user determine the data transmission status of the wireless communication terminal and the specific status of the wireless communication terminal. If the server shows that the current voltage of the wireless communication terminal is too low, the user can immediately know that the battery of the wireless communication terminal is insufficient, and the wireless communication terminal or battery needs to be replaced. If the server does not display the information of the wireless communication terminal, it proves that the current The wireless communication terminal fails to send data, and needs to press the button again to send data.

本发明实施例提供的无线通信方法、无线通信终端和服务端,可以应用于学生签到的无线通信系统,学生在学校内可以通过无线通信终端向签到无线通信服务端发送签到数据,无线通信服务端记录学生的到校情况。同样的应当可以理解,学生在离校时通过无线通信终端向服务端发送数据确认学生离校。具体地,本发明实施例涉及一种教学签到装置,该教学签到装置包括上述的无线通信终端,该无线终通信端向服务端发送签到信息。另外,本发明实施例的服务端还可以将该学生的签到到校情况和签到离校情况通过无线通信网络发送给家长终端,以使家长随时掌握学生的入校离校状况,以保证学生的上学放学安全。本发明实施例还可以通过在无线通信终端上设置不同的按键,学生在通过无线通信终端通过按压不同的按键向服务端发送不同的数据,进行现场答题。具体地,本发明实施例涉及一种教学答题装置,该教学答题装置包括上述的无线通信终端,该无线通信终端向服务端发送答题信息。例如,可以在该教学答题装置的无线通信终端上设置A、B、C、D四个按键,学生通过按压相应的按键,可以将带有该按键信息的数据发送至服务端,服务端可以按照无线通信终端发送的数据中携带的信息区分是那个学生的那个按键选项。The wireless communication method, wireless communication terminal, and server provided by the embodiments of the present invention can be applied to a wireless communication system for students to sign in. Students can send sign-in data to the sign-in wireless communication server through the wireless communication terminal in the school, and the wireless communication server Record student attendance at school. Similarly, it should be understood that when the student leaves the school, the student sends data to the server through the wireless communication terminal to confirm that the student has left the school. Specifically, the embodiment of the present invention relates to a teaching sign-in device, which includes the above-mentioned wireless communication terminal, and the wireless terminal communication terminal sends sign-in information to the server. In addition, the server in the embodiment of the present invention can also send the student's check-in and check-out status to the parent terminal through the wireless communication network, so that the parents can keep track of the student's admission and departure status at any time, so as to ensure the student's school attendance. Safe after school. In the embodiment of the present invention, different buttons can be set on the wireless communication terminal, and students can answer questions on the spot by pressing different buttons to send different data to the server through the wireless communication terminal. Specifically, the embodiment of the present invention relates to a teaching answering device, which includes the above-mentioned wireless communication terminal, and the wireless communication terminal sends answering information to a server. For example, four buttons A, B, C, and D can be set on the wireless communication terminal of the teaching answering device, and the students can send the data with the button information to the server by pressing the corresponding button, and the server can follow the The information carried in the data sent by the wireless communication terminal is the button option of that student.

类似地,本发明实施例提供的无线通信方法、无线通信终端和服务端,还可以应用于医院的分诊系统中,已经挂号的患者可以通过无线通信终端向签到无线通信服务端发送分诊数据,无线通信服务端根据患者的无线通信终端分诊。具体地,本发明实施例涉及一种医院分诊装置,该医院分诊装置包括上述的无线通信终端,该无线通信终端向服务端发送分诊信息,服务端可以根据无线通信终端发送的数据中携带的设备唯一识别标识区分发送数据的设备,对当前设备分诊。本发明实施例无需接触就可以远距离实现自动分诊。Similarly, the wireless communication method, wireless communication terminal, and server provided by the embodiments of the present invention can also be applied in a hospital triage system, and registered patients can send triage data to the sign-in wireless communication server through the wireless communication terminal , the wireless communication server triages the patient according to the wireless communication terminal. Specifically, the embodiment of the present invention relates to a hospital triage device. The hospital triage device includes the above-mentioned wireless communication terminal. The wireless communication terminal sends triage information to the server, and the server can The unique identification of the carried device distinguishes the device sending data, and triages the current device. In the embodiment of the present invention, automatic triage can be realized remotely without contact.

另外,本发明实施例提供的无线通信方法、无线通信终端和服务端,还可以应用于员工的考勤系统中,员工可以通过无线通信终端向考勤无线通信服务端发送签到数据,无线通信服务端记录员工的考勤情况。具体地,本发明实施例涉及一种考勤装置,该考勤装置其特征在于包括上述的无线通信终端,该无线通信终端向服务端发送签到信息,服务端根据无线通信终端发送的数据中携带的设备唯一识别标识区分发送数据的设备,记录当前设备的考勤情况。本发明实施例无需接触就可以远距离实现自动记录考勤。在上述的应用环境中,无线通信终端通过无线方式远距离与服务端通信,避免了现有技术中无线通信终端向服务端发送数据或服务端读取无线通信终端的数据时排队的,或者相互干扰的情况。In addition, the wireless communication method, wireless communication terminal, and server provided by the embodiments of the present invention can also be applied to employee attendance systems. Employees can send sign-in data to the attendance wireless communication server through the wireless communication terminal, and the wireless communication server records Employee attendance. Specifically, the embodiment of the present invention relates to an attendance check device, which is characterized by including the above-mentioned wireless communication terminal, the wireless communication terminal sends check-in information to the server, and the server sends the device according to the data carried in the data sent by the wireless communication terminal. The unique identification identifies the device that sends the data, and records the attendance status of the current device. The embodiments of the present invention can realize automatic recording of attendance at a distance without contact. In the above-mentioned application environment, the wireless communication terminal communicates with the server over a long distance in a wireless manner, which avoids queuing when the wireless communication terminal sends data to the server or the server reads the data of the wireless communication terminal in the prior art, or mutually interference situation.

综上所述,本发明实施例提供的无线通信方法、无线通信终端、服务端、教学签到装置、教学答题装置、医院分诊装置和考勤装置,可以远距离与服务端通信,无线通信终端向服务端发送数据或服务端读取无线通信终端的数据时避免了相互干扰或排队的情况。本发明实施例有效防止多个终端与服务端通信时数据相互干扰发生数据冲撞的问题。In summary, the wireless communication method, wireless communication terminal, server, teaching sign-in device, teaching answering device, hospital triage device, and attendance device provided by the embodiments of the present invention can communicate with the server at a long distance, and the wireless communication terminal can communicate with the server at a long distance. When the server sends data or the server reads the data of the wireless communication terminal, mutual interference or queuing is avoided. The embodiment of the present invention effectively prevents the problem of data collision caused by mutual data interference when multiple terminals communicate with the server.

本领域内的技术人员应明白,本申请的实施例可提供为方法、系统、或计算机程序产品。因此,本申请可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art should understand that the embodiments of the present application may be provided as methods, systems, or computer program products. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.

本申请是参照根据本申请实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present application is described with reference to flowcharts and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the present application. It should be understood that each procedure and/or block in the flowchart and/or block diagram, and a combination of procedures and/or blocks in the flowchart and/or block diagram can be realized by computer program instructions. These computer program instructions may be provided to a general purpose computer, special purpose computer, embedded processor, or processor of other programmable data processing equipment to produce a machine such that the instructions executed by the processor of the computer or other programmable data processing equipment produce a An apparatus for realizing the functions specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.

这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing apparatus to operate in a specific manner, such that the instructions stored in the computer-readable memory produce an article of manufacture comprising instruction means, the instructions The device realizes the function specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.

这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded onto a computer or other programmable data processing device, causing a series of operational steps to be performed on the computer or other programmable device to produce a computer-implemented process, thereby The instructions provide steps for implementing the functions specified in the flow diagram procedure or procedures and/or block diagram procedures or blocks.

最后需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。术语“上”、“下”等指示的方位或位置关系为基于附图所示的方位或位置关系,仅是为了便于描述本发明和简化描述,而不是指示或暗示所指的装置或元件必须具有特定的方位、以特定的方位构造和操作,因此不能理解为对本发明的限制。除非另有明确的规定和限定,术语“安装”、“相连”、“连接”应做广义理解,例如,可以是固定连接,也可以是可拆卸连接,或一体地连接;可以是机械连接,也可以是电连接;可以是直接相连,也可以通过中间媒介间接相连,可以是两个元件内部的连通。对于本领域的普通技术人员而言,可以根据具体情况理解上述术语在本发明中的具体含义。Finally, it should be noted that in this text, relational terms such as first and second etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply that these entities or operations Any such actual relationship or order exists between. Furthermore, the term "comprises", "comprises" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article, or apparatus comprising a set of elements includes not only those elements, but also includes elements not expressly listed. other elements of or also include elements inherent in such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of additional identical elements in the process, method, article or apparatus comprising said element. The orientation or positional relationship indicated by the terms "upper", "lower", etc. is based on the orientation or positional relationship shown in the drawings, and is only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the referred device or element must Having a particular orientation, being constructed and operating in a particular orientation, and therefore not to be construed as limiting the invention. Unless otherwise clearly specified and limited, the terms "installation", "connection" and "connection" should be interpreted in a broad sense, for example, it may be a fixed connection, a detachable connection, or an integral connection; it may be a mechanical connection, It can also be an electrical connection; it can be a direct connection, or an indirect connection through an intermediary, or an internal communication between two components. Those of ordinary skill in the art can understand the specific meanings of the above terms in the present invention according to specific situations.

本发明的说明书中,说明了大量具体细节。然而能够理解的是,本发明的实施例可以在没有这些具体细节的情况下实践。在一些实例中,并未详细示出公知的方法、结构和技术,以便不模糊对本说明书的理解。类似地,应当理解,为了精简本发明公开并帮助理解各个发明方面中的一个或多个,在上面对本发明的示例性实施例的描述中,本发明的各个特征有时被一起分组到单个实施例、图、或者对其的描述中。然而,并不应将该公开的方法解释呈反映如下意图:即所要求保护的本发明要求比在每个权利要求中所明确记载的特征更多的特征。更确切地说,如权利要求书所反映的那样,发明方面在于少于前面公开的单个实施例的所有特征。因此,遵循具体实施方式的权利要求书由此明确地并入该具体实施方式,其中每个权利要求本身都作为本发明的单独实施例。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。本发明并不局限于任何单一的方面,也不局限于任何单一的实施例,也不局限于这些方面和/或实施例的任意组合和/或置换。而且,可以单独使用本发明的每个方面和/或实施例或者与一个或更多其他方面和/或其实施例结合使用。In the description of the invention, numerous specific details are set forth. It is understood, however, that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure the understanding of this description. Similarly, it should be appreciated that in the above description of exemplary embodiments of the invention, in order to streamline the present disclosure and to facilitate understanding of one or more of the various inventive aspects, various features of the invention are sometimes grouped together into a single embodiment , figure, or description of it. This method of disclosure, however, is not to be interpreted as reflecting an intention that the claimed invention requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the Detailed Description are hereby expressly incorporated into this Detailed Description, with each claim standing on its own as a separate embodiment of this invention. It should be noted that, in the case of no conflict, the embodiments in the present application and the features in the embodiments can be combined with each other. The present invention is not limited to any single aspect, nor to any single embodiment, nor to any combination and/or permutation of these aspects and/or embodiments. Furthermore, each aspect and/or embodiment of the invention may be used alone or in combination with one or more other aspects and/or embodiments thereof.

最后应说明的是:以上各实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述各实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的范围,其均应涵盖在本发明的权利要求和说明书的范围当中。Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present invention, rather than limiting them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: It is still possible to modify the technical solutions described in the foregoing embodiments, or perform equivalent replacements for some or all of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the technical solutions of the various embodiments of the present invention. All of them should be covered by the scope of the claims and description of the present invention.

Claims (20)

1.一种无线通信方法,其特征在于,应用于多个无线通信终端向服务端通信的通信系统在中,所述通信方法包括:1. A wireless communication method, characterized in that it is applied to a communication system in which a plurality of wireless communication terminals communicate to a server, and the communication method comprises: 无线通信终端在预定时间内以随机时间间隔向服务端发送预定次数的数据;The wireless communication terminal sends a predetermined number of data to the server at random time intervals within a predetermined time; 所述服务端接收并处理所述无线通信终端发送的数据。The server receives and processes the data sent by the wireless communication terminal. 2.根据权利要求1所述的无线通信方法,其特征在于,所述随机时间间隔是按下式计算的,2. The wireless communication method according to claim 1, wherein the random time interval is calculated according to the following formula, T=S0-RT=S 0 -R 其中,T表示随机时间间隔,S0表示两次发送数据的时间间隔,R表示随机生成数。Among them, T represents a random time interval, S 0 represents the time interval between sending data twice, and R represents a randomly generated number. 3.根据权利要求2所述的无线通信方法,其特征在于,所述两次发送数据的时间间隔是按下式计算的:3. The wireless communication method according to claim 2, characterized in that, the time interval between sending data twice is calculated as follows: S0=(L/F)×(1/v)×MS 0 =(L/F)×(1/v)×M 其中,S0表示两次发送数据的时间间隔,L表示无线通信终端发送的数据长度,F表示无线通信终端发送的最大速率,v表示可以接受的碰撞错误率,M表示单位空间内最大无线通信终端数量。Among them, S 0 represents the time interval between two data transmissions, L represents the length of the data sent by the wireless communication terminal, F represents the maximum transmission rate of the wireless communication terminal, v represents the acceptable collision error rate, and M represents the maximum wireless communication rate in the unit space number of terminals. 4.根据权利要求1所述的无线通信方法,其特征在于,预定时间内以随机时间间隔向服务端发送预定次数的数据,包括:4. The wireless communication method according to claim 1, characterized in that, sending a predetermined number of data to the server at random time intervals within a predetermined time includes: 获取随机时间间隔数;Get the number of random time intervals; 启动定时中断;Start timer interrupt; 定时中断发生后发送数据;Send data after the timing interrupt occurs; 发送数据后获取下一个随机时间间隔数;Get the next random time interval number after sending data; 如此循环直至达到预定次数后结束。Repeat this until the predetermined number of times is reached. 5.根据权利要求1所述的无线通信方法,其特征在于,所述数据包括设备唯一识别标识。5. The wireless communication method according to claim 1, wherein the data includes a unique device identification. 6.根据权利要求5所述的无线通信方法,所述数据还包括:发送数据的流水号、无线通信终端电池电压、无线通信终端按键信息、AD端口电压参数和IO端口的状态中的任意一项或多项。6. The wireless communication method according to claim 5, the data further comprising: any one of the serial number of the sent data, the battery voltage of the wireless communication terminal, the button information of the wireless communication terminal, the voltage parameter of the AD port and the state of the IO port item or items. 7.根据权利要求1所述的无线通信方法,其特征在于,所述预定次数为3次至20次。7. The wireless communication method according to claim 1, wherein the predetermined number of times is 3 to 20 times. 8.根据权利要求1-7所述的无线通信方法,其特征在于,还包括显示所述无线通信终端状态的步骤,8. The wireless communication method according to claims 1-7, further comprising the step of displaying the status of the wireless communication terminal, 所述服务端根据所述无线通信终端发送的所述数据在所述服务端显示所述无线通信终端的状态。The server displays the status of the wireless communication terminal on the server according to the data sent by the wireless communication terminal. 9.一种无线通信终端,其特征在于,包括:控制器和与所述控制器连接的发射器;9. A wireless communication terminal, comprising: a controller and a transmitter connected to the controller; 所述控制器,用于计算在预定时间内的随机时间间隔,在预定时间内以随机时间间隔向所述发射器发送数据发送命令;The controller is configured to calculate a random time interval within a predetermined time, and send a data transmission command to the transmitter at a random time interval within a predetermined time; 所述发射器,用于所述发送命令服务端发送预定次数的数据。The transmitter is used for the sending command server to send data for a predetermined number of times. 10.根据权利要求9所述的无线通信终端,其特征在于,所述随机时间间隔是按下式计算的,10. The wireless communication terminal according to claim 9, wherein the random time interval is calculated according to the following formula, T=S0-RT=S 0 -R 其中,T表示随机时间间隔,S0表示两次发送数据的时间间隔,R表示随机生成数。Among them, T represents a random time interval, S 0 represents the time interval between sending data twice, and R represents a randomly generated number. 11.根据权利要求10所述的无线通信终端,其特征在于,所述两次发送数据的时间间隔是按下式计算的:11. The wireless communication terminal according to claim 10, characterized in that, the time interval between sending data twice is calculated as follows: S0=(L/F)×(1/v)×MS 0 =(L/F)×(1/v)×M 其中,S0表示两次发送数据的时间间隔,L表示无线通信终端发送的数据长度,F表示无线通信终端发送的最大速率,v表示可以接受的碰撞错误率,M表示单位空间内最大无线通信终端数量。Among them, S 0 represents the time interval between two data transmissions, L represents the length of the data sent by the wireless communication terminal, F represents the maximum transmission rate of the wireless communication terminal, v represents the acceptable collision error rate, and M represents the maximum wireless communication rate in the unit space number of terminals. 12.根据权利要求9所述的无线通信终端,其特征在于,所述控制器包括:12. The wireless communication terminal according to claim 9, wherein the controller comprises: 时间间隔数获取单元,用于获取随机时间间隔数;The number of time interval acquisition unit is used to obtain the number of random time intervals; 中断单元,用于启动定时中断;Interrupt unit, used to start timing interrupt; 命令传输单元,用于在定时中断发生后发送数据,发送数据后获取下一个随机时间间隔数。The command transmission unit is used to send data after the timing interrupt occurs, and obtain the next random time interval number after sending the data. 13.根据权利要求9所述的无线通信终端,其特征在于,所述数据包括设备唯一识别标识。13. The wireless communication terminal according to claim 9, wherein the data includes a unique device identification. 14.根据权利要求13所述的无线通信终端,所述数据还包括:发送数据的流水号、无线通信终端电池电压、无线通信终端按键信息、AD端口电压参数和IO端口的状态中的任意一项或多项。14. The wireless communication terminal according to claim 13, the data further comprising: any one of the serial number of the sent data, the battery voltage of the wireless communication terminal, the button information of the wireless communication terminal, the voltage parameter of the AD port and the state of the IO port item or items. 15.根据权利要求9所述的无线通信终端,其特征在于,所述预定次数为3次至20次。15. The wireless communication terminal according to claim 9, wherein the predetermined number of times is 3 to 20 times. 16.一种无线通信服务端,其特征在于,所述服务端用于接收无线通信终端发送的数据;16. A wireless communication server, characterized in that the server is used to receive data sent by a wireless communication terminal; 所述服务端处理所述无线通信终端发送的数据,并根据所述无线通信终端发送的所述数据在所述服务端显示所述无线通信终端的状态。The server processes the data sent by the wireless communication terminal, and displays the status of the wireless communication terminal on the server according to the data sent by the wireless communication terminal. 17.一种教学签到装置,其特征在于,包括权利要求9-15所述的无线通信终端,所述无线通信终端向服务端发送签到信息。17. A teaching sign-in device, comprising the wireless communication terminal according to claims 9-15, wherein the wireless communication terminal sends sign-in information to the server. 18.一种教学答题装置,其特征在于,包括权利要求9-15所述的无线通信终端,所述无线通信终端向服务端发送答题信息。18. A teaching answering device, characterized in that it comprises the wireless communication terminal according to claims 9-15, and the wireless communication terminal sends answering information to the server. 19.一种医院分诊装置,其特征在于,包括权利要求9-15所述的无线通信终端,所述无线通信终端向服务端发送分诊信息。19. A hospital triage device, characterized by comprising the wireless communication terminal according to claims 9-15, the wireless communication terminal sending triage information to the server. 20.一种考勤装置,其特征在于,包括权利要求9-15所述的无线通信终端,所述无线通信终端向服务端发送考勤信息。20. An attendance checking device, characterized by comprising the wireless communication terminal according to claims 9-15, the wireless communication terminal sending attendance information to the server.
CN201610480248.1A 2016-05-26 2016-06-28 Wireless communications method, wireless communication terminal, service end and teaching are registered device Pending CN107231701A (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN2016103560517 2016-05-26
CN201610356051 2016-05-26

Publications (1)

Publication Number Publication Date
CN107231701A true CN107231701A (en) 2017-10-03

Family

ID=59345223

Family Applications (3)

Application Number Title Priority Date Filing Date
CN201610480248.1A Pending CN107231701A (en) 2016-05-26 2016-06-28 Wireless communications method, wireless communication terminal, service end and teaching are registered device
CN201710230396.2A Pending CN106982471A (en) 2016-05-26 2017-04-11 Wireless communications method, wireless communication terminal, service end and teaching are registered device
CN201720369536.XU Expired - Fee Related CN206977712U (en) 2016-05-26 2017-04-11 Wireless communication terminal, server, teaching are registered device, teaching answering device

Family Applications After (2)

Application Number Title Priority Date Filing Date
CN201710230396.2A Pending CN106982471A (en) 2016-05-26 2017-04-11 Wireless communications method, wireless communication terminal, service end and teaching are registered device
CN201720369536.XU Expired - Fee Related CN206977712U (en) 2016-05-26 2017-04-11 Wireless communication terminal, server, teaching are registered device, teaching answering device

Country Status (1)

Country Link
CN (3) CN107231701A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106982471A (en) * 2016-05-26 2017-07-25 朱晓庆 Wireless communications method, wireless communication terminal, service end and teaching are registered device
CN110099413A (en) * 2019-05-05 2019-08-06 深圳市鼎晟开元科技有限公司 Data transmission method, sending device, reception device and storage medium
EP3675393A1 (en) * 2018-12-27 2020-07-01 Canon Kabushiki Kaisha Time synchronization system, method of controlling time synchronization system, and radiation imaging system

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107919880A (en) * 2017-11-27 2018-04-17 卫星电子(中山)有限公司 A kind of dynamic interval signaling method
CN108449786B (en) * 2018-03-23 2021-06-01 深圳市华奥通通信技术有限公司 Multi-time-window signal receiving and transmitting method and system
CN108513345B (en) * 2018-03-28 2021-05-25 深圳市华奥通通信技术有限公司 Bidirectional awakening method and system
CN108668382A (en) * 2018-05-18 2018-10-16 深圳市华奥通通信技术有限公司 A kind of communication means and communication system of Random Communication time interval
CN112051586B (en) * 2020-09-16 2023-04-28 青岛维感科技有限公司 Multi-TOF camera joint work anti-interference method, TOF camera and electronic equipment
ES2943486B2 (en) * 2021-12-13 2024-03-26 Univ Rey Juan Carlos Triage method and system to care for victims affected by an emergency or catastrophe

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04373322A (en) * 1991-06-24 1992-12-25 Nippon Telegr & Teleph Corp <Ntt> Intermittent receiving method
US5956696A (en) * 1992-10-07 1999-09-21 Guryel; Ali Attendance registration system by radio link
CN1233327A (en) * 1996-10-17 1999-10-27 准确定位公司 Article tracking system
JP2001016663A (en) * 1999-03-19 2001-01-19 Tokyo Gas Co Ltd Dual mode wireless communication system and alarm wireless system
CN101931997A (en) * 2009-10-23 2010-12-29 中兴通讯股份有限公司 Redundancy sending method, network system and mobile terminal for collection of sales volume information
US20110134779A1 (en) * 2009-12-09 2011-06-09 Electronics and Teleocmmunications Research Institute Random access method based on number of messages
CN102118859A (en) * 2009-12-31 2011-07-06 华为技术有限公司 Methods, devices and systems for accessing to wireless network and sending page message
CN102958101A (en) * 2012-12-03 2013-03-06 李俊 Method for avoiding wireless channel congestion on wireless communication terminal
CN104902579A (en) * 2014-03-04 2015-09-09 上海宽带技术及应用工程研究中心 Method for direct-connect communication between terminals in wireless network communication system
CN205195980U (en) * 2015-12-16 2016-04-27 深圳市中兴物联科技股份有限公司 Wireless terminal detecting system and wireless terminal
CN106982471A (en) * 2016-05-26 2017-07-25 朱晓庆 Wireless communications method, wireless communication terminal, service end and teaching are registered device

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04373322A (en) * 1991-06-24 1992-12-25 Nippon Telegr & Teleph Corp <Ntt> Intermittent receiving method
US5956696A (en) * 1992-10-07 1999-09-21 Guryel; Ali Attendance registration system by radio link
CN1233327A (en) * 1996-10-17 1999-10-27 准确定位公司 Article tracking system
JP2001016663A (en) * 1999-03-19 2001-01-19 Tokyo Gas Co Ltd Dual mode wireless communication system and alarm wireless system
CN101931997A (en) * 2009-10-23 2010-12-29 中兴通讯股份有限公司 Redundancy sending method, network system and mobile terminal for collection of sales volume information
US20110134779A1 (en) * 2009-12-09 2011-06-09 Electronics and Teleocmmunications Research Institute Random access method based on number of messages
CN102118859A (en) * 2009-12-31 2011-07-06 华为技术有限公司 Methods, devices and systems for accessing to wireless network and sending page message
CN102958101A (en) * 2012-12-03 2013-03-06 李俊 Method for avoiding wireless channel congestion on wireless communication terminal
CN104902579A (en) * 2014-03-04 2015-09-09 上海宽带技术及应用工程研究中心 Method for direct-connect communication between terminals in wireless network communication system
CN205195980U (en) * 2015-12-16 2016-04-27 深圳市中兴物联科技股份有限公司 Wireless terminal detecting system and wireless terminal
CN106982471A (en) * 2016-05-26 2017-07-25 朱晓庆 Wireless communications method, wireless communication terminal, service end and teaching are registered device

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106982471A (en) * 2016-05-26 2017-07-25 朱晓庆 Wireless communications method, wireless communication terminal, service end and teaching are registered device
EP3675393A1 (en) * 2018-12-27 2020-07-01 Canon Kabushiki Kaisha Time synchronization system, method of controlling time synchronization system, and radiation imaging system
CN111374684A (en) * 2018-12-27 2020-07-07 佳能株式会社 Time synchronization system, control method thereof, and radiographic imaging system
JP2020103589A (en) * 2018-12-27 2020-07-09 キヤノン株式会社 Time synchronization system, time synchronization method, and radiation imaging system
US11442182B2 (en) 2018-12-27 2022-09-13 Canon Kabushiki Kaisha Time synchronization system, method of controlling time synchronization system, and radiation imaging system
JP7278074B2 (en) 2018-12-27 2023-05-19 キヤノン株式会社 Time synchronization system, time synchronization system control method, radiation imaging system, time client, time client control method
CN111374684B (en) * 2018-12-27 2024-04-05 佳能株式会社 Time synchronization system, control method thereof, and radiographic imaging system
CN110099413A (en) * 2019-05-05 2019-08-06 深圳市鼎晟开元科技有限公司 Data transmission method, sending device, reception device and storage medium

Also Published As

Publication number Publication date
CN206977712U (en) 2018-02-06
CN106982471A (en) 2017-07-25

Similar Documents

Publication Publication Date Title
CN107231701A (en) Wireless communications method, wireless communication terminal, service end and teaching are registered device
US12150026B2 (en) Community-based response system
US10832560B1 (en) Emergency location identification using wireless devices
US11024150B1 (en) Location-based warning notification using wireless devices
US9324120B2 (en) Method and apparatus for emergency response notification
US11146917B1 (en) Path storage and recovery using wireless devices
US20210390509A1 (en) Method and system for digital record verification
CN104143219B (en) Work attendance method and system based on Wi-Fi fingerprint
US20150347955A1 (en) Managing staffing requirements
Songsom et al. The synthesis of the student relationship management system using the internet of things to collect the digital footprint for higher education institutions.
KR20150102629A (en) Academy management system and method
US11748715B1 (en) Location-based note generation using wireless devices
CN114387697A (en) Attendance checking method, device, equipment and storage medium
CN111445593A (en) Sign-in method and electronic equipment
WO2016067338A1 (en) Questionaire system, and terminal device and program for use in same
CN105245700B (en) Anti-loss method, apparatus and system
TWI816214B (en) Emergency medical-care system and method thereof
CN107633566A (en) Patrol task management method and device
WO2022232768A1 (en) Method and system for reporting issues
AU2015101391A4 (en) Method and systems for monitoring occupancy
AU2022275521A1 (en) Method and system for digital record verification
CN109409814A (en) attendance system and attendance recording method
CN118196919A (en) System and method for checking attendance by seat

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20171003