Digital walkie-talkie online test method, digital walkie-talkie and storage device

文档序号:1744454 发布日期:2019-11-26 浏览:28次 中文

阅读说明:本技术 数字对讲机在线检测方法、数字对讲机和存储装置 (Digital walkie-talkie online test method, digital walkie-talkie and storage device ) 是由 徐海林 于 2018-05-18 设计创作,主要内容包括:本发明公开了一种数字对讲机在线检测方法、数字对讲机及具有存储功能的装置,该方法包括:第一对讲机获取在线检测间隔时间;每隔在线检测间隔时间向第二对讲机发送在线信息,以使得第二对讲机记录所述第一对讲机在线;其中,该在线信息包括第一对讲机的身份信息。通过上述方式,本发明能够获知对讲机的在线状态,提高通信效率。(The invention discloses a kind of digital walkie-talkie online test method, digital walkie-talkie and with the device of store function, this method comprises: the first intercom obtains on-line checking interval time;Online information is sent to the second intercom every on-line checking interval time, so as to record first intercom online for the second intercom;Wherein, which includes the identity information of the first intercom.By the above-mentioned means, the present invention can know the presence of intercom, communication efficiency is improved.)

1. a kind of digital walkie-talkie online test method characterized by comprising

First intercom obtains on-line checking interval time;

Online information is sent to the second intercom every the on-line checking interval time, so that second intercom records First intercom is online;

Wherein, the online information includes the identity information of first intercom.

2. the method according to claim 1, wherein first intercom obtains on-line checking interval time packet It includes:

Obtain predetermined detection time and random detection time;

The predetermined detection time is superimposed the random detection time, to obtain the on-line checking interval time.

3. according to the method described in claim 2, it is characterized in that, it is described every the on-line checking interval time to second pair Say that machine sends online information and includes:

Every the on-line checking interval time, whether busy current communication channel is detected;

If the current communication channel is busy, returns and execute the step for obtaining predetermined detection time and random detection time Suddenly;

Otherwise, the second intercom of Xiang Suoshu sends the online information.

4. the method according to claim 1, wherein it is described every the on-line checking interval time to second pair It says before machine sends online information and includes:

Judge whether the online detection instruction of the stopping for receiving user setting;

If the online detection instruction of the stopping for receiving user setting, stop executing described every the on-line checking interval time The step of sending online information to the second intercom.

5. method according to claim 1-4, which is characterized in that the online information includes at least control signaling Or short data, include online mark in the online information, the online mark be used to indicate first intercom whether Line;Wherein, when first intercom is online, the online mark is arranged to first identifier.

6. according to the method described in claim 5, it is characterized in that, it is described every the on-line checking interval time to second pair Say that machine sends online information and includes:

Every the on-line checking interval time, first intercom is exhaled using group or a exhales mode to second intercom Online information is sent, and sets the first identifier for the online mark.

7. the method according to claim 1, wherein the method further includes:

The call information from second intercom is received, the call information includes second intercom and recipient Identity information;

Whether the identity information for judging the recipient is the identity of the first intercom group or a exhales Identity;

If the determination result is YES, then it is online to record second intercom.

8. the method according to claim 1, wherein the method further includes:

Whether the identity information for judging recipient in the online information from second intercom is first intercommunication The identity of the machine group or a identity exhaled, wherein the online information includes second intercom and connects The identity information of debit, and online mark;

If the determination result is YES, then judge described to identify whether online as first identifier;

If described be identified as the first identifier online, it is online to record second intercom.

9. according to the method described in claim 8, it is characterized in that, the first identifier includes the first default online mark;

Whether the identity information of recipient is described first in the online information of the judgement from second intercom Before the identity of the intercom group or a identity exhaled, further comprise:

Judge the control signaling from second intercom operation code whether be online data control signaling predetermined registration operation Code;

If the operation code of the control signaling is the predetermined registration operation code, using the control signaling as the online information, Whether the identity information for continuing to execute recipient in the online information of the judgement from second intercom is described The step of identity of the first intercom group or a identity exhaled;

It is described judge it is described online identify whether include: for first identifier

Judge that the reserved of the control signaling identifies whether as the first default online mark;

If the reserved of the control signaling is identified as the first default online mark, determine described to be identified as first mark online Know.

10. according to the method described in claim 8, it is characterized in that, the first identifier includes the second default online mark;

Whether the identity information of recipient is described first in the online information of the judgement from second intercom The identity of the intercom group or a identity exhaled include:

Receive the short data from second intercom;

Whether the identity information for judging recipient in the data packet head of the short data is the first intercom group Identity or a identity exhaled;

If the determination result is YES, then the identity information for determining recipient in the online information is group where first intercom The identity or a identity exhaled of group;

It is described judge it is described online identify whether include: for first identifier

Whether the operation code for judging the short data is the second default online mark;

If the operation code of the short data is the second default online mark, determine described to be identified as the first identifier online.

11. the method according to claim 1, wherein the method further includes:

When first intercom in a dormant state when, first intercom is waken up every the first preset time, with Online information and/or call information from second intercom are received in wakeup time, and/or to institute in wakeup time It states the second intercom and sends the online information.

12. the method according to claim 1, wherein the method further includes:

First intercom judges whether that continuous second preset time is not received by the information from second intercom, The information includes call information and the online information;

If the determination result is YES, then it is offline to record second intercom.

13. a kind of digital walkie-talkie characterized by comprising processor interconnected and telecommunication circuit;

The processor by the telecommunication circuit for being received and sent messages, to realize such as the described in any item sides of claim 1-12 Method.

14. a kind of device with store function, is stored with instruction, which is characterized in that described instruction is performed realization as weighed Benefit requires the described in any item methods of 1-12.

Technical field

The present invention relates to fields of communication technology, more particularly to a kind of digital walkie-talkie online test method, digital intercom Machine and device with store function.

Background technique

Existing digital walkie-talkie is to enable backstage dispatcher software by initiating registration service to the calling device of dispatching desk Related registration information is enough detected, so that dispatching desk can clearly know which intercom is online, to initiate to call. But digital walkie-talkie is the presence that can not learn other side between each other, so as to cause user it is not clear whether can lead to Digital walkie-talkie calling is crossed to other side, this substantially reduces the efficiency of communication.

Summary of the invention

The invention mainly solves the technical problem of providing a kind of digital walkie-talkie online test method, digital walkie-talkie and Device with store function is able to solve the problem of existing digital walkie-talkie can not know presence.

In order to solve the above technical problems, one technical scheme adopted by the invention is that: it is online to provide a kind of digital walkie-talkie Detection method, comprising: the first intercom obtains on-line checking interval time;Every the on-line checking interval time to the second intercommunication Machine sends online information, so that the second intercom knows that the first intercom is online;Wherein, which includes the first intercommunication The identity information of machine.

In order to solve the above technical problems, another technical solution used in the present invention is: providing a kind of digital walkie-talkie, wrap It includes: processor interconnected and telecommunication circuit;The processor is as described above to realize for being received and sent messages by telecommunication circuit Method.

In order to solve the above technical problems, another technical solution that the present invention uses is: providing a kind of with store function Device, be stored with instruction, which, which is performed, realizes method as described above.

The beneficial effects of the present invention are: be in contrast to the prior art, in some embodiments of the present invention, the first intercommunication After machine obtains on-line checking interval time, online information is sent to the second intercom every the on-line checking interval time, so that It is online to obtain the second intercom the first intercom of record;Wherein, which includes the identity information of the first intercom, to make The online information can be received every an on-line checking interval time by obtaining the second intercom, it can record first intercom Online, it so that the second intercom can be called when the first intercom is online or be communicated with the holding of the first intercom, mentions High communication efficiency.

Detailed description of the invention

Fig. 1 is the flow diagram of digital walkie-talkie online test method first embodiment of the present invention;

Fig. 2 is the flow diagram of digital walkie-talkie online test method second embodiment of the present invention;

Fig. 3 is the flow diagram of digital walkie-talkie online test method 3rd embodiment of the present invention;

Fig. 4 is the flow diagram of digital walkie-talkie online test method fourth embodiment of the present invention;

Fig. 5 is the flow diagram of the 5th embodiment of digital walkie-talkie online test method of the present invention;

Fig. 6 is the form schematic diagram of CSBK signaling in digital walkie-talkie online test method of the present invention;

Fig. 7 is the form schematic diagram of short data in digital walkie-talkie online test method of the present invention;

Fig. 8 is the form schematic diagram of LC information in digital walkie-talkie online test method of the present invention;

Fig. 9 is the flow diagram of digital walkie-talkie online test method sixth embodiment of the present invention;

Figure 10 is the flow diagram of the 7th embodiment of digital walkie-talkie online test method of the present invention;

Figure 11 is the process when the first intercom receives the CSBK signaling from the second intercom before step S141 Schematic diagram;

Figure 12 is the flow diagram of the step S142 when online information is CSBK signaling;

Figure 13 is the flow diagram of the step S142 when the first intercom is received from the short data of the second intercom;

Figure 14 is the flow diagram of the step S142 when online information is short data;

Figure 15 is the flow diagram of the 8th embodiment of digital walkie-talkie online test method of the present invention;

Figure 16 is the time diagram of the first intercom on-line checking and suspend mode alternately in Figure 15;

Figure 17 is the flow diagram of the 9th embodiment of digital walkie-talkie online test method of the present invention;

Figure 18 is the structural schematic diagram of one embodiment of digital walkie-talkie of the present invention;

Figure 19 is the structural schematic diagram for one embodiment of equipment that the present invention has store function.

Specific embodiment

Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that the described embodiments are merely a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.

As shown in Figure 1, digital walkie-talkie online test method first embodiment of the present invention includes:

S11: the first intercom obtains on-line checking interval time;

S12: sending online information to the second intercom every the on-line checking interval time, so that the second intercom is remembered It is online to record the first intercom;

Wherein, which can be control signaling, be also possible to data-message, which includes the first intercommunication Identity information of machine, such as intercom ID number etc., the on-line checking interval time are between preset transmission online information Every the time, such as perhaps its specific value such as 200 seconds can be each to send out according to actual needs or depending on user setting in 10 seconds Sending the on-line checking interval time of online information may be the same or different, and be not specifically limited herein.

Wherein, which can be the member of the first intercom group, be also possible to and this first pair The machine of saying communicated or communicating is exhaled intercom.

Specifically, it in an application examples, when the first intercom is switched on, initializes, such as 1 minute initializes Operation, the initialization operation may include preset on-line checking interval time (such as 10-300 seconds) and set this first The group etc. that intercom is added, then the first intercom available on-line checking interval time, such as 100 seconds, Zhi Hou One intercom sent online information to the second intercom every 100 seconds, such as short data, and be embedded in the short data this The ID of one intercom.Wherein, which can be exhaled using group, mode can also be exhaled to send the online information using a. When first intercom exhales mode to send the online information using group, which is the first intercom group Member;When first intercom use exhales mode to send the online information, which is the first interphone communication It crosses or communicating is exhaled intercom.After second intercom receives the online information, then available first intercom ID, so as to learn that first intercom is online, and can be online by the state recording of first intercom.Wherein, First intercom can also send a plurality of online information with one-time continuous.

In the present embodiment, since the first intercom sends online information every on-line checking interval time, so that second pair The machine of saying can determine whether first intercom is online, so can determine whether to exhale when receiving the online information When calling the first intercom, especially team's action, it can judge whether group member falls according to the first intercom state Team, convenient for taking other means of communication associated members in time, to improve communication efficiency.

In other embodiments, in order to avoid sending collision, the first intercom can choose a random time every time and make For on-line checking interval time.

Specifically as shown in Fig. 2, digital walkie-talkie online test method second embodiment of the present invention is existed in digital walkie-talkie On the basis of line detecting method first embodiment, step S11 further comprises:

S111: predetermined detection time and random detection time are obtained;

S112: the predetermined detection time is superimposed the random detection time, to obtain on-line checking interval time.

Wherein, which can be the on-line checking time of user's input, is also possible to talkback system and sets The online detection time of the fixation set, such as 200 seconds, specific value can comprehensively consider depending on power consumption and detection efficiency.It should be with The machine testing time is in order to avoid sending the time collided and generated at random, random detection time milli from 10 milliseconds to 1000 Second.

Specifically, in an application examples, when the first intercom obtains on-line checking interval time, pre- regular inspection is obtained first It surveys the time, such as 200 seconds, and obtains the random detection time, which is 10 milliseconds of multiple, for example, by using similar The function of rand () obtains a random number 20, then the random detection time is 20 milliseconds, then by the predetermined detection time It is superimposed within 200 seconds 20 milliseconds of the random detection time, available final 200020 milliseconds of on-line checking interval time, that is, works as After preceding transmission online information, 200020 milliseconds of interval can continue to send the online information.First intercom is sent every time When the online information, it is required to reacquire a random detection time.Certainly, in other application example, when the random detection Between may not be 10 milliseconds of multiple, such as can be with 15 milliseconds, 23 milliseconds etc., which can also only need obtain It takes once, or reacquire the new random detection time again after sending multiple online information, is not specifically limited herein.

In the present embodiment, since the mode that each intercom is all made of superposition random detection time predetermined detection time obtains On-line checking interval time, i.e. each intercom send online message time be it is random, so as to be effectively reduced pair It says machine while sending the probability of online information, avoid sending and collide, improve communication efficiency.

In other embodiments, intercom can also detect the state of communication channel before sending information, avoid due to letter Road is busy to cause information to send failure.

Specifically as shown in figure 3, digital walkie-talkie online test method 3rd embodiment of the present invention is existed in digital walkie-talkie On the basis of line detecting method second embodiment, step S12 further comprises:

S121: every on-line checking interval time, whether busy current communication channel is detected;

If current communication channel is busy, S122 is thened follow the steps, it is no to then follow the steps S123.

S122: it returns and executes the step of obtaining predetermined detection time and random detection time;

S123: online information is sent to the second intercom.

Wherein, current communication channel is that channel with other interphone communications currently can be used in the first intercom, including Group-calling channel exhales channel with a.

Specifically, in an application examples, the first intercom can first detect present communications before sending online information Whether channel is busy, such as has detected whether that other members are occupying current group-calling channel, if there is other members occupying Current group-calling channel then determines that current communication channel is busy, the first intercom need return execute obtain the predetermined detection time and After the step of random detection time, i.e. first intercom need to wait an on-line checking interval time again, detect again Whether current communication channel is busy, and when detecting current communication channel not busy (free time), first intercom is to second Intercom sends online information.

In other embodiments, which detects present communications letter after can also waiting a set time again It whether busy ceases.

In this implementation, the first intercom can detect the state of current communication channel, until working as before sending online information When the preceding communication channel free time, the online information is just sent, so as to avoid causing due to channel busy information from sending failure, into One step improves communication efficiency.

It can also directly be combined with digital walkie-talkie online test method first embodiment of the present invention in the present embodiment, this When step S122 can be execution back to step S11.

In other embodiments, user may also determine whether to carry out on-line checking, for example whether sending on-line checking letter Breath.

Specifically as shown in figure 4, digital walkie-talkie online test method fourth embodiment of the present invention is existed in digital walkie-talkie On the basis of line detecting method first embodiment, before step S11, further comprise:

S101: judge whether the online detection instruction of the stopping for receiving user setting;

S102: if the online detection instruction of the stopping for receiving user setting, stop executing when on-line checking interval Between to the second intercom send online information the step of.

Specifically, in an application examples, after the first intercom opening initialization, prompt information can be issued, such as Voice or pop-up ask the user whether to open on-line checking function, if user's selection is without on-line checking, i.e. the first intercom When receiving the online detection instruction of stopping of user setting, the judgement of the first intercom does not need to carry out on-line checking, then and first pair Say machine stop execute every on-line checking interval time to the second intercom send online information the step of.Certainly, it answers at other In use-case, stopping on-line checking can also being arranged in user at any time.

In other embodiments, if the first intercom receives the online detection instruction of stopping of user setting, this first pair The machine of saying can also be simultaneously stopped whether the received message of detection is online information and stops recording the second intercom state.

In the present embodiment, intercom can be determined whether according to user setting open on-line checking function, so as to When being not turned on the function, the power consumption of intercom is reduced, when opening the function, can determine intercom state in time, with judgement Whether group member falls behind, convenient for taking other means of communication associated members in time, to improve communication efficiency.

The present embodiment can also be with digital walkie-talkie online test method second or third embodiments of the present invention or its group Conjunction combines.

As shown in figure 5, the 5th embodiment of digital walkie-talkie online test method of the present invention is examined online in digital walkie-talkie On the basis of survey method first embodiment, step S12 further comprises:

S121: every on-line checking interval time, the first intercom is exhaled using group or a mode is exhaled to send out to the second intercom Online information is sent, and sets first identifier for the online mark in the online information.

Wherein, which includes at least control signaling or short data, includes online mark in the online information, is somebody's turn to do Whether line mark is used to indicate the first intercom online;Wherein, when the first intercom is online, which is arranged to the One mark.

The first identifier is arranged according to the bit that the online mark occupies, such as the online mark occupies a bit Position, then the first identifier can be 1 or 0.

Specifically, in an application examples, when the first intercom is in standby, the first intercom can be every this On-line checking interval time, such as every 150 seconds, exhale mode to send online to the member of the first intercom group using group Information, and first identifier is set by the online mark in the online information.Wherein, which can be control signaling, It is also possible to short data.Certainly, in other application example, which is also possible to other kinds of information, does not do herein It is specific to limit.

As shown in connection with fig. 6, Fig. 6 is the format of CSBK (Control Signalling Block, control signaling block) signaling Schematic diagram, wherein include the relevant independent element of message: Last Block (LB, final block) and Protect in the CSBK signaling Flag (PF, protection label), LB and PF are a bit length;The CSBK signaling further includes special elements: CSBK Opcode (CSBKO, CSBK operation code), Feature set ID (FID special setting ID), Service Options (service option), Reserved (reserved bit), recipient address (Target address) and sender address (Source address), wherein CSBKO is 6 bit lengths, and FID, Service Options and Reserved are 8 bit lengths, Target Address and Source address is 24 bit lengths.When the CSBK signaling is online information, the CSBK signaling In, LB is set as binary one, and FID is set as Binary Zero, and can specify the CSBKO is except DMR (Digital Mobile Radio, digital cluster communication) other numerical value other than operation code as defined in standard as online information data service, such as When CSBKO is binary code 101010, that is, indicate that the CSBK signaling is online information, meanwhile, the reserved bit in the CSBK signaling Reserved is the online mark, can be set to first identifier (such as 1), then it represents that the intercom for sending the CSBK signaling exists Line, in addition, it is the second mark that the online mark Reserved, which also can be set, if the intercom for sending the CSBK signaling will be offline Know (such as 0), then it represents that the intercom for sending the CSBK signaling is offline.

Therefore, when the online information that the first intercom is sent is CSBK signaling, the operation code CSBKO quilt of the CSBK signaling Online information data service code (such as 101010) are set as, and reserved bit Reserved is arranged to 1, then the second intercom connects When receiving the CSBK signaling, then it can determine that the signaling is online information, may determine that from Target address and connects from CSBKO Debit whether be group member where it or it is a exhale intercom, if the Target address is the ID of its group, Then the recipient is its group member, if the Target address is the ID of the second intercom itself, the recipient It is to exhale ID;And it can determine that the sender is online from the Reserved, and can be somebody's turn to do from the Source address The ID of sender, so that the second intercom can recorde its affiliated group member or a the first intercom for exhaling intercom exists Line.

Referring to figs. 7 and 8, Fig. 7 is the form schematic diagram of short data, and Fig. 8 is LC (Link Control, link control System) data information head form schematic diagram.Wherein, short data includes message header mark MsgHdr 0x11, the operation of two bytes Code Opcode, the LC data information head (#of bytes) of multiple bytes, data payload Payload, verification and Checksum and End of message mark MsgEnd 0x03.When the short data message be used to indicate sender's intercom it is online when, the operation code Opcode is set as 0x0001, when the short data message be used to indicate sender's intercom it is offline when, operation code Opcode is set It is set to 0x0080.

As shown in figure 8, LC data information head includes the relevant independent element of message: Protect Flag (PF, protection mark Note) and Reserved (reserved bit), wherein PF and Reserved is a bit length;The LC data information head further includes Special elements: (FID is special by Full Link Control Opcode (FLCO, full Link Control operations code), Feature set ID Different setting ID), Service Options (service option), recipient address (Target address) and sender address (Source address), wherein FLCO is 6 bit lengths, FID and Service Options is 8 bit lengths, Target address and Source address are 24 bit lengths.When the short data is sent as online information, The Reserved is set as Binary Zero, which is set as Binary Zero, when the short data message is that group exhales message, the FLCO It is set as Binary Zero, which is that group exhales ID, when the short data message is to exhale message, FLCO setting For Binary Zero 00011, which is to exhale ID.

When the online information that the first intercom is sent is the short data, which has LC data information head, and is somebody's turn to do Line mark Opcode is set as first identifier, and such as the 0x01 in Fig. 7, the second intercom of recipient can be according to the LC data information It is also to exhale ID that Target address judgement in head, which is that group exhales, and judgment mode can refer to the judgement side of above-mentioned CSBK signaling Formula is not repeated herein;Then, judge that the sender first is right according to the operation code Opcode of two bytes after MsgHdr Say that machine is online or offline.

The present embodiment can also with second to the 4th any one embodiment of digital walkie-talkie online test method of the present invention or Its combination not conflicted of person combines.

In other embodiments, when intercom initiates to call, then the intercom that can specify initiation calling is online, because This, intercom can also carry out on-line checking in calling.

Specifically as shown in figure 9, digital walkie-talkie online test method sixth embodiment of the present invention is existed in digital walkie-talkie On the basis of line detecting method first embodiment, further comprise:

S131: the call information from the second intercom is received, which includes the second intercom and recipient Identity information;

Wherein, the second intercom and the identity information of recipient include the second intercom and the ID of recipient.The recipient ID can be group and exhale ID, be also possible to exhale ID, and when the second intercom exhales mode to initiate calling using group, which is Group exhales ID, and when the second intercom is using exhaling mode to initiate calling, which is to exhale ID.

S132: whether the identity information for judging recipient is the identity of the first intercom group or a exhales Identity;

S133: if the determination result is YES, then it is online to record the second intercom.

Specifically, in an application examples, as shown in connection with fig. 7, when the second intercom initiates calling, online letter can be sent Breath, which includes LC head information as shown in Figure 7, then the first intercom can be obtained according to the LC information received The ID of the recipient is taken, and judges the recipient ID, is i.e. whether Target address is group where the first intercom Group exhales ID, such as the Target address is 2568, and the group of the group where the first intercom exhales ID to be similarly 2568, then Judging result be it is yes, the first intercom obtains the Source address (such as 4567), then the first intercommunication from the LC information The second intercom that machine can recorde initiation calling is online.In other application example, which can also be using a Mode is exhaled to initiate to call, the first intercom equally can judge the recipient ID according to the Target address in LC information It whether is that the ID of the first intercom itself if the determination result is YES then can be determined that second intercom of initiator is to exhale pair It says machine, equally can obtain the ID of the second intercom from the Source address in LC information, and record second intercommunication Machine is online.

The present embodiment can also with second to the 5th any one embodiment of digital walkie-talkie online test method of the present invention or Its combination not conflicted of person combines.

When first intercom of the invention carries out on-line checking, when sending online information in addition to itself, it also can receive other The online information that intercom is sent, to record the on-line/off-line of other intercoms.

Specific as shown in Figure 10, the 7th embodiment of digital walkie-talkie online test method of the present invention is existed in digital walkie-talkie On the basis of line detecting method first embodiment, further comprise:

S141: whether the identity information for judging recipient in the online information from the second intercom is the first intercom institute In the identity or a identity exhaled of group, wherein the online information includes the second intercom and the identity of recipient Information, and online mark;

S142: if the determination result is YES, then judge that this is identified whether online as first identifier;

S143: if this is identified as first identifier online, it is online to record the second intercom.

Wherein, which includes control information and data information, such as CSBK signaling or short data etc..First mark Knowledge be it is pre-set be used to indicate the online mark of sender's intercom, can be set according to the bit that online mark occupies It sets, such as the online mark occupies two bits, then the first identifier can be 11 or 01 etc..

Optionally, as shown in figure 11, when the first intercom receives the CSBK signaling from the second intercom, step Before S141, further comprise:

S1401: whether the operation code for judging the control signaling from the second intercom is the pre- of online data control signaling If operation code;

S1402: if the operation code of the control signaling is predetermined registration operation code, using the control signaling as online information, after It is continuous to execute step S141;

Wherein, which is to be used to indicate the operation code that the control signaling is online information, and specific value can The operation code of other purposes as defined in DMR standard is different from depending on according to actual needs, such as in CSBK signaling, herein It is not specifically limited.

Specifically, in an application examples, as shown in connection with fig. 6, the first intercom receives the CSBK that the second intercom is sent Whether signaling is online information data service code (such as 101010) according to the CSBKO in the CSBK signaling, if judging result is It is then to show that the CSBK signaling is online information, the first intercom can continue to execute step S141.

Optionally, as shown in figure 12, when online information is CSBK signaling, first identifier includes the first default online mark Know, step S142 further comprises:

S1421: judge that the reserved of the control signaling identifies whether as the first default online mark;

S1422: if the reserved of the control signaling is identified as the first default online mark, determine to be identified as the first mark online Know.

Wherein, which is to be used to indicate the online control signaling mark of the second intercom, specific Numerical value can according to actual needs depending on, be not specifically limited herein.

It specifically, as shown in connection with fig. 6, can be from the CSBK after the first intercom determines that the CSBK signaling is online information The identity information of the recipient, i.e. Target address are obtained in signaling, and judge whether the Target address is The a of one intercom itself exhales ID or the group of the first intercom group to exhale ID, if the determination result is YES, then the first intercommunication Machine obtains the reserved mark in the CSBK signaling, i.e. whether Reserved is the first default online mark 1, if judging result is It is then to determine that the online of the control signaling is identified as first identifier, shows that second intercom is online, then the first intercom obtains The ID of second intercom, i.e. Source address, and it is online to record second intercom.

Optionally, as shown in figure 13, when the first intercom is received from the short data of the second intercom, step S141 Further comprise:

S1411: the short data from the second intercom is received;

S1412: whether the identity information for judging recipient in the data packet head of the short data is group where the first intercom The identity or a identity exhaled of group;

S1413: if the determination result is YES, then determine the identity information of recipient in the online information for the first intercom institute In the identity or a identity exhaled of group.

Specifically, referring to figs. 7 and 8, when short data is as online information, which includes LC information, First intercom can judge be that group exhales according to the Targetaddress in the LC data information head to be also to exhale ID, the side of judgement Formula can be sentenced with reference to the second intercom in the step S121 in the 5th embodiment of digital walkie-talkie online test method of the present invention Disconnected mode, is not repeated herein.

Optionally, as shown in figure 14, when the first intercom is received from the short data of the second intercom, first mark Knowing includes the second default online mark, and step S142 further comprises:

S1423: whether the operation code for judging the short data is the second default online mark;

S1424: if the operation code of the short data is the second default online mark, determine that this is identified as the first mark online Know.

Wherein, which is to be used to indicate the online short data mark of the second intercom, specific number Value can according to actual needs depending on, be not specifically limited herein.

Specifically, as shown in connection with fig. 7, the first intercom can be according to the operation code of two bytes after MsgHdr Opcode judges that second intercom of sender is online or offline, when the operation code is the second default online mark 0x01, then First intercom, which can be determined that in short data, is identified as first identifier online, shows that second intercom is online.

The present embodiment can also with second to the 6th any one embodiment of digital walkie-talkie online test method of the present invention or Its combination not conflicted of person combines.

In other embodiments, the first intercom can also carry out detailed on-line checking according to the information type received Operation.

When intercom does not send or receive data for a period of time, in order to save power consumption, which can be periodical Suspend mode, i.e., a period of time shut down, a period of time open, intercom in a dormant state when, can equally carry out on-line checking.

Specific as shown in figure 15, the 8th embodiment of digital walkie-talkie online test method of the present invention is existed in digital walkie-talkie On the basis of line detecting method first embodiment, further comprise:

S15: when the first intercom in a dormant state when, the first intercom is waken up every the first preset time, with Online information and/or call information from the second intercom are received in wakeup time, and/or to second pair in wakeup time Say that machine sends online information.

Wherein, which is the preset period for waking up intercom from dormant state, when the wake-up Between be the preset intercom waken up to from suspend mode next time enter dormant state duration, this first it is default when Between can be identical as above-mentioned on-line checking interval time, can also be different, first preset time and wakeup time can bases Depending on power consumption and on-line checking functional requirement, it is not specifically limited herein.

Specifically, in conjunction with shown in Figure 16, when the first intercom in a dormant state when, can be set the first preset time and Wakeup time, such as be 100 seconds opens first intercom that is, every 100 seconds, and continues to open for 100 seconds, this In the opening time of one intercom, which can send online information to the second intercom, also can receive and come from The online information of second intercom, so as to realize the first intercom suspend mode and on-line checking, and then while reduction power consumption On-line checking may be implemented.

The present embodiment can also with second to the 7th any one embodiment of digital walkie-talkie online test method of the present invention or Its combination not conflicted of person combines.

In other embodiments, after intercom opens on-line checking function, other can be not received by for a period of time When the online information that intercom is sent, determine that other intercoms are offline, to take other connection measures in time, improves communication effect Rate.

Specific as shown in figure 17, the 9th embodiment of digital walkie-talkie online test method of the present invention is existed in digital walkie-talkie On the basis of line detecting method first embodiment, further comprise:

S161: the first intercom judges whether that continuous second preset time is not received by the letter from the second intercom Breath, which includes call information and online information;

S162: if the determination result is YES, then it is offline to record the second intercom.

Wherein, which is that the second intercom initiates the information that sends when calling, such as group is exhaled LC information or a exhaled LC information, which is to be used to indicate the online information of the second intercom, including control signaling and data information, such as short Data.Second preset time be it is preset be used to indicate the offline threshold time of the second intercom, specific value can Depending on according to actual needs, it is not specifically limited herein.

Specifically, it in an application examples, was not received by when the first intercom continuous 400 seconds from the second intercom When information, which can be determined that second intercom is offline, so as to take in time other modes contact this Two intercom members improve communication efficiency.

Certainly, in other embodiments, if first intercom determine the second intercom it is offline after, receive this second After the call information or online information of intercom, it is online that second intercom can be recorded again.If first intercom determines When all members in its group are offline, it may determine that its own is in off-line state, so as to use other Mode contact group member.

The present embodiment can also with second to the 8th any one embodiment of digital walkie-talkie online test method of the present invention or Its combination not conflicted of person combines.

As shown in figure 18, one embodiment 80 of digital walkie-talkie of the present invention includes: processor 801 interconnected and communication electricity Road 802.

Telecommunication circuit 802 is that digital walkie-talkie 80 connects with what other intercoms were communicated for sending and receiving data Mouthful.

Processor 801 controls the operation of communication equipment, and processor 801 can also be known as CPU (Central Processing Unit, central processing unit).Processor 801 may be a kind of IC chip, the processing capacity with signal.Processor 801 can also be general processor, digital signal processor (DSP), specific integrated circuit (ASIC), ready-made programmable gate array (FPGA) either other programmable logic device, discrete gate or transistor logic, discrete hardware components.General processor It can be microprocessor or the processor be also possible to any conventional processor etc..

The processor 801 is used to receive and send messages by telecommunication circuit 802, to realize digital walkie-talkie on-line checking of the present invention Method provided by first to the 9th any one embodiment of method or its combination not conflicted.

Certainly, in other embodiments, digital walkie-talkie 80 can also include the other components such as memory (not shown), this Place is not specifically limited.

As shown in figure 19, the present invention has in one embodiment of equipment of store function, in the equipment 90 with store function Portion is stored with program 901, which, which is performed, realizes digital walkie-talkie online test method first of the present invention to the 9th Method provided by one embodiment or its combination not conflicted.

Wherein, the equipment 90 with store function can be portable storage media such as USB flash disk, CD, be also possible to intercommunication Machine controller, intercom or the individual components that can be integrated in intercom, such as control chip etc..

Mode the above is only the implementation of the present invention is not intended to limit the scope of the invention, all to utilize this Equivalent structure or equivalent flow shift made by description of the invention and accompanying drawing content, it is relevant to be applied directly or indirectly in other Technical field is included within the scope of the present invention.

18页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种续航能力强的舒适性高的穿戴式通信设备

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!