[go: up one dir, main page]

CN1126378C - Message receiver - Google Patents

Message receiver Download PDF

Info

Publication number
CN1126378C
CN1126378C CN97102293A CN97102293A CN1126378C CN 1126378 C CN1126378 C CN 1126378C CN 97102293 A CN97102293 A CN 97102293A CN 97102293 A CN97102293 A CN 97102293A CN 1126378 C CN1126378 C CN 1126378C
Authority
CN
China
Prior art keywords
cpu
data
information
signal
message
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.)
Expired - Fee Related
Application number
CN97102293A
Other languages
Chinese (zh)
Other versions
CN1188380A (en
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to CN97102293A priority Critical patent/CN1126378C/en
Publication of CN1188380A publication Critical patent/CN1188380A/en
Application granted granted Critical
Publication of CN1126378C publication Critical patent/CN1126378C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

In a message receiving device, radio paging signals are demodulated into baseband signals, and the baseband signals are decoded into corresponding data. Address information is restored from the data, and message information is restored from the data. The restored message information is subjected to error code correction processing, and on the other hand, that the restored address information is subjected to the error code correction processing is prevented.

Description

报文接收机message receiver

技术领域technical field

本发明涉及寻呼接收机或选择性传呼接收机这类报文(信息)接收机。The present invention relates to message (message) receivers such as paging receivers or selective paging receivers.

背景技术Background technique

典型的无线寻呼通信网中,各个寻呼接收机分别分配得到不同的识别(ID)信号。可利用所分配给的ID信号呼叫任意一个寻呼接收机。通常,有代表报文的信号发送至所呼叫的寻呼接收机,寻呼接收机的显示器上显示该报文。In a typical radio paging communication network, each paging receiver is assigned a different identification (ID) signal. Any paging receiver can be called using the assigned ID signal. Typically, a signal representing the message is sent to the paging receiver being called and the message is displayed on the display of the paging receiver.

在这种无线寻呼通信网中,随着所处理报文的长度加长,寻呼接收机所还原的报文信号中的误码数增加,寻呼接收机所消耗的电功率也增加。In this wireless paging communication network, as the length of the processed message increases, the number of bit errors in the message signal restored by the paging receiver increases, and the electric power consumed by the paging receiver also increases.

通常寻呼接收机每一个都包括无线电波接收部和CPU。CPU会产生无线电噪声,对无线电波接收部造成干扰。随着CPU单位时间有效操作步数(即CPU的活动率)增加,CPU产生的无线电噪声电平也在升高。Usually paging receivers each include a radio wave receiving section and a CPU. The CPU generates radio noise, which interferes with the radio wave receiving unit. As the CPU's effective operating steps per unit time (that is, the CPU's activity rate) increases, the radio noise level generated by the CPU also increases.

美国专利5,142,699示范了一种抑制CPU驱动时钟信号在无线电波接收部工作期间所产生的无线电噪声电平的方法。具体来说,美国专利5,142,699揭示的无线寻呼接收机包括接收部,译码部,和从多个呼叫信号中区分某个特定的呼叫信号、将特定呼叫信号之后的特定报文信号处理为经处理的报文信号的CPU。接收部是间歇投入工作的。译码部则按照第一时钟发生器提供的第一时钟信号投入工作。一开关电路有选择地将CPU与第一时钟发生器和第二时钟发生器连接。CPU是在接收部不工作时按照第二时钟发生器提供的第二时钟信号投入工作的。第二时钟信号的频率远高于第一时钟信号的频率。因而,CPU在接收部未投入工作时按照第二时钟信号以迅速的处理速度处理特定报文信号,使之成为经处理的报文信号。总之,CPU在接收部工作时由第一时钟信号驱动。US Patent No. 5,142,699 demonstrates a method of suppressing a radio noise level generated during operation of a radio wave receiving section by a CPU-driven clock signal. Specifically, the radio paging receiver disclosed in U.S. Patent 5,142,699 includes a receiving unit, a decoding unit, and distinguishes a specific call signal from a plurality of call signals, and processes a specific message signal after the specific call signal into a The CPU that processed the message signal. The receiving department is put into work intermittently. The decoding part is put into operation according to the first clock signal provided by the first clock generator. A switch circuit selectively connects the CPU with the first clock generator and the second clock generator. The CPU is put into operation according to the second clock signal provided by the second clock generator when the receiving part is not working. The frequency of the second clock signal is much higher than the frequency of the first clock signal. Therefore, when the receiving unit is not in operation, the CPU processes the specific message signal at a rapid processing speed according to the second clock signal, making it a processed message signal. In short, the CPU is driven by the first clock signal when the receiving unit is in operation.

发明内容Contents of the invention

本发明目的在于提供一种改进的报文接收机。It is an object of the present invention to provide an improved message receiver.

本发明的一个方面,提供一种报文接收装置,包括:将无线寻呼信号解调为基带信号的第一装置;将基带信号译码为相应数据的第二装置;交替执行该数据处理和其他作业的CPU;产生第一时钟信号的第一时钟发生器;产生第二时钟信号的第二时钟发生器,第一时钟信号的频率高于第二时钟信号的频率;CPU执行所述数据处理时响应第一时钟信号使CPU动作的第三装置;CPU执行所述其它作业时响应第二时钟信号使CPU动作的第四装置;其中在当数据以m比特/字×n字为单位交错时CPU具有α比特的纠错能力处,由第一时钟信号启动的CPU接收α个数据单元,并且在把该α个数据单元存储在缓冲器时间间隔内处理m×n比特的数据块。One aspect of the present invention provides a message receiving device, including: a first device for demodulating a radio paging signal into a baseband signal; a second device for decoding the baseband signal into corresponding data; alternately performing the data processing and The CPU of other operations; the first clock generator that generates the first clock signal; the second clock generator that generates the second clock signal, the frequency of the first clock signal is higher than the frequency of the second clock signal; the CPU performs the data processing A third device that makes the CPU act in response to the first clock signal; a fourth device that makes the CPU act in response to the second clock signal when the CPU executes the other tasks; wherein when the data is interleaved in units of m bits/word×n words Where the CPU has an error correction capability of α bits, the CPU activated by the first clock signal receives α data units and processes a data block of m×n bits within a time interval of storing the α data units in the buffer.

附图说明Description of drawings

图1是本发明第一实施例无线报文接收机的框图。FIG. 1 is a block diagram of a wireless message receiver according to a first embodiment of the present invention.

图2是寻呼信号格式的示意图。Fig. 2 is a schematic diagram of a paging signal format.

图3是一数据块中数据二维表达的示意图。Fig. 3 is a schematic diagram of two-dimensional representation of data in a data block.

图4是控制图1中CPU的程序段的流程图。FIG. 4 is a flow chart of a program segment controlling the CPU in FIG. 1. FIG.

图5是图4中功能块的流程图。FIG. 5 is a flowchart of the functional blocks in FIG. 4 .

图6示意给出8位误码码型数据与差错指示比特数之间关系的变换表。FIG. 6 schematically shows a conversion table of the relationship between 8-bit error code pattern data and the number of error indication bits.

图7是本发明第二实施例无线报文接收机的框图。Fig. 7 is a block diagram of a wireless message receiver according to a second embodiment of the present invention.

图8是控制图7中CPU的程序段的流程图。FIG. 8 is a flowchart of a program segment controlling the CPU in FIG. 7. FIG.

图9是本发明第三实施例无线报文接收机的框图。Fig. 9 is a block diagram of a wireless message receiver according to a third embodiment of the present invention.

图10是控制图9中CPU的程序段的流程图。FIG. 10 is a flow chart of a program segment controlling the CPU in FIG. 9. FIG.

图11是本发明第四实施例无线报文接收机的框图。Fig. 11 is a block diagram of a wireless message receiver according to a fourth embodiment of the present invention.

图12是寻呼信号格式的示意图。Fig. 12 is a schematic diagram of a paging signal format.

图13是一数据块中数据二维表达的示意图。Fig. 13 is a schematic diagram of two-dimensional representation of data in a data block.

图14是控制图11中CPU的程序段的流程图。FIG. 14 is a flow chart of a program segment controlling the CPU in FIG. 11. FIG.

图15是图14中功能块的流程图。FIG. 15 is a flowchart of the functional blocks in FIG. 14 .

图16示意给出8位误码码型数据与差错指示比特数之间关系的变换表。Fig. 16 schematically shows a conversion table of the relationship between 8-bit error code pattern data and the number of error indication bits.

图17是本发明第五实施例无线报文接收机的框图。Fig. 17 is a block diagram of a wireless message receiver according to a fifth embodiment of the present invention.

图18是控制图17中CPU的程序段的流程图。FIG. 18 is a flow chart of program segments controlling the CPU in FIG. 17. FIG.

图19是图17中无线报文接收机接收处理状况和数据处理状况的时域图。FIG. 19 is a time domain diagram of the reception processing status and data processing status of the wireless message receiver in FIG. 17. FIG.

图20是本发明第六实施例无线报文接收机的框图。Fig. 20 is a block diagram of a wireless message receiver according to a sixth embodiment of the present invention.

图21和图22是控制图20中CPU的程序段的流程图。21 and 22 are flowcharts of program segments controlling the CPU in FIG. 20 .

具体实施方式Detailed ways

第一实施例first embodiment

参见图1,无线报文接收机(无线寻呼接收机)包括天线21和随后接收部22。天线21用于俘获如基站发送的无线电波信号。通常无线电波信号包括具有同步信息、地址信息和报文信息的寻呼信号。同步信息在地址信息和报文信息前面。地址信息则位于报文信息的前面。地址信息包括识别码信息。天线21俘获的无线电波信号馈送至接收部22。接收部22将无线电波信号解调为相应的基带信号。随接收部22之后的译码器23接收该基带信号,将基带信号译码为相应的数据。Referring to FIG. 1 , a radio message receiver (radio paging receiver) includes an antenna 21 and a subsequent receiving section 22 . The antenna 21 is used to capture radio wave signals as transmitted by the base station. Typically radio wave signals include paging signals with synchronization information, address information and message information. The synchronization information is in front of the address information and message information. The address information is located in front of the message information. The address information includes identification code information. The radio wave signal captured by the antenna 21 is fed to the receiving section 22 . The receiving section 22 demodulates the radio wave signal into a corresponding baseband signal. The decoder 23 following the receiving unit 22 receives the baseband signal, and decodes the baseband signal into corresponding data.

译码器23与具有I/O端口(接口)、处理部、RAM和ROM组合的CPU 24相连。CPU 24可以由微型计算机、DSP(数字信号处理器)或其它类似器件替代。CPU 24接收译码器23输出的数据。CPU 24由所接收的数据还原识别码信息(地址信息)。CPU 24与显示器25相连。CPU 24还与接收部22连接。CPU 24按照内部ROM存储的程序工作。The decoder 23 is connected to a CPU 24 having an I/O port (interface), a processing unit, a combination of RAM and ROM. The CPU 24 may be replaced by a microcomputer, DSP (Digital Signal Processor) or other similar devices. CPU 24 receives the data that decoder 23 outputs. The CPU 24 restores the identification code information (address information) from the received data. CPU 24 is connected with display 25. The CPU 24 is also connected to the receiving unit 22. The CPU 24 works according to the programs stored in the internal ROM.

图1的无线报文接收机将以前分配给的识别码信息(预定识别码信息或预定地址信息)存储在CPU 24内的ROM中。预定识别码信息(预定地址信息)可以存储在CPU 24外面的ROM中。The wireless message receiver of FIG. 1 stores previously allocated identification code information (predetermined identification code information or predetermined address information) in the ROM within the CPU 24. Predetermined identification code information (predetermined address information) may be stored in a ROM outside the CPU 24.

CPU 24按照程序对所还原的识别码信息(所还原的地址信息)与预定识别码信息(预定地址信息)作比较。当所还原的识别码信息(所还原的地址信息)实际上与预定识别码信息(预定地址信息)相一致时,CPU 24由所接收的数据还原报文信息。CPU 24随后将所还原的报文信息送至显示器25,并控制显示器25,使得显示器25将显示所还原的报文信息。The CPU 24 compares the restored identification code information (restored address information) with predetermined identification code information (predetermined address information) according to a program. When the restored identification code information (restored address information) actually matches the predetermined identification code information (predetermined address information), the CPU 24 restores the message information from the received data. The CPU 24 then sends the restored message information to the display 25, and controls the display 25 so that the display 25 will display the restored message information.

当所还原的识别码信息(所还原的地址信息)明显与预定识别码信息(预定地址信息)不一致时,CPU 24不从所接收的数据还原报文信息,以防止CPU 24的活动率增高。这样,优点在于抑制CPU 24产生的无线电噪声电平。此外,CPU24中止接收部22活动,以节省电力。而且,CPU 24还保持显示器25不活动。在此场合,显示器25上不显现任何报文信息。When the restored identification code information (restored address information) is obviously inconsistent with the predetermined identification code information (predetermined address information), the CPU 24 does not restore the message information from the received data to prevent the CPU 24 from increasing its activity rate. Thus, there is an advantage in suppressing the radio noise level generated by the CPU 24. In addition, the CPU 24 suspends the activity of the receiving unit 22 to save power. Moreover, CPU 24 also keeps display 25 inactive. In this case, no message information is displayed on the display 25 .

图2示出寻呼信号121的格式。寻呼信号121的起首是同步信号(比特同步信号)122,接着是数据块123。同步信号122具有预定逻辑状态同给定码型(同步码型)相应的比特序列。每一数据块123中的数据按“n”字为单位交错,这里“n”表示一给定整数。数据块123的总数等于一给定数目“j”。通常,一个或多个前面的数据块123代表识别码信息(地址信息),而后面的数据块123则代表报文信息。FIG. 2 shows the format of the paging signal 121. Referring to FIG. The paging signal 121 is preceded by a synchronization signal (bit synchronization signal) 122 followed by a data block 123 . The sync signal 122 has a bit sequence whose predetermined logic state corresponds to a given pattern (sync pattern). Data in each data block 123 is interleaved in units of "n" words, where "n" represents a given integer. The total number of data blocks 123 is equal to a given number "j". Generally, one or more preceding data blocks 123 represent identification code information (address information), while subsequent data blocks 123 represent message information.

图3示出一数据块123中数据的二维表达。如图3所示,每一数据块的容量为“m”比特דn”字,这里“m”表示一给定整数。每一字具有代表主信息的比特124和代表误码纠正信息的比特125。主信息包含识别码信息(地址信息)或报文信息。采用的纠错码具有与“α”比特相应的纠错能力,这里“α”表示一给定整数。图3中,标号126表示经受交错处理并由各个字中同序号比特组成的n位数据单元。基站(发送台)中,每一数据块123中的数据分作“m”个数据单元。基站每一数据块123顺序发送“m”个数据单元。FIG. 3 shows a two-dimensional representation of the data in a data block 123 . As shown in FIG. 3, the capacity of each data block is "m" bits x "n" words, where "m" represents a given integer. Each word has bits 124 representing main information and bits 125 representing error correction information. The main information includes identification code information (address information) or message information. The error correction code used has an error correction capability corresponding to "α" bits, where "α" represents a given integer. In FIG. 3, reference numeral 126 denotes an n-bit data unit subjected to interleaving processing and composed of bits of the same number in each word. In the base station (sending station), the data in each data block 123 is divided into "m" data units. The base station sequentially transmits "m" data units per data block 123 .

译码器23包括一位同步部,由接收部22输出信号发生一取样时钟信号,与寻呼信号121中的位同步信号122相对应。译码器23包括一取样部,响应取样时钟信号对接收部22的输出信号进行周期性取样,将接收部22的输出信号逐位译码为第一数据。译码器23包括一解交错部,将第一数据解交错为第二数据。译码器23包括一对缓冲存储器,每个都具有与寻呼信号121中一数据块123相对应的容量。第二数据中与寻呼信号121中各个数据块123相对应的部分是按顺序地、交替写入到缓冲存储器的。The decoder 23 includes a bit synchronization part, and a sampling clock signal is generated from the output signal of the receiving part 22 , corresponding to the bit synchronization signal 122 in the paging signal 121 . The decoder 23 includes a sampling part, which periodically samples the output signal of the receiving part 22 in response to the sampling clock signal, and decodes the output signal of the receiving part 22 into first data bit by bit. The decoder 23 includes a de-interleaving unit for de-interleaving the first data into the second data. Decoder 23 includes a pair of buffer memories, each having a capacity corresponding to a data block 123 in paging signal 121 . Parts of the second data corresponding to each data block 123 in the paging signal 121 are sequentially and alternately written into the buffer memory.

通常,译码器23中某一缓冲存储器经受数据写入处理时,另一缓冲存储器由CPU 24存取,从而CPU 24由此读出数据(第二数据)。Usually, when a certain buffer memory in the decoder 23 is subjected to data writing processing, another buffer memory is accessed by the CPU 24, so that the CPU 24 reads data (second data) therefrom.

CPU 24按照内部ROM存储的程序工作。图4是每次接收到寻呼信号121时执行的程序段的流程图。The CPU 24 works according to the programs stored in the internal ROM. FIG. 4 is a flowchart of program segments executed each time a paging signal 121 is received.

如图4所示,程序段的第一步骤31读出译码器23中某一缓冲存储器的1块最新数据。As shown in FIG. 4 , the first step 31 of the program segment reads out one block of latest data in a certain buffer memory in the decoder 23 .

步骤31的下一步骤32确定所读出的1块数据是代表地址信息(识别码信息)还是报文信息。当所读出的1块数据代表地址信息(识别码信息),程序由步骤32进入步骤33。当所读出的1块数据代表报文信息,程序则由步骤32进入步骤34。Step 32 following step 31 determines whether the read 1 block of data represents address information (identification code information) or message information. When the read 1 piece of data represents address information (identification code information), the program enters step 33 from step 32 . When the read 1 piece of data represents message information, the program enters step 34 from step 32 .

步骤33确定由读出的1块数据所代表的地址信息(识别码信息)是否实际上与CPU 24内ROM所存储的预定地址信息(预定识别码信息)相一致。当由读出的1块数据所代表的地址信息(识别码信息)实际上与预定地址信息(预定识别码信息)不一致,程序就由步骤33进入步骤37。当由读出的1块数据所代表的地址信息(识别码信息)实际上与预定地址信息(预定识别码信息)相一致,程序则由步骤33进入步骤36。Step 33 determines whether the address information (identification code information) represented by the read 1 block of data is actually consistent with the predetermined address information (predetermined identification code information) stored in the ROM in the CPU 24. When the address information (identification code information) represented by the read 1 block of data actually does not coincide with the predetermined address information (predetermined identification code information), the program proceeds from step 33 to step 37. When the address information (identification code information) represented by the read 1 piece of data actually coincides with the predetermined address information (predetermined identification code information), the program proceeds to step 36 from step 33 .

步骤37使接收部22中止活动一给定时间间隔(预定时间间隔)以节省电力。步骤37后,该程序段的当前执行循环便结束。Step 37 causes the receiving section 22 to suspend activity for a given time interval (predetermined time interval) to save power. After step 37, the current execution cycle of the program segment ends.

步骤34响应所读出的1块数据中的纠错码信息使所读出的1块数据中的报文信息经受误码纠正处理。这样,步骤34便由所读出的1块数据还原为纠正结果的报文信息。Step 34 subjects the message information in the read 1 block of data to error correction processing in response to the error correction code information in the read 1 block of data. In this way, step 34 restores the message information of the correction result from the read block of data.

步骤34的下一步骤35将该纠正结果报文信息作为一件报文信息存储到CPU24内RAM中。步骤35后程序进入步骤36。The next step 35 of the step 34 stores the correction result message information in the CPU24 internal RAM as a piece of message information. After step 35, the program goes to step 36.

步骤36确定寻呼信号121中的所有数据块123是否均已处理。当寻呼信号121中的所有数据块123均已处理,程序就由步骤36进入步骤38。否则,程序就由步骤36返回步骤31。Step 36 determines whether all data blocks 123 in paging signal 121 have been processed. When all data blocks 123 in the paging signal 121 have been processed, the program proceeds from step 36 to step 38. Otherwise, the program returns to step 31 by step 36.

步骤38起动显示器25,将CPU 24内RAM中全部一件件报文信息传送至显示器25。全部一件件报文信息组成经还原的完整报文信息。步骤38控制显示器25,使得显示器25将显示完整报文信息。步骤38后,该程序段的当前执行循环便结束。Step 38 starts display 25, and all pieces of message information in RAM in CPU 24 are sent to display 25. All pieces of message information form the restored complete message information. Step 38 controls the display 25 so that the display 25 will display the complete message information. After step 38, the current execution cycle of the program segment ends.

由先前的说明可以理解,CPU 24未让代表地址的1块数据经受误码纠正处理。因而,CPU 24的有效工作步数下降(即CPU 24的活动率下降)。发现由所读出的1块数据代表的地址信息(识别码信息)实际上不同于预定地址信息(预定识别码信息)后,CPU 24使接收部22中止活动给定时间间隔以节省电力。而且,在此情形下,CPU 24除了步骤37以外不执行图4中的步骤。因此,CPU 24的有效工作步数下降(即CPU 24的活动率下降)。As can be understood from the foregoing description, the CPU 24 does not subject 1 block of data representing addresses to error correction processing. Thus, the number of effective work steps of the CPU 24 decreases (ie, the activity rate of the CPU 24 decreases). After finding that the address information (identification code information) represented by the read 1 block of data is actually different from the predetermined address information (predetermined identification code information), the CPU 24 makes the receiving unit 22 suspend the activity for a given time interval to save power. Also, in this case, the CPU 24 does not execute the steps in FIG. 4 except step 37. Therefore, the number of effective work steps of the CPU 24 decreases (ie, the activity rate of the CPU 24 decreases).

如图5所示,步骤33具有分步骤33A、33B和33C。接图4步骤32的第一分步骤33A在所读出的1块数据代表的地址信息(识别码信息)与预定地址信息(预定识别码信息)之间执行“异或”操作。由所读出的1块数据代表的地址信息具有一给定比特数。预定地址信息也具有该给定比特数。例如该给定比特数数等于8、32或64。现假定该给定比特数为8。执行“异或”操作的结果生成8位误码码型数据。8位误码码型数据中,“0”位表明所读出的1块数据代表的地址信息和预定地址信息其相应位的逻辑状态一致,“1”位则表明所读出的1块数据代表的地址信息和预定地址信息其相应位的逻辑状态不一致(出错)。As shown in FIG. 5, step 33 has sub-steps 33A, 33B and 33C. The first sub-step 33A following step 32 in FIG. 4 performs an "exclusive OR" operation between the address information (identification code information) represented by the read 1 block of data and the predetermined address information (predetermined identification code information). Address information represented by 1 block of data read out has a given number of bits. Predetermined address information also has this given number of bits. For example the given number of bits is equal to 8, 32 or 64. Assume now that the given number of bits is eight. Execute the result of the "exclusive OR" operation to generate 8-bit error pattern data. In the 8-bit error code pattern data, the "0" bit indicates that the address information represented by the read 1 block of data is consistent with the logic state of the corresponding bit of the predetermined address information, and the "1" bit indicates that the read 1 block of data The logical states of the corresponding bits of the represented address information and predetermined address information are inconsistent (error).

接分步骤33A的分步骤33B,通过参照CPU 24内ROM中存储的变换表,计算8比特误码码型数据中差错指示比特数。如图6所示,变换表提供8位码码型数据和差错指示比特数之间的关系。Then sub-step 33B of sub-step 33A, by referring to the conversion table stored in the ROM in the CPU 24, calculate the number of error indication bits in the 8-bit error code pattern data. As shown in FIG. 6, the conversion table provides the relationship between 8-bit code pattern data and the number of error indication bits.

接分步骤33B的分步骤33C,将差错指示比特数与一预置数比较。当差错指示比特数大于预置数,程序就由分步骤33C进入图4步骤37。当差错指示比特数不超过预置数时,程序则由分步骤33C进入图4步骤36。该预置数最好等于给定的整数“α”,它与纠错码的纠错能力有关。Sub-step 33C following sub-step 33B compares the number of error indication bits with a preset number. When the error indicates that the number of bits is greater than the preset number, the program enters step 37 in Fig. 4 from substep 33C. When the number of error indication bits does not exceed the preset number, the program enters step 36 in FIG. 4 from substep 33C. The preset number is preferably equal to a given integer "α", which is related to the error correction capability of the error correction code.

第二实施例second embodiment

参见图7,无线报文接收机(无线寻呼接收机)包括天线221和后续接收部222。天线221用于俘获例如基站发送的无线电波信号。通常无线电波信号包括具有同步信息、地址信息和报文信息的寻呼信号。同步信息在地址信息和报文信息的前面。地址信息则位于报文信息的前面。地址信息包括识别码信息。天线221俘获的无线电波信号馈送至接收部222。接收部222将无线电波信号解调为相应的基带信号。Referring to FIG. 7 , a radio message receiver (radio paging receiver) includes an antenna 221 and a subsequent receiving section 222 . The antenna 221 is used to capture, for example, radio wave signals transmitted by the base station. Typically radio wave signals include paging signals with synchronization information, address information and message information. The synchronization information is in front of the address information and message information. The address information is located in front of the message information. The address information includes identification code information. The radio wave signal captured by the antenna 221 is fed to the receiving section 222 . The receiving section 222 demodulates the radio wave signal into a corresponding baseband signal.

接收部222的后续译码器223接收该基带信号,将基带信号译码为相应的数据。The subsequent decoder 223 of the receiving unit 222 receives the baseband signal, and decodes the baseband signal into corresponding data.

译码器223与具有I/O端口(接口)、处理部、RAM和ROM组合的CPU 224相连。CPU 224可以由微型计算机、DSP(数字信号处理器)或其它类似器件替代。CPU 224接收译码器223输出的数据。CPU 224将所接收的数据解交错为第二数据。CPU 224由第二数据还原识别码信息(地址信息)。CPU 224与显示器225相连。CPU 224还与接收部222连接。CPU 224属于响应外加时钟信号工作的那种。CPU 224分别与发生预定较高频率和预定较低频率的时钟信号的发生器226和227连接。两时钟信号的频率例如分别等于1.2288MHz和76.8kHz。CPU 224按照内部ROM存储的程序工作。The decoder 223 is connected to a CPU 224 having an I/O port (interface), a processing unit, and a combination of RAM and ROM. The CPU 224 may be replaced by a microcomputer, DSP (Digital Signal Processor) or other similar devices. CPU 224 receives the data that decoder 223 outputs. The CPU 224 deinterleaves the received data into second data. The CPU 224 restores the identification code information (address information) from the second data. CPU 224 is connected with display 225. The CPU 224 is also connected to the receiving unit 222. CPU 224 is of the type that operates in response to an external clock signal. The CPU 224 is connected to generators 226 and 227 which generate clock signals of a predetermined higher frequency and a predetermined lower frequency, respectively. The frequencies of the two clock signals are, for example, equal to 1.2288 MHz and 76.8 kHz, respectively. The CPU 224 works according to the programs stored in the internal ROM.

通常,低频时钟信号发生器227活动时高频时钟信号发生器226不活动。这样,CPU 224通常响应发生器227发生的低频时钟信号工作,CPU 224的活动率相对较低。此优点在于抑制CPU 224发生的无线电噪声电平。如后面将会述及的,CPU 224响应块同步信号起动高频时钟信号发生器226和中止低频时钟信号发生器227活动。在此之后给定的较短时间期间,高频时钟信号发生器226和低频时钟信号发生器227分别维持活动和不活动,CPU 224是响应发生器226发生的高频时钟信号而非发生器227发生的低频时钟信号工作的。Typically, the high frequency clock generator 226 is inactive while the low frequency clock generator 227 is active. Thus, CPU 224 generally operates in response to the low frequency clock signal generated by generator 227, and the activity rate of CPU 224 is relatively low. This advantage resides in suppressing the radio noise level generated by the CPU 224. As will be described later, the CPU 224 activates the high frequency clock signal generator 226 and disables the low frequency clock signal generator 227 in response to the block sync signal. For a given short period of time thereafter, the high frequency clock signal generator 226 and the low frequency clock signal generator 227 remain active and inactive, respectively, and the CPU 224 responds to the high frequency clock signal generated by generator 226 rather than generator 227 generated by a low frequency clock signal.

CPU 224的工作可在高速方式和低速方式间变动。当高频时钟信号发生器226不活动而低频时钟信号发生器227活动时,CPU 224处于低速工作方式。当高频时钟信号发生器226活动而低频时钟信号发生器227不活动时,CPU 224处于高速工作方式。CPU 224工作于低速方式期间,CPU 224产生的无线电噪声电平得到有效抑制。The work of CPU 224 can be changed between high-speed mode and low-speed mode. When the high-frequency clock signal generator 226 was inactive and the low-frequency clock signal generator 227 was active, the CPU 224 was in a low-speed operating mode. When the high-frequency clock signal generator 226 is active and the low-frequency clock signal generator 227 is inactive, the CPU 224 is in a high-speed operating mode. During the period when the CPU 224 works in the low speed mode, the radio noise level generated by the CPU 224 is effectively suppressed.

图7的无线报文接收机将以前分配给的识别码信息(预定识别码信息或预定地址信息)存储在CPU 224内的ROM中。预定识别码信息(预定地址信息)可以存储在CPU 224外面的ROM中。The wireless message receiver of FIG. 7 stores previously assigned identification code information (predetermined identification code information or predetermined address information) in the ROM within the CPU 224. Predetermined identification code information (predetermined address information) may be stored in a ROM outside the CPU 224.

CPU 224按照程序将译码器223的输出数据解交错为第二数据。并且,CPU 224从第二数据还原识别码信息(地址信息)。接着,CPU 224对所还原的识别码信息(所还原的地址信息)与预定识别码信息(预定地址信息)作比较。当所还原的识别码信息(所还原的地址信息)实际上与预定识别码信息(预定地址信息)相一致时,CPU 224从第二数据中还原报文信息。CPU 224随后将所还原的报文信息送至显示器225,并控制显示器225,使得显示器225显示所还原的报文信息。The CPU 224 deinterleaves the output data of the decoder 223 into the second data according to a program. And, the CPU 224 restores the identification code information (address information) from the second data. Next, the CPU 224 compares the restored identification code information (restored address information) with predetermined identification code information (predetermined address information). When the restored identification code information (restored address information) actually matches the predetermined identification code information (predetermined address information), the CPU 224 restores the message information from the second data. The CPU 224 then sends the restored message information to the display 225, and controls the display 225 so that the display 225 displays the restored message information.

当所还原的识别码信息(所还原的地址信息)明显与预定识别码信息(预定地址信息)不一致时,CPU 224不从第二数据还原报文信息,以防止CPU 224的活动率增高。此优点在于抑制CPU 224产生的无线电噪声电平。此外,CPU 224中止接收部222活动,以节省电力。而且,CPU 224还保持显示器225不活动。在此场合,显示器225不显现任何报文信息。When the restored identification code information (the restored address information) is obviously inconsistent with the predetermined identification code information (predetermined address information), the CPU 224 does not restore the message information from the second data, so as to prevent the activity rate of the CPU 224 from increasing. This advantage resides in suppressing the radio noise level generated by the CPU 224. In addition, the CPU 224 suspends the activities of the receiving unit 222 to save power. Moreover, CPU 224 also keeps display 225 inactive. In this case, the display 225 does not display any message information.

如图2所示,寻呼信号121的起首是同步信号(位同步信号)122,接着是数据块123。同步信号122具有预定逻辑状态同给定码型(同步码型)相应的比特序列。每一数据块123中的数据按“n”字为单位交错,这里“n”表示一给定整数。数据块123的总数等于一给定数目“j”。通常,一个或多个前面的数据块123代表识别码信息(地址信息),而后面的数据块123则代表报文信息。As shown in FIG. 2 , the paging signal 121 is preceded by a synchronization signal (bit synchronization signal) 122 followed by a data block 123 . The sync signal 122 has a bit sequence whose predetermined logic state corresponds to a given pattern (sync pattern). Data in each data block 123 is interleaved in units of "n" words, where "n" represents a given integer. The total number of data blocks 123 is equal to a given number "j". Generally, one or more preceding data blocks 123 represent identification code information (address information), while subsequent data blocks 123 represent message information.

如图3所示,每一数据块的容量为“m”比特דn”字,这里“m”表示一给定整数。每一字具有代表主信息的比特124和代表误码纠正信息的比特125。主信息包含识别码信息(地址信息)或报文信息。采用的纠错码具有与“α”比特相应的纠错能力,这里“α”表示一给定整数。图3中,标号126表示经受交错处理并由各个字中同序号比特组成的n比特数据单元。基站(发送台)中,每一数据块123中的数据分作“m”个数据单元。基站每一数据块123顺序发送“m”个数据单元。As shown in FIG. 3, the capacity of each data block is "m" bits x "n" words, where "m" represents a given integer. Each word has bits 124 representing main information and bits 125 representing error correction information. The main information includes identification code information (address information) or message information. The error correction code used has an error correction capability corresponding to "α" bits, where "α" represents a given integer. In FIG. 3, reference numeral 126 denotes an n-bit data unit subjected to interleaving processing and composed of bits of the same number in each word. In the base station (sending station), the data in each data block 123 is divided into "m" data units. The base station sequentially transmits "m" data units per data block 123 .

译码器223包括一比特同步部,由接收部222输出信号发生一取样时钟信号,与寻呼信号121中的比特同步信号122相对应。译码器223包括一取样部,响应取样时钟信号对接收部222的输出信号进行周期性取样,将接收部222的输出信号逐比特译码为第一数据。译码器223包括一对缓冲存储器223A和223B,每个都具有与寻呼信号121中一数据块123相对应的容量。第一数据中与寻呼信号121中各个数据块123相对应的部分是按顺序地、交替写入到缓冲存储器223A和223B的。通常,译码器223中某一缓冲存储器223A或223B经受数据写入处理时,另一缓冲存储器由CPU 224存取,从而CPU 224由此读出第一数据。The decoder 223 includes a bit synchronization part, and a sampling clock signal is generated from the output signal of the receiving part 222 , corresponding to the bit synchronization signal 122 in the paging signal 121 . The decoder 223 includes a sampling part, which periodically samples the output signal of the receiving part 222 in response to the sampling clock signal, and decodes the output signal of the receiving part 222 into first data bit by bit. Decoder 223 includes a pair of buffer memories 223A and 223B, each having a capacity corresponding to one data block 123 in paging signal 121 . Parts of the first data corresponding to each data block 123 in the paging signal 121 are sequentially and alternately written into the buffer memories 223A and 223B. Usually, when a certain buffer memory 223A or 223B in the decoder 223 is subjected to data writing processing, the other buffer memory is accessed by the CPU 224, so that the CPU 224 reads out the first data therefrom.

译码器223还包括响应取样时钟信号产生块同步信号的块同步部。每当1块第一数据部分写入缓冲存储器223A和223B中的某一个完成时,块同步信号中便有一脉冲发生。译码器223将该块同步信号输出至CPU 224。The decoder 223 also includes a block synchronization section that generates a block synchronization signal in response to the sampling clock signal. A pulse in the block synchronizing signal occurs every time the writing of the first data portion of 1 block to one of the buffer memories 223A and 223B is completed. The decoder 223 outputs the block synchronization signal to the CPU 224.

CPU 224按照内部ROM存储的程序工作。图8是每次接收到寻呼信号121时执行的程序段的流程图。The CPU 224 works according to the programs stored in the internal ROM. FIG. 8 is a flowchart of program segments executed each time a paging signal 121 is received.

如图8所示,程序段第一步骤251确定块同步信号中是否有脉冲发生。当块同步信号中有脉冲发生,程序由步骤251进入步骤252。否则,重复步骤251。As shown in FIG. 8, the program segment first step 251 determines whether a pulse occurs in the block sync signal. When a pulse occurs in the block sync signal, the program goes from step 251 to step 252 . Otherwise, repeat step 251 .

步骤252起动高频时钟信号发生器226,使低频时钟信号发生器227中止活动,使得CPU 224进入高速工作方式。步骤252的下一步骤253,从译码器223中当前未经受数据写入处理的某一缓冲存储器223A或223B读出1块数据。步骤253的下一步骤254将所读出的1块数据解交错为第二1块数据。Step 252 starts the high-frequency clock signal generator 226, makes the low-frequency clock signal generator 227 suspend activities, and makes the CPU 224 enter a high-speed working mode. The next step 253 of step 252 is to read out one block of data from a certain buffer memory 223A or 223B in the decoder 223 that is not currently subjected to data writing processing. Step 254 following step 253 deinterleaves the read 1-block data into a second 1-block data.

步骤254的下一步骤255确定第二1块数据是代表地址信息(识别码信息)还是报文信息。当第二1块数据代表地址信息(识别码信息),程序由步骤255进入步骤256。当第二1块数据代表报文信息,程序则由步骤255进入步骤257。Step 255 following step 254 determines whether the second 1 block of data represents address information (identification code information) or message information. When the second block of data represents address information (identification code information), the program enters step 256 from step 255 . When the second block of data represents message information, the program enters step 257 from step 255 .

步骤256确定由第二1块数据所代表的地址信息(识别码信息)是否实际上与CPU 224内ROM所存储的预定地址信息(预定识别码信息)相一致。当由第二1块数据所代表的地址信息(识别码信息)实际上与预定地址信息(预定识别码信息)不一致,程序就由步骤256进入步骤260。当由第二1块数据所代表的地址信息(识别码信息)实际上与预定地址信息(预定识别码信息)相一致,程序则由步骤256进入步骤259。步骤256与图4和图5中的步骤33类似。Step 256 determines whether the address information (identification code information) represented by the second 1 piece of data is actually consistent with the predetermined address information (predetermined identification code information) stored in the ROM in the CPU 224. When the address information (identification code information) represented by the second 1 piece of data actually does not match the predetermined address information (predetermined identification code information), the program proceeds from step 256 to step 260. When the address information (identification code information) represented by the second 1 piece of data actually coincides with the predetermined address information (predetermined identification code information), the program then proceeds to step 259 from step 256 . Step 256 is similar to step 33 in FIGS. 4 and 5 .

步骤260使接收部222中止活动一给定时间间隔(预定时间间隔)以节省电力。步骤260后,程序进入步骤263。Step 260 causes the receiving unit 222 to suspend activity for a given time interval (predetermined time interval) to save power. After step 260, the program goes to step 263.

步骤257响应第二1块数据中的纠错码信息使第二1块数据中的报文信息经受误码纠正处理。这样,步骤257便从第二1块数据中还原纠正结果的报文信息。Step 257 subjects the message information in the second 1 block of data to an error correction process in response to the error correction code information in the second 1 block of data. In this way, step 257 restores the message information of the correction result from the second block of data.

步骤257的下一步骤258将该纠正结果报文信息作为一件报文信息存储到CPU224内RAM中。步骤258后程序进入步骤259。The next step 258 of the step 257 is to store the correction result message information in the RAM in the CPU 224 as a piece of message information. After step 258, the program enters into step 259.

步骤259确定寻呼信号121中的所有数据块123是否均已处理。当寻呼信号121中的所有数据块123均已处理,程序就由步骤259进入步骤261。否则,程序就由步骤259进入步骤262。Step 259 determines whether all data blocks 123 in paging signal 121 have been processed. When all the data blocks 123 in the paging signal 121 have been processed, the program enters step 261 from step 259 . Otherwise, program just enters step 262 by step 259.

步骤262使高频时钟信号发生器226中止活动,起动低频时钟信号发生器227,使得CPU 224进入低速工作方式。步骤262后,程序返回步骤251。Step 262 makes the high-frequency clock signal generator 226 suspend activity, starts the low-frequency clock signal generator 227, makes CPU 224 enter the low-speed working mode. After step 262, the program returns to step 251.

步骤261起动显示器225,将CPU 224内RAM中全部一件件报文信息传送至显示器225。全部一件件报文信息组成经还原的完整报文信息。步骤261控制显示器225,使得显示器225将显示完整报文信息。步骤261后,程序进入步骤263。Step 261 starts the display 225, and transmits all pieces of message information in the RAM in the CPU 224 to the display 225. All pieces of message information form the restored complete message information. Step 261 controls the display 225 such that the display 225 will display the complete message information. After step 261, the program goes to step 263.

步骤263使高频时钟信号发生器226中止活动,起动低频时钟信号发生器227,使得CPU 224进入低速工作方式。步骤263后,该程序段的当前执行循环便结束。Step 263 makes the high-frequency clock signal generator 226 suspend activity, and starts the low-frequency clock signal generator 227, so that the CPU 224 enters the low-speed working mode. After step 263, the current execution cycle of the program segment ends.

第三实施例third embodiment

参见图9,无线报文接收机(无线寻呼接收机)包括后面跟随接收部分322的天线321。天线321用来捕捉由例如基站发射的无线电波信号。无线电波信号通常包含带有比特同步信号序列的寻呼信号和信息信号。比特同步信号包含逻辑状态预先确定为对应给定比特模式(同步比特模式)的比特序列。信息信号代表地址信息和报文信息。地址信息先于报文信息。地址信息包含识别码信息。天线321捕捉到的无线电波信号被输入至接收部分322。接收部分322将无线电波信号解调为相应的基带信号。Referring to FIG. 9, a radio message receiver (radio paging receiver) includes an antenna 321 followed by a receiving section 322. Referring to FIG. The antenna 321 is used to catch radio wave signals transmitted by, for example, a base station. Radio wave signals usually include paging signals and information signals with bit synchronization signal sequences. The bit synchronization signal comprises a sequence of bits whose logic states are predetermined to correspond to a given bit pattern (synchronous bit pattern). The information signal represents address information and message information. Address information precedes message information. The address information includes identification code information. The radio wave signal captured by the antenna 321 is input to the receiving section 322 . The receiving section 322 demodulates the radio wave signal into a corresponding baseband signal.

跟随在接收部分322后面的译码器323接收基带信号并将其译码为相应的数据。The decoder 323 following the receiving part 322 receives the baseband signal and decodes it into corresponding data.

译码器323连接至具有I/O端口(接口)、处理部分、RAM和ROM组合在一起的CPU 324。CPU 324可以用微处理器、DSP或者其它类似的器件代替。CPU 324接收由译码器323产生的数据。CPU 324检测或计算误码率,该误码率涉及译码器323产生的与比特同步信号对应的一部分数据。CPU 324处理译码器323产生数据的其余部分。CPU 324根据检测到误码率在两种不同类型之间切换数据处理方式。CPU 324基本的任务是将接收到的数据去交错为第二数据。CPU 324从第二数据中复原识别码信息(地址信息)。CPU 324连接至显示器325。CPU 324还与接收部分322连接。CPU 324根据存储在内置ROM中的程序运行。The decoder 323 is connected to a CPU 324 having an I/O port (interface), a processing section, RAM and ROM combined. CPU 324 can be replaced with microprocessor, DSP or other similar devices. The CPU 324 receives the data generated by the decoder 323. The CPU 324 detects or calculates a bit error rate related to a portion of data generated by the decoder 323 corresponding to the bit synchronization signal. CPU 324 handles the rest of the data generated by decoder 323. The CPU 324 switches the data processing mode between two different types according to the detected bit error rate. The basic task of the CPU 324 is to de-interleave the received data into the second data. The CPU 324 restores the identification code information (address information) from the second data. The CPU 324 is connected to a display 325. The CPU 324 is also connected to the receiving section 322. The CPU 324 operates according to programs stored in the built-in ROM.

图9的无线报文接收机在CPU 324的ROM内存储有先前分配的识别码信息(预先确定的识别码信息或者预先确定的地址信息)。预先确定的识别码信息(预先确定的地址信息)也可以存储在CPU 324外部的ROM内。The wireless message receiver of FIG. 9 stores previously assigned identification code information (predetermined identification code information or predetermined address information) in the ROM of the CPU 324. Predetermined identification code information (predetermined address information) may also be stored in a ROM outside the CPU 324.

按照程序,CPU 324将译码器323的输出数据解交错为第二数据。此外,CPU 324从第二数据中还原出识别码信息(地址信息)。而且,CPU 324将还原的识别码信息(还原的地址信息)与预先确定的识别码信息(预先确定的地址信息)进行比较。当还原的识别码信息(还原的地址信息)与预先确定的识别码信息(预先确定的地址信息)基本一致时,CPU 324就从第二数据中还原出报文信息。随后,CPU 324将还原的报文信息输入至显示器325并控制显示器325从而在显示器325上直观显示还原的报文数据。According to the program, the CPU 324 deinterleaves the output data of the decoder 323 into the second data. In addition, the CPU 324 restores the identification code information (address information) from the second data. Furthermore, the CPU 324 compares the restored identification code information (restored address information) with predetermined identification code information (predetermined address information). When the restored identification code information (restored address information) is basically consistent with the predetermined identification code information (predetermined address information), the CPU 324 restores the message information from the second data. Subsequently, the CPU 324 inputs the restored message information to the display 325 and controls the display 325 so as to visually display the restored message data on the display 325.

当还原的识别码信息(还原的地址信息)与预先确定的识别码信息(预先确定的地址信息)明显不一致时,CPU 324不会从第二数据中还原报文信息,从而避免CPU 324的活动加剧。这有利于抑制CPU 324产生的无线噪声电平。此外,CPU 324通常使接收部分322处于休眠状态以节省电力。而且,CPU 324还使显示器325保持休眠状态。由此在这种情况下,显示器325上没有任何报文信息被显示出来。When the restored identification code information (restored address information) is obviously inconsistent with the predetermined identification code information (predetermined address information), the CPU 324 will not restore the message information from the second data, thereby avoiding the activity of the CPU 324 exacerbated. This helps suppress the wireless noise level generated by the CPU 324. In addition, the CPU 324 usually puts the receiving section 322 in a sleep state to save power. Moreover, CPU 324 also keeps display 325 in a sleep state. In this case, therefore, no message information is displayed on the display 325 .

如图2所示,寻呼信号121的首部为后面相继跟随数据块123的同步信号(比特同步信号)122。同步信号122包含逻辑状态预先确定为对应给定比特模式(同步比特模式)的比特序列。每个块123中的数据以“n”个字为单位交错,这里“n”表示给定的整数。块123的总数等于给定的数目“j”。通常情况下,前面一个或多个块123表示识别码信息(地址信息)而后面的块123表示报文信息。As shown in FIG. 2 , the header of the paging signal 121 is a synchronization signal (bit synchronization signal) 122 followed by a data block 123 successively. Synchronization signal 122 comprises a sequence of bits whose logic states are predetermined to correspond to a given bit pattern (synchronization bit pattern). Data in each block 123 is interleaved in units of "n" words, where "n" represents a given integer. The total number of blocks 123 is equal to a given number "j". Typically, one or more blocks 123 in the front represent identification code information (address information) and the following blocks 123 represent message information.

如图3所示,一个块的容量为“m”比特的“n”个字,这里“m”表示给定整数。每个词包含表示主信息的比特124和表示纠错码信息的比特125。主信息包含识别码信息(地址信息)或报文信息。所用的纠错码能够纠正“α”个比特的差错,这里“α”为整数。在图3中,标号126表示各个字中经受交错处理并且由数量相等的比特数构成的一个n比特数据单元。在基站(发射站)处,块123中的数据被划分为“m”个数据单元。基站顺序发射每个块123的“m”个数据单元。As shown in FIG. 3, a block has a capacity of "n" words of "m" bits, where "m" represents a given integer. Each word contains bits 124 representing main information and bits 125 representing error correction code information. The main information includes identification code information (address information) or message information. The error correcting code used is capable of correcting "α" bit errors, where "α" is an integer. In FIG. 3, reference numeral 126 denotes an n-bit data unit subjected to interleave processing and composed of an equal number of bits in each word. At the base station (transmitting station), the data in block 123 is divided into "m" data units. The base station transmits "m" data units of each block 123 sequentially.

译码器323包括一个比特同步部分,它从与寻呼信号121中比特同步信号122前半部分对应的接收部分322输出信号中产生采样时钟信号。译码器323包括一个采样部分,它响应采样时钟信号,周期性地对接收部分322的输出信号进行采样以将接收部分322的输出信号逐个比特地译码为第一数据。译码器323向CPU324提供对应于寻呼信号121中比特同步信号122后半部分的第一数据前半部分。因此,第一数据的前半部分为比特同步数据。译码器323包括一个大容量的缓冲存储器323A。对应于寻呼信号123中各个块123的第一数据前半部分被依次写入缓冲存储器323A的不同区域。缓冲存储器323A可以被CPU 324访问从而使第一数据能够被CPU 324读出。The decoder 323 includes a bit synchronization section which generates a sampling clock signal from the output signal of the receiving section 322 corresponding to the first half of the bit synchronization signal 122 in the paging signal 121 . The decoder 323 includes a sampling section which periodically samples the output signal of the receiving section 322 in response to a sampling clock signal to decode the output signal of the receiving section 322 into first data bit by bit. The decoder 323 supplies the first half of the first data corresponding to the second half of the bit synchronization signal 122 in the paging signal 121 to the CPU 324 . Therefore, the first half of the first data is bit synchronization data. The decoder 323 includes a large-capacity buffer memory 323A. The first half of the first data corresponding to each block 123 in the paging signal 123 is sequentially written into different areas of the buffer memory 323A. The buffer memory 323A can be accessed by the CPU 324 so that the first data can be read by the CPU 324.

CPU 324根据存储在内置ROM中的程序运行。图10示出了每次接收到寻呼信号121时所执行程序段的流程图。如图10所示,第一步351是借助译码器323输出的比特同步数据计算比特误码率。具体而言,步骤351将比特同步数据与预设基准数据逐个比特地进行比较。预设的基准数据具有对应通常比特同步数据的给定比特模式。比特同步数据中逻辑状态与预设基准数据中相应比特等同的比特被视为正确比特。比特同步数据中逻辑状态与预设基准数据中相应比特不同的比特被视为错误比特。步骤351对每个错误比特进行计数以确定错误比特的数量。步骤351从错误比特数与总比特数之比中计算误码率。The CPU 324 operates according to programs stored in the built-in ROM. FIG. 10 shows a flowchart of program segments executed each time a paging signal 121 is received. As shown in FIG. 10 , the first step 351 is to calculate the bit error rate by using the bit synchronization data output by the decoder 323 . Specifically, step 351 compares the bit synchronization data with the preset reference data bit by bit. The preset reference data has a given bit pattern corresponding to the usual bit synchronization data. Bits in the bit synchronization data whose logical state is equivalent to the corresponding bit in the preset reference data are regarded as correct bits. Bits in the bit synchronization data whose logic states are different from the corresponding bits in the preset reference data are regarded as error bits. Step 351 counts each error bit to determine the number of error bits. Step 351 calculates the bit error rate from the ratio of the number of erroneous bits to the total number of bits.

跟随在步骤351之后的步骤352确定计算的误码率是否大于预先确定的基准比率。当计算的误码率大于预先确定的基准比率时,程序从步骤352进入步骤353。否则,程序从步骤352跳至步骤354。Step 352 following step 351 determines whether the calculated bit error rate is greater than a predetermined reference rate. When the calculated bit error rate is greater than the predetermined reference rate, the program proceeds from step 352 to step 353 . Otherwise, the program jumps from step 352 to step 354.

步骤353等待一给定的时间,在此期间将所用的第一数据写入译码器323内的缓冲存储器323A。步骤353之后,程序进入步骤354。Step 353 waits for a given time during which the used first data is written into the buffer memory 323A in the decoder 323 . After step 353, the program goes to step 354.

等待步骤353的执行减少了CPU 324的活动。这有利于抑制CPU 324产生的无线噪声电平。因此,如果计算的误码率大于预先确定的基准比率,则在所用的第一数据写入译码器323内缓冲存储器323A期间CPU 324较少地不利影响接收部分322和译码器323操作。Waiting for the execution of step 353 reduces the activity of the CPU 324. This helps suppress the wireless noise level generated by the CPU 324. Therefore, if the calculated bit error rate is greater than the predetermined reference rate, the CPU 324 less adversely affects the reception section 322 and decoder 323 operations during the writing of the used first data into the buffer memory 323A in the decoder 323.

步骤354从译码器323内的缓冲存储器读出1块数据。在每次执行步骤354时,所读出的1块数据都依次改变。跟随在步骤354之后的步骤355将读出的1块数据解交错为第二1块数据。Step 354 reads one block of data from the buffer memory in the decoder 323 . Each time step 354 is executed, the read data of one block changes sequentially. Step 355 following step 354 deinterleaves the read 1-block data into a second 1-block data.

跟随在步骤355之后的步骤356确定第二1块数据是否表示地址信息(识别码信息)或报文信息。当第二1块数据表示地址信息(识别码信息)时,程序从步骤356进入步骤357。当第二1块数据表示报文信息时,程序从步骤356进入步骤358。Step 356 following step 355 determines whether the second 1 block of data represents address information (identification code information) or message information. When the second 1 block of data represents address information (identification code information), the program proceeds from step 356 to step 357 . When the second block of data represents message information, the program proceeds from step 356 to step 358.

步骤357确定第二1块数据表示的地址信息(识别码信息)是否大致上与存储在CPU 324的ROM内的预先设定地址数据(预先设定识别码信息)相同。当第二1块数据表示的地址信息(识别码信息)基本上与预先设定的地址数据(预先设定识别码信息)不同时,程序从步骤357进入步骤361。当第二1块数据表示的地址信息(识别码信息)基本上与预先设定的地址数据(预先设定识别码信息)相同时,程序从步骤357进入步骤360。步骤357与图4和5中的步骤33类似。Step 357 determines whether the address information (identification code information) represented by the second 1 block of data is substantially the same as the preset address data (preset identification code information) stored in the ROM of the CPU 324. When the address information (identification code information) represented by the second block of data is basically different from the preset address data (preset identification code information), the program proceeds from step 357 to step 361. When the address information (identification code information) represented by the second block of data is basically the same as the preset address data (preset identification code information), the program proceeds from step 357 to step 360 . Step 357 is similar to step 33 in FIGS. 4 and 5 .

步骤361使接收部分322在一给定间隔内(预先确定的时间间隔内)处于休眠状态以节省电力。在步骤361之后,结束当前程序段的执行循环。Step 361 makes the receiving section 322 sleep for a given interval (a predetermined time interval) to save power. After step 361, the execution loop of the current program segment ends.

步骤358响应第二1块数据中的纠错信息对第二1块数据中的报文信息进行纠错处理。因此,步骤358就从第二1块数据中还原出纠错后的最终报文信息。Step 358 performs error correction processing on the message information in the second block of data in response to the error correction information in the second block of data. Therefore, step 358 restores the error-corrected final message information from the second block of data.

跟随在步骤358之后的步骤359将纠错后的最终报文信息作为报文信息片存入CPU 324中的RAM。在步骤359之后,程序进入步骤360。Following the step 359 after the step 358, the final message information after the error correction is stored in the RAM in the CPU 324 as a message information piece. After step 359, the program goes to step 360.

步骤360确定寻呼信号121中的所有块123是否已经处理过。当寻呼信号121中所有的块123都已处理过后,程序从步骤360进入步骤362。否则,程序从步骤360返回步骤354。Step 360 determines whether all blocks 123 in paging signal 121 have been processed. After all blocks 123 in the paging signal 121 have been processed, the program proceeds from step 360 to step 362. Otherwise, the program returns from step 360 to step 354 .

步骤362激活显示器325并将CPU 324中RAM的所有报文信息传送给显示器325。所有的报文信息片都由还原的完整报文信息构成。步骤362控制显示器325从而在显示器325上直观显示完整的报文信息。在步骤362之后,结束当前程序段的执行循环。Step 362 activates display 325 and transmits all message information of RAM in CPU 324 to display 325. All message information pieces are composed of restored complete message information. Step 362 controls the display 325 so as to visually display the complete message information on the display 325 . After step 362, the execution cycle of the current program segment is ended.

如果计算得到的比特误码率不大于预先确定的基准比率时,程序从步骤352直接进入步骤354。因此在这种情况下,1块的数据从译码器323内的缓冲存储器323A传送至CPU 324并且随后进行处理而第一数据被连续不断地写入译码器323的缓冲存储器323A内。这样,CPU 324对1块数据的处理和第一数据写入缓冲存储器323A就同步进行。这有利于迅速还原出完整的报文信息。If the calculated bit error rate is not greater than the predetermined reference rate, the program directly enters step 354 from step 352 . In this case, therefore, data of 1 block is transferred from the buffer memory 323A in the decoder 323 to the CPU 324 and then processed while the first data is continuously written in the buffer memory 323A of the decoder 323. In this way, the CPU 324 processes one block of data and writes the first data into the buffer memory 323A synchronously. This is conducive to rapidly restoring the complete message information.

第四实施例Fourth embodiment

现在将要描述本发明的第四实施例。按照本发明的第四实施例,无线寻呼信号被解调为基带信号,而基带信号又被译码为相应的数据(最终的译码数据)。地址信息从最终的译码数据中还原出来。报文信息从最终的译码数据中还原出来。还原的报文信息经受纠错处理。还原的地址信息避免进行纠错处理。A fourth embodiment of the present invention will now be described. According to the fourth embodiment of the present invention, a radio paging signal is demodulated into a baseband signal, and the baseband signal is decoded into corresponding data (final decoded data). The address information is recovered from the final decoded data. Message information is restored from the final decoded data. The restored message information is subjected to error correction processing. The restored address information avoids error correction processing.

现在详细地描述第四实施例。参见图11,无线报文接收机(无线寻呼接收机)包括后面跟随接收部分422的天线421。天线421用来捕捉由例如基站发射的无线电波信号。无线电波信号通常包含带有同步信息、地址信息和报文信息的寻呼信号。同步信息先于地址信息和报文信息。地址信息先于报文信息。天线421捕捉到的无线电波信号被输入至接收部分422。地址信息包含识别码信息。接收部分422将无线电波信号解调为相应的基带信号。The fourth embodiment is now described in detail. Referring to FIG. 11, a radio message receiver (radio paging receiver) includes an antenna 421 followed by a receiving section 422. Referring to FIG. The antenna 421 is used to catch radio wave signals transmitted by, for example, a base station. Radio wave signals usually contain paging signals with synchronization information, address information and message information. Synchronization information precedes address information and message information. Address information precedes message information. The radio wave signal captured by the antenna 421 is input to the receiving section 422 . The address information includes identification code information. The receiving section 422 demodulates the radio wave signal into a corresponding baseband signal.

跟随在接收部分422后面的译码器423接收基带信号并将其译码为相应的数据。The decoder 423 following the receiving part 422 receives the baseband signal and decodes it into corresponding data.

译码器423连接至具有I/O端口(接口)、处理部分、RAM和ROM组合的CPU 424。CPU 424可以用微处理器、DSP或者其它类似的器件代替。CPU 424从接收的数据中还原识别码信息(地址信息)。CPU 424连接至包括显示器和声音发生器在内的外设。声音发生器例如采用扬声器。CPU 424与接收部分422连接。CPU 424根据存储在内置ROM中的程序运行。而且,CPU 424内的ROM保存由码字表示的信息,而纠错校验位被加入码字。The decoder 423 is connected to a CPU 424 having an I/O port (interface), a processing section, a combination of RAM and ROM. CPU 424 can be replaced with microprocessor, DSP or other similar devices. The CPU 424 restores the identification code information (address information) from the received data. The CPU 424 is connected to peripherals including a display and sound generator. The sound generator is, for example, a loudspeaker. The CPU 424 is connected to the receiving section 422. The CPU 424 operates according to programs stored in the built-in ROM. Also, the ROM within the CPU 424 holds information represented by codewords, and error correction check bits are added to the codewords.

图12示出了寻呼信号521的格式。寻呼信号521的首部为后面相继跟随数据块523的同步信号(比特同步信号)522。同步信号522包含逻辑状态预先确定为对应给定比特模式(同步比特模式)的比特序列。每个块523中的数据以“n”个字为单位交错,这里“n”表示给定的整数。块523的总数等于给定的数目“j”。通常情况下,前面一个或多个块523表示识别码信息(地址信息)而后面的块523表示报文信息。FIG. 12 shows the format of the paging signal 521. Referring to FIG. The header of the paging signal 521 is a synchronization signal (bit synchronization signal) 522 followed by a data block 523 successively. Synchronization signal 522 comprises a sequence of bits whose logic states are predetermined to correspond to a given bit pattern (synchronization bit pattern). Data in each block 523 is interleaved in units of "n" words, where "n" represents a given integer. The total number of blocks 523 is equal to the given number "j". Normally, one or more blocks 523 in the front represent identification code information (address information) and the following blocks 523 represent message information.

图13为块523中数据的两维表示。如图13所示,一个块的容量为“m”比特的“n”个字,这里“m”表示给定整数。每个字的长度固定为“m”比特。每个字包含表示主信息的比特524和表示纠错码信息的比特525。主信息包含识别码信息(地址信息)或报文信息。所用的纠错码能够纠正“α”个比特的差错,这里“α”为整数。在图13中,标号526表示各个字中经受交错处理并且由数量相等的比特数构成的一个n比特数据单元。在基站(发射站)处,块523中的数据被划分为“m”个数据单元。基站顺序发射每个块523的“m”个数据单元。FIG. 13 is a two-dimensional representation of the data in block 523. As shown in FIG. 13, the capacity of one block is "n" words of "m" bits, where "m" represents a given integer. The length of each word is fixed at "m" bits. Each word contains bits 524 representing main information and bits 525 representing error correction code information. The main information includes identification code information (address information) or message information. The error correcting code used is capable of correcting "α" bit errors, where "α" is an integer. In FIG. 13, reference numeral 526 denotes an n-bit data unit subjected to interleave processing and composed of an equal number of bits in each word. At the base station (transmitting station), the data in block 523 is divided into "m" data units. The base station transmits "m" data units of each block 523 sequentially.

译码器423包括一个比特同步部分,它从与寻呼信号521中比特同步信号522前半部分对应的接收部分422输出信号中产生采样时钟信号。译码器323包括一个采样部分,它响应采样时钟信号,周期性地对接收部分422的输出信号进行采样以将接收部分422的输出信号逐个比特地译码为第一数据。译码器423包括一个将第一数据去解错为第二数据的解交错部分。译码器423包括一对缓冲存储器,每个的容量等于寻呼信号521中一个块523。第二数据中对应寻呼信号521中各块523的部分被依次而交替地写入缓冲存储器。The decoder 423 includes a bit synchronization section which generates a sampling clock signal from the output signal of the receiving section 422 corresponding to the first half of the bit synchronization signal 522 in the paging signal 521 . The decoder 323 includes a sampling section which periodically samples the output signal of the receiving section 422 in response to the sampling clock signal to decode the output signal of the receiving section 422 into first data bit by bit. The decoder 423 includes a deinterleave section for deinterleaving the first data into the second data. Decoder 423 includes a pair of buffer memories, each having a capacity equal to one block 523 in paging signal 521 . The parts of the second data corresponding to the blocks 523 in the paging signal 521 are sequentially and alternately written into the buffer memory.

译码器423其中一个缓冲存储器通常经受数据写入处理而另外一个缓冲存储器由CPU 424访问从而读出数据(第二数据)。当译码器424中每个缓冲存储器的写入到达给定数值时,译码器423向CPU 424输出特定的信号。这里,给定的数值对应一个数据块。One of the buffer memories of the decoder 423 is usually subjected to data writing processing and the other buffer memory is accessed by the CPU 424 to read data (second data). When the writing of each buffer memory in the decoder 424 reaches a given value, the decoder 423 outputs a specific signal to the CPU 424. Here, the given value corresponds to a data block.

CPU 424根据存储在内置ROM中的程序运行。CPU 424的处理单元为一个块中的一个码字(“m”比特)。当CPU 424接收分配给有关无线报文接收机的地址时,CPU 424识别出传给该有关无线报文接收机的位置和报文长短。CPU 424识别出块中码字的数量。The CPU 424 operates according to programs stored in the built-in ROM. The processing unit of the CPU 424 is a codeword ("m" bits) in a block. When the CPU 424 receives the address assigned to the relevant wireless message receiver, the CPU 424 recognizes the location and the length of the message transmitted to the relevant wireless message receiver. The CPU 424 identifies the number of codewords in the block.

图14示出了每次接收到寻呼信号521时所执行程序段的流程图。如图14所示,程序段的第一步431是关闭报文接收标志。报文接收标志以下简称为标志。在步骤431之后,程序进入步骤432。步骤432确定缓冲器是否满。当缓冲器满时,程序进入步骤433。否则重复步骤432。FIG. 14 shows a flowchart of program segments executed each time a paging signal 521 is received. As shown in Fig. 14, the first step 431 of the program segment is to turn off the message receiving flag. The packet reception flag is hereinafter referred to as the flag for short. After step 431, the program goes to step 432. Step 432 determines if the buffer is full. When the buffer is full, the program goes to step 433. Otherwise, step 432 is repeated.

步骤433确定标志是否处于开启状态。当标志处于开启状态时,程序从步骤433进入步骤434。否则程序从步骤433进入435。步骤434确定传给有关无线报文接收机的报文是否位于当前块内。当传给有关无线报文接收机的报文位于当前块内时,程序从步骤434进入步骤435。否则程序从步骤434返回步骤432。Step 433 determines if the flag is on. When the flag is on, the program goes from step 433 to step 434 . Otherwise, the program proceeds from step 433 to step 435 . Step 434 determines whether the message for the associated wireless message receiver is located within the current block. From step 434, the program proceeds to step 435 when the message sent to the associated wireless message receiver is within the current block. Otherwise the program returns to step 432 from step 434 .

步骤435读取一个块。跟随在步骤435之后的步骤436将变量设定P为“0”。变量P表示码字的阶数。在步骤436之后,程序进入步骤437。步骤437使数字P增1。接在步骤437后面的步骤438确定1块的数据处理是否完成。当1块的数据处理完成时,程序从步骤438返回至步骤432。否则,程序从步骤438进入步骤439。Step 435 reads a block. Step 436 following step 435 sets the variable P to "0". The variable P represents the order of the codeword. After step 436, the program goes to step 437. Step 437 increments the number P by one. Step 438 following step 437 determines whether data processing for 1 block is complete. When the data processing of one block is completed, the program returns from step 438 to step 432 . Otherwise, the program enters step 439 from step 438 .

步骤439确定标志是否处于关闭状态。当标志处于关闭状态时,程序从步骤439进入步骤440。否则程序从步骤439进入441。Step 439 determines if the flag is off. When the flag is off, the program goes from step 439 to step 440. Otherwise, the program proceeds from step 439 to step 441 .

步骤440取出阶数为P的码字。步骤442确定地址是否相互一致。当地址相互一致时,程序从步骤442进入步骤443。否则,程序从步骤442进入步骤444。步骤443使标志处于开启状态。在步骤443之后,程序返回步骤437。Step 440 extracts codewords with order P. Step 442 determines whether the addresses are consistent with each other. When the addresses coincide with each other, the program proceeds from step 442 to step 443 . Otherwise, the program enters step 444 from step 442 . Step 443 turns the flag on. After step 443, the program returns to step 437.

步骤444确定是否检查过所有的地址信息。当所有的地址信息都被检查过后,程序从步骤444进入步骤445。否则,程序从步骤444返回步骤437。步骤445使接收部分的操作暂停。在步骤445之后,结束当前程序段的执行循环。Step 444 determines whether all address information has been checked. After all address information has been checked, program enters step 445 from step 444. Otherwise, the program returns to step 437 from step 444 . Step 445 suspends the operation of the receiving section. After step 445, the execution loop of the current program segment ends.

步骤441确定数字P是否对应于传给有关无线报文接收机的报文码字。当数字P对应于传给有关无线报文接收机的报文码字时,程序从步骤441进入步骤446。否则,程序从步骤441返回步骤437。Step 441 determines whether the number P corresponds to a message code word passed to the associated wireless message receiver. From step 441, the program proceeds to step 446 when the number P corresponds to the message code word transmitted to the associated wireless message receiver. Otherwise, the program returns to step 437 from step 441 .

步骤446取出阶数为P的码字。跟随在步骤446之后的步骤447执行纠错操作。步骤447后面的步骤448保存该报文。跟随在步骤448之后的步骤449确定传给有关无线报文接收机的整个报文是否可用。当传给有关无线报文接收机的整个报文可用时,程序从步骤449进入步骤450。否则,程序从步骤449返回步骤437。Step 446 fetches codewords with order P. Step 447 following step 446 performs error correction operations. Step 448 following step 447 saves the message. A step 449 following step 448 determines whether the entire message is available for delivery to the associated wireless message receiver. From step 449, the program proceeds to step 450 when the entire message to the associated wireless message receiver is available. Otherwise, the program returns to step 437 from step 449 .

步骤450关闭标志。跟随在步骤450之后的步骤451向外设输出信号。在步骤451之后,结束当前程序段的执行循环。Step 450 closes the flag. Step 451 following step 450 outputs a signal to the peripheral. After step 451, the execution loop of the current program segment ends.

由前述描述可见,CPU 424没有对表示地址的1块数据进行纠错处理。这减少了CPU 424有效操作的步骤数(即减少了CPU 424的活动性)。当发现由读取的1块数据表示的地址信息(识别码信息)与预先确定的地址信息(预先确定的识别码信息)基本上不相同时,CPU 424使接收部分422在一给定的时间间隔内处于休眠状态以节省电力。而且,在这种情况下,CPU 424除了执行步骤445以外不执行图14中的其它步骤。这减少了CPU 424有效操作的步骤数(即减少了CPU 424的活动性)。It can be seen from the foregoing description that the CPU 424 does not perform error correction processing on one block of data representing the address. This reduces the number of steps in which the CPU 424 effectively operates (i.e., reduces CPU 424 activity). When it is found that the address information (identification code information) represented by read 1 piece of data is substantially different from the predetermined address information (predetermined identification code information), the CPU 424 causes the receiving section 422 to perform an operation at a given time. sleeps between intervals to save power. Also, in this case, the CPU 424 does not perform other steps in FIG. 14 except for performing step 445. This reduces the number of steps in which the CPU 424 effectively operates (i.e., reduces CPU 424 activity).

与无线报文接收机有关的地址信息(码字)存储在CPU 424的ROM内。CPU 424的ROM内的地址信息为一个码字,并且为“m”个比特,一般等于32个比特。CPU424的ROM内的地址信息(码字)被分为“A”、“B”、“C”和“D”四个8比特段。接收的表示地址信息的m比特码字也被分为“A”、“B”、“C”和“D”四个8比特段。Address information (codeword) relevant to the wireless message receiver is stored in the ROM of the CPU 424. The address information in the ROM of CPU 424 is a code word, and is " m " bit, is generally equal to 32 bits. Address information (code words) in the ROM of the CPU 424 is divided into four 8-bit segments of "A", "B", "C" and "D". The received m-bit codeword representing address information is also divided into four 8-bit segments "A", "B", "C" and "D".

如图15所示,步骤442包括子步骤442A、442B和442C。对于“A”、“B”、“C”和“D”每个8比特段,跟随在图14步骤440之后的第一子步骤442A在接收的地址信息和相关的无线报文接收机地址信息之间执行异或操作。执行异或操作对“A”、“B”、“C”和“D”每个8比特段产生了8比特的差错码型数据。在每个8比特差错码型数据中,比特“0”表示接收的地址信息与相关无线报文接收机地址信息的对应比特的逻辑状态一致而比特“1”表示接收的地址信息与相关无线报文接收机地址信息的对应比特的逻辑状态不一致(差错)。As shown in Figure 15, step 442 includes sub-steps 442A, 442B and 442C. For each 8-bit segment of "A", "B", "C" and "D", a first sub-step 442A following step 440 of FIG. 14 in the received address information and associated wireless message receiver address information Execute an XOR operation between them. Executing an exclusive OR operation produces 8 bits of error pattern data for each 8-bit segment of "A", "B", "C" and "D". In each 8-bit error pattern data, a bit "0" indicates that the received address information is consistent with the logical state of the corresponding bit of the receiver address information of the relevant wireless message and a bit "1" indicates that the received address information is consistent with the relevant wireless message receiver address information. The logical state of the corresponding bit of the receiver address information is inconsistent (error).

跟随在子步骤442A之后的子步骤442B参照存储在CPU 424的ROM内的转换表计算每个8比特差错数据的指示差错比特数。如图16所示,转换表提供的是8比特差错数据X与指示差错比特数EN(X)之间的关系。因此,步骤442B计算了分别对应8比特段“A”、“B”、“C”和“D”的指示差错比特数EN(A)、指示差错比特数EN(B)、指示差错比特数EN(C)和指示差错比特数EN(D)。随后,步骤442B计算了指示差错比特数EN(A)、指示差错比特数EN(B)、指示差错比特数EN(C)和指示差错比特数EN(D)的总和Res。Substep 442B following substep 442A calculates the number of indicated error bits for each 8-bit error data with reference to a conversion table stored in the ROM of CPU 424. As shown in FIG. 16, the conversion table provides the relationship between the 8-bit error data X and the number of indicated error bits EN(X). Therefore, step 442B calculates the indication error bit number EN(A), the indication error bit number EN(B), the indication error bit number EN (C) and indicate the number of error bits EN (D). Subsequently, step 442B calculates the sum Res of the indicated error bit number EN(A), the indicated error bit number EN(B), the indicated error bit number EN(C) and the indicated error bit number EN(D).

跟随在子步骤442B后面的子步骤442C将总和Res与纠错能力比特数“α”进行比较。当总和Res大于纠错能力比特数“α”时,程序从子步骤442C进入图14的步骤444。否则程序从子步骤442C进入图14的步骤443。Sub-step 442C following sub-step 442B compares the sum Res with the number "α" of error correction capability bits. When the sum Res is larger than the error correction capability bit number "α", the program proceeds from sub-step 442C to step 444 of FIG. 14 . Otherwise, the program proceeds to step 443 of FIG. 14 from substep 442C.

第五实施例fifth embodiment

现在将简要描述本发明的第五实施例。按照第五实施例,无线寻呼信号被解调为基带信号,而基带信号又被译码为相应的数据。CPU交替地执行数据处理和其它的工作。第一和第二时钟信号分别具有第一和第二预先确定的频率。第一预先确定的频率大于第二预先确定的频率。当CPU执行数据处理时它响应第一时钟信号进行操作。当CPU执行其它工作时它响应第二时钟信号进行操作。提供了产生一定频率的时钟发生器,如果CPU的纠错能力为“α”而数据以“m”比特/字דn”字为单位交错,则在接收部分接收“n”דα”个比特期间内CPU在该频率下具有“m”דn”比特的数据处理速度。A fifth embodiment of the present invention will now be briefly described. According to the fifth embodiment, a radio paging signal is demodulated into a baseband signal, and the baseband signal is decoded into corresponding data. The CPU alternately performs data processing and other tasks. The first and second clock signals have first and second predetermined frequencies, respectively. The first predetermined frequency is greater than the second predetermined frequency. When the CPU performs data processing it operates in response to the first clock signal. It operates in response to the second clock signal while the CPU is performing other tasks. A clock generator that generates a certain frequency is provided, and if the error correction capability of the CPU is "α" and data is interleaved in units of "m" bits/words × "n" words, "n" × "α" is received in the receiving section The CPU has a data processing speed of "m" x "n" bits at this frequency during a bit period.

参见图17,无线报文接收机(无线寻呼接收机)包括后面跟随接收部分622的天线621。天线621用来捕捉由例如基站发射的无线电波信号。无线电波信号通常包含带有同步信息、地址信息和报文信息的寻呼信号。同步信息先于地址信息和报文信息。地址信息先于报文信息。天线621捕捉到的无线电波信号被输入至接收部分622。接收部分622将无线电波信号解调为相应的基带信号。Referring to FIG. 17, a radio message receiver (radio paging receiver) includes an antenna 621 followed by a receiving section 622. Referring to FIG. The antenna 621 is used to catch radio wave signals emitted by, for example, a base station. Radio wave signals usually contain paging signals with synchronization information, address information and message information. Synchronization information precedes address information and message information. Address information precedes message information. A radio wave signal captured by the antenna 621 is input to the receiving section 622 . The receiving section 622 demodulates the radio wave signal into a corresponding baseband signal.

跟随在接收部分622后面的译码器623接收基带信号并将其译码为相应的数据。The decoder 623 following the receiving part 622 receives the baseband signal and decodes it into corresponding data.

译码器623连接至具有I/O端口(接口)、处理部分、RAM和ROM组合的CPU 624。CPU 624可以用微处理器、DSP或者其它类似的器件代替。CPU 624从译码器623接收数据。CPU 624将接收的数据解交错为第二数据。CPU 624从第二数据中还原识别码信息(地址信息)。CPU 624连接至包括显示器和声音发生器在内的外设625。声音发生器例如采用扬声器。CPU 624与接收部分622连接。CPU 424响应外部时钟信号进行操作。CPU 624连接至产生预先确定为一高一低频率的发生器626和627。例如,两种时钟信号分别等于1.2288Mhz和76.8KHz。CPU 624根据存储在内置ROM中的程序运行。The decoder 623 is connected to a CPU 624 having an I/O port (interface), a processing section, a combination of RAM and ROM. CPU 624 can be replaced with microprocessor, DSP or other similar devices. The CPU 624 receives data from the decoder 623. The CPU 624 deinterleaves the received data into second data. The CPU 624 restores the identification code information (address information) from the second data. The CPU 624 is connected to peripherals 625 including a display and sound generator. The sound generator is, for example, a loudspeaker. The CPU 624 is connected to the receiving section 622. CPU 424 operates in response to an external clock signal. The CPU 624 is connected to generators 626 and 627 which generate a predetermined high and low frequency. For example, the two clock signals are equal to 1.2288Mhz and 76.8KHz respectively. The CPU 624 operates according to programs stored in the built-in ROM.

低频时钟信号发生器627一般处于激活状态而高频时钟信号626一般处于非激活状态。因此,CPU 624一般响应发生器627产生的低频时钟信号而运行,并且CPU 624的活动性相对较低。这有利于抑制CPU 624产生的无线噪声电平。如下所述,CPU 624响应块同步信号而激活高频时钟信号发生器626并使低频时钟信号发生器627处于非激活状态。在此后的给定短时间间隔内,高频时钟信号发生器626和低频时钟信号发生器627仍然分别处于激活和非激活状态,并且CPU624响应发生器626产生的高频时钟信号而不是发生器627产生的低频时钟信号进行操作。The low frequency clock signal generator 627 is generally active and the high frequency clock signal 626 is generally inactive. Thus, CPU 624 generally operates in response to a low frequency clock signal generated by generator 627, and the activity of CPU 624 is relatively low. This helps suppress the wireless noise level generated by the CPU 624. As described below, the CPU 624 activates the high frequency clock signal generator 626 and deactivates the low frequency clock signal generator 627 in response to the block sync signal. In a given short time interval thereafter, the high-frequency clock signal generator 626 and the low-frequency clock signal generator 627 are still active and inactive, respectively, and the CPU 624 responds to the high-frequency clock signal produced by the generator 626 rather than the generator 627 Generated low frequency clock signal for operation.

CPU 624可以在低速模式和高速模式之间切换。当高频时钟信号发生器626和低频时钟信号发生器627分别处于非激活和激活状态时,CPU 624处于低速运行模式。当高频时钟信号发生器626和低频时钟信号发生器627分别处于激活和非激活状态时,CPU 624处于高速运行模式。在CPU 624在低速模式下运行时,CPU 624产生的无线噪声电平得到了有效的抑制。CPU 624 can be switched between low speed mode and high speed mode. When the high-frequency clock signal generator 626 and the low-frequency clock signal generator 627 are in an inactive and active state respectively, the CPU 624 is in a low-speed operation mode. When the high-frequency clock signal generator 626 and the low-frequency clock signal generator 627 are in active and inactive states respectively, the CPU 624 is in a high-speed operation mode. When the CPU 624 is running in low speed mode, the wireless noise level generated by the CPU 624 is effectively suppressed.

如图12所示,寻呼信号521的首部为后面相继跟随数据块523的同步信号(比特同步信号)522。同步信号522包含逻辑状态预先确定为对应给定比特码型(同步比特码型)的比特序列。每个块523中的数据以“n”个字为单位交错,这里“n”表示给定的整数。块523的总数等于给定的数目“j”。通常情况下,前面一个或多个块523表示识别码信息(地址信息)而后面的块523表示报文信息。As shown in FIG. 12 , the header of the paging signal 521 is a synchronization signal (bit synchronization signal) 522 followed by a data block 523 successively. Synchronization signal 522 comprises a sequence of bits whose logic states are predetermined to correspond to a given bit pattern (synchronization bit pattern). Data in each block 523 is interleaved in units of "n" words, where "n" represents a given integer. The total number of blocks 523 is equal to the given number "j". Normally, one or more blocks 523 in the front represent identification code information (address information) and the following blocks 523 represent message information.

如图13所示,一个块的容量为“m”比特的“n”个字,这里“m”表示给定整数。每个字的长度固定为“m”比特。每个字包含表示主信息的比特524和表示纠错码信息的比特525。主信息包含识别码信息(地址信息)或报文信息。所用的纠错码能够纠正“α”个比特的差错,这里“α”为整数。在图13中,标号526表示各个字中经受交错处理并且由数量相等的比特数构成的一个n比特数据单元。在基站(发射站)处,块523中的数据被划分为“m”个数据单元。基站顺序发射每个块523的“m”个数据单元。As shown in FIG. 13, the capacity of one block is "n" words of "m" bits, where "m" represents a given integer. The length of each word is fixed at "m" bits. Each word contains bits 524 representing main information and bits 525 representing error correction code information. The main information includes identification code information (address information) or message information. The error correcting code used is capable of correcting "α" bit errors, where "α" is an integer. In FIG. 13, reference numeral 526 denotes an n-bit data unit subjected to interleave processing and composed of an equal number of bits in each word. At the base station (transmitting station), the data in block 523 is divided into "m" data units. The base station transmits "m" data units of each block 523 sequentially.

译码器623包括一个比特同步部分,它从与寻呼信号521中比特同步信号522前半部分对应的接收部分622输出信号中产生采样时钟信号。译码器623包括一个采样部分,它响应采样时钟信号,周期性地对接收部分622的输出信号进行采样以将接收部分622的输出信号逐个比特地译码为第一数据。译码器623包括一对缓冲存储器623A和623B,每个的容量等于寻呼信号521中一个块523。第一数据中对应寻呼信号521中各块523的部分被依次而交替地写入缓冲存储器623A和623B。译码器623其中一个缓冲存储器通常用作数据写入处理而另外一个缓冲存储器由CPU 424访问从而读出第一数据。The decoder 623 includes a bit synchronization section which generates a sampling clock signal from the output signal of the receiving section 622 corresponding to the first half of the bit synchronization signal 522 in the paging signal 521 . The decoder 623 includes a sampling section that periodically samples the output signal of the receiving section 622 in response to a sampling clock signal to decode the output signal of the receiving section 622 into first data bit by bit. Decoder 623 includes a pair of buffer memories 623A and 623B, each having a capacity equal to one block 523 in paging signal 521 . The parts of the first data corresponding to the blocks 523 in the paging signal 521 are sequentially and alternately written into the buffer memories 623A and 623B. One of the buffer memories of the decoder 623 is usually used for data write processing and the other buffer memory is accessed by the CPU 424 to read out the first data.

译码器623还包括用于响应采样时钟信号而产生时钟同步信号的块同步部分。块同步信号中的脉冲发生于每次完成第一数据的1块部分写入缓冲存储器623A和623B时。译码器623向CPU 624输出块同步信号。在这种方式下,当译码器623的缓冲存储器623A和623B的写入达到给定数值时,译码器向CPU 624输出特定的信号。这里给定的数值对应“n”比特。The decoder 623 also includes a block synchronization section for generating a clock synchronization signal in response to the sampling clock signal. A pulse in the block sync signal occurs each time a 1-block portion of the first data is written into the buffer memories 623A and 623B. The decoder 623 outputs a block synchronization signal to the CPU 624. In this manner, when the writing of the buffer memories 623A and 623B of the decoder 623 reaches a given value, the decoder outputs a specific signal to the CPU 624. The value given here corresponds to "n" bits.

CPU 624根据存储在内置ROM中的程序运行。CPU 624的处理单元为一个块中的一个码字(“m”比特)。当CPU 624接收分配给有关无线报文接收机的地址时,CPU 624识别出传给该有关无线报文信息接收机的位置和报文长短。CPU 624识别出块中码字的数量。The CPU 624 operates according to programs stored in the built-in ROM. The processing unit of the CPU 624 is a codeword ("m" bits) in a block. When the CPU 624 receives the address assigned to the receiver of the relevant wireless message, the CPU 624 recognizes the location and the length of the message transmitted to the receiver of the relevant wireless message information. The CPU 624 identifies the number of codewords in the block.

图18示出了每次接收到寻呼信号521时所执行程序段的流程图。如图18所示,程序段的第一步651是关闭报文接收标志。报文接收标志以下简称为标志。在步骤651之后,程序进入步骤652。步骤652确定“n”比特是否可用。当“n”比特可用时,程序从步骤652进入步骤653。否则重复步骤652。FIG. 18 shows a flowchart of program segments executed each time a paging signal 521 is received. As shown in Figure 18, the first step 651 of the program segment is to turn off the message receiving flag. The packet reception flag is hereinafter referred to as the flag for short. After step 651, the program goes to step 652. Step 652 determines if "n" bits are available. From step 652, the program proceeds to step 653 when "n" bits are available. Otherwise step 652 is repeated.

步骤653确定标志是否处于开启状态。当标志处于开启状态时,程序从步骤653进入步骤654。否则程序从步骤653进入655。步骤654确定传给有关无线报文接收机的报文是否位于当前块内。当传给有关无线报文接收机的报文位于当前块内时,程序从步骤654进入步骤655。否则程序从步骤654返回步骤652。Step 653 determines if the flag is on. When the flag is on, the program goes from step 653 to step 654. Otherwise, the program proceeds from step 653 to 655. Step 654 determines whether the message for the associated wireless message receiver is located within the current block. The program proceeds from step 654 to step 655 when the message sent to the relevant wireless message receiver is within the current block. Otherwise the program returns to step 652 from step 654 .

步骤655读取“n”个比特。跟随在步骤655之后的步骤656确定块是否被读取过。当块已经读取过后,程序从步骤656进入步骤657。否则程序从步骤656返回步骤652。Step 655 reads "n" bits. Step 656 following step 655 determines whether the block has been read. After the block has been read, the program proceeds from step 656 to step 657. Otherwise the program returns to step 652 from step 656 .

步骤657使CPU 624转入高速运行模式。跟随在步骤657之后的步骤658执行解交错处理。跟随在步骤658之后的步骤659将变量P设定为“0”。变量P表示码字的阶数。在步骤659之后,程序进入步骤660。步骤660使数字P增1。接在步骤660后面的步骤661确定1块的数据处理是否完成。当1块的数据处理完成时,程序从步骤661返回至步骤662。否则,程序从步骤661进入步骤663。Step 657 makes CPU 624 change over to high-speed operation mode. Step 658 following step 657 performs a de-interleaving process. Step 659 following step 658 sets variable P to "0". The variable P represents the order of the codeword. After step 659, the program goes to step 660. Step 660 increments the number P by one. Step 661 following step 660 determines whether data processing for 1 block is complete. When the data processing of one block is completed, the program returns from step 661 to step 662 . Otherwise, the program enters step 663 from step 661 .

步骤622使CPU 624转入低速运行模式。在步骤662中,程序返回步骤652。步骤663确定标志是否处于关闭状态。当标志处于关闭状态时,程序从步骤663进入步骤664。否则程序从步骤663进入步骤665。Step 622 makes CPU 624 change over to low-speed operation mode. In step 662, the program returns to step 652. Step 663 determines if the flag is off. When the flag is off, the program goes from step 663 to step 664. Otherwise, the program enters step 665 from step 663 .

步骤664取出阶数为P的码字。跟随在步骤664之后的步骤666确定地址是否一致。当地址相互一致时,程序从步骤666进入步骤667。否则程序从步骤666进入步骤668。步骤666与图14和15中的步骤442相似。步骤667使标志开启。在步骤667之后,程序返回步骤660。Step 664 fetches codewords with order P. Step 666 following step 664 determines whether the addresses match. When the addresses coincide with each other, the program proceeds from step 666 to step 667. Otherwise, the program proceeds from step 666 to step 668. Step 666 is similar to step 442 in FIGS. 14 and 15 . Step 667 turns the flag on. After step 667, the program returns to step 660.

步骤668确定是否检查过所有的地址信息。当所有的地址信息都被检查过后,程序从步骤668进入步骤669。否则,程序从步骤668返回步骤660。步骤669使接收部分的操作暂停。在步骤669之后,程序进入步骤670。步骤670使CPU 624转入低速运行模式。在步骤670之后,结束当前程序段的执行循环。Step 668 determines whether all address information has been checked. After all address information has been checked, program enters step 669 from step 668. Otherwise, the program returns to step 660 from step 668 . Step 669 suspends the operation of the receiving section. After step 669, the program goes to step 670. Step 670 makes CPU 624 change over to low-speed operation mode. After step 670, the execution loop of the current program segment ends.

步骤665确定数字P是否对应传给有关无线报文接收机的报文码字。当数字P对应传给有关无线报文接收机的报文码字时,程序从步骤665进入步骤671。否则程序从步骤665进入步骤660。Step 665 determines whether the number P corresponds to the message code word passed to the associated wireless message receiver. When the number P corresponds to the message code word sent to the relevant wireless message receiver, the program proceeds from step 665 to step 671. Otherwise, the program enters step 660 from step 665 .

步骤671取出阶数等于数字P的码字。跟随在步骤671之后的步骤672执行纠错操作。跟随在步骤673之后的步骤674确定传给有关无线报文接收机的整个报文是否可用。当传给有关无线报文接收机的整个报文可用时,程序从步骤674进入步骤675。否则,程序从步骤674返回步骤660。Step 671 fetches codewords whose order is equal to the number P. Step 672 following step 671 performs error correction operations. A step 674 following step 673 determines whether the entire message is available for delivery to the associated wireless message receiver. From step 674, the program proceeds to step 675 when the entire message to the relevant wireless message receiver is available. Otherwise, the program returns to step 660 from step 674 .

步骤675关闭标志。跟随在步骤675之后的步骤676向外设输出信号。在步骤676之后,程序进入步骤670。Step 675 turns off the flag. Step 676 following step 675 outputs the signal to the peripheral. After step 676, the program goes to step 670.

图19示出了块523数据处理和接收过程的时序,块由“m”比特的“n”个字组成,并且纠错能力为每个字“α”个比特。在图19中,标号81表示接收和存储“k+1”块523数据序列的时序,而标号82表示“k”块523的数据处理时序。在图19中,标号83表示接收和存储块523数据序列的时序,而标号84为每个字“α”个比特纠错能力下接收当前接收块内“α”个数据单元的时序。在图19中,标号85表示CPU 624运行时钟的状态。高速时钟例如为1.2288Mhz。低速时钟例如为76.8kHz。上述过程以图19所示的时序执行。Figure 19 shows the timing of the data processing and reception process of block 523, the block is composed of "n" words of "m" bits, and the error correction capability is "α" bits per word. In FIG. 19, reference numeral 81 denotes a timing of receiving and storing the data sequence of "k+1" blocks 523, and reference numeral 82 denotes a timing of data processing of "k" blocks 523. In FIG. 19, reference numeral 83 represents the timing of receiving and storing the data sequence of block 523, while reference numeral 84 represents the timing of receiving "α" data units in the current receiving block under the error correction capability of "α" bits per word. In Fig. 19, reference numeral 85 represents the state of CPU 624 operation clock. The high-speed clock is, for example, 1.2288Mhz. The low-speed clock is, for example, 76.8kHz. The above-described process is executed in the sequence shown in FIG. 19 .

CPU 624的上述运行在图19所示的时序84下完成。具体而言,如果每个字的纠错能力为“α”个比特,则在接收“k+1”块内“α”数据单元并将它们存储在缓冲器的时间间隔内,CPU 624响应高速时钟而运行并且高速处理和结束“k”块数据序列。因此,CPU 624运行使接收部分622产生的误码率抑制在每个解交错码字“α”个比特的水平。这局限在一个码字具备的纠错能力范围之内,因此是可以纠错的。这使得可以高速处理数据序列并且在短于将“n”דα”个比特存储入缓冲器期间的间隔内处理“m”דn”个比特,因而减少了误码率。The above-mentioned operation of the CPU 624 is completed under the sequence 84 shown in FIG. 19 . Specifically, if the error correction capability of each word is "α" bits, then the CPU 624 responds at a high The clock runs and processes and ends a "k" block data sequence at high speed. Therefore, the CPU 624 operates so that the bit error rate generated by the receiving section 622 is suppressed at the level of "α" bits per deinterleaving codeword. This is limited to the error correction capability of a codeword, so it can be corrected. This makes it possible to process a data sequence at high speed and process "m" x "n" bits in an interval shorter than that during which "n" x "α" bits are stored in the buffer, thus reducing the bit error rate.

第六实施例Sixth embodiment

现在将简要描述本发明的第六实施例。按照本发明的第六实施例,无线寻呼信号被解调为基带信号,而基带信号又被译码为相应的数据。对数据的误码率进行了检测。确定了所检测的误码率是否高于预先确定的基准比率。存储设备可以存储数据。处理设备可以从存储设备中读取数据并处理读出的数据。如果检测的误码率大于预先确定的基准比率,则暂停处理设备的运行直到存储在存储设备中的数据为整个无线寻呼信号。处理设备的运行开始于将对应整个无线寻呼信号的数据存储入存储设备后。A sixth embodiment of the present invention will now be briefly described. According to the sixth embodiment of the present invention, a radio paging signal is demodulated into a baseband signal, and the baseband signal is decoded into corresponding data. The bit error rate of the data was tested. It is determined whether the detected bit error rate is higher than a predetermined reference rate. Storage devices can store data. The processing device can read data from the storage device and process the read data. If the detected bit error rate is greater than a predetermined reference rate, the operation of the processing device is suspended until the data stored in the storage device is the entire radio paging signal. Operation of the processing device begins after storing data corresponding to the entire radio paging signal in the storage device.

参见图20,无线报文接收机(无线寻呼接收机)包括后面跟随接收部分722的天线721。天线721用来捕捉由例如基站发射的无线电波信号。无线电波信号通常包含带有比特同步信号序列的寻呼信号和信息信号。比特同步信号包含逻辑状态预先确定为对应给定比特码型(同步比特码型)的比特序列。信息信号代表地址信息和报文信息。地址信息先于报文信息。地址信息包含识别码信息。天线721捕捉到的无线电波信号被输入至接收部分722。接收部分722将无线电波信号解调为相应的基带信号。Referring to FIG. 20, a radio message receiver (radio paging receiver) includes an antenna 721 followed by a receiving section 722. Referring to FIG. The antenna 721 is used to catch radio wave signals transmitted by, for example, a base station. Radio wave signals usually include paging signals and information signals with bit synchronization signal sequences. The bit synchronization signal comprises a sequence of bits whose logic states are predetermined to correspond to a given bit pattern (synchronous bit pattern). The information signal represents address information and message information. Address information precedes message information. The address information includes identification code information. A radio wave signal captured by the antenna 721 is input to the receiving section 722 . The receiving section 722 demodulates the radio wave signal into a corresponding baseband signal.

跟随在接收部分722后面的译码器723接收基带信号并将其译码为相应的数据。A decoder 723 following the receiving section 722 receives the baseband signal and decodes it into corresponding data.

译码器723连接至具有I/O端口(接口)、处理部分、RAM和ROM组合的CPU 724。CPU 724可以用微处理器、DSP或者其它类似的器件代替。CPU 724接收由译码器723产生的数据。CPU 724检测或计算比特误码率,该比特误码率涉及译码器723产生的与比特同步信号对应的数据部分。CPU 724处理译码器723产生数据的其余部分。CPU 724根据检测到误码率在两种不同类型之间切换数据处理方式。CPU724基本的任务是将接收到的数据解交错为第二数据。CPU 724从第二数据中复原识别码信息(地址信息)。CPU 724连接至显示器725。CPU 724还与接收部分722连接。CPU 724根据存储在内置ROM中的程序运行。The decoder 723 is connected to a CPU 724 having an I/O port (interface), a processing section, a combination of RAM and ROM. CPU 724 can be replaced with microprocessor, DSP or other similar devices. The CPU 724 receives the data generated by the decoder 723. The CPU 724 detects or calculates the bit error rate related to the data portion generated by the decoder 723 corresponding to the bit synchronization signal. CPU 724 handles the rest of the data generated by decoder 723. The CPU 724 switches the data processing method between two different types according to the detected bit error rate. The basic task of the CPU 724 is to deinterleave the received data into the second data. The CPU 724 restores the identification code information (address information) from the second data. The CPU 724 is connected to a display 725. The CPU 724 is also connected to the receiving section 722. The CPU 724 operates according to programs stored in the built-in ROM.

如图12所示,寻呼信号521的首部为后面相继跟随数据块523的同步信号(比特同步信号)522。同步信号522包含逻辑状态预先确定为对应给定比特码型(同步比特码型)的比特序列。每个块523中的数据以“n”个字为单位交错,这里“n”表示给定的整数。块523的总数等于给定的数目“j”。通常情况下,前面一个或多个块523表示识别码信息(地址信息)而后面的块523表示报文信息。As shown in FIG. 12 , the header of the paging signal 521 is a synchronization signal (bit synchronization signal) 522 followed by a data block 523 successively. Synchronization signal 522 comprises a sequence of bits whose logic states are predetermined to correspond to a given bit pattern (synchronization bit pattern). Data in each block 523 is interleaved in units of "n" words, where "n" represents a given integer. The total number of blocks 523 is equal to the given number "j". Normally, one or more blocks 523 in the front represent identification code information (address information) and the following blocks 523 represent message information.

如图13所示,一个块的容量为“m”比特的“n”个字,这里“m”表示给定整数。每个字的长度固定为“m”比特。每个字包含表示主信息的比特524和表示纠错码信息的比特525。主信息包含识别码信息(地址信息)或报文信息。所用的纠错码能够纠正“α”个比特的差错,这里“α”为整数。在图13中,标号526表示各个字中经受交错处理并且由数量相等的比特数构成的一个n比特数据单元。在基站(发射站)处,块523中的数据被划分为“m”个数据单元。基站顺序发射每个块523的“m”个数据单元。As shown in FIG. 13, the capacity of one block is "n" words of "m" bits, where "m" represents a given integer. The length of each word is fixed at "m" bits. Each word contains bits 524 representing main information and bits 525 representing error correction code information. The main information includes identification code information (address information) or message information. The error correcting code used is capable of correcting "α" bit errors, where "α" is an integer. In FIG. 13, reference numeral 526 denotes an n-bit data unit subjected to interleave processing and composed of an equal number of bits in each word. At the base station (transmitting station), the data in block 523 is divided into "m" data units. The base station transmits "m" data units of each block 523 sequentially.

译码器723包括一个比特同步部分,它从与寻呼信号521中比特同步信号522前半部分对应的接收部分722输出信号中产生采样时钟信号。译码器723包括一个采样部分,它响应采样时钟信号,周期性地对接收部分722的输出信号进行采样以将接收部分722的输出信号逐个比特地译码为第一数据。译码器723向CPU724输送与寻呼信号521中比特同步信号522后半部分对应的第一数据前半部分。因此第一数据的前半部分为比特同步数据。译码器723包括一个大容量的缓冲存储器723A。对应于寻呼信号521中各个块523的第一数据部分被依次写入缓冲存储器723A的不同区域。缓冲存储器723A可以被CPU 724访问从而使第一数据能够被CPU 724读出。当译码器723的缓冲存储器723A的写入达到给定数值时,译码器向CPU 724输出特定的信号。这里给定的数值对应“n”比特。The decoder 723 includes a bit synchronization section which generates a sampling clock signal from the output signal of the receiving section 722 corresponding to the first half of the bit synchronization signal 522 in the paging signal 521 . The decoder 723 includes a sampling section which periodically samples the output signal of the receiving section 722 in response to a sampling clock signal to decode the output signal of the receiving section 722 into first data bit by bit. The decoder 723 sends the first half of the first data corresponding to the second half of the bit synchronization signal 522 in the paging signal 521 to the CPU 724 . Therefore, the first half of the first data is bit synchronization data. The decoder 723 includes a large-capacity buffer memory 723A. The first data portions corresponding to the respective blocks 523 in the paging signal 521 are sequentially written into different areas of the buffer memory 723A. The buffer memory 723A can be accessed by the CPU 724 so that the first data can be read by the CPU 724. When writing in the buffer memory 723A of the decoder 723 reaches a given value, the decoder outputs a specific signal to the CPU 724. The value given here corresponds to "n" bits.

CPU 724根据存储在内置ROM中的程序运行。CPU 724的处理单元为一个块中的一个码字(“m”比特)。当CPU 724接收分配给有关无线报文接收机的地址时,CPU 724识别出传给该有关无线报文接收机的位置和报文长度。CPU 724识别出块中码字的数量。The CPU 724 operates according to programs stored in the built-in ROM. The processing unit of the CPU 724 is a codeword ("m" bits) in a block. When the CPU 724 receives the address assigned to the associated wireless message receiver, the CPU 724 identifies the location and message length to be transmitted to the associated wireless message receiver. The CPU 724 identifies the number of codewords in the block.

图21和22为每次接收寻呼信号521时执行的程序段流程图。如图21所示,程序段的第一步骤751计算误码率。步骤751与图10中的步骤351相似。跟随在步骤751之后的步骤752确定误码率是否较大。当误码率较大时,程序从步骤752进入步骤753。否则,程序从步骤752进入图22中的步骤851。21 and 22 are flowcharts of program segments executed each time a paging signal 521 is received. As shown in Figure 21, the first step 751 of the program segment calculates the bit error rate. Step 751 is similar to step 351 in FIG. 10 . Step 752 following step 751 determines whether the bit error rate is large. When the bit error rate is larger, the program enters step 753 from step 752 . Otherwise, the program enters step 851 in FIG. 22 from step 752 .

步骤753等待一给定的时间间隔。跟随在步骤753之后的步骤754使CPU 724转入高速模式。跟在步骤754之后的步骤755关闭报文接收标志。报文接收标志以下简称为标志。在步骤755之后,程序进入步骤756。Step 753 waits for a given time interval. Step 754 following step 753 makes CPU 724 change over to high-speed mode. Step 755 following step 754 turns off the message reception flag. The packet reception flag is hereinafter referred to as the flag for short. After step 755, the program goes to step 756.

步骤756确定标志是否处于开启状态。当标志处于开启状态时,程序从步骤756进入步骤757。否则程序从步骤756进入758。步骤757确定传给有关无线报文接收机的报文是否位于当前块内。当传给有关无线信息接收机的报文位于当前块内时,程序从步骤757进入步骤758。否则程序从步骤757返回步骤756。Step 756 determines if the flag is on. When the flag is on, the program goes from step 756 to step 757. Otherwise, the program proceeds from step 756 to step 758. Step 757 determines whether the message for the associated wireless message receiver is located within the current block. When the message sent to the relevant wireless information receiver is located in the current block, the program proceeds from step 757 to step 758. Otherwise the program returns to step 756 from step 757.

步骤758读取一个块。跟随在步骤758之后的步骤759执行解交错处理。随步骤759之后的步骤760将变量P设定为“0”。变量P表示码字的阶数。在步骤760之后,程序进入步骤761。步骤761使数字P增1。接在步骤761后面的步骤762确定1块的数据处理是否完成。当1块的数据处理完成时,程序从步骤762返回至步骤756。否则,程序从步骤762进入步骤763。Step 758 reads a block. Step 759 following step 758 performs a de-interleaving process. Step 760 following step 759 sets variable P to "0". The variable P represents the order of the codeword. After step 760, the program goes to step 761. Step 761 increments the number P by one. Step 762 following step 761 determines whether data processing for 1 block is complete. When the data processing of 1 block is completed, the procedure returns from step 762 to step 756 . Otherwise, the program enters step 763 from step 762 .

步骤763确定标志是否处于关闭状态。当标志处于关闭状态时,程序从步骤763进入步骤764。否则程序从步骤763进入765。Step 763 determines if the flag is off. When the flag is in the off state, the program proceeds from step 763 to step 764. Otherwise, the program proceeds from step 763 to step 765.

步骤764取出阶数等于数字P的码字。跟随在步骤764之后的步骤766确定地址是否一致。当地址相互一致时,程序从步骤766进入步骤767。否则,程序从步骤766进入步骤768。步骤766与图14和15中的步骤442相似。步骤767使标志开启。在步骤767之后,程序返回步骤761。Step 764 fetches the codeword whose order is equal to the number P. Step 766 following step 764 determines whether the addresses match. When the addresses coincide with each other, the program proceeds from step 766 to step 767. Otherwise, the program proceeds from step 766 to step 768. Step 766 is similar to step 442 in FIGS. 14 and 15 . Step 767 turns the flag on. After step 767, the program returns to step 761.

步骤768确定是否检查过所有的地址信息。当所有的地址信息都被检查过后,程序从步骤768进入步骤769。否则,程序从步骤768返回步骤769。步骤769使接收部分的操作暂停。在步骤769之后,程序进入步骤770。步骤770使CPU 724处于低速运行模式。在步骤770之后,结束当前程序段的执行循环。Step 768 determines whether all address information has been checked. After all address information has been checked, program enters step 769 from step 768. Otherwise, the program returns to step 769 from step 768 . Step 769 suspends the operation of the receiving section. After step 769, the program goes to step 770. Step 770 puts the CPU 724 in a slow run mode. After step 770, the execution loop of the current program segment ends.

步骤765确定数字P是否等于传给有关无线报文接收机的报文码字。当数字P等于传给有关无线报文接收机的报文码字时,程序从步骤765进入步骤771。否则,程序从步骤765返回步骤761。Step 765 determines whether the number P is equal to the message code word passed to the associated wireless message receiver. From step 765, the program proceeds to step 771 when the number P is equal to the message code word sent to the relevant wireless message receiver. Otherwise, the program returns to step 761 from step 765 .

步骤771取出阶数为P的代码。跟随在步骤771之后的步骤772执行纠错操作。步骤772后面的步骤773保存该报文。跟随在步骤773之后的步骤774确定传给有关无线报文接收机的整个报文是否可用。当传给有关无线报文接收机的整个报文可用时,程序从步骤774进入步骤775。否则,程序从步骤774返回步骤761。Step 771 fetches codes with order P. Step 772 following step 771 performs error correction operations. Step 773 following step 772 saves the message. Step 774 following step 773 determines whether the entire message is available for delivery to the associated wireless message receiver. From step 774, the program proceeds to step 775 when the entire message delivered to the relevant wireless message receiver is available. Otherwise, the program returns to step 761 from step 774 .

步骤775关闭标志。跟随在步骤775之后的步骤776向外设输出信号。在步骤776之后,程序进入步骤770。Step 775 turns off the flag. Step 776 following step 775 outputs the signal to the peripheral. After step 776, the program goes to step 770.

图22中的步骤851关闭标志。在步骤851之后,程序进入步骤852。步骤852确定“n”比特是否可用。当“n”比特可用时,程序从步骤852进入步骤853。否则重复步骤852。Step 851 in Figure 22 turns off the flag. After step 851, the program goes to step 852. Step 852 determines if "n" bits are available. From step 852, the program proceeds to step 853 when "n" bits are available. Otherwise step 852 is repeated.

步骤853确定标志是否处于开启状态。当标志处于开启状态时,程序从步骤853进入步骤854。否则程序从步骤853进入855。步骤854确定传给有关无线报文接收机的报文是否位于当前块内。当传给有关无线报文接收机的报文位于当前块内时,程序从步骤854进入步骤855。否则程序从步骤854返回步骤852。Step 853 determines if the flag is on. When the flag is on, the program goes from step 853 to step 854. Otherwise, the program proceeds from step 853 to 855 . Step 854 determines if the message for the associated wireless message receiver is located within the current block. From step 854, the program proceeds to step 855 when the message sent to the relevant wireless message receiver is within the current block. Otherwise the program returns to step 852 from step 854 .

步骤855读取“n”个比特。跟随在步骤855之后的步骤856确定块是否已经读取过。当块被读取过后,程序从步骤856进入步骤857。否则程序从步骤856返回步骤852。Step 855 reads "n" bits. Step 856 following step 855 determines whether the block has already been read. After the block has been read, the program proceeds from step 856 to step 857. Otherwise the program returns to step 852 from step 856 .

步骤857使CPU 724进入高速运行模式。跟随在步骤857之后的步骤858执行解交错处理。步骤858后面的步骤859将变量P设定为“0”。变量P表示码字的阶数。在步骤859之后,程序进入步骤860。步骤860使数字P增1。接在步骤860后面的步骤861确定1块的数据处理是否完成。当块1的数据处理完成时,程序从步骤861进入至步骤862。否则,程序从步骤861进入步骤863。Step 857 makes CPU 724 enter high-speed operation mode. Step 858 following step 857 performs a de-interleaving process. Step 859 following step 858 sets variable P to "0". The variable P represents the order of the codeword. After step 859, the program goes to step 860. Step 860 increments the number P by one. Step 861 following step 860 determines whether data processing for 1 block is complete. When the data processing of block 1 is completed, the program proceeds from step 861 to step 862 . Otherwise, the program enters step 863 from step 861 .

步骤862使CPU 724进入低速运行模式。在步骤862之后,程序返回步骤852。步骤863确定标志是否关闭。当标志关闭时,程序从步骤863进入步骤864。否则,程序从步骤863进入步骤865。Step 862 causes CPU 724 to enter a low-speed operating mode. After step 862, the program returns to step 852. Step 863 determines if the flag is off. When the flag is turned off, the program proceeds from step 863 to step 864. Otherwise, the program enters step 865 from step 863 .

步骤864取出阶数为P的代码。跟随在步骤864之后的步骤866确定地址是否一致。当地址相互一致时,程序从步骤866进入步骤867。否则,程序从步骤866进入步骤868。步骤866与图14和15中的步骤442相似。步骤867使标志开启。在步骤867之后,程序返回步骤860。Step 864 fetches the order P code. Step 866 following step 864 determines whether the addresses match. When the addresses coincide with each other, the program proceeds from step 866 to step 867. Otherwise, the program proceeds from step 866 to step 868. Step 866 is similar to step 442 in FIGS. 14 and 15 . Step 867 turns the flag on. After step 867, the program returns to step 860.

步骤868确定是否检查过所有的地址信息。当所有的地址信息都被检查过后,程序从步骤868进入步骤869。否则,程序从步骤868返回步骤860。步骤869使接收部分的操作暂停。在步骤869之后,程序进入步骤870。步骤870使CPU 724处于低速运行模式。在步骤870之后,结束当前程序段的执行循环。Step 868 determines whether all address information has been checked. After all address information has been checked, program enters step 869 from step 868. Otherwise, the program returns to step 860 from step 868 . Step 869 suspends the operation of the receiving section. After step 869, the program goes to step 870. Step 870 puts the CPU 724 in a slow run mode. After step 870, the execution loop of the current program segment ends.

步骤865确定数字P是否等于传给有关无线报文接收机的报文码字。当数字P等于传给有关无线报文接收机的报文码字时,程序从步骤865进入步骤871。否则,程序从步骤865返回步骤860。Step 865 determines whether the number P is equal to the message code word passed to the associated wireless message receiver. From step 865, the program proceeds to step 871 when the number P is equal to the message code word sent to the associated wireless message receiver. Otherwise, the program returns to step 860 from step 865 .

步骤871取出阶数为P的代码。跟随在步骤871之后的步骤872执行纠错操作。步骤872后面的步骤873保存该报文。跟随在步骤873之后的步骤874确定传给有关无线报文接收机的整个报文是否可用。当传给有关无线报文接收机的整个报文可用时,程序从步骤874进入步骤875。否则,程序从步骤874返回步骤860。Step 871 fetches codes with order P. Step 872 following step 871 performs error correction operations. Step 873 following step 872 saves the message. Step 874 following step 873 determines whether the entire message is available for delivery to the associated wireless message receiver. From step 874, the program proceeds to step 875 when the entire message to the relevant wireless message receiver is available. Otherwise, the program returns to step 860 from step 874 .

步骤875关闭标志。跟随在步骤875之后的步骤876向外设输出信号。在步骤876之后,结束当前程序段的执行循环。Step 875 turns off the flag. Step 876 following step 875 outputs the signal to the peripheral. After step 876, the execution cycle of the current program segment is ended.

本实施例的优势在于能快速恢复完整的报文信息。该实施例具有如下的优点。如果误码率较高,则CPU可以在接收期间不运行以最大限度地降低对接收过程的影响(噪声),从而获得较好的接收灵敏度。如果误码率较低,则接收的数据在接收期间由CPU顺序处理,并且根据结构分析所产生的信息只处理必要的数据,从而缩短了处理时间并减少了电力消耗。还有一个优点是有可能实现这两个相互促进的性能。该实施例的优点与第三实施例的相似。The advantage of this embodiment is that complete message information can be quickly restored. This embodiment has the following advantages. If the bit error rate is high, the CPU may not run during reception to minimize the impact (noise) on the reception process, resulting in better reception sensitivity. If the bit error rate is low, the received data is sequentially processed by the CPU during reception, and only necessary data is processed based on the information generated by the structure analysis, thereby shortening the processing time and reducing power consumption. Yet another advantage is that it is possible to achieve these two mutually reinforcing properties. The advantages of this embodiment are similar to those of the third embodiment.

Claims (1)

1. message receiving system is characterized in that it comprises:
Radio paging signal is demodulated into first device of baseband signal;
Baseband signal is decoded as second device of corresponding data;
Alternately carry out the CPU of this data processing and other operations;
Produce first clock generator of first clock signal;
Produce the second clock generator of second clock signal, the frequency of first clock signal is higher than the frequency of second clock signal;
CPU responds the 3rd device of first clock enabling signal CPU action when carrying out described data processing;
Response second clock signal made the 4th device of CPU action when CPU carried out described other operation;
Be that unit is when CPU has the error correcting capability of α bit when staggered with m bits/words * n word wherein when data, CPU by first clock start signal receives α data unit, and this α data unit is being stored in buffer is handled m * n bit in the time interval data block.
CN97102293A 1997-01-17 1997-01-17 Message receiver Expired - Fee Related CN1126378C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN97102293A CN1126378C (en) 1997-01-17 1997-01-17 Message receiver

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN97102293A CN1126378C (en) 1997-01-17 1997-01-17 Message receiver

Publications (2)

Publication Number Publication Date
CN1188380A CN1188380A (en) 1998-07-22
CN1126378C true CN1126378C (en) 2003-10-29

Family

ID=5166230

Family Applications (1)

Application Number Title Priority Date Filing Date
CN97102293A Expired - Fee Related CN1126378C (en) 1997-01-17 1997-01-17 Message receiver

Country Status (1)

Country Link
CN (1) CN1126378C (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103684655B (en) * 2012-08-31 2017-03-15 展讯通信(天津)有限公司 Decoding calibration equipment and method, code translator and method and receiving terminal

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5142699A (en) * 1988-07-15 1992-08-25 Nec Corporation Radio receiver with clock signal controlled to improve the signal to noise ratio
WO1994001841A1 (en) * 1992-07-02 1994-01-20 Motorola, Inc. Power conservation method and apparatus for a data communication receiver
US5459456A (en) * 1993-09-13 1995-10-17 Motorola, Inc. Method and apparatus for selectively forwarding messages received by a radio receiver to an external device
CN1139866A (en) * 1994-12-02 1997-01-08 株式会社日立制作所 Radio paging system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5142699A (en) * 1988-07-15 1992-08-25 Nec Corporation Radio receiver with clock signal controlled to improve the signal to noise ratio
WO1994001841A1 (en) * 1992-07-02 1994-01-20 Motorola, Inc. Power conservation method and apparatus for a data communication receiver
US5459456A (en) * 1993-09-13 1995-10-17 Motorola, Inc. Method and apparatus for selectively forwarding messages received by a radio receiver to an external device
CN1139866A (en) * 1994-12-02 1997-01-08 株式会社日立制作所 Radio paging system

Also Published As

Publication number Publication date
CN1188380A (en) 1998-07-22

Similar Documents

Publication Publication Date Title
CN1097923C (en) Wireless receiving system
CN1066900C (en) Method and apparatus for operating a radiotelephone in an extended stand-by mode of operation for conserving battery power
CN1099797C (en) Data transmitting method, data transmitting system, transmitter and receiver
CN1207860C (en) Data sequences generator, transmitter, information data decorder, receiver, transceiver, data sequence generating method, information data decoding method, and recording medium
CN1836446A (en) Robust error correction encoding/decoding apparatus and method for digital dual-stream broadcast reception/transmission systems
CN1055586C (en) Error correcting decoder and error correction decoding method
CN1129253C (en) Mobile telephone system and position diversity receiving method
CN1381112A (en) Multi-carrier communication apparatus and multi-carrier communication method
CN1143474C (en) Data communication method and data communication apparatus
CN1806229A (en) Conflict management program, storage medium for conflict management program storage, conflict management method, and electronic apparatus
CN1245310A (en) Error correcting encoding set
CN1333961A (en) Methods and systems for coding of broadcast messages
CN1422095A (en) Information terminal apparatus
CN1118540A (en) Error correction device and method thereof
CN1223515A (en) Rate changeable communication system and receiving/transmitting device adated to said system
CN1638309A (en) Data transmission-reception system, method and terminal to avoid a competition in transmitting data
CN1437341A (en) Multiplexing/decoding method and equipment, mobile station and base station equipment and communication system
CN101040535A (en) Two step arithmetic decoding with conversion into an intermediate format
CN1126378C (en) Message receiver
CN1318242A (en) Data transfer control device and electronic appts.
CN1411156A (en) Electronic equipment and mobile wireless terminal apparatus
CN1143485C (en) packet filter
CN1149534C (en) Audio decoding device and audio decoding method
CN1164050C (en) voice decoding device
CN1791223A (en) Self-adaptive two-dimensional variable length decoding method and device based on context

Legal Events

Date Code Title Description
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C06 Publication
PB01 Publication
C14 Grant of patent or utility model
GR01 Patent grant
C19 Lapse of patent right due to non-payment of the annual fee
CF01 Termination of patent right due to non-payment of annual fee