CN109936841B - Message processing method and device - Google Patents

Message processing method and device Download PDF

Info

Publication number
CN109936841B
CN109936841B CN201910243379.1A CN201910243379A CN109936841B CN 109936841 B CN109936841 B CN 109936841B CN 201910243379 A CN201910243379 A CN 201910243379A CN 109936841 B CN109936841 B CN 109936841B
Authority
CN
China
Prior art keywords
message
base station
terminal
processed
sent
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.)
Active
Application number
CN201910243379.1A
Other languages
Chinese (zh)
Other versions
CN109936841A (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.)
New H3C Information Technologies Co Ltd
Original Assignee
New H3C Technologies 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 New H3C Technologies Co Ltd filed Critical New H3C Technologies Co Ltd
Priority to CN201910243379.1A priority Critical patent/CN109936841B/en
Publication of CN109936841A publication Critical patent/CN109936841A/en
Application granted granted Critical
Publication of CN109936841B publication Critical patent/CN109936841B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the application provides a message processing method and a message processing device, wherein a base station controller in a Radio Frequency Identification (RFID) network can acquire a message to be processed which needs to be issued to a terminal, determine a first base station to which the terminal is currently accessed according to a received heartbeat message sent by the terminal, and send the message to be processed to the first base station, and the first base station can send the message to be processed to the terminal. Based on the above processing, the base station controller only sends the message to be processed to the base station to which the terminal is currently accessed, and compared with the prior art in which the base station controller sends the message to be processed in a broadcast manner, the method can reduce useless messages in the networking and reduce the influence on the network performance.

Description

Message processing method and device
Technical Field
The present application relates to the field of wireless communication technologies, and in particular, to a message processing method and apparatus.
Background
With the rapid development of the RFID (Radio Frequency Identification) technology, active RFID is widely used in different scenes. In general, a communication network applying RFID technology may include: the base station controller can be connected with a plurality of base stations, each base station can be connected with a plurality of terminals, and data transmission can be carried out between the base station controller and the terminals through the base stations.
In the prior art, since the active RFID protocol is generally a private protocol, when the base station controller needs to send a message to the terminal, the base station controller may broadcast the message to be processed to all base stations connected to the base station controller. The base station receiving the message to be processed can broadcast and send the message to be processed to all terminals connected with the base station, so that the terminals can receive the message to be processed.
Therefore, in the prior art, when the base station controller issues a message to a certain terminal, more useless messages exist in networking, and the performance of the network is affected.
Disclosure of Invention
The embodiments of the present application aim to provide a message processing method and apparatus, which can reduce useless messages in a networking and reduce the influence on network performance. The specific technical scheme is as follows:
in a first aspect, to achieve the above object, an embodiment of the present application discloses a message processing method, where the method is applied to a base station controller in an RFID network, and the method includes:
acquiring a message to be processed which needs to be issued to a terminal;
determining a first base station currently accessed by the terminal according to the received heartbeat message sent by the terminal;
and sending the message to be processed to the first base station so that the first base station sends the message to be processed to the terminal.
Optionally, after obtaining the message to be processed, which needs to be sent to the terminal, the method further includes:
judging whether a message forwarding table entry of the terminal exists in a message forwarding table, wherein the message forwarding table entry of the terminal comprises an identifier of the terminal and an identifier of a base station accessed by the terminal;
and if the message forwarding table entry of the terminal exists, when a heartbeat message sent by the terminal is received, executing a step of determining a first base station currently accessed by the terminal.
Optionally, the message forwarding table entry of the terminal further includes an identifier of the message to be processed and a delivery state of the message to be processed, where the delivery state of the message to be processed is not delivered or delivered;
after the sending of the pending message to the first base station, the method further comprises:
setting the issuing state of the message to be processed as issued;
starting a timer corresponding to the message to be processed;
if the heartbeat message sent by the terminal is received again before the timer is overtime, judging whether a second base station currently accessed by the terminal is the same base station as the first base station or not;
and if the second base station and the first base station are not the same base station, deleting the timer and sending the message to be processed to the second base station so that the second base station sends the message to be processed to the terminal.
Optionally, the method further includes:
and if the timer is overtime, the heartbeat message sent by the terminal is not received again, and the identifier of the message to be processed is deleted from the message forwarding table entry of the terminal.
Optionally, the method further includes:
judging whether a confirmation message sent by the terminal is received before the timer is overtime;
if the timer is overtime and the confirmation message is not received, deleting the identifier of the message to be processed from the message forwarding table entry of the terminal;
deleting the timer if the acknowledgement message is received before the timer expires.
In a second aspect, to achieve the above object, an embodiment of the present application discloses a message processing method, where the method is applied to a terminal in an RFID network, and the method includes:
receiving a message to be processed sent by a base station to which the terminal is currently accessed, wherein the message to be processed is a message sent to the base station by a base station controller under the condition that the base station is determined to be the base station to which the terminal is currently accessed according to a heartbeat message sent by the terminal;
and sending an acknowledgement message to the base station so that the base station forwards the acknowledgement message to the base station controller, wherein the acknowledgement message is used for informing the base station controller that the terminal receives the message to be processed.
In a third aspect, in order to achieve the above object, an embodiment of the present application discloses a message processing apparatus, where the apparatus is applied to a base station controller in an RFID network, and the apparatus includes:
the acquisition module is used for acquiring a message to be processed which needs to be issued to the terminal;
the determining module is used for determining a first base station currently accessed by the terminal according to the received heartbeat message sent by the terminal;
a sending module, configured to send the message to be processed to the first base station, so that the first base station sends the message to be processed to the terminal.
Optionally, the apparatus further comprises:
a first processing module, configured to determine whether a message forwarding table of the terminal exists in a message forwarding table, where the message forwarding table of the terminal includes an identifier of the terminal and an identifier of a base station to which the terminal is connected;
and if the message forwarding table entry of the terminal exists, when a heartbeat message sent by the terminal is received, executing a step of determining a first base station currently accessed by the terminal.
Optionally, the message forwarding table entry of the terminal further includes an identifier of the message to be processed and a delivery status of the message to be processed, where the delivery status of the message to be processed is not delivered or delivered;
the device further comprises:
the second processing module is used for setting the issuing state of the message to be processed as issued;
starting a timer corresponding to the message to be processed;
if the heartbeat message sent by the terminal is received again before the timer is overtime, judging whether a second base station currently accessed by the terminal is the same base station as the first base station or not;
and if the second base station is not the same as the first base station, deleting the timer and sending the message to be processed to the second base station so that the second base station sends the message to be processed to the terminal.
Optionally, the second processing module is further configured to delete the identifier of the message to be processed from the message forwarding table entry of the terminal if the timer expires and the heartbeat message sent by the terminal is not received again.
Optionally, the apparatus further comprises:
the third processing module is used for judging whether a confirmation message sent by the terminal is received before the timer is overtime;
if the timer is overtime and the confirmation message is not received yet, deleting the identifier of the message to be processed from the message forwarding table entry of the terminal;
deleting the timer if the acknowledgement message is received before the timer expires.
In a fourth aspect, in order to achieve the above object, an embodiment of the present application discloses a message processing apparatus, where the apparatus is applied to a terminal in an RFID network, and the apparatus includes:
a receiving module, configured to receive a to-be-processed message sent by a base station to which the terminal is currently accessed, where the to-be-processed message is a message sent to a base station by a base station controller when the base station is determined to be the base station to which the terminal is currently accessed according to a heartbeat message sent by the terminal;
a sending module, configured to send an acknowledgement message to the base station, so that the base station forwards the acknowledgement message to the base station controller, where the acknowledgement message is used to notify the base station controller that the terminal receives the to-be-processed message.
In a fifth aspect, in order to achieve the above object, an embodiment of the present application discloses a base station controller, which includes a processor, a communication interface, a memory, and a communication bus, where the processor and the communication interface are used, and the memory completes communication with each other through the communication bus;
a memory for storing a computer program;
a processor for implementing the method steps of any of the first aspect when executing a program stored in the memory.
In a sixth aspect, in order to achieve the above object, an embodiment of the present application discloses an electronic device, including a processor, a communication interface, a memory, and a communication bus, where the processor, the communication interface, and the memory complete communication with each other through the communication bus;
a memory for storing a computer program;
a processor configured to implement the method steps of any one of the second aspect when executing the program stored in the memory.
In a seventh aspect, there is provided a machine-readable storage medium storing machine-executable instructions that, when invoked and executed by a processor, cause the processor to: implementing the method steps of any of the first aspect.
In an eighth aspect, there is provided a computer program product comprising instructions which, when run on a computer, cause the computer to perform any of the method steps of the first aspect described above.
The embodiment of the application provides a message processing method, wherein a base station controller can acquire a message to be processed which needs to be issued to a terminal, determine a first base station to which the terminal is currently accessed according to a received heartbeat message sent by the terminal, and send the message to be processed to the first base station, and the first base station can send the message to be processed to the terminal. Based on the above processing, the base station controller only sends the message to be processed to the base station to which the terminal is currently accessed, and compared with the prior art in which the base station controller sends the message to be processed in a broadcast manner, the method can reduce useless messages in the networking and reduce the influence on the network performance.
Of course, not all of the above advantages need be achieved in the practice of any one product or method of the present application.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the embodiments or the prior art descriptions will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is a framework diagram of a networking architecture according to an embodiment of the present application;
fig. 2 is a flowchart of a message processing method according to an embodiment of the present application;
fig. 3 is a flowchart of a message processing method according to an embodiment of the present application;
fig. 4 is a flowchart of a message processing method according to an embodiment of the present application;
fig. 5 is a flowchart of an example of a message processing method according to an embodiment of the present application;
fig. 6 is a flowchart of an example of a message processing method according to an embodiment of the present application;
fig. 7 is a block diagram of a message processing apparatus according to an embodiment of the present application;
fig. 8 is a block diagram of a message processing apparatus according to an embodiment of the present application;
fig. 9 is a block diagram of a base station controller according to an embodiment of the present application;
fig. 10 is a block diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described clearly and completely with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only some embodiments of the present application, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Referring to fig. 1, fig. 1 is a framework diagram of a networking architecture provided in an embodiment of the present application, where networking may include: base station controller, base station 1, base station 2, terminal 1, terminal 2, terminal 3 and terminal 4. Wherein, base station 1 and base station 2 access base station controller, terminal 1 and terminal 2 access base station 1, terminal 3 and terminal 4 access base station 2. Each base station in fig. 1 may be an RFID base station, and each terminal may be an RFID terminal.
In the related art, when the base station controller needs to issue a message (i.e., a to-be-processed message) to the terminal 1, the base station controller may broadcast the to-be-processed message to the base stations 1 and 2. The base station 1 can send the message to be processed to the terminal 1 and the terminal 2 in a broadcast manner, and the base station 2 can send the message to be processed to the terminal 3 and the terminal 4 in a broadcast manner, so that the terminal 1 can receive the message to be processed.
In the above processing process, the base station controller and each base station all send messages in a broadcast manner, and the base station controller only needs to send messages to the terminal 1, that is, more useless messages exist in networking, which further affects the performance of the network.
In order to solve the above problem, an embodiment of the present application provides a message processing method, where a base station controller may obtain a to-be-processed message that needs to be sent to a terminal 1, and determine a base station (that is, a base station 1) to which the terminal 1 is currently accessed according to a received heartbeat message sent by the terminal 1, and then the base station controller may send the to-be-processed message to the base station 1. After the base station 1 receives the message to be processed, the base station 1 may send the message to be processed to the terminal 1.
Based on the above processing, the base station controller only sends the message to be processed to the base station 1 currently accessed by the terminal 1, but not sends the message to be processed to all the base stations, and then only the base station 1 sends the message to be processed to the accessed terminal, so that in sum, useless messages in the networking can be reduced, and the influence on the network performance is reduced.
Referring to fig. 2, fig. 2 is a flowchart of a message processing method provided in an embodiment of the present application, where the method may be applied to a base station controller in an RFID network, and the method may include the following steps:
s201: and acquiring a message to be processed which needs to be issued to the terminal.
The terminal (which may be referred to as a target terminal) may be an electronic device supporting RFID, for example, an RFID-supported sports bracelet, an RFID-supported electronic watch, or the like, and the target terminal may access a base station managed by a base station controller.
In the embodiment of the application, when a user needs to issue a message (i.e., a to-be-processed message) to a target terminal, the user may input the to-be-processed message to a base station controller through an input device of the base station controller, and accordingly, the base station controller may obtain the to-be-processed message that needs to be issued to the target terminal.
In addition, when the user inputs the message to be processed to the base station controller, the user can also input the identification of the target terminal to the base station controller. The base station controller can obtain the identification of the target terminal and determine the target terminal for receiving the message to be processed according to the identification of the target terminal. The identifier of the target terminal may be a Media Access Control (MAC) address of the target terminal or other identifiers used for distinguishing the target terminal.
S202: and determining a first base station currently accessed by the terminal according to the received heartbeat message sent by the terminal.
In the RFID network, a target terminal may periodically send a heartbeat packet to a base station controller, where the heartbeat packet may carry physical location information of the target terminal. Correspondingly, the base station controller can determine the current physical position of the target terminal according to the heartbeat message sent by the target terminal.
In the embodiment of the present application, the base station controller may determine, according to the heartbeat message sent by the target terminal, a base station (denoted as a first base station in this embodiment) to which the target terminal is currently accessed, where the first base station is a base station that currently forwards the heartbeat message of the target terminal.
In one implementation, if the base station controller has received the heartbeat message sent by the target terminal before the base station controller obtains the message to be processed, the base station controller may determine the first base station according to the received heartbeat message.
In another mode, after the base station controller obtains the message to be processed, if the base station controller receives a heartbeat message sent by the target terminal, the base station controller may determine the first base station according to the currently received heartbeat message.
S203: and sending the message to be processed to the first base station so that the first base station sends the message to be processed to the terminal.
In the embodiment of the present application, after determining the first base station to which the target terminal is currently accessed, the base station controller may send a message to be processed to the first base station. After the first base station receives the message to be processed, the first base station may send the message to be processed to the target terminal. The first base station may broadcast and send the pending message, and since the target terminal is currently accessed to the first base station, the target terminal may receive the pending message broadcast and sent by the first base station.
According to the mechanism of receiving and sending messages by the RFID chip, the target terminal configured with the RFID chip sends and receives messages alternately, and cannot receive and send messages simultaneously, that is, the target terminal can receive messages sent by the base station controller only within a preset time after the target terminal sends heartbeat messages to the base station controller, wherein the preset time is usually microsecond level. After the target terminal sends the heartbeat message to the base station controller, when the preset time length is exceeded, the target terminal enters a message sending state at the moment, only the message can be sent outwards at the moment, so that the message sent by the base station controller cannot be received, and the target terminal can not receive the message sent by the base station controller until the preset time length after the target terminal sends the heartbeat message to the base station controller again.
Therefore, the base station controller can send the message to be processed to the target terminal when receiving the heartbeat message sent by the target terminal, so as to improve the success rate of receiving the message to be processed by the target terminal.
In one implementation, when the base station controller obtains the message to be processed, the base station controller may temporarily not send the message to be processed. After the base station controller obtains the message to be processed, when the base station controller receives the heartbeat message sent by the target terminal, the base station controller may use the base station that forwards the heartbeat message this time as a first base station to which the target terminal is currently accessed, and then the base station controller may send the message to be processed to the first base station. The first base station can send the message to be processed to the target terminal, so that the target terminal can receive the message to be processed within a preset time length after the heartbeat message is sent to the base station controller.
Therefore, the base station controller can trigger to send the message to be processed to the target terminal when receiving the heartbeat message sent by the target terminal, so that the situation that the target terminal cannot obtain the message to be processed can be avoided to a certain extent, and the success rate of obtaining the message to be processed by the target terminal is improved.
Optionally, a message forwarding table may also be maintained in the base station controller, and the base station controller may determine whether to issue the message to be processed according to the message forwarding table, referring to fig. 3, after S201, the method may further include the following steps:
s204: and judging whether a message forwarding table entry of the terminal exists in the message forwarding table, and if so, executing S202.
The base station controller may generate a message forwarding table entry of each terminal according to the heartbeat message sent by each terminal, where the message forwarding table entry may include: the identifier of the terminal and the identifier of the base station to which the terminal accesses, for example, the message forwarding table entry generated by the base station controller may be referred to in table (1).
Watch (1)
Identification of terminal Identification of base station
Terminal 1 Base station 1
Terminal 3 Base station 2
The identifier of the base station may be a MAC address of the base station or other identifiers used for distinguishing different base stations. When the base station controller receives the heartbeat message sent by the terminal 1 through the base station 1, the base station controller can determine that the terminal 1 is currently accessed to the base station 1; when the base station controller receives the heartbeat message sent by the terminal 3 through the base station 2, the base station controller may determine that the terminal 3 is currently accessed to the base station 2, and may further obtain the message forwarding table entry shown in the table (1).
In addition, as the terminal moves, the physical location of the terminal may change, and the base station to which the terminal accesses may also change, so that the base station controller may update the message forwarding table entry of the terminal according to the latest heartbeat message sent by the terminal.
In order to reduce the useless message forwarding table entry in the base station controller, the message forwarding table can also record a time stamp and an aging duration, and the base station controller can update the message forwarding table according to the time stamp and the aging duration.
For a message forwarding table entry of a certain terminal, a timestamp in the message forwarding table entry is used to indicate a time when the base station controller receives a latest heartbeat message sent by the terminal, and the base station controller may update the timestamp in the message forwarding table entry each time the base station controller receives the heartbeat message sent by the terminal.
With the movement of the terminal, the terminal may not be in the network service range managed by the base station controller, and the terminal may not be able to send the heartbeat message to the base station controller, so that when the time length from the last time when the heartbeat message received by the terminal reaches the aging time length, if the base station controller does not receive the heartbeat message sent by the terminal again, the base station controller may delete the message forwarding table entry of the terminal.
In an implementation manner, on the basis of the embodiment corresponding to the table (1), the message forwarding table entry may further include: the time stamp and the aging duration, for example, can be seen in table (2).
Watch (2)
Identification of terminal Identification of base station Time stamp At the time of agingIs long and long
Terminal 1 Base station 1 T1 S1
Terminal 3 Base station 2 T2 S2
For table (2), the time that the base station controller last receives the heartbeat message sent by the terminal 1 is T1, timing is started from T1, and when the timing duration reaches the aging duration S1, if the base station controller does not receive the heartbeat message sent by the terminal 1 again, that is, the terminal 1 may not be currently in the network service range managed by the base station controller, the base station controller may delete the message forwarding table entry of the terminal 1.
Therefore, after the base station controller obtains the message to be processed which needs to be issued to the target terminal, the base station controller can judge whether the message forwarding table item of the target terminal exists in the message forwarding table, and carry out subsequent processing according to the judgment result.
In the embodiment of the application, if the base station controller determines that the message forwarding table entry of the target terminal exists in the message forwarding table, the base station controller may determine a first base station to which the target terminal is currently accessed when receiving a heartbeat message sent by the target terminal, and send the message to be processed to the first base station, and correspondingly, the first base station may send the message to be processed to the target terminal.
In this step, the base station controller determines that the message forwarding table entry of the target terminal exists in the message forwarding table, that is, the target terminal is still in the network service range managed by the base station controller currently, so that the base station controller can directly send the message to be processed to the first base station.
In addition, if the base station controller determines that the message forwarding table entry of the target terminal does not exist in the message forwarding table, that is, the target terminal is not currently within the network service range managed by the base station controller, at this time, the base station controller cannot issue the message to be processed to the target terminal.
Correspondingly, referring to fig. 3, if it is determined in step S204 that the message forwarding table entry of the terminal does not exist in the message forwarding table, the method may further include the following steps:
s205: and confirming that the message to be processed cannot be issued to the terminal currently.
In one implementation, when the base station controller determines that the message forwarding table entry of the target terminal does not exist in the message forwarding table, the base station controller may determine that the message to be processed cannot be currently issued to the target terminal. For example, the base station controller may display a message "pending message cannot be issued to the target terminal at present" in the display section.
Optionally, in order to improve the success rate of the target terminal receiving the message to be processed, the message forwarding table entry of the target terminal may further include an identifier of the message to be processed and a delivery state of the message to be processed, where the delivery state of the message to be processed is not delivered or has been delivered. After S203, the method may further include the steps of:
step one, setting the issuing state of the message to be processed as issued.
In an implementation manner, on the basis of the embodiments corresponding to the table (1) and/or the table (2), the message forwarding table entry may further include: for example, see table (3), the identifier of the message to be processed and the delivery status of the message to be processed.
Watch (3)
Identification of terminal Identification of base station Time stamp Length of aging Pending messages Issuing status
Terminal 1 Base station 1 T1 S1 Message to be processed 1 Is not sent down
Terminal 3 Base station 2 T2 S2 Pending message 2 Has already sent down
For the table (3), when the base station controller obtains the message 1 to be processed that needs to be sent to the terminal 1, the base station controller may record the identifier of the message 1 to be processed in the message forwarding table entry of the terminal 1.
When the base station controller obtains the message 2 to be processed that needs to be sent to the terminal 3, the base station controller may record the identifier of the message 2 to be processed in the message forwarding table entry of the terminal 3.
In addition, when the base station controller obtains the message 1 to be processed that needs to be delivered to the terminal 1, the base station controller may determine that the delivery status corresponding to both the terminal 1 and the message 1 to be processed is "not delivered". When the base station controller sends the message 1 to be processed to the base station 1, the base station controller may modify the delivery status corresponding to both the terminal 1 and the message 1 to be processed into "delivered".
Therefore, after the base station controller sends the message to be processed to the first base station, the base station controller may set the down status in the message forwarding table entry of the target terminal to "down".
And step two, starting a timer corresponding to the message to be processed.
The timer may have a preset timing length. After the timer is started, when the timing length is exceeded, the timer is timed out, and the timing length can be set by a technician according to experience. The base station controller can time the waiting process of the issuing result of the message to be processed by the timer.
In the embodiment of the present application, after the base station controller sends the pending message to the first base station, the base station controller may further start a timer corresponding to the pending message.
And step three, if the heartbeat message sent by the terminal is received again before the timer is overtime, judging whether the second base station and the first base station which are accessed by the terminal currently are the same base station or not.
In the embodiment of the application, when a first base station broadcasts and sends a message to be processed, the physical location of a target terminal may change along with the movement of the target terminal, and the target terminal may access another base station. Correspondingly, the target terminal can also send the heartbeat message to the base station controller through another base station.
Based on this, after the base station controller starts the timer corresponding to the message to be processed, if the base station controller receives the heartbeat message sent by the target terminal again before the timer expires, the base station controller may determine whether the base station (denoted as the second base station in this embodiment) currently accessed by the target terminal and the first base station are the same base station.
And step four, if the second base station is not the same as the first base station, deleting the timer and sending the message to be processed to the second base station so that the second base station sends the message to be processed to the terminal.
In the embodiment of the present application, when the base station controller determines that the second base station is not the same as the first base station, the base station controller may delete the current timer and send the message to be processed to the second base station. Accordingly, the second base station may send the pending message to the target terminal. After the base station controller sends the message to be processed to the second base station, the base station controller may also reset the timer corresponding to the message to be processed, so as to retime the waiting process of the result of the transmission of the message to be processed.
In this step, when the base station controller determines that the second base station is not the same as the first base station, the base station controller may determine that the target terminal moves into a network service range of another base station, that is, the target terminal may not receive the message to be processed sent by the first base station, and therefore, the base station controller may send the message to be processed to the base station (i.e., the second base station) to which the target terminal is currently accessed again. The second base station may forward the message to be processed to the target terminal, so as to improve the success rate of receiving the message to be processed by the target terminal.
In addition, when the first base station broadcasts and sends the message to be processed, the target terminal may not receive the message to be processed sent by the first base station along with the movement of the target terminal, and meanwhile, the target terminal may not send the heartbeat message to the base station controller.
Therefore, after the base station controller starts the timer, the base station controller may further determine whether the heartbeat packet sent by the target terminal is received again, and perform corresponding processing, where the method may further include the following steps:
if the timer is overtime, the heartbeat message sent by the terminal is not received again, and the identifier of the message to be processed is deleted from the message forwarding table entry of the terminal.
In the embodiment of the present application, after the base station controller sends the to-be-processed message to the base station to which the target terminal is currently accessed, and starts the timer, if the timer has timed out, the base station controller still does not receive the heartbeat message sent by the target terminal again, that is, the base station controller does not receive the heartbeat message sent by the target terminal again from the start of the timer corresponding to the to-be-processed message to the time period when the timer is timed out, and then the base station controller may delete the identifier of the to-be-processed message from the message forwarding table entry of the target terminal.
In this step, when the base station sends the message to be processed to the target terminal, since the target terminal moves, the target terminal may not receive the message to be processed, and may not send the heartbeat message to the base station controller, therefore, if the timer has timed out, the base station controller still does not receive the heartbeat message sent by the target terminal again, the base station controller may determine that the message to be processed fails to be issued, and delete the identifier of the message to be processed from the message forwarding table entry of the target terminal.
Optionally, the base station controller may further determine, according to the confirmation message sent by the target terminal, whether the target terminal successfully receives the message to be processed, and after the base station controller starts the timer, the method may further include the following steps:
step one, judging whether a confirmation message sent by a terminal is received before a timer is overtime.
In the embodiment of the present application, after the base station sends the message to be processed to the target terminal, if the target terminal receives the message to be processed, the target terminal may send an ACK (acknowledgement) message to the base station controller through the base station. Therefore, the base station controller can judge whether the confirmation message sent by the target terminal is received before the timer is overtime, so as to carry out subsequent processing according to the judgment result.
Step two: and if the timer is overtime and the confirmation message is not received, deleting the identifier of the message to be processed from the message forwarding table entry of the terminal.
In the embodiment of the present application, if the timer has timed out and the base station controller has not received the acknowledgement message sent by the target terminal, the base station controller may delete the identifier of the message to be processed from the message forwarding table entry of the target terminal.
In one implementation, if the timer has timed out and the base station controller does not receive the acknowledgement message, the base station controller may determine that the target terminal does not receive the message to be processed, that is, the base station controller determines that the transmission of the message to be processed to the target terminal fails, and further, the base station controller may delete the identifier of the message to be processed from the message forwarding table entry of the target terminal.
In addition, when the base station controller confirms that the message to be processed is failed to be sent to the target terminal, the base station controller can also record the failure of sending the message to be processed to the target terminal in a message forwarding table entry corresponding to the target terminal and the message to be processed.
Alternatively, when the base station controller confirms that the delivery of the pending message to the target terminal has failed, the base station controller may display a message of "failure to deliver the pending message to the target terminal" in the display section.
Step three: if an acknowledgement message is received before the timer times out, the timer is deleted.
In the embodiment of the present application, if the base station controller receives the confirmation message sent by the target terminal before the timer expires, the base station controller may delete the timer corresponding to the message to be processed.
In one implementation, if the base station controller receives the acknowledgment message before the timer expires, the base station controller may determine that the target terminal receives the message to be processed, that is, the base station controller acknowledges that the message to be processed is successfully delivered to the target terminal, and further, the base station controller may delete the timer corresponding to the message to be processed.
In addition, when the base station controller confirms that the message to be processed is successfully sent to the target terminal, the base station controller can also record that the message to be processed is successfully sent to the target terminal in a message forwarding table entry corresponding to the target terminal and the message to be processed.
Alternatively, when the base station controller confirms that the transmission of the message to be processed to the target terminal is successful, the base station controller may display a message of "successful transmission of the message to be processed to the target terminal" in the display unit.
Referring to fig. 4, fig. 4 is a flowchart of a message processing method provided in an embodiment of the present application, where the method may be applied to a terminal (i.e., a target terminal) in an RFID network, and the method may include the following steps:
s401: and receiving a message to be processed sent by a base station which is accessed by the terminal currently.
The message to be processed is a message sent to the base station by the base station controller accessed by the base station under the condition that the base station is determined to be the base station currently accessed by the target terminal according to the heartbeat message sent by the target terminal.
The target terminal may be an RFID-enabled electronic device, such as an RFID-enabled sports bracelet, an RFID-enabled electronic watch, or the like.
In the embodiment of the application, the base station controller may obtain a message to be processed, which needs to be issued to the target terminal, and determine a base station to which the target terminal is currently accessed according to the heartbeat message sent by the target terminal, and then the base station controller may send the message to be processed to the base station. After the base station receives the message to be processed, the base station may send the message to be processed to the target terminal, and correspondingly, the target terminal may receive the message to be processed sent by the base station.
The processing steps of the base station controller can be referred to the detailed description of the above embodiments.
S402: an acknowledgement message is sent to the base station to cause the base station to forward the acknowledgement message to the base station controller.
The acknowledgement message is used to notify the target terminal of the base station controller that the message to be processed is received, and the acknowledgement message may be an ACK message.
In the embodiment of the present application, after the target terminal receives the message to be processed sent by the base station, the target terminal may send an acknowledgement message to the base station, and correspondingly, the base station may forward the acknowledgement message to the base station controller. After receiving the confirmation message, the base station controller can confirm that the target terminal receives the message to be processed.
Therefore, based on the method of the embodiment of the application, the base station controller only sends the message to be processed to the base station to which the target terminal is currently accessed, and compared with the prior art that the base station controller sends the message to be processed in a broadcasting mode, the method can reduce useless messages in the networking and reduce the influence on the network performance.
Referring to fig. 5, fig. 5 is a flowchart of an example of a message processing method provided in this embodiment, where the method may be applied to the base station controller in fig. 1, and the method may include the following steps:
s501: when a message to be processed which needs to be sent to the terminal 1 is acquired, whether a message forwarding table entry of the terminal 1 exists in a message forwarding table is judged, if not, S502 is executed, and if so, S503 is executed.
The message forwarding table comprises an identifier of the terminal, an identifier of a base station accessed by the terminal, an identifier of a message to be processed, a sending state of the message to be processed, a timestamp and an aging time length.
S502: and confirming that the pending message cannot be issued to the terminal 1 currently.
S503: when receiving a heartbeat message sent by the terminal 1, determining a first base station currently accessed by the terminal 1.
S504: and sending the message to be processed to the first base station, so that the first base station sends the message to be processed to the terminal 1.
S505: setting the issuing state of the message to be processed as issued, and starting a timer corresponding to the message to be processed.
S506: and judging whether the heartbeat message sent by the terminal 1 is received again before the timer is overtime, if not, executing S507, and if so, executing S508.
S507: confirming that the message to be processed is failed to be sent to the terminal 1, and deleting the identifier of the message to be processed from the message forwarding table entry of the terminal 1.
S508: whether the second base station currently accessed by the terminal 1 is the same base station as the first base station is judged, if not, S509 is executed, and if so, S5010 is executed.
S509: deleting the timer, sending the message to be processed to the second base station so that the second base station sends the message to be processed to the terminal 1, resetting the timer corresponding to the message to be processed, and updating the timestamp in the message forwarding table entry of the terminal 1.
S5010: and confirming that the message to be processed is successfully sent to the terminal 1, and updating the timestamp in the message forwarding table entry of the terminal 1.
Referring to fig. 6, fig. 6 is a flowchart of an example of a message processing method provided in an embodiment of the present application, where the method may be applied to the base station controller in fig. 1, and the method may include the following steps:
s601: when a message to be processed, which needs to be sent to the terminal 1, is acquired, it is determined whether a message forwarding table entry of the terminal 1 exists in the message forwarding table, if not, S602 is executed, and if so, S603 is executed.
The message forwarding table comprises an identifier of the terminal, an identifier of a base station accessed by the terminal, an identifier of a message to be processed, a sending state of the message to be processed, a timestamp and aging duration.
S602: it is confirmed that the message to be processed cannot be currently issued to the terminal 1.
S603: when receiving a heartbeat message sent by the terminal 1, determining a first base station currently accessed by the terminal 1.
S604: and sending the message to be processed to the first base station, so that the first base station sends the message to be processed to the terminal 1.
S605: setting the issuing state of the message to be processed as issued, and starting a timer corresponding to the message to be processed.
S606: it is determined whether an acknowledgement message sent by the terminal 1 is received before the timer expires, if yes, S607 is executed, and if no, S608 is executed.
S607: confirming the successful sending of the message to be processed to the terminal 1 and deleting the timer.
S608: confirming that the message to be processed is failed to be sent to the terminal 1, and deleting the identifier of the message to be processed from the message forwarding table entry of the terminal 1.
It can be seen that the base station controller may obtain a message to be processed that needs to be issued to the terminal 1, determine a base station to which the terminal 1 is currently accessed according to the heartbeat message sent by the terminal 1, and send the message to be processed to the base station, where the base station may send the message to be processed to the terminal 1. Based on the above processing, the base station controller only sends the message to be processed to the base station to which the terminal 1 is currently accessed, and compared with the prior art in which the base station controller sends the message to be processed by broadcasting, the method can reduce useless messages in the networking and reduce the influence on the network performance.
Corresponding to the embodiment of the method in fig. 2, referring to fig. 7, fig. 7 is a block diagram of a message processing apparatus provided in the embodiment of the present application, where the apparatus may be applied to a base station controller in an RFID network, and the apparatus may include:
an obtaining module 701, configured to obtain a to-be-processed message that needs to be sent to a terminal;
a determining module 702, configured to determine, according to a received heartbeat message sent by the terminal, a first base station to which the terminal is currently accessed;
a sending module 703 is configured to send the to-be-processed message to the first base station, so that the first base station sends the to-be-processed message to the terminal.
Optionally, the apparatus further comprises:
a first processing module, configured to determine whether a message forwarding table of the terminal exists in a message forwarding table, where the message forwarding table of the terminal includes an identifier of the terminal and an identifier of a base station to which the terminal is connected;
and if the message forwarding table entry of the terminal exists, when the heartbeat message sent by the terminal is received, executing the step of determining the first base station currently accessed by the terminal.
Optionally, the message forwarding table entry of the terminal further includes an identifier of the message to be processed and a delivery state of the message to be processed, where the delivery state of the message to be processed is not delivered or delivered;
the device further comprises:
the second processing module is used for setting the issuing state of the message to be processed as issued;
starting a timer corresponding to the message to be processed;
if the heartbeat message sent by the terminal is received again before the timer is overtime, judging whether a second base station currently accessed by the terminal is the same base station as the first base station or not;
and if the second base station and the first base station are not the same base station, deleting the timer and sending the message to be processed to the second base station so that the second base station sends the message to be processed to the terminal.
Optionally, the second processing module is further configured to delete the identifier of the message to be processed from the message forwarding table entry of the terminal if the timer expires and the heartbeat message sent by the terminal is not received again.
Optionally, the apparatus further comprises:
a third processing module, configured to determine whether a confirmation message sent by the terminal is received before the timer expires;
if the timer is overtime and the confirmation message is not received yet, deleting the identifier of the message to be processed from the message forwarding table entry of the terminal;
deleting the timer if the acknowledgement message is received before the timer expires.
Corresponding to the embodiment of the method in fig. 4, referring to fig. 8, fig. 8 is a block diagram of a message processing apparatus that may be applied to a terminal in an RFID network according to an embodiment of the present application, and the apparatus may include:
a receiving module 801, configured to receive a message to be processed sent by a base station to which the terminal is currently accessed, where the message to be processed is a message sent by a base station controller to the base station when the base station is determined to be the base station to which the terminal is currently accessed according to a heartbeat message sent by the terminal;
a sending module 802, configured to send an acknowledgement message to the base station, so that the base station forwards the acknowledgement message to the base station controller, where the acknowledgement message is used to notify the base station controller that the terminal receives the to-be-processed message.
Based on the message processing apparatus provided in the embodiment of the present application, the base station controller may obtain a message to be processed that needs to be issued to the terminal, determine, according to the received heartbeat message sent by the terminal, a first base station to which the terminal is currently accessed, and send the message to be processed to the first base station, where the first base station may send the message to be processed to the terminal. Based on the above processing, the base station controller only sends the message to be processed to the base station to which the terminal is currently accessed, and compared with the prior art in which the base station controller sends the message to be processed in a broadcast manner, the method can reduce useless messages in the networking and reduce the influence on the network performance.
The embodiment of the present application further provides a base station controller, as shown in fig. 9, which includes a processor 901, a communication interface 902, a memory 903, and a communication bus 904, where the processor 901, the communication interface 902, and the memory 903 complete mutual communication through the communication bus 904,
a memory 903 for storing computer programs;
a processor 901, configured to execute the program stored in the memory 903, so as to enable the base station controller to perform the steps of the message processing method, the method comprising:
acquiring a message to be processed which needs to be issued to a terminal;
determining a first base station currently accessed by the terminal according to the received heartbeat message sent by the terminal;
and sending the message to be processed to the first base station so that the first base station sends the message to be processed to the terminal.
Optionally, after obtaining the message to be processed, which needs to be sent to the terminal, the method further includes:
judging whether a message forwarding table entry of the terminal exists in a message forwarding table, wherein the message forwarding table entry of the terminal comprises an identifier of the terminal and an identifier of a base station accessed by the terminal;
and if the message forwarding table entry of the terminal exists, when a heartbeat message sent by the terminal is received, executing a step of determining a first base station currently accessed by the terminal.
Optionally, the message forwarding table entry of the terminal further includes an identifier of the message to be processed and a delivery status of the message to be processed, where the delivery status of the message to be processed is not delivered or delivered;
after the sending of the pending message to the first base station, the method further comprises:
setting the issuing state of the message to be processed as issued;
starting a timer corresponding to the message to be processed;
if the heartbeat message sent by the terminal is received again before the timer is overtime, judging whether a second base station currently accessed by the terminal is the same base station as the first base station or not;
and if the second base station and the first base station are not the same base station, deleting the timer and sending the message to be processed to the second base station so that the second base station sends the message to be processed to the terminal.
Optionally, the method further includes:
and if the timer is overtime, the heartbeat message sent by the terminal is not received again, and the identifier of the message to be processed is deleted from the message forwarding table entry of the terminal.
Optionally, the method further includes:
judging whether a confirmation message sent by the terminal is received before the timer is overtime;
if the timer is overtime and the confirmation message is not received, deleting the identifier of the message to be processed from the message forwarding table entry of the terminal;
deleting the timer if the acknowledgement message is received before the timer expires.
The embodiment of the present application further provides an electronic device, as shown in fig. 10, which includes a processor 1001, a communication interface 1002, a memory 1003 and a communication bus 1004, wherein the processor 1001, the communication interface 1002 and the memory 1003 complete mutual communication through the communication bus 1004,
a memory 1003 for storing a computer program;
the processor 1001 is configured to, when executing the program stored in the memory 1003, cause the electronic device to execute a message processing method, where the method includes:
receiving a message to be processed sent by a base station to which the terminal is currently accessed, wherein the message to be processed is a message sent to the base station by a base station controller under the condition that the base station is determined to be the base station to which the terminal is currently accessed according to a heartbeat message sent by the terminal;
and sending an acknowledgement message to the base station so that the base station forwards the acknowledgement message to the base station controller, wherein the acknowledgement message is used for informing the base station controller that the terminal receives the message to be processed.
The communication bus mentioned above may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown, but this is not intended to represent only one bus or type of bus.
The communication interface is used for communication between the base station controller or the electronic equipment and other equipment.
The Memory may include a Random Access Memory (RAM) or a Non-Volatile Memory (NVM), such as at least one disk Memory. Optionally, the memory may also be at least one memory device located remotely from the processor.
The Processor may be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), and the like; but also Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components.
In another embodiment provided by the present application, a computer-readable storage medium is further provided, in which a computer program is stored, and the computer program, when executed by a processor, implements the steps of any of the above-mentioned message processing methods applied to a base station controller.
In another embodiment provided by the present application, there is also provided a computer program product containing instructions, which when run on a computer, cause the computer to execute any of the above-mentioned message processing methods applied to a base station controller.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the application to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, from one website site, computer, server, or data center to another website site, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that includes one or more available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
It should be noted that, in this document, relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in the process, method, article, or apparatus that comprises the element.
All the embodiments in the present specification are described in a related manner, and the same and similar parts among the embodiments may be referred to each other, and each embodiment focuses on differences from other embodiments. In particular, for the apparatus, the base station controller, the electronic device, the computer-readable storage medium, and the computer program product embodiments, since they are substantially similar to the method embodiments, the description is relatively simple, and it is sufficient to refer to the partial description of the method embodiments for relevant points.
The above description is only for the preferred embodiment of the present application, and is not intended to limit the scope of the present application. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application are included in the scope of protection of the present application.

Claims (13)

1. A message processing method is applied to a base station controller in a Radio Frequency Identification (RFID) network, and the method comprises the following steps:
acquiring a message to be processed which needs to be issued to a terminal;
determining a first base station currently accessed by the terminal according to the received heartbeat message sent by the terminal;
sending the message to be processed to the first base station so that the first base station sends the message to be processed to the terminal;
the terminal comprises a message forwarding table entry, wherein the message forwarding table entry comprises an identifier of the message to be processed and a sending state of the message to be processed, and the sending state of the message to be processed is not sent or sent;
after the sending of the pending message to the first base station, the method further comprises:
setting the issuing state of the message to be processed as issued;
starting a timer corresponding to the message to be processed;
if the heartbeat message sent by the terminal is received again before the timer is overtime, judging whether a second base station currently accessed by the terminal is the same base station as the first base station or not;
and if the second base station and the first base station are not the same base station, deleting the timer and sending the message to be processed to the second base station so that the second base station sends the message to be processed to the terminal.
2. The method of claim 1, wherein after the obtaining the message to be processed that needs to be sent to the terminal, the method further comprises:
judging whether a message forwarding table entry of the terminal exists in a message forwarding table, wherein the message forwarding table entry of the terminal comprises an identifier of the terminal and an identifier of a base station accessed by the terminal;
and if the message forwarding table entry of the terminal exists, when a heartbeat message sent by the terminal is received, executing a step of determining a first base station currently accessed by the terminal.
3. The method of claim 1, further comprising:
and if the timer is overtime, the heartbeat message sent by the terminal is not received again, and the identifier of the message to be processed is deleted from the message forwarding table entry of the terminal.
4. The method of claim 1, further comprising:
judging whether a confirmation message sent by the terminal is received before the timer is overtime;
if the timer is overtime and the confirmation message is not received yet, deleting the identifier of the message to be processed from the message forwarding table entry of the terminal;
deleting the timer if the acknowledgement message is received before the timer expires.
5. A message processing method is applied to a terminal in a Radio Frequency Identification (RFID) network, and comprises the following steps:
receiving a message to be processed sent by a first base station to which the terminal is currently accessed, wherein the message to be processed is a message sent to the first base station by a base station controller under the condition that the first base station is determined to be the first base station to which the terminal is currently accessed according to a heartbeat message sent by the terminal;
sending an acknowledgement message to the first base station, so that the first base station forwards the acknowledgement message to the base station controller, wherein the acknowledgement message is used for notifying the base station controller that the terminal receives the message to be processed;
the terminal comprises a message forwarding table entry, wherein the message forwarding table entry comprises an identifier of the message to be processed and a sending state of the message to be processed, and the sending state of the message to be processed is not sent or sent;
after the receiving of the message to be processed sent by the first base station currently accessed by the terminal, the method further includes:
setting the issuing state of the message to be processed as issued;
starting a timer corresponding to the message to be processed;
if the heartbeat message is sent to the base station controller again before the timer is overtime, judging whether a second base station currently accessed by the terminal is the same base station as the first base station;
if the second base station is not the same base station as the first base station, deleting the timer, and receiving a message to be processed, which is sent by the second base station to which the terminal is currently accessed; sending an acknowledgement message to the second base station to cause the second base station to forward the acknowledgement message to the base station controller.
6. A message processing apparatus, wherein the apparatus is applied to a base station controller in a radio frequency identification RFID network, the apparatus comprising:
the acquisition module is used for acquiring a message to be processed which needs to be issued to the terminal;
the determining module is used for determining a first base station currently accessed by the terminal according to the received heartbeat message sent by the terminal;
a sending module, configured to send the to-be-processed message to the first base station, so that the first base station sends the to-be-processed message to the terminal;
the terminal comprises a message forwarding table entry, wherein the message forwarding table entry comprises an identifier of the message to be processed and a sending state of the message to be processed, and the sending state of the message to be processed is not sent or sent;
the device further comprises:
the second processing module is used for setting the issuing state of the message to be processed as issued;
starting a timer corresponding to the message to be processed;
if the heartbeat message sent by the terminal is received again before the timer is overtime, judging whether a second base station currently accessed by the terminal is the same as the first base station or not;
and if the second base station is not the same as the first base station, deleting the timer and sending the message to be processed to the second base station so that the second base station sends the message to be processed to the terminal.
7. The apparatus of claim 6, further comprising:
a first processing module, configured to determine whether a message forwarding table of the terminal exists in a message forwarding table, where the message forwarding table of the terminal includes an identifier of the terminal and an identifier of a base station to which the terminal is connected;
and if the message forwarding table entry of the terminal exists, when a heartbeat message sent by the terminal is received, executing a step of determining a first base station currently accessed by the terminal.
8. The apparatus according to claim 6, wherein the second processing module is further configured to delete the identifier of the message to be processed from the message forwarding table entry of the terminal if the heartbeat packet sent by the terminal is not received again when the timer expires.
9. The apparatus of claim 6, further comprising:
the third processing module is used for judging whether a confirmation message sent by the terminal is received before the timer is overtime;
if the timer is overtime and the confirmation message is not received, deleting the identifier of the message to be processed from the message forwarding table entry of the terminal;
deleting the timer if the acknowledgement message is received before the timer expires.
10. A message processing apparatus, wherein the apparatus is applied to a terminal in a radio frequency identification, RFID, network, and the apparatus comprises:
a receiving module, configured to receive a to-be-processed message sent by a first base station to which the terminal is currently accessed, where the to-be-processed message is a message sent by a base station controller to the first base station when the first base station is determined to be the first base station to which the terminal is currently accessed according to a heartbeat message sent by the terminal;
a sending module, configured to send an acknowledgement message to the first base station, so that the first base station forwards the acknowledgement message to the base station controller, where the acknowledgement message is used to notify the base station controller that the terminal receives the to-be-processed message;
the terminal comprises a message forwarding table entry, wherein the message forwarding table entry comprises an identifier of the message to be processed and a sending state of the message to be processed, and the sending state of the message to be processed is not sent or sent;
the device further comprises:
the processing module is used for setting the issuing state of the message to be processed as issued;
starting a timer corresponding to the message to be processed;
if the heartbeat message is sent to the base station controller again before the timer is overtime, judging whether a second base station currently accessed by the terminal is the same base station as the first base station;
if the second base station is not the same base station as the first base station, deleting the timer, and receiving a message to be processed, which is sent by the second base station to which the terminal is currently accessed; sending an acknowledgement message to the second base station to cause the second base station to forward the acknowledgement message to the base station controller.
11. A base station controller, comprising a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory complete communication with each other through the communication bus;
the memory is used for storing a computer program;
the processor, when executing the program stored in the memory, implementing the method steps of any of claims 1-4.
12. An electronic device, comprising a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other via the communication bus;
the memory is used for storing a computer program;
the processor, when executing the program stored in the memory, performs the method steps of claim 5.
13. A machine-readable storage medium having stored thereon machine-executable instructions that, when invoked and executed by a processor, cause the processor to: carrying out the method steps of any one of claims 1 to 4.
CN201910243379.1A 2019-03-28 2019-03-28 Message processing method and device Active CN109936841B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910243379.1A CN109936841B (en) 2019-03-28 2019-03-28 Message processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910243379.1A CN109936841B (en) 2019-03-28 2019-03-28 Message processing method and device

Publications (2)

Publication Number Publication Date
CN109936841A CN109936841A (en) 2019-06-25
CN109936841B true CN109936841B (en) 2022-07-22

Family

ID=66988511

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910243379.1A Active CN109936841B (en) 2019-03-28 2019-03-28 Message processing method and device

Country Status (1)

Country Link
CN (1) CN109936841B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112653986A (en) * 2019-09-29 2021-04-13 瑞达凯特科技(加拿大)有限公司 Position information sharing method, device, apparatus and medium
CN113038358A (en) * 2019-12-09 2021-06-25 瑞达凯特科技(加拿大)有限公司 Position information reporting method, electronic equipment and medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014022964A1 (en) * 2012-08-07 2014-02-13 华为技术有限公司 Method, device and terminal for transmitting message
CN106209504A (en) * 2016-06-29 2016-12-07 努比亚技术有限公司 A kind of information processing method and device, server
CN107623928A (en) * 2016-07-15 2018-01-23 中国电信股份有限公司 For transmitting the method and system of small amount data

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
ATE422764T1 (en) * 2005-11-18 2009-02-15 Nokia Siemens Networks Gmbh METHOD FOR OPERATING A DEVICE IN A RADIO ACCESS NETWORK OF A RADIO COMMUNICATIONS SYSTEM AND RADIO ACCESS NETWORK AND DEVICE
KR20170027051A (en) * 2015-09-01 2017-03-09 엘지전자 주식회사 Mobile device, wearable device and method controlling each device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014022964A1 (en) * 2012-08-07 2014-02-13 华为技术有限公司 Method, device and terminal for transmitting message
CN106209504A (en) * 2016-06-29 2016-12-07 努比亚技术有限公司 A kind of information processing method and device, server
CN107623928A (en) * 2016-07-15 2018-01-23 中国电信股份有限公司 For transmitting the method and system of small amount data

Also Published As

Publication number Publication date
CN109936841A (en) 2019-06-25

Similar Documents

Publication Publication Date Title
CN107087033B (en) Message pushing method and device, storage medium and computer equipment
CN109936841B (en) Message processing method and device
US9626174B2 (en) Cancelling device over the air software update
US9883386B2 (en) Method and a server for managing profiles
US20170237826A1 (en) Trigger management method and apparatus for cse, cse and network element of bearer network
EP2930911A1 (en) Method and apparatus for controlling sending of heartbeat signal
CN111093159A (en) Message pushing method and device, server and computer readable storage medium
WO2014033369A1 (en) Cooperation of device and display
US20140156514A1 (en) Mobile Payment Method, Device and System for Server and Client
US10070408B2 (en) Application registration methods and apparatuses
CN111355765B (en) Network request processing and sending method and device
KR20090053505A (en) Connection identifier synchronization system and method in a communication system
CN113496004A (en) Message sending method and device
CN109617657B (en) Message processing method and device
EP3923524A1 (en) Selecting a communication channel for omnichannel message delivery
CN112182378A (en) Message pushing method, device, terminal and medium
CN111371536B (en) Control instruction sending method and device
CN108684030B (en) Method and device for detecting network identification conflict
EP3174322A1 (en) Method for deleting notification resource, and common service entity
KR102073134B1 (en) Method and apparatus for discovery
US20170171392A1 (en) Method and apparatus for subgroup call to group members missing a group call
CN110636607B (en) Positioning method, positioning device, electronic equipment and storage medium
CN109905243B (en) Method and server for processing digital certificate updating request
CN107547723B (en) Method and device for receiving information by application
CN112866065B (en) Equipment network distribution method and device, electronic equipment and computer readable medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20230615

Address after: 310052 11th Floor, 466 Changhe Road, Binjiang District, Hangzhou City, Zhejiang Province

Patentee after: H3C INFORMATION TECHNOLOGY Co.,Ltd.

Address before: 310052 Changhe Road, Binjiang District, Hangzhou, Zhejiang Province, No. 466

Patentee before: NEW H3C TECHNOLOGIES Co.,Ltd.