CN111491268B - Sensing mode and device for logistics management - Google Patents

Sensing mode and device for logistics management Download PDF

Info

Publication number
CN111491268B
CN111491268B CN202010158914.6A CN202010158914A CN111491268B CN 111491268 B CN111491268 B CN 111491268B CN 202010158914 A CN202010158914 A CN 202010158914A CN 111491268 B CN111491268 B CN 111491268B
Authority
CN
China
Prior art keywords
information
frame
temporary storage
chain
frames
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
CN202010158914.6A
Other languages
Chinese (zh)
Other versions
CN111491268A (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.)
Nanjing Hongtai Automation Technology Co ltd
Original Assignee
Jiangsu Institute of Economic and Trade Technology
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 Jiangsu Institute of Economic and Trade Technology filed Critical Jiangsu Institute of Economic and Trade Technology
Priority to CN202010158914.6A priority Critical patent/CN111491268B/en
Publication of CN111491268A publication Critical patent/CN111491268A/en
Application granted granted Critical
Publication of CN111491268B publication Critical patent/CN111491268B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/06Optimizing the usage of the radio link, e.g. header compression, information sizing, discarding information
    • H04W28/065Optimizing the usage of the radio link, e.g. header compression, information sizing, discarding information using assembly or disassembly of packets
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/30Services specially adapted for particular environments, situations or purposes
    • H04W4/38Services specially adapted for particular environments, situations or purposes for collecting sensor information
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/08Logistics, e.g. warehousing, loading or distribution; Inventory or stock management
    • G06Q10/083Shipping

Abstract

A sensing method and device for logistics management comprises a controller, a wireless communication module and a wireless communication module, wherein the controller transmits temperature information transmitted by a temperature sensor to a monitoring terminal in a wireless communication network for display; the controller transmits the temperature information transmitted by the temperature sensor to a monitoring terminal in a wireless communication network via a wireless communication module for display, and the method comprises the following steps: the controller assembles the temperature information into frames, transmits the frames to the wireless communication module for processing, and then transmits the frames to the monitoring terminal in the wireless communication network for displaying, wherein the assembling into frames is to assemble the temperature information into information frames. The defects that in the prior art, all temperature information is copied to a constant temporary storage space controlled by the GSM module before being transmitted to the GSM module, the copying consumption of another main memory is caused, and the transmission performance of the temperature information with small capacity is not facilitated are effectively overcome by combining other structures and methods.

Description

Sensing mode and device for logistics management
Technical Field
The invention relates to the technical field of logistics management, belongs to the technical field of sensing, and particularly relates to a sensing mode and a sensing device for logistics management.
Background
The logistics management means that in the social reproduction process, according to the law of material data entity flow, the basic principle and scientific method of management are applied to plan, organize, command, coordinate, control and supervise the logistics activities, so that the logistics activities are optimally coordinated and matched, the logistics cost is reduced, and the logistics efficiency and economic benefit are improved. In logistics management, heat preservation is needed in the transportation process aiming at a logistics process which is higher in requirement and more complex than a common normal-temperature logistics system like cold-chain logistics, and real-time sensing of the temperature under heat preservation is very necessary.
The temperature sensor is usually arranged in a box body of a heat preservation chamber used for preserving transported objects of cold-chain logistics, the temperature sensor and the wireless communication module are in communication connection with the controller, the controller is in communication connection with the monitoring terminal in the wireless communication network through the wireless communication module, and thus the controller can transmit temperature information transmitted by the temperature sensor to the monitoring terminal in the wireless communication network through the wireless communication module for displaying, so that the effect of sensing and monitoring is achieved.
However, in order to save cost, a GSM module is adopted as a general wireless communication module, a GSM communication network is also adopted as a wireless communication network, the general GSM module can only maintain the transfer of information with a capacity of 9600bit at most once, the GSM module transfers information with a capacity of 2400bit under normal conditions, when temperature information with a capacity of more than 9600bit is required, a controller needs to divide the temperature information with more than 9600bit into sub-information with a capacity of 9600bit or less, and then the sub-information is assembled into a sub-frame format, so that the transfer can be finally executed in the GSM communication network, because a plurality of cores in the controller need to process each sub-information, the processing performance of the controller is weakened.
In the existing improved GSM standard, to maintain the direct transmission of temperature information with a capacity of 9600bit, the controller directly transfers the temperature information with a capacity of 9600bit to the GSM module for disposal, the GSM module executes the division of the temperature information, and transfers a large number of disposal tasks of the controller to the GSM module for disposal, that is, the division and error detection of the temperature information are completed by transferring to the GSM module, so as to save the number of the temperature information handled by the controller and achieve the manner of improving the disposal performance of the GSM communication network; the GSM module following the GSM standard needs to achieve the GSM communication transmission, the temperature information division and recombination mode and the error detection and operation performance, and the temperature information division, the error detection and operation performance is achieved through a bottom program running on the GSM module or the GSM module, so the GSM communication requires the bottom program running on the GSM module or the GSM module to give the temperature information division performance, the requirement for the GSM module is not low, namely the bottom program running on the GSM module or the GSM module is complicated in structure; in addition, the processing for dividing the temperature information facing the GSM standard requires the cooperation of the bottom layer program running on the GSM module or the GSM module, and in the division of the temperature information by the cooperation of the bottom layer program running on the GSM module or the GSM module, the communication of the bottom layer program running on the GSM module or the GSM module takes too much time, which is not favorable for the performance of the whole processing for dividing the temperature information; there is also a common way of dividing temperature information, which delays the time point of dividing temperature information until the temperature information is transmitted to the bottom layer program running on the GSM module, and also supports 2MBPS relay, C7 (or xo.7.) signaling protocol, x.25 temperature information division exchange protocol and LAPD (Lixk access procedure "D") protocol of GSM communication; similarly, this approach requires the partitioning and reassembly of GSM module support information; in addition, the method has low improvement degree on performance; the information is recombined into a direct access mode corresponding to the direct access space mode transmitted under the discontinuous position of the information storage space, the position information of the discontinuous main memory space represented by a link structure with link nodes is used, then the initial position information of the link structure is informed to a main controller, the main controller transmits the information of finishing the discontinuous space, the main controller of the GSM module is not transmitted with a stop instruction, the information of the next discontinuous space is transmitted according to the position information recorded by the link structure, and the main controller of the GSM module is transmitted with a stop instruction after the transmission is completely finished.
In order to reduce the consumed time of the program and the GSM module caused by the input and the output of the temperature information division, the input and the output of the low-load temperature information division are given in the existing analysis, and the temperature information division mode with less time consumption achieves the purposes of no copying of the temperature information division and no transmission stopping instruction for the main controller of the GSM module by managing, loading and canceling the temporary storage space and standardizing the mode of directly accessing the program of the main memory and the GSM module, so that the consumed time of the temperature information division on the program and the GSM module is reduced; however, in the input and output mode when the temperature information of the low load is divided, all the temperature information is copied to the constant temporary storage space managed and controlled by the GSM module before being transmitted to the GSM module, so that the copy consumption of another main memory is introduced, and the transmission performance of the temperature information with small capacity is not facilitated.
In a word, in order to meet the requirement of high-performance information transmission under the application of a GSM communication network, a type of transmission mode which supports high-capacity high-performance transmission of temperature information, has low input and output time consumption and low complexity in temperature information division and is provided by a GSM module matched with high-capacity temperature information division is provided, so that the high-performance requirement is met by combining a main controller of the GSM module.
Disclosure of Invention
In order to solve the above problems, the present invention provides a sensing method and device for logistics management, which effectively avoid the defect that all temperature information in the prior art needs to be copied into a constant temporary storage space managed and controlled by a GSM module before being transmitted to the GSM module, which causes additional copy cost of a main memory and is not favorable for the transmission performance of temperature information with small capacity.
In order to overcome the defects in the prior art, the invention provides a solution for a sensing mode and a sensing device for logistics management, which specifically comprises the following steps:
a sensing approach for logistics management, comprising:
the controller transmits the temperature information transmitted by the temperature sensor to a monitoring terminal in a wireless communication network via the wireless communication module for display;
the controller transmits the temperature information transmitted by the temperature sensor to a monitoring terminal in a wireless communication network via a wireless communication module for display, and the method comprises the following steps:
the controller assembles the temperature information into frames, transmits the frames to the wireless communication module for processing, and then transmits the frames to the monitoring terminal in the wireless communication network for displaying, wherein the assembling into frames is to assemble the temperature information into information frames.
The method for assembling the temperature information into frames and then transmitting the frames to the wireless communication module for processing comprises the following steps:
when the GSM module and a bottom layer program running on the GSM module are provided with a dividing and recombining function for supporting dividing an information frame into subframes, before the bottom layer program running on the GSM module does not divide a high-capacity information frame, the storage of the high-capacity information frame is combined with the application of a non-chain temporary storage space, a frame header of the high-capacity information frame is stored in the chain temporary storage space, and temperature information of the high-capacity information frame is stored in the chain temporary storage space or the non-chain temporary storage space, namely a set subframe storage space represented by a position array gsbht;
the capacity of the temperature information in the non-chained temporary storage space as the non-chained information is stored in the information capacity space message _ zone of the TSZ.
The temperature information of the high-capacity information frame is stored in a set space indicated by a position array gsbht in a class variable TSZ _ publici _ jygp.
The array member in the position array gsbht is a class variable two, a member variable zone _ DV in the class variable two represents a difference value between a starting position of the temperature information in the information frame in the set space and the starting position of the space, and a member variable dilength in the class variable two represents a capacity of the temperature information of the information frame in the set space. The storage of the information frame of the temperature information with the capacity of 9600bit is supported at most by the capacity of the frame header information and the capacity of the temperature information in the chain temporary storage space as chain information.
The bottom layer program running on the GSM module is used for determining the number of the sub-frames into which the information frame is divided aiming at the information frame, and the division of the information frame is not required to be executed; for the information frame to be divided into sub-frames, copying the frame head of the information frame to a plurality of program temporary storage spaces according to the number of the sub-frames to be divided; the frame head of the first subframe is stored in the program temporary storage space, the temperature information of the first subframe is still stored in the chain type temporary storage space, the frame head of the next subframe is stored in the program temporary storage space, one part of the temperature information of the next subframe is stored in the chain type temporary storage space, and the rest part of the temperature information is stored in the set non-chain type temporary storage space; and constructing a transmission marker chain for frame header and temperature information of all subframes, wherein the marker chain comprises a plurality of chain nodes which are arranged in sequence, each chain node comprises position information of the subframe, the GSM module obtains the position of each subframe according to the transmission marker chain and also obtains the information of each subframe, a plurality of subframes are assembled into an information frame, and the information frame is finally transmitted after error detection is performed on the information frame.
The mode that the controller transmits the temperature information transmitted by the temperature sensor to the monitoring terminal in the wireless communication network for display through the wireless communication module specifically comprises the following steps:
s1, obtaining the chain temporary storage space and the set non-chain temporary storage space number of the TSZ, analyzing the frame head of an information frame, and considering the number of the information frame divided into subframes when facing the information frame with the temperature information, and whether the information frame is divided into the subframes or not is executed;
s2, for the information frames to be divided into the sub-frames, copying the frame headers of the information frames to a plurality of specially set program temporary storage spaces according to the number of the sub-frames to be divided, refreshing the frame header contents of each sub-frame, and not executing the step without dividing the information frames into the sub-frames;
s3, establishing a corresponding relation with a main controller for each subframe according to the subframes divided by the information frame;
s4, establishing a chain for each subframe, wherein the chain comprises a specially-set temporary storage space, a chain type temporary storage space and a set non-chain type temporary storage space to respectively obtain a transmission marking code, the transmission marking code is added into the information of the corresponding subframe to construct a marking code chain, and when the marking code is obtained, a preset mutual exclusion amount is required to be obtained, so that no plurality of programs obtain the same marking code;
s5, temporarily storing the TSZ information to a temporary storage space for realizing the set TSZ, and refreshing the position information of the temporary storage space for transmitting the identification code;
s6, constructing a transmission marking code control program to inform a GSM module that a new information frame is transmitted;
s7, the GSM module enables the DMA to read the transmission marker code chain according to the content of the transmission marker code control program to obtain the position of each information frame building chain in all the divided subframes;
s8, DMA reads the content of each chain-building information frame which is divided into sub-frames according to the chain-building position of the information frame represented in the mark code; assembling the sub-frames divided by the same information frame into an information frame;
s9, the GSM module executes error detection on the error detection codes in the assembled information frames for the information frames, executes registration towards the transfer marking codes after the information frames are transferred, and informs a stopping instruction of the end of the transfer of the information frames of the bottom layer program;
and S10, a bottom layer program running on the GSM module processes the stop instruction, checks the registration condition of the transmission identification code, moves the TSZ out of the temporary storage space of the TSZ if the TSZ is transmitted, cancels the TSZ, and refreshes the reading position of the temporary storage space of the transmission identification code.
In S4, a chain is established for each information frame divided into sub-frames, and the chain comprises a specially set temporary storage space, a chain temporary storage space and a set non-chain temporary storage space, wherein the specially set temporary storage space, the chain temporary storage space and the set non-chain temporary storage space respectively obtain a transmission marking code chain which is constructed by a transmission marking code to support a main controller, the decomposed information in storage is allowed to be achieved by the main controller at one time, and each transmission marking code in the marking code chain comprises 2 6 Bits store address information, capacity information.
In S6, the constructed id management and control program describes the address and capacity information stored in the id chain table, and the id management and control program informs the GSM module in a temporary storage space writing manner after being constructed by the bottom layer program running on the GSM module, so as to read all id chains to the GSM module.
The TSZ is used as a space for temporarily storing the temperature information to be transmitted and the frame header content, the chain temporary storage space is used for storing the information frame content, and the GSM module obtains the information frame content according to the position information represented by the mark code and transmits the information frame. And forming an information frame by the temperature information and the frame header, wherein the information frame comprises the frame header and the temperature information.
The sensing mode device for logistics management comprises:
a temperature sensor is arranged in a box body of a heat preservation chamber for preserving transported goods of logistics, the temperature sensor and a wireless communication module are in communication connection with a controller, and the controller is in communication connection with a monitoring terminal in a wireless communication network through the wireless communication module;
the wireless communication module comprises a GSM module, and the wireless communication network is a GSM communication network; the wireless communication module also comprises a main memory controller which is in communication connection with the main memory of the GSM module.
The invention has the beneficial effects that:
the invention achieves the aim by transferring part of the functions of the GSM module into the program, namely, the bottom layer program running on the GSM module is adopted to divide the high-capacity information frame and refresh the frame header, thereby saving the time consumed by the link establishment operation of the GSM module and greatly reducing the complexity of the GSM module; the invention supports the input and output operation under the low-consumption time-division sub-frame, greatly improves the consumption of the matching of the bottom layer program and the GSM module, and saves the copy of the link establishing message to the specially set program buffer area by comparing the GSM module supporting the input and output of the low-load time-division sub-frame, only copies the frame header refreshed by the information after division to the program temporary storage space, and improves the performance.
Detailed Description
The present invention will be further described with reference to the following examples.
Example 1:
the sensing method for logistics management includes the following setting for comparing the time consumed for transmitting temperature information:
to start the time consumed for temperature information transfer, the time consumed for starting temperature information transfer of one 2000bit capacity is set to O b
The time consumption of information interaction operation between GSM communication layers and the time consumption of temperature information operation with the capacity of 2000bit is set as O t (ii) a The time consumption of the interactive operation of the information interaction between the GSM communication layers of 2000bit temperature information and 9600bit capacity temperature information is consistent, and is O t
The time consumed by the underlying program running on the GSM module to process the temperature information is set to be O E
Under the condition of no copying, the bottom layer program running on the GSM module handles temperature information with 2000bit capacity and 9600bit information frames, the processing time consumption is equal, and the temperature information and the 9600bit information frames are O E
The time consumed by copying the temperature information by the GSM module is set as O when processing a 2000-bit capacity information frame d (ii) a The copy operation is: before the temperature information is transmitted to the GSM module, the temperature information is copied to the operation in the constant temporary storage space controlled by the GSM module.
Processing of direct access temperature information for GSM modules is time consuming, transferring temperature informationThe processing time required for directly accessing the temperature information during the rest is set to O EXB-S (ii) a The direct access temperature information is the temperature information of the main memory of the GSM module directly accessed through the main memory controller.
The processing time consumption for dividing the temperature information into sub-information by using the GSM module is simply set as O IG
When the temperature information is divided under a low load, the processing time of the program divided temperature information for input and output is set to O EH
The TSZ is used as a space for temporarily storing the temperature information to be transmitted and the frame header content, the chain temporary storage space is used for storing the information frame content, and the GSM module obtains the information frame content according to the position information represented by the mark code and transmits the information frame. And forming an information frame by the temperature information and the frame header, wherein the information frame comprises the frame header and the temperature information.
The time consumption for the GSM module to transfer the temperature information with the capacity of x 2000 bits under the general GSM standard is estimated as follows: x X O b +x×O T +x×O E +x×O EXB-S
The time consumption for the GSM module under the improved GSM standard to transfer the temperature information with the capacity of x 2000bit is estimated as follows: x X O b +O T +O E +x×O EMA +x×O IG
The GSM module supporting the input and output of low-load temperature information division transfers the temperature information with the capacity of x 2000bit, the information frame content in the TSZ can be transferred only after being copied to a specific program temporary storage space, and the time consumption for transferring the temperature information is estimated as follows: x X O b +O T +x×O E +x×O d +x×O EH +x×O EMA
The processing time consumption estimation of the high-capacity temperature information division and transmission method by matching the program with the GSM module, which is provided by the invention, for transmitting the temperature information with the capacity of x multiplied by 2000 bits is as follows: x X O b +O T +O E +x×O EH +x×O EMA
Here, x is a positive integer.
The temperature information division transmission method provided by the invention can be obtained, compared with an improved GSM module under the GSM standard, the time consumption of the calculation of the division molecule information of the GSM module is saved, the complexity of the GSM module construction is greatly reduced, compared with the input and output GSM module supporting the low-load temperature information division, the one-time copying of the division temperature information to a specific program temporary storage space is saved, and the performance is well improved.
A sensing approach for logistics management, comprising:
the controller transmits the temperature information transmitted by the temperature sensor to a monitoring terminal in a wireless communication network for display via the wireless communication module;
the controller transmits the temperature information transmitted by the temperature sensor to a monitoring terminal in a wireless communication network via a wireless communication module for display, and the method comprises the following steps:
the controller assembles the temperature information into frames, transmits the frames to the wireless communication module for processing, and then transmits the frames to the monitoring terminal in the wireless communication network for displaying, wherein the assembling into frames is to assemble the temperature information into information frames.
The method for assembling the temperature information into frames and then transmitting the frames to the wireless communication module for processing comprises the following steps:
when the GSM module and a bottom layer program running on a main controller of the GSM module are provided with a dividing and recombining function for supporting the division of an information frame into subframes, before the bottom layer program running on the GSM module does not divide a high-capacity information frame, the storage of the high-capacity information frame is combined with the use of a non-chain temporary storage space set in a main memory of the main controller of the GSM module, a frame header of the high-capacity information frame is stored in a chain temporary storage space set in the main memory of the main controller of the GSM module, and the temperature information of the high-capacity information frame is stored in the chain temporary storage space or the non-chain temporary storage space, namely the storage space of the set subframes represented by a position array gsbht;
the capacity of the temperature information in the non-chained temporary storage space as the non-chained information is stored in the information capacity space message _ zone of the TSZ. The chain type temporary storage spaces are temporary storage spaces arranged in sequence, and the non-chain type temporary storage spaces are independently distributed temporary storage spaces.
The temperature information of the high-capacity information frame is stored in a set space indicated by a position array gsbht in a class variable TSZ _ publici _ jygp. The high-capacity information frame is an information frame in which the capacity of the temperature information in the information frame exceeds 9600 bits.
The array member in the position array gsbht is a class variable two, a member variable zone _ DV in the class variable two represents a difference value between a starting position of the temperature information in the information frame in the set space and the starting position of the space, and a member variable dilength in the class variable two represents a capacity of the temperature information of the information frame in the set space. The storage of the information frame of the temperature information with the capacity of 9600bit at most is supported by the capacity of the frame header information and the capacity of the temperature information in the chain temporary storage space as chain information. The invention relates to a method for reducing the time consumption of dividing a GSM module into subframes, which is characterized in that a bottom layer program on the GSM module is used for dividing the subframes in advance, a high-capacity information frame is divided in the bottom layer program running on the GSM module, and the GSM module supports the input and output of low-load temperature information division, all information frames are copied to a special program temporary storage space for transmission, and the copying loss of the information frames is reduced; after the information frame is divided by the bottom layer program running on the GSM module, the storage mode of the sub-frame is that the frame head of the sub-frame is stored in the specially set program temporary storage space, and the temperature information part in the sub-frame is still stored in the chain temporary storage space and the set space.
The bottom layer program running on the GSM module is used for determining the number of the sub-frames into which the information frame is divided aiming at the information frame, and the division of the information frame is not required to be executed; for the information frame to be divided into the sub-frames, copying the frame headers of the information frame to a plurality of program temporary storage spaces according to the number of the sub-frames to be divided; the frame head of the first subframe is stored in the program temporary storage space, the temperature information of the first subframe is still stored in the chain type temporary storage space, the frame head of the next subframe is stored in the program temporary storage space, one part of the temperature information of the next subframe is stored in the chain type temporary storage space, and the rest part of the temperature information is stored in the set non-chain type temporary storage space; and constructing a transmission marker code chain for frame header and temperature information of all the subframes, wherein the marker code chain comprises a plurality of chain nodes which are arranged in sequence, each chain node comprises position information of the subframes, the GSM module obtains the position of each subframe according to the transmission marker code chain and also obtains the information of each subframe, a plurality of subframes are assembled into an information frame, and after error detection of the information frame is executed, the information frame transmission is finally achieved.
Example 2:
the sensing method for logistics management includes the following setting for comparing the time consumed for transmitting temperature information:
to start the time consumption for temperature information transfer, the time consumption for starting temperature information transfer of a capacity of 2000 bits is set to O b
The time consumption for information interactive operation between GSM communication layers and the time consumption for temperature information operation with a capacity of 2000 bits is set to O t (ii) a The time consumption of the interactive operation of the information interaction between the GSM communication layers of 2000bit temperature information and 9600bit capacity temperature information is consistent, and is O t
The time consumed by the underlying program running on the GSM module to handle the temperature information is set to O for a 2000bit capacity of temperature information E
Under the condition of no copying, the bottom layer program running on the GSM module handles temperature information with 2000bit capacity and 9600bit information frames, the processing time consumption is equal, and the temperature information and the 9600bit information frames are O E
The time consumed by copying the temperature information by the GSM module is set as O when processing a 2000-bit capacity information frame d (ii) a The copy operation is:before the temperature information is transmitted to the GSM module, the temperature information is copied to the operation in the constant temporary storage space controlled by the GSM module.
The processing time consumption of the direct access temperature information of the GSM module is set to be O when the temperature information is transmitted EXB-S (ii) a The direct access temperature information is the temperature information of the main memory directly accessing the GSM module through the main memory controller.
The processing time consumption for dividing the temperature information into sub-information by using the GSM module is set to be O IG
When the temperature information is divided under a low load, the processing time consumption of the program divided temperature information for input and output is set to O EH
The TSZ is used as a space for temporarily storing the temperature information to be transmitted and the frame header content, the chain temporary storage space is used for storing the information frame content, and the GSM module obtains the information frame content according to the position information represented by the mark code and transmits the information frame. And forming an information frame by the temperature information and the frame header, wherein the information frame comprises the frame header and the temperature information.
The time consumption for the GSM module to transfer the temperature information with the capacity of x 2000 bits under the general GSM standard is estimated as follows: x X O b +x×O T +x×O E +x×O EXB-S
The time consumption for the GSM module under the improved GSM standard to transfer the temperature information with the capacity of x 2000bit is estimated as follows: x X O b +O T +O E +x×O EMA +x×O IG
The GSM module supporting the input and output of low-load temperature information division transfers the temperature information with the capacity of x 2000bit, the information frame content in the TSZ is copied to a specific program temporary storage space and then transferred, and the processing time consumption for transferring the temperature information is estimated as follows: x X O b +O T +x×O E +x×O d +x×O EH +x×O EMA
The invention provides a high-capacity temperature information division and transmission method for matching a program with a GSM module, which transmits x 2000bThe time consumption for processing the it-capacity temperature information is estimated as follows: x X O b +O T +O E +x×O EH +x×O EMA
Here, x is a positive integer.
The temperature information division transmission method provided by the invention can be obtained, compared with the GSM module under the improved GSM standard, the time consumption of the calculation of the division molecule information of the GSM module is saved, the complexity of the GSM module construction is greatly reduced, compared with the input and output GSM module when supporting the low-load temperature information division, the one-time copying of the division temperature information to a specific program temporary storage space is saved, and the performance is well improved.
A sensing approach for logistics management, comprising:
the controller transmits the temperature information transmitted by the temperature sensor to a monitoring terminal in a wireless communication network for display via the wireless communication module;
the controller transmits the temperature information transmitted by the temperature sensor to a monitoring terminal in a wireless communication network via a wireless communication module for display, and the method comprises the following steps:
the controller assembles the temperature information into frames, transmits the frames to the wireless communication module for processing, and then transmits the frames to the monitoring terminal in the wireless communication network for displaying, wherein the assembling into frames is to assemble the temperature information into information frames.
The method for assembling the temperature information into frames and then transmitting the frames to the wireless communication module for processing comprises the following steps:
when the GSM module and a bottom layer program running on a main controller of the GSM module are provided with a dividing and recombining function for supporting dividing an information frame into subframes, before the bottom layer program running on the GSM module does not divide a high-capacity information frame, the storage of the high-capacity information frame is combined with the use of a non-chain temporary storage space set in a main memory of the main controller of the GSM module, a frame header of the high-capacity information frame is stored in a chain temporary storage space set in the main memory of the main controller of the GSM module, and the temperature information of the high-capacity information frame is stored in the chain temporary storage space or the non-chain temporary storage space, namely the storage space of the set subframes represented by a position array gsbht;
the capacity of the temperature information in the non-chained temporary storage space as the non-chained information is stored in the information capacity space message _ zone of the TSZ. The chain type temporary storage spaces are temporary storage spaces arranged in sequence, and the non-chain type temporary storage spaces are independently distributed temporary storage spaces.
The temperature information of the high-capacity information frame is stored in a set space indicated by a position number group gsbht in a class variable TSZ _ publici _ jygp. The high-capacity information frame is an information frame in which the capacity of the temperature information in the information frame exceeds 9600 bits.
The array member in the position array gsbht is a class variable two, a member variable zone _ DV in the class variable two represents a difference value between a starting position of the temperature information in the information frame in the set space and the starting position of the space, and a member variable dilength in the class variable two represents a capacity of the temperature information of the information frame in the set space. The storage of the information frame of the temperature information with the capacity of 9600bit is supported at most by the capacity of the frame header information and the capacity of the temperature information in the chain temporary storage space as chain information. The invention relates to a method for reducing the time consumption of dividing a GSM module into subframes, which is characterized in that a bottom layer program on the GSM module is used for dividing the subframes in advance, a high-capacity information frame is divided in the bottom layer program running on the GSM module, and the GSM module supports the input and output of low-load temperature information division, all information frames are copied to a special program temporary storage space for transmission, and the copying loss of the information frames is reduced; after the information frame is divided by the bottom layer program running on the GSM module, the storage mode of the sub-frame is that the frame head of the sub-frame is stored in the specially set program temporary storage space, and the temperature information part in the sub-frame is still stored in the chain temporary storage space and the set space.
The bottom layer program running on the GSM module is used for determining the number of the sub-frames into which the information frame is divided aiming at the information frame, and the division of the information frame is not required to be executed; for the information frame to be divided into the sub-frames, copying the frame headers of the information frame to a plurality of program temporary storage spaces according to the number of the sub-frames to be divided; the frame head of the first subframe is stored in the program temporary storage space, the temperature information of the first subframe is still stored in the chain type temporary storage space, the frame head of the next subframe is stored in the program temporary storage space, one part of the temperature information of the next subframe is stored in the chain type temporary storage space, and the rest part of the temperature information is stored in the set non-chain type temporary storage space; and constructing a transmission marker chain for frame header and temperature information of all subframes, wherein the marker chain comprises a plurality of chain nodes which are arranged in sequence, each chain node comprises position information of the subframe, the GSM module obtains the position of each subframe according to the transmission marker chain and also obtains the information of each subframe, a plurality of subframes are assembled into an information frame, and the information frame is finally transmitted after error detection is performed on the information frame.
The controller transmits the temperature information transmitted by the temperature sensor to a monitoring terminal in a wireless communication network for display through the wireless communication module, and the method specifically comprises the following steps:
s1, obtaining the chain temporary storage space and the set non-chain temporary storage space number of the TSZ, analyzing the frame head of an information frame, and determining the number of sub-frames divided by the information frame facing the information frame with the temperature information, and whether to divide the information frame into the sub-frames or not; the division of the information frame into sub-frames is performed if the capacity of the information frame is more than 9600 bits.
S2, for the information frame to be divided into the sub-frames, copying the information frame header to a plurality of specially set program temporary storage spaces according to the number of the sub-frames to be divided, so as to refresh the frame header content of each sub-frame, and not executing the step without the information frame to be divided into the sub-frames;
s3, establishing a corresponding relation with a main controller for each subframe according to the subframes divided by the information frame; the corresponding relation is that the initial position information and the capacity of each subframe temporarily stored in the main memory of the GSM module are transmitted to the main memory controller for registration.
S4, establishing a chain for each subframe, wherein the chain comprises a specially-set temporary storage space, a chain type temporary storage space and a set non-chain type temporary storage space to respectively obtain a transmission marking code, the transmission marking code is added into the information of the corresponding subframe to construct a marking code chain, and when the marking code is obtained, a preset mutual exclusion amount is required to be obtained, so that no plurality of programs obtain the same marking code;
s5, temporarily storing the TSZ information to a TSZ temporary storage space for realizing setting, and refreshing the position information of the temporary storage space for transmitting the identification code; the initial position of each identification code is temporarily stored in a space.
S6, constructing a transmission marking code control program to inform a GSM module that a new information frame is transmitted;
s7, the GSM module enables the DMA to read the transmission marker code chain according to the content of the transmission marker code control program to obtain the position of each information frame building chain in all the divided subframes;
s8, DMA reads the content of each chain-building information frame which is divided into sub-frames according to the chain-building position of the information frame represented in the mark code; assembling sub-frames divided by the same information frame into an information frame;
s9, the GSM module executes error detection on the error detection codes in the assembled information frames for the information frames, executes registration towards the transfer marking codes after the information frames are transferred, and informs a stopping instruction of the end of the transfer of the information frames of the bottom layer program;
and S10, a bottom layer program running on the GSM module processes the stop instruction, checks the registration condition of the transmission identification code, moves the TSZ out of the temporary storage space of the TSZ if the TSZ is transmitted, cancels the TSZ, and refreshes the reading position of the temporary storage space of the transmission identification code.
In the S4, a chain is established for each information frame divided into sub-frames, and the chain comprises a mark code chain constructed by transfer mark codes respectively obtained by a specially set temporary storage space, a chain type temporary storage space and a set non-chain type temporary storage space to support a main controller and allow the sub-frames to be dividedThe decoded information in storage is once achieved by the main controller, and each transmission mark code in the mark code chain list comprises 2 6 Bits store address information, capacity information.
In S6, the constructed id management and control program describes the address and capacity information stored in the id chain table, and the id management and control program informs the GSM module in a temporary storage space writing manner after being constructed by the bottom layer program running on the GSM module, so as to read all id chains to the GSM module.
The TSZ is used as a space for temporarily storing temperature information and frame header contents to be transmitted, a chain temporary storage space is used for storing the information frame contents, and the GSM module obtains the information frame contents according to the position information indicated by the mark codes and transmits the information frames. And forming an information frame by the temperature information and the frame header, wherein the information frame comprises the frame header and the temperature information.
The sensing mode device for logistics management comprises:
the temperature sensor is arranged in a box body of the heat preservation chamber for preserving the transported objects of the cold chain logistics, the temperature sensor and the wireless communication module are in communication connection with the controller I, and the controller is in communication connection with the monitoring terminal in the wireless communication network through the wireless communication module, so that the controller I can transmit the temperature information transmitted by the temperature sensor to the monitoring terminal in the wireless communication network through the wireless communication module for displaying, and the sensing and monitoring effect is achieved;
the wireless communication module comprises a GSM module, and the wireless communication network is a GSM communication network; the wireless communication module also comprises a main memory controller which is in communication connection with the main memory of the GSM module through a data bus. The monitoring terminal can be a PC or a notebook computer, and the controller I and the main controller can be ARM processors or single-chip microcomputers.
While the present invention has been described above in terms of procedures illustrated in embodiments, it will be understood by those skilled in the art that the present disclosure is not limited to the embodiments described above, and that various changes, alterations, and substitutions may be made without departing from the scope of the present invention.

Claims (6)

1. A sensing method for logistics management, comprising:
the controller transmits the temperature information transmitted by the temperature sensor to a monitoring terminal in a wireless communication network for display via the wireless communication module;
the controller transmits the temperature information transmitted by the temperature sensor to a monitoring terminal in a wireless communication network via a wireless communication module for display, and the method comprises the following steps:
the controller assembles the temperature information into frames, transmits the frames to the wireless communication module for processing, and then transmits the frames to the monitoring terminal in the wireless communication network for displaying, wherein the assembling into frames is to assemble the temperature information into information frames;
the method for assembling the temperature information into frames and then transmitting the frames to the wireless communication module for processing comprises the following steps: when the GSM module and a bottom layer program running on the GSM module are provided with a dividing and recombining function for supporting dividing an information frame into subframes, before the bottom layer program running on the GSM module does not divide a high-capacity information frame, the storage of the high-capacity information frame is combined with the application of a non-chain temporary storage space, a frame header of the high-capacity information frame is stored in the chain temporary storage space, and temperature information of the high-capacity information frame is stored in the chain temporary storage space or the non-chain temporary storage space, namely a set subframe storage space represented by a position array gsbht; the capacity of the temperature information in the non-chain temporary storage space as the non-chain information is stored in the information capacity space message _ zone of the TSZ;
the temperature information of the high-capacity information frame is stored in a set space represented by a position array gsbht in a class variable TSZ _ publici _ jygp;
the array member in the position array gsbht is a class variable two, a member variable one zone _ DV in the class variable two represents the difference value between the initial position of the temperature information in the information frame in the set space and the initial position of the space, and a member variable two length in the class variable two represents the capacity of the temperature information of the information frame in the set space; the method comprises the steps that the capacity of frame header information in a chain temporary storage space serving as chain information is added with the capacity of temperature information, and the storage of an information frame of the temperature information with the capacity of 9600 bits is supported at most;
the bottom layer program running on the GSM module is used for determining the number of the sub-frames into which the information frame is divided aiming at the information frame, and the division of the information frame is not required to be executed; for the information frame to be divided into sub-frames, copying the frame head of the information frame to a plurality of program temporary storage spaces according to the number of the sub-frames to be divided; the frame head of the first subframe is stored in the program temporary storage space, the temperature information of the first subframe is still stored in the chain type temporary storage space, the frame head of the next subframe is stored in the program temporary storage space, one part of the temperature information of the next subframe is stored in the chain type temporary storage space, and the rest part of the temperature information is stored in the set non-chain type temporary storage space;
and constructing a transmission marker code chain for frame header and temperature information of all the subframes, wherein the marker code chain comprises a plurality of chain nodes which are arranged in sequence, each chain node comprises position information of the subframes, the GSM module obtains the position of each subframe according to the transmission marker code chain and also obtains the information of each subframe, a plurality of subframes are assembled into an information frame, and after error detection of the information frame is executed, the information frame transmission is finally achieved.
2. The sensing method for logistics management according to claim 1, wherein the controller transmits the temperature information transmitted from the temperature sensor to the monitoring terminal in the wireless communication network via the wireless communication module for display, and the method comprises the following steps:
s1, obtaining the chain temporary storage space and the set non-chain temporary storage space number of the TSZ, analyzing the frame head of an information frame, and determining the number of sub-frames divided by the information frame facing the information frame with the temperature information, and whether to divide the information frame into the sub-frames or not;
s2, for the information frame to be divided into the sub-frames, copying the information frame header to a plurality of specially set program temporary storage spaces according to the number of the sub-frames to be divided, so as to refresh the frame header content of each sub-frame, and not executing the step without the information frame to be divided into the sub-frames;
s3, establishing a corresponding relation with a main controller for each subframe according to the subframes divided by the information frame;
s4, establishing a link for each subframe, wherein the established link comprises a specially set temporary storage space, a chain type temporary storage space and a set non-chain type temporary storage space to respectively obtain a transmission marking code, the transmission marking code is added into information of the corresponding subframe to construct a marking code chain, and a preset mutual exclusion amount is obtained when the marking code is obtained, so that the condition that a plurality of programs do not obtain the same marking code is ensured;
s5, temporarily storing the TSZ information to a preset TSZ temporary storage space, and refreshing the position information of the temporary storage space for transmitting the identification code;
s6, constructing a transmission marking code control program to inform a GSM module that a new information frame is transmitted;
s7, the GSM module enables the DMA to read the transmission marker code chain according to the content of the transmission marker code control program to obtain the position of each information frame building chain in all the divided subframes;
s8, DMA reads the content of each chain-building information frame which is divided into sub-frames according to the chain-building position of the information frame represented in the mark code; assembling the sub-frames divided by the same information frame into an information frame;
s9, the GSM module executes error detection on the error detection codes in the assembled information frames for the information frames, executes registration towards the transfer marking codes after the information frames are transferred, and informs a stopping instruction of the end of the transfer of the information frames of the bottom layer program;
s10, a bottom layer program running on the GSM module processes the stop instruction, checks the registration condition of the transmission marking code, moves out the TSZ from the TSZ temporary storage space if the TSZ is transmitted, achieves the cancellation of the TSZ, and refreshes the reading position of the temporary storage space of the transmission marking code.
3. The method as claimed in claim 2, wherein in S4, a link is established for each information frame divided into sub-frames, and the link includes a tag code chain constructed by transfer tag codes respectively obtained from a dedicated temporary storage space, a chained temporary storage space, and a non-chained temporary storage space, so as to support the host controller, allowing the decomposed information in storage to be achieved by the host controller at one time, and each transfer tag code in the tag code chain includes 26 bits of storage address information and capacity information.
4. The sensing method for logistics management of claim 3, wherein in the S6, the constructed identifier management and control program describes the address and capacity information stored in the identifier chain table, and after the identifier management and control program is constructed by the bottom layer program running on the GSM module, the identifier management and control program informs the GSM module in a temporary writing space manner to read all the identifier chains to the GSM module.
5. The sensing method for logistics management of claim 4, wherein the TSZ is used as a space for temporarily storing the temperature information and the frame header content to be transmitted, a chain temporary storage space is used for storing the content of the information frame, and the GSM module obtains the content of the information frame according to the position information indicated by the identification code to transmit the information frame; and forming an information frame by the temperature information and the frame header, wherein the information frame comprises the frame header and the temperature information.
6. A sensing apparatus based on the physical distribution management sensing method according to any one of claims 1 to 5, comprising:
a temperature sensor is arranged in a box body of a heat preservation chamber for preserving the transported objects of the logistics, the temperature sensor and the wireless communication module are in communication connection with a controller, and the controller is in communication connection with a monitoring terminal in a wireless communication network through the wireless communication module;
the wireless communication module comprises a GSM module, and the wireless communication network is a GSM communication network; the wireless communication module also comprises a main memory controller which is in communication connection with the main memory of the GSM module.
CN202010158914.6A 2020-03-09 2020-03-09 Sensing mode and device for logistics management Active CN111491268B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010158914.6A CN111491268B (en) 2020-03-09 2020-03-09 Sensing mode and device for logistics management

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010158914.6A CN111491268B (en) 2020-03-09 2020-03-09 Sensing mode and device for logistics management

Publications (2)

Publication Number Publication Date
CN111491268A CN111491268A (en) 2020-08-04
CN111491268B true CN111491268B (en) 2022-10-04

Family

ID=71811609

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010158914.6A Active CN111491268B (en) 2020-03-09 2020-03-09 Sensing mode and device for logistics management

Country Status (1)

Country Link
CN (1) CN111491268B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114143361A (en) * 2021-11-08 2022-03-04 江苏展高科技发展有限公司 Breaker control system and method of intelligent Internet of things

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1804922A (en) * 2006-01-24 2006-07-19 大连水产学院 GPRS-based automatic seawater temperature monitoring system
CN202075647U (en) * 2011-05-16 2011-12-14 淮阴工学院 Temperature and humidity monitoring system
CN102375460A (en) * 2010-08-26 2012-03-14 福建新大陆电脑股份有限公司 Wireless temperature monitoring device of portable incubator for cold-chain logistics
CN107065710A (en) * 2017-06-16 2017-08-18 浙江科技学院 A kind of vehicle-mounted real-time monitoring system of passive and wireless cold chain transportation based on Internet of Things
CN110717700A (en) * 2018-07-15 2020-01-21 西北农林科技大学 GPRS (general packet radio service) packaged food transportation monitoring method

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201936433U (en) * 2009-11-16 2011-08-17 武汉阿米特科技有限公司 Remote room temperature real-time monitoring device
KR101830660B1 (en) * 2016-01-29 2018-02-21 엘지전자 주식회사 Sensor for communicating with refrigerator and control system for refrigerator including the sensor

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1804922A (en) * 2006-01-24 2006-07-19 大连水产学院 GPRS-based automatic seawater temperature monitoring system
CN102375460A (en) * 2010-08-26 2012-03-14 福建新大陆电脑股份有限公司 Wireless temperature monitoring device of portable incubator for cold-chain logistics
CN202075647U (en) * 2011-05-16 2011-12-14 淮阴工学院 Temperature and humidity monitoring system
CN107065710A (en) * 2017-06-16 2017-08-18 浙江科技学院 A kind of vehicle-mounted real-time monitoring system of passive and wireless cold chain transportation based on Internet of Things
CN110717700A (en) * 2018-07-15 2020-01-21 西北农林科技大学 GPRS (general packet radio service) packaged food transportation monitoring method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
嵌入式城市冷链物流智能车载终端的研究与设计;胡冠山;《科技创新导报》;20180321(第09期);全文 *

Also Published As

Publication number Publication date
CN111491268A (en) 2020-08-04

Similar Documents

Publication Publication Date Title
CN104216862B (en) Communication means, device between a kind of consumer process and system service
CN111491268B (en) Sensing mode and device for logistics management
CN108416069A (en) A kind of data acquisition device and method
CN105243033A (en) Data processing method and electronic device
CN107590099A (en) A kind of more main frames access method, expanding unit and the storage medium of slave
CN109802951A (en) A kind of message forwarding method, equipment and storage equipment, program product
CN101706760A (en) Matrix transposition automatic control circuit system and matrix transposition method
JPH03228169A (en) Computer system
US20070214326A1 (en) Storage control apparatus, storage control method, computer product, and information processing apparatus
JP2002050184A (en) Associative memory
US4969085A (en) Memory module for a memory-managed computer system
CN100407693C (en) Dispatching method and equipment for searching and updating routes based on FPGA
CN103136057A (en) Virtual drive interactive method and virtual drive interactive device
JP3178474B2 (en) Communication control device
JPS592058B2 (en) Storage device
JP3884762B2 (en) Job execution system and recording medium
JPH0410050A (en) Computer system
CN116627648A (en) High-power data processing method, system, processor and storage medium
JPS6368960A (en) Sequential access controller for shared storage medium
JPH036763A (en) High speed data transfer method between dram type memory devices
JPS6314260A (en) System for generating communication control program
JPH04153746A (en) Storage contents control method for shared extension storage
JPS6086654A (en) System for remote loading of system from another cpu
JP2696899B2 (en) Multiprocessor system
CN115469621A (en) Production line product tracking method and device, computer equipment and storage 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

Effective date of registration: 20240131

Address after: Room 312, Building A01, Building 21, No. 15 Fengji Avenue, Yuhuatai District, Nanjing City, Jiangsu Province, 210000

Patentee after: Nanjing Hongtai Automation Technology Co.,Ltd.

Country or region after: China

Address before: 211168 No. 180, long Mian Road, Jiangning District, Nanjing, Jiangsu.

Patentee before: JIANGSU INSTITUTE OF ECONOMIC & TRADE TECHNOLOGY

Country or region before: China

TR01 Transfer of patent right