Disclosure of Invention
The invention aims to provide a method and a system for collecting storage information in an industrial park by using a local area network, which can overcome the defects of the prior art.
In order to achieve the purpose, the invention provides a method for collecting storage information in an industrial park by using a local area network, which comprises the following steps: deploying a plurality of mobile terminals within an industrial park; collecting internal warehousing information of an industrial park by a first mobile terminal in a plurality of mobile terminals; attempting, by the first mobile terminal, to listen to a synchronization signal broadcast by the base station in response to collecting the industrial park internal warehousing information; if the synchronization signal broadcasted by the base station is not monitored, the first mobile terminal judges that the first mobile terminal exceeds the coverage area of the base station; attempting, by the first mobile terminal, to listen for a synchronization signal transmitted by a second mobile terminal of the plurality of mobile terminals in response to determining that the first mobile terminal has exceeded the coverage area of the base station; if the first mobile terminal monitors a synchronous signal sent by the second mobile terminal, the first mobile terminal marks the second mobile terminal as a main node mobile terminal; in response to marking the second mobile terminal as the master node mobile terminal, the first mobile terminal continues to listen to system information sent by the second mobile terminal, wherein the system information sent by the second mobile terminal comprises information required for the first mobile terminal to establish communication connection with the second mobile terminal; responding to the monitored system information sent by the second mobile terminal, sending a communication link establishment request message to the second mobile terminal by the first mobile terminal, wherein the communication link establishment request message comprises an identity identifier of the first mobile terminal; in response to receiving the communication link establishment request message, determining, by the second mobile terminal, whether the first mobile terminal is an authenticated mobile terminal; if the first mobile terminal is judged to be the authenticated mobile terminal, the second mobile terminal allocates an IP address and a bearer for transmitting data to the first mobile terminal; the method comprises the steps that a second mobile terminal stores an IP address distributed for a first mobile terminal and a bearing ID, wherein an information list is stored in the second mobile terminal, and the information list comprises the IP address distributed for a plurality of mobile terminals and the bearing ID for transmitting data with each of the plurality of mobile terminals; and sending the IP address allocated to the first mobile terminal and the ID of the bearer to the first mobile terminal by the second mobile terminal.
In a preferred embodiment, the method for collecting the warehousing information inside the industrial park by using the local area network comprises the following steps: in response to the received IP address distributed to the first mobile terminal and the borne ID, the first mobile terminal judges whether to send the internal warehousing information of the industrial park to the second mobile terminal; if the warehousing information in the industrial park is judged to be sent to the second mobile terminal, the first mobile terminal sends a random access request message to the second mobile terminal; allocating, by the second mobile terminal, transmission resources to the first mobile terminal in response to receiving the random access request message; in response to receiving the allocated transmission resources, the first mobile terminal sends the internal warehousing information of the industrial park to the second mobile terminal on the allocated transmission resources; if the fact that the industrial park internal warehousing information is sent to a third mobile terminal in a plurality of mobile terminals different from the second mobile terminal is judged, the first mobile terminal sends an information list request message to the second mobile terminal; in response to receiving the information list request message, the information list is sent by the second mobile terminal to the first mobile terminal.
In a preferred embodiment, the method for collecting the warehousing information inside the industrial park by using the local area network comprises the following steps of responding to the received information list, determining the IP address of a third mobile terminal by a first mobile terminal; sending, by the first mobile terminal, a random access request message to the second mobile terminal in response to determining the IP address of the third mobile terminal; allocating, by the second mobile terminal, transmission resources to the first mobile terminal in response to receiving the random access request message; in response to receiving the allocated transmission resource, the first mobile terminal sends the internal warehousing information of the industrial park and the IP address of the third mobile terminal to the second mobile terminal on the allocated transmission resource; and responding to the received industrial park internal warehousing information and the IP address of the third mobile terminal, and forwarding the industrial park internal warehousing information to the third mobile terminal by the second mobile terminal based on the IP address of the third mobile terminal.
In a preferred embodiment, the method for collecting the warehousing information inside the industrial park by using the local area network comprises the following steps: if the first mobile terminal does not monitor the synchronous signal sent by the second mobile terminal within the preset time, the first mobile terminal starts to send the synchronous signal; in response to receiving the synchronization signal, marking, by the second mobile terminal, the first mobile terminal as a master node mobile terminal; in response to marking the first mobile terminal as a master node mobile terminal, the second mobile terminal continues to listen to system information sent by the first mobile terminal, wherein the system information sent by the first mobile terminal comprises information required for the first mobile terminal to establish a communication connection with the second mobile terminal; responding to the monitored system information sent by the first mobile terminal, sending a communication link establishment request message to the first mobile terminal by the second mobile terminal, wherein the communication link establishment request message comprises an identity identifier of the second mobile terminal; in response to receiving the communication link establishment request message, determining, by the first mobile terminal, whether the second mobile terminal is an authenticated mobile terminal; if the second mobile terminal is judged to be the authenticated mobile terminal, the first mobile terminal allocates an IP address and a bearer for transmitting data to the second mobile terminal; the method comprises the steps that a first mobile terminal stores an IP address distributed for a second mobile terminal and a bearing ID, wherein an information list is stored in the first mobile terminal, and the information list comprises the IP address distributed for a plurality of mobile terminals and the bearing ID for transmitting data with each of the plurality of mobile terminals; the first mobile terminal sends the IP address distributed for the second mobile terminal and the loaded ID to the first mobile terminal, responds to the IP address distributed for the second mobile terminal and the loaded ID sent to the first mobile terminal, and judges whether industrial park internal warehousing information needs to be sent to the second mobile terminal or not; and if the warehousing information inside the industrial park is judged to be sent to the second mobile terminal, the first mobile terminal sends the warehousing information inside the industrial park to the second mobile terminal.
In a preferred embodiment, the method for collecting the warehousing information inside the industrial park by using the local area network comprises the following steps: if the fact that the industrial park internal warehousing information is sent to a third mobile terminal in a plurality of mobile terminals different from the second mobile terminal is judged, the first mobile terminal searches an IP address of the third mobile terminal in an information list; and responding to the searched IP address of the third mobile terminal, and sending the internal warehousing information of the industrial park to the third mobile terminal by the first mobile terminal.
The invention also provides a system for collecting the warehousing information in the industrial park by using the local area network, which comprises a plurality of mobile terminals deployed in the industrial park, and the system for collecting the warehousing information in the industrial park by using the local area network further comprises: the system comprises a unit for collecting warehousing information inside an industrial park by a first mobile terminal in a plurality of mobile terminals; means for attempting, by the first mobile terminal, to listen to a synchronization signal broadcast by the base station in response to collecting the industrial park internal warehousing information; means for determining, by the first mobile terminal, that the first mobile terminal has exceeded a coverage area of the base station if the synchronization signal broadcast by the base station is not heard; means for attempting, by the first mobile terminal, to listen to a synchronization signal transmitted by a second mobile terminal of the plurality of mobile terminals in response to determining that the first mobile terminal has exceeded a coverage area of the base station; a unit for marking the second mobile terminal as a main node mobile terminal by the first mobile terminal if the first mobile terminal monitors the synchronization signal sent by the second mobile terminal; means for continuing to listen, by the first mobile terminal, to system information sent by the second mobile terminal in response to the second mobile terminal being marked as the master node mobile terminal, wherein the system information sent by the second mobile terminal includes information required for the first mobile terminal to establish a communication connection with the second mobile terminal; the mobile terminal comprises a unit used for responding to the monitored system information sent by the second mobile terminal, and sending a communication link establishment request message to the second mobile terminal by the first mobile terminal, wherein the communication link establishment request message comprises an identity identifier of the first mobile terminal; means for determining, by the second mobile terminal, whether the first mobile terminal is an authenticated mobile terminal in response to receiving the communication link establishment request message; a unit for allocating, by the second mobile terminal, an IP address and a bearer for transmitting data to the first mobile terminal if it is judged whether the first mobile terminal is an authenticated mobile terminal; the mobile terminal comprises a unit used for saving an IP address allocated to the first mobile terminal and a bearer ID by a second mobile terminal, wherein an information list is stored in the second mobile terminal, and the information list comprises the IP address allocated to a plurality of mobile terminals and the bearer ID for transmitting data with each of the plurality of mobile terminals; and means for transmitting, by the second mobile terminal, the IP address allocated for the first mobile terminal and the ID of the bearer to the first mobile terminal.
In a preferred embodiment, the system for collecting warehousing information inside an industrial park by using a local area network comprises: the unit is used for responding to the received IP address distributed to the first mobile terminal and the borne ID, and judging whether to send the internal warehousing information of the industrial park to the second mobile terminal by the first mobile terminal; a unit for sending a random access request message to a second mobile terminal by a first mobile terminal if it is judged that the internal warehousing information of the industrial park is to be sent to the second mobile terminal; means for allocating, by the second mobile terminal, transmission resources to the first mobile terminal in response to receiving the random access request message; means for sending, by the first mobile terminal, the industrial park internal warehousing information to the second mobile terminal on the allocated transmission resources in response to receiving the allocated transmission resources; a unit for transmitting an information list request message to a second mobile terminal by a first mobile terminal if it is judged that the industrial park internal warehousing information is to be transmitted to a third mobile terminal among a plurality of mobile terminals different from the second mobile terminal; means for transmitting, by the second mobile terminal, the information list to the first mobile terminal in response to receiving the information list request message.
In a preferred embodiment, the system for collecting warehousing information inside an industrial park by using a local area network comprises: means for determining, by the first mobile terminal, an IP address of the third mobile terminal in response to receiving the list of information; means for sending, by the first mobile terminal, a random access request message to the second mobile terminal in response to determining the IP address of the third mobile terminal; means for allocating, by the second mobile terminal, transmission resources to the first mobile terminal in response to receiving the random access request message; means for sending, by the first mobile terminal, the industrial park internal warehousing information and the IP address of the third mobile terminal to the second mobile terminal on the allocated transmission resources in response to receiving the allocated transmission resources; and the second mobile terminal forwards the industrial park internal warehousing information to the third mobile terminal based on the IP address of the third mobile terminal in response to receiving the industrial park internal warehousing information and the IP address of the third mobile terminal.
In a preferred embodiment, the system for collecting warehousing information inside an industrial park by using a local area network comprises: means for starting, by the first mobile terminal, transmission of the synchronization signal if the first mobile terminal does not hear the synchronization signal transmitted by the second mobile terminal within a predetermined time; means for marking, by the second mobile terminal, the first mobile terminal as a master node mobile terminal in response to receiving the synchronization signal; means for continuing to listen, by the second mobile terminal, to system information sent by the first mobile terminal in response to the first mobile terminal being marked as the master node mobile terminal, wherein the system information sent by the first mobile terminal includes information required for the first mobile terminal to establish a communication connection with the second mobile terminal; the mobile terminal comprises a unit used for responding to the monitored system information sent by the first mobile terminal, and sending a communication link establishment request message to the first mobile terminal by the second mobile terminal, wherein the communication link establishment request message comprises an identity identifier of the second mobile terminal; means for determining, by the first mobile terminal, whether the second mobile terminal is an authenticated mobile terminal in response to receiving the communication link establishment request message; a unit for allocating, by the first mobile terminal, an IP address and a bearer for transmitting data to the second mobile terminal if it is judged whether the second mobile terminal is an authenticated mobile terminal; a unit for saving, by a first mobile terminal, an IP address assigned to a second mobile terminal and a bearer ID, where the first mobile terminal stores therein an information list including IP addresses assigned to a plurality of mobile terminals and a bearer ID for transmitting data with each of the plurality of mobile terminals, and a unit for transmitting, by the first mobile terminal to the first mobile terminal, the IP address assigned to the second mobile terminal and the bearer ID; a unit, responsive to the IP address and the loaded ID allocated to the second mobile terminal being sent to the first mobile terminal, for the first mobile terminal to determine whether to send the internal warehousing information of the industrial park to the second mobile terminal; and the first mobile terminal is used for sending the internal warehousing information of the industrial park to the second mobile terminal if the internal warehousing information of the industrial park is judged to be sent to the second mobile terminal.
In a preferred embodiment, the system for collecting warehousing information inside an industrial park using a local area network includes a unit for searching, by a first mobile terminal, an information list for an IP address of a third mobile terminal if it is judged that the warehousing information inside the industrial park is to be transmitted to the third mobile terminal among a plurality of mobile terminals different from the second mobile terminal; and the unit is used for responding to the searched IP address of the third mobile terminal, and the first mobile terminal sends the warehousing information inside the industrial park to the third mobile terminal.
Compared with the prior art, the intelligent warehousing system has the following advantages that the core of intelligent warehousing is the timely transmission of warehousing information and logistics information, and certainly, under the current technical context, the transmission generally depends on wireless transmission of wireless communication, so that how to quickly, timely and accurately transmit the warehousing information to a destination terminal through a wireless transmission method is very important. As is well known, a warehouse is generally arranged in a suburb or a remote location in a city, and the density of base stations in these locations is low, the signal coverage is poor, but there are a lot of devices which just need to transmit information in the warehouse, and in this case, problems such as too large delay in information transmission are easily caused. In order to solve the problems in the prior art, the invention provides a method for collecting the warehousing information in the industrial park by using a local area network.
Detailed Description
The following detailed description of the present invention is provided in conjunction with the accompanying drawings, but it should be understood that the scope of the present invention is not limited to the specific embodiments.
Throughout the specification and claims, unless explicitly stated otherwise, the word "comprise", or variations such as "comprises" or "comprising", will be understood to imply the inclusion of a stated element or component but not the exclusion of any other element or component.
Fig. 1 is a flowchart of a method for collecting warehousing information inside an industrial park by using a local area network according to an embodiment of the invention. As shown in the figure, the method of the present invention comprises the steps of:
step 101: deploying a plurality of mobile terminals within an industrial park;
step 102: collecting internal warehousing information of an industrial park by a first mobile terminal in a plurality of mobile terminals;
step 103: attempting, by the first mobile terminal, to listen to a synchronization signal broadcast by the base station in response to collecting the industrial park internal warehousing information;
step 104: if the synchronization signal broadcasted by the base station is not monitored, the first mobile terminal judges that the first mobile terminal exceeds the coverage area of the base station;
step 105: attempting, by the first mobile terminal, to listen for a synchronization signal transmitted by a second mobile terminal of the plurality of mobile terminals in response to determining that the first mobile terminal has exceeded the coverage area of the base station;
step 106: if the first mobile terminal monitors a synchronous signal sent by the second mobile terminal, the first mobile terminal marks the second mobile terminal as a main node mobile terminal;
step 107: in response to marking the second mobile terminal as the master node mobile terminal, the first mobile terminal continues to listen to the system information transmitted by the second mobile terminal, wherein the system information transmitted by the second mobile terminal includes information (such as transmission band, ID, transmission speed limit, power limit, and the like, and the specific content of the information can also refer to the system information required by the D2D communication devices to establish communication) for the first mobile terminal to establish communication connection with the second mobile terminal;
step 108: responding to the monitored system information sent by the second mobile terminal, sending a communication link establishment request message to the second mobile terminal by the first mobile terminal, wherein the communication link establishment request message comprises an identity identifier of the first mobile terminal;
step 109: in response to receiving the communication link establishment request message, determining, by the second mobile terminal, whether the first mobile terminal is an authenticated mobile terminal;
step 110: if the first mobile terminal is judged to be the authenticated mobile terminal, the second mobile terminal allocates an IP address and a bearer for transmitting data to the first mobile terminal;
step 111: the method comprises the steps that a second mobile terminal stores an IP address distributed for a first mobile terminal and a bearing ID, wherein an information list is stored in the second mobile terminal, and the information list comprises the IP address distributed for a plurality of mobile terminals and the bearing ID for transmitting data with each of the plurality of mobile terminals;
step 112: and sending the IP address allocated to the first mobile terminal and the ID of the bearer to the first mobile terminal by the second mobile terminal.
In a preferred embodiment, the method for collecting the warehousing information inside the industrial park by using the local area network comprises the following steps: responding to the received IP address distributed to the first mobile terminal and the borne ID, judging whether industrial park internal warehousing information is to be sent to the second mobile terminal or not by the first mobile terminal, and if the industrial park internal warehousing information is to be sent to the second mobile terminal, sending a random access request message to the second mobile terminal by the first mobile terminal; in response to receiving the random access request message, the second mobile terminal allocating transmission resources to the first mobile terminal, in response to receiving the allocated transmission resources, the first mobile terminal sending industrial park internal warehousing information to the second mobile terminal on the allocated transmission resources, and if it is determined that industrial park internal warehousing information is to be sent to a third mobile terminal of a plurality of mobile terminals different from the second mobile terminal, sending an information list request message to the second mobile terminal by the first mobile terminal; in response to receiving the information list request message, the information list is sent by the second mobile terminal to the first mobile terminal.
In a preferred embodiment, the method for collecting the warehousing information inside the industrial park by using the local area network comprises the following steps: determining, by the first mobile terminal, an IP address of the third mobile terminal in response to receiving the list of information, sending, by the first mobile terminal, a random access request message to the second mobile terminal in response to determining the IP address of the third mobile terminal; allocating, by the second mobile terminal, transmission resources to the first mobile terminal in response to receiving the random access request message; in response to receiving the allocated transmission resource, the first mobile terminal sends the internal warehousing information of the industrial park and the IP address of the third mobile terminal to the second mobile terminal on the allocated transmission resource; and responding to the received industrial park internal warehousing information and the IP address of the third mobile terminal, and forwarding the industrial park internal warehousing information to the third mobile terminal by the second mobile terminal based on the IP address of the third mobile terminal.
In a preferred embodiment, the method for collecting the warehousing information inside the industrial park by using the local area network comprises the following steps: if the first mobile terminal does not monitor the synchronous signal sent by the second mobile terminal within the preset time, the first mobile terminal starts sending the synchronous signal and responds to the received synchronous signal, and the second mobile terminal marks the first mobile terminal as a main node mobile terminal; in response to marking the first mobile terminal as a master node mobile terminal, the second mobile terminal continues to listen to system information sent by the first mobile terminal, wherein the system information sent by the first mobile terminal comprises information required for the first mobile terminal to establish a communication connection with the second mobile terminal; responding to the monitored system information sent by the first mobile terminal, sending a communication link establishment request message to the first mobile terminal by the second mobile terminal, wherein the communication link establishment request message comprises an identity identifier of the second mobile terminal; in response to receiving the communication link establishment request message, determining, by the first mobile terminal, whether the second mobile terminal is an authenticated mobile terminal; if the second mobile terminal is judged to be the authenticated mobile terminal, the first mobile terminal allocates an IP address and a bearer for transmitting data to the second mobile terminal; the method comprises the steps that a first mobile terminal stores an IP address distributed for a second mobile terminal and a bearing ID, wherein an information list is stored in the first mobile terminal, and the information list comprises the IP address distributed for a plurality of mobile terminals and the bearing ID for transmitting data with each of the plurality of mobile terminals; sending, by the first mobile terminal, to the first mobile terminal, an IP address allocated for the second mobile terminal and a bearer ID; and responding to the IP address distributed for the second mobile terminal and the borne ID sent to the first mobile terminal, judging whether to send the internal warehousing information of the industrial park to the second mobile terminal by the first mobile terminal, and if judging to send the internal warehousing information of the industrial park to the second mobile terminal, sending the internal warehousing information of the industrial park to the second mobile terminal by the first mobile terminal.
In a preferred embodiment, the method for collecting the warehousing information inside the industrial park by using the local area network comprises the following steps: if the fact that the industrial park internal warehousing information is sent to a third mobile terminal in a plurality of mobile terminals different from the second mobile terminal is judged, the first mobile terminal searches an IP address of the third mobile terminal in an information list; and responding to the searched IP address of the third mobile terminal, and sending the internal warehousing information of the industrial park to the third mobile terminal by the first mobile terminal.
The invention also provides a system for collecting the warehousing information in the industrial park by using the local area network, which comprises a plurality of mobile terminals deployed in the industrial park, and the system for collecting the warehousing information in the industrial park by using the local area network further comprises: means for collecting, by a first mobile terminal of the plurality of mobile terminals, industrial park internal warehousing information, means for attempting, by the first mobile terminal, to listen to a synchronization signal broadcast by the base station in response to collecting the industrial park internal warehousing information; means for determining, by the first mobile terminal, that the first mobile terminal has exceeded a coverage area of the base station if the synchronization signal broadcast by the base station is not heard; means for attempting, by the first mobile terminal, to listen to a synchronization signal transmitted by a second mobile terminal of the plurality of mobile terminals in response to determining that the first mobile terminal has exceeded a coverage area of the base station; a unit for marking the second mobile terminal as a main node mobile terminal by the first mobile terminal if the first mobile terminal monitors the synchronization signal sent by the second mobile terminal; means for continuing to listen, by the first mobile terminal, to system information sent by the second mobile terminal in response to the second mobile terminal being marked as the master node mobile terminal, wherein the system information sent by the second mobile terminal includes information required for the first mobile terminal to establish a communication connection with the second mobile terminal; the mobile terminal comprises a unit used for responding to the monitored system information sent by the second mobile terminal, and sending a communication link establishment request message to the second mobile terminal by the first mobile terminal, wherein the communication link establishment request message comprises an identity identifier of the first mobile terminal; means for determining, by the second mobile terminal, whether the first mobile terminal is an authenticated mobile terminal in response to receiving the communication link establishment request message; a unit for allocating, by the second mobile terminal, an IP address and a bearer for transmitting data to the first mobile terminal if it is judged whether the first mobile terminal is an authenticated mobile terminal; the mobile terminal comprises a unit used for saving an IP address allocated to the first mobile terminal and a bearer ID by a second mobile terminal, wherein an information list is stored in the second mobile terminal, and the information list comprises the IP address allocated to a plurality of mobile terminals and the bearer ID for transmitting data with each of the plurality of mobile terminals; and means for transmitting, by the second mobile terminal, the IP address allocated for the first mobile terminal and the ID of the bearer to the first mobile terminal.
In a preferred embodiment, the system for collecting warehousing information inside an industrial park by using a local area network comprises: the unit is used for responding to the received IP address distributed to the first mobile terminal and the borne ID, and judging whether to send the internal warehousing information of the industrial park to the second mobile terminal by the first mobile terminal; a unit for sending a random access request message to a second mobile terminal by a first mobile terminal if it is judged that the internal warehousing information of the industrial park is to be sent to the second mobile terminal; means for allocating, by the second mobile terminal, transmission resources to the first mobile terminal in response to receiving the random access request message; means for sending, by the first mobile terminal, the industrial park internal warehousing information to the second mobile terminal on the allocated transmission resources in response to receiving the allocated transmission resources; a unit for transmitting an information list request message to a second mobile terminal by a first mobile terminal if it is judged that the industrial park internal warehousing information is to be transmitted to a third mobile terminal among a plurality of mobile terminals different from the second mobile terminal; means for transmitting, by the second mobile terminal, the information list to the first mobile terminal in response to receiving the information list request message.
In a preferred embodiment, the system for collecting warehousing information inside an industrial park by using a local area network comprises: means for determining, by the first mobile terminal, an IP address of the third mobile terminal in response to receiving the list of information; means for sending, by the first mobile terminal, a random access request message to the second mobile terminal in response to determining the IP address of the third mobile terminal, means for allocating, by the second mobile terminal, transmission resources to the first mobile terminal in response to receiving the random access request message; means for sending, by the first mobile terminal, the industrial park internal warehousing information and the IP address of the third mobile terminal to the second mobile terminal on the allocated transmission resources in response to receiving the allocated transmission resources; and the second mobile terminal forwards the industrial park internal warehousing information to the third mobile terminal based on the IP address of the third mobile terminal in response to receiving the industrial park internal warehousing information and the IP address of the third mobile terminal.
In a preferred embodiment, the system for collecting warehousing information inside an industrial park by using a local area network comprises: means for starting, by the first mobile terminal, transmission of the synchronization signal if the first mobile terminal does not hear the synchronization signal transmitted by the second mobile terminal within a predetermined time; means for marking, by the second mobile terminal, the first mobile terminal as a master node mobile terminal in response to receiving the synchronization signal; means for continuing to listen, by the second mobile terminal, to system information sent by the first mobile terminal in response to the first mobile terminal being marked as the master node mobile terminal, wherein the system information sent by the first mobile terminal includes information required for the first mobile terminal to establish a communication connection with the second mobile terminal; the mobile terminal comprises a unit used for responding to the monitored system information sent by the first mobile terminal, and sending a communication link establishment request message to the first mobile terminal by the second mobile terminal, wherein the communication link establishment request message comprises an identity identifier of the second mobile terminal; means for determining, by the first mobile terminal, whether the second mobile terminal is an authenticated mobile terminal in response to receiving the communication link establishment request message, for assigning, by the first mobile terminal, an IP address and a bearer for transmitting data to the second mobile terminal if it is determined whether the second mobile terminal is an authenticated mobile terminal; a unit for saving, by a first mobile terminal, an IP address allocated to a second mobile terminal and a bearer ID, where the first mobile terminal stores therein an information list including IP addresses allocated to a plurality of mobile terminals and the bearer ID for transmitting data with each of the plurality of mobile terminals; a unit for transmitting, by the first mobile terminal, to the first mobile terminal, an IP address allocated for the second mobile terminal and an ID of the bearer; a unit, responsive to the IP address and the loaded ID allocated to the second mobile terminal being sent to the first mobile terminal, for the first mobile terminal to determine whether to send the internal warehousing information of the industrial park to the second mobile terminal; and the first mobile terminal is used for sending the internal warehousing information of the industrial park to the second mobile terminal if the internal warehousing information of the industrial park is judged to be sent to the second mobile terminal.
Of course, the method of the present application may also be provided with a step of resolving a conflict that two terminals become the master node mobile terminal at the same time, and the manner of resolving the conflict may be, for example: assuming that the first mobile terminal and the fourth mobile terminal are simultaneously the master node mobile terminal, this indicates that the first mobile terminal is able to receive the synchronization signal of the fourth mobile terminal, after receiving the synchronization signal of the fourth mobile terminal, the first mobile terminal can determine that a collision has occurred at this time, if a conflict is determined to occur, a notification may be sent by the first mobile terminal to the fourth mobile terminal to inform the fourth mobile terminal that a conflict is currently occurring, and then the first mobile terminal and the fourth mobile terminal may determine the master node mobile terminal by way of negotiation, for example, the first mobile terminal and the fourth mobile terminal may transmit their own battery power to each other, and then become the master node mobile terminal from the terminal with the higher battery power, or the first mobile terminal and the fourth mobile terminal can mutually transmit the own positions, and the terminal positioned in the center of the park becomes the main node mobile terminal.
In a preferred embodiment, the system for collecting warehousing information inside an industrial park by using a local area network comprises: a unit for searching, by the first mobile terminal, an IP address of a third mobile terminal in an information list if it is judged that the industrial park internal warehousing information is to be transmitted to the third mobile terminal among a plurality of mobile terminals different from the second mobile terminal; and the unit is used for responding to the searched IP address of the third mobile terminal, and the first mobile terminal sends the warehousing information inside the industrial park to the third mobile terminal.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The foregoing descriptions of specific exemplary embodiments of the present invention have been presented for purposes of illustration and description. It is not intended to limit the invention to the precise form disclosed, and obviously many modifications and variations are possible in light of the above teaching. The exemplary embodiments were chosen and described in order to explain certain principles of the invention and its practical application to enable one skilled in the art to make and use various exemplary embodiments of the invention and various alternatives and modifications as are suited to the particular use contemplated. It is intended that the scope of the invention be defined by the claims and their equivalents.