CN111275372A - Method and device for generating information - Google Patents

Method and device for generating information Download PDF

Info

Publication number
CN111275372A
CN111275372A CN201811478669.6A CN201811478669A CN111275372A CN 111275372 A CN111275372 A CN 111275372A CN 201811478669 A CN201811478669 A CN 201811478669A CN 111275372 A CN111275372 A CN 111275372A
Authority
CN
China
Prior art keywords
vehicle
cargo
information
relative distance
driver
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.)
Pending
Application number
CN201811478669.6A
Other languages
Chinese (zh)
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.)
Beijing Jingdong Century Trading Co Ltd
Beijing Jingdong Shangke Information Technology Co Ltd
Original Assignee
Beijing Jingdong Century Trading Co Ltd
Beijing Jingdong Shangke Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Jingdong Century Trading Co Ltd, Beijing Jingdong Shangke Information Technology Co Ltd filed Critical Beijing Jingdong Century Trading Co Ltd
Priority to CN201811478669.6A priority Critical patent/CN111275372A/en
Publication of CN111275372A publication Critical patent/CN111275372A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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
    • G06Q10/0833Tracking

Landscapes

  • Business, Economics & Management (AREA)
  • Engineering & Computer Science (AREA)
  • Economics (AREA)
  • Quality & Reliability (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Human Resources & Organizations (AREA)
  • Marketing (AREA)
  • Operations Research (AREA)
  • Development Economics (AREA)
  • Strategic Management (AREA)
  • Tourism & Hospitality (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Traffic Control Systems (AREA)

Abstract

The embodiment of the application discloses a method and a device for generating information. One embodiment of the method comprises: acquiring positioning information of a vehicle and goods, wherein the vehicle is specified to load the goods; generating a relative distance between the vehicle and the cargo based on the positioning information of the vehicle and the cargo; determining whether a relative distance between the vehicle and the cargo meets a first preset condition; based on the determination result, state information of the cargo is generated. This embodiment is to two integrative all-round, the overall process control of car, goods, has improved the degree of accuracy of the state information of the goods that generates, helps under the condition that the goods is in abnormal state, in time provides alarm information to avoid the goods to be transferred the package in the transportation.

Description

Method and device for generating information
Technical Field
The embodiment of the application relates to the technical field of logistics, in particular to a method and a device for generating information.
Background
The basic and strategic positions of the logistics industry in national economy of China are increasingly highlighted, and transportation safety is the premise and the basis of logistics transportation activities and is an important guarantee for improving the reliability of logistics transportation, reducing the logistics transportation cost and improving the performance of the logistics transportation.
In recent years, the phenomena of cargo loss and bag adjustment in the logistics transportation process are frequent. The goods packing is a malignant risk caused by human factors and is not an irresistible factor in the safety of logistics transportation. Therefore, it is possible to effectively control by technical means.
With the development of logistics informatization, the industry is actively exploring effective means for logistics transportation safety management. The current solutions mainly include the following three types: firstly, positioning and acquiring vehicle information through a vehicle monitoring and positioning system; secondly, the safety management system of the logistics transportation company is used for restricting; and thirdly, monitoring the goods through the logistics electronic lock, and tracing the safety to play a role in supervision.
Disclosure of Invention
The embodiment of the application provides a method and a device for generating information.
In a first aspect, an embodiment of the present application provides a method for generating information, where the method includes: acquiring positioning information of a vehicle and goods, wherein the vehicle is specified to load the goods; generating a relative distance between the vehicle and the cargo based on the positioning information of the vehicle and the cargo; determining whether a relative distance between the vehicle and the cargo meets a first preset condition; based on the determination result, state information of the cargo is generated.
In some embodiments, the positioning information of the vehicle includes position information and positioning time of the vehicle, and the positioning information of the cargo includes position information, positioning time and speed information of the cargo; and generating a relative distance between the vehicle and the cargo based on the positioning information of the vehicle and the cargo, including: generating a positioning distance between the vehicle and the cargo based on the position information of the vehicle and the cargo; based on the positioning distance between the vehicle and the cargo, a relative distance between the vehicle and the cargo is generated.
In some embodiments, generating the relative distance between the vehicle and the cargo based on the positioning distance between the vehicle and the cargo comprises: generating an error distance between the vehicle and the cargo based on the positioning time of the vehicle and the positioning time and speed information of the cargo; based on the positioning distance and the error distance between the vehicle and the cargo, a relative distance between the vehicle and the cargo is generated.
In some embodiments, determining whether the relative distance between the vehicle and the cargo satisfies a first preset condition comprises: calculating a normal distribution function value corresponding to the relative distance between the vehicle and the goods; comparing a normal distribution function value corresponding to the relative distance between the vehicle and the goods with a first preset threshold value; if the normal distribution function value corresponding to the relative distance between the vehicle and the goods is not larger than a first preset threshold value, determining that the relative distance between the vehicle and the goods meets a first preset condition; and if the normal distribution function value corresponding to the relative distance between the vehicle and the goods is larger than a first preset threshold value, determining that the relative distance between the vehicle and the goods does not meet a first preset condition.
In some embodiments, generating the status information of the cargo based on the determination comprises: if the relative distance between the vehicle and the goods meets a first preset condition, generating information for indicating that the goods are in a normal state; and if the relative distance between the vehicle and the goods does not meet the first preset condition, generating information for indicating that the goods are in an abnormal state.
In some embodiments, before generating the status information of the cargo based on the determination result, further comprising: acquiring positioning information of a driver, wherein the driver is specified to drive a vehicle; generating a relative distance between the vehicle and the driver based on the positioning information of the vehicle and the driver; it is determined whether a relative distance between the vehicle and the driver satisfies a second preset condition.
In some embodiments, the driver's location information includes the driver's location information, location time, and speed information; and generating a relative distance between the vehicle and the driver based on the positioning information of the vehicle and the driver, including: generating a positioning distance between the vehicle and the driver based on the position information of the vehicle and the driver; based on the positioning distance between the vehicle and the driver, a relative distance between the vehicle and the driver is generated.
In some embodiments, generating the relative distance between the vehicle and the driver based on the positioning distance between the vehicle and the driver comprises: generating an error distance between the vehicle and the driver based on the positioning time of the vehicle and the positioning time and speed information of the driver; based on the positioning distance and the error distance between the vehicle and the driver, a relative distance between the vehicle and the driver is generated.
In some embodiments, determining whether the relative distance between the vehicle and the driver satisfies a second preset condition comprises: calculating a normal distribution function value corresponding to the relative distance between the vehicle and the driver; comparing a normal distribution function value corresponding to the relative distance between the vehicle and the driver with a second preset threshold value; if the normal distribution function value corresponding to the relative distance between the vehicle and the driver is not larger than a second preset threshold value, determining that the relative distance between the vehicle and the driver meets a second preset condition; and if the normal distribution function value corresponding to the relative distance between the vehicle and the driver is larger than a second preset threshold value, determining that the relative distance between the vehicle and the driver does not meet a second preset condition.
In some embodiments, generating the status information of the cargo based on the determination comprises: if the relative distance between the vehicle and the goods meets a first preset condition and the relative distance between the vehicle and the driver meets a second preset condition, generating information for indicating that the goods are in a normal state; and if the relative distance between the vehicle and the goods does not meet the first preset condition or the relative distance between the vehicle and the driver does not meet the second preset condition, generating information for indicating that the goods are in an abnormal state.
In some embodiments, the method further comprises: if the state information of the cargo indicates that the cargo is in an abnormal state, or at least one of the following items is received: tracking information of unloading of the goods in the non-designated area, alarm information of opening of a door magnet of the goods in the non-designated area and sending goods abnormity alarm information; and if the state information of the goods indicates that the goods are in a normal state, receiving the tracking information of the goods unloading in the designated area, and sending goods arrival information.
In a second aspect, an embodiment of the present application provides an apparatus for generating information, where the apparatus includes: a first acquisition unit configured to acquire positioning information of a vehicle and a cargo, wherein the vehicle is designated to load the cargo; a first generation unit configured to generate a relative distance between the vehicle and the cargo based on the positioning information of the vehicle and the cargo; a first determination unit configured to determine whether a relative distance between the vehicle and the cargo satisfies a first preset condition; an information generating unit configured to generate state information of the goods based on the determination result.
In some embodiments, the positioning information of the vehicle includes position information and positioning time of the vehicle, and the positioning information of the cargo includes position information, positioning time and speed information of the cargo; and the first generation unit includes: a first generation subunit configured to generate a positioning distance between the vehicle and the cargo based on the position information of the vehicle and the cargo; a second generation subunit configured to generate a relative distance between the vehicle and the cargo based on the positioning distance between the vehicle and the cargo.
In some embodiments, the second generating subunit comprises: a first generation module configured to generate an error distance between the vehicle and the cargo based on the positioning time of the vehicle and the positioning time and speed information of the cargo; a second generation module configured to generate a relative distance between the vehicle and the cargo based on the positioning distance and the error distance between the vehicle and the cargo.
In some embodiments, the first determination unit comprises: the first calculating subunit is configured to calculate a normal distribution function value corresponding to the relative distance between the vehicle and the cargo; a first comparing subunit configured to compare a normal distribution function value corresponding to a relative distance between the vehicle and the cargo with a first preset threshold; the first determining subunit is configured to determine that the relative distance between the vehicle and the cargo meets a first preset condition if the normal distribution function value corresponding to the relative distance between the vehicle and the cargo is not greater than a first preset threshold value; and the second determining subunit is configured to determine that the relative distance between the vehicle and the cargo does not meet a first preset condition if the normal distribution function value corresponding to the relative distance between the vehicle and the cargo is greater than a first preset threshold value.
In some embodiments, the information generating unit includes: a first information generation subunit configured to generate information indicating that the cargo is in a normal state if a relative distance between the vehicle and the cargo satisfies a first preset condition; and the second information generation subunit is configured to generate information for indicating that the cargo is in an abnormal state if the relative distance between the vehicle and the cargo does not meet the first preset condition.
In some embodiments, the apparatus further comprises: a second acquisition unit configured to acquire positioning information of a driver, wherein the driver is specified to drive the vehicle; a second generation unit configured to generate a relative distance between the vehicle and the driver based on the positioning information of the vehicle and the driver; a second determination unit configured to determine whether a relative distance between the vehicle and the driver satisfies a second preset condition.
In some embodiments, the driver's location information includes the driver's location information, location time, and speed information; and the second generating unit includes: a third generation subunit configured to generate a positioning distance between the vehicle and the driver based on the position information of the vehicle and the driver; a fourth generation subunit configured to generate a relative distance between the vehicle and the driver based on the positioning distance between the vehicle and the driver.
In some embodiments, the fourth generating subunit comprises: a third generating module configured to generate an error distance between the vehicle and the driver based on the positioning time of the vehicle and the positioning time and speed information of the driver; a fourth generating module configured to generate a relative distance between the vehicle and the driver based on the positioning distance and the error distance between the vehicle and the driver.
In some embodiments, the second determination unit comprises: a second calculation subunit configured to calculate a normal distribution function value corresponding to a relative distance between the vehicle and the driver; a second comparing subunit configured to compare a normal distribution function value corresponding to a relative distance between the vehicle and the driver with a second preset threshold value; the third determining subunit is configured to determine that the relative distance between the vehicle and the driver meets a second preset condition if the normal distribution function value corresponding to the relative distance between the vehicle and the driver is not greater than a second preset threshold value; and the fourth determining subunit is configured to determine that the relative distance between the vehicle and the driver does not meet a second preset condition if the normal distribution function value corresponding to the relative distance between the vehicle and the driver is greater than a second preset threshold value.
In some embodiments, the information generating unit includes: a third information generating subunit configured to generate information indicating that the cargo is in a normal state if the relative distance between the vehicle and the cargo satisfies a first preset condition and the relative distance between the vehicle and the driver satisfies a second preset condition; and the fourth information generation subunit is configured to generate information for indicating that the cargo is in the abnormal state if the relative distance between the vehicle and the cargo does not meet the first preset condition or the relative distance between the vehicle and the driver does not meet the second preset condition.
In some embodiments, the apparatus further comprises: a first sending unit configured to receive at least one of the following information if the cargo state information indicates that the cargo is in an abnormal state: tracking information of unloading of the goods in the non-designated area, alarm information of opening of a door magnet of the goods in the non-designated area and sending goods abnormity alarm information; and the second sending unit is configured to send cargo delivery information if the state information of the cargo indicates that the cargo is in a normal state and receives the tracking information of unloading of the cargo in the designated area.
In a third aspect, an embodiment of the present application provides a server, where the server includes: one or more processors; storage means for storing one or more programs; when the one or more programs are executed by the one or more processors, the one or more processors are caused to implement the method as described in any implementation of the first aspect.
In a fourth aspect, the present application provides a computer-readable medium, on which a computer program is stored, which, when executed by a processor, implements the method as described in any implementation manner of the first aspect.
According to the method and the device for generating the information, firstly, the relative distance between the vehicle and the goods is generated based on the acquired positioning information of the vehicle and the goods; then determining whether the relative distance between the vehicle and the goods meets a first preset condition or not; and finally, generating the state information of the goods based on the determination result. To two integrative all-round, the overall process control of car, goods, improved the degree of accuracy of the state information of the goods that generate, help under the condition that the goods is in abnormal state, in time provide alarm information to avoid the goods to be transferred the package in the transportation.
Drawings
Other features, objects and advantages of the present application will become more apparent upon reading of the following detailed description of non-limiting embodiments thereof, made with reference to the accompanying drawings in which:
FIG. 1 is an exemplary system architecture diagram in which the present application may be applied;
FIG. 2 is a flow diagram for one embodiment of a method for generating information according to the present application;
FIG. 3 is a flow diagram of yet another embodiment of a method for generating information according to the present application;
FIG. 4 is a schematic diagram of an application scenario of the method for generating information provided in FIG. 3;
FIG. 5 is a schematic block diagram of one embodiment of an apparatus for generating information in accordance with the present application;
FIG. 6 is a schematic block diagram of a computer system suitable for use in implementing a server according to embodiments of the present application.
Detailed Description
The present application will be described in further detail with reference to the following drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the relevant invention and not restrictive of the invention. It should be noted that, for convenience of description, only the portions related to the related invention are shown in the drawings.
It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict. The present application will be described in detail below with reference to the embodiments with reference to the attached drawings.
Fig. 1 shows an exemplary system architecture 100 to which embodiments of the method for generating information or the apparatus for generating information of the present application may be applied.
As shown in fig. 1, the system architecture 100 may include a vehicle mounted terminal 101, a handheld terminal 102, a cargo tracking device 103, a network 104, and a server 105. The network 104 is used to provide a medium for communication links between the in-vehicle terminal 101, the handheld terminal 102, the item tracking device 103, and the server 105. Network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, to name a few.
The in-vehicle terminal 101 may be mounted on a vehicle, and is configured to collect positioning information of the vehicle and transmit the positioning information to the server 105 through the network 104.
The handheld terminal 102 can be carried by a driver of the vehicle, and is used for collecting positioning information of the driver and sending the positioning information to the server 105 through the network 104. The handheld terminal 102 may be various electronic devices with a positioning function, including but not limited to a smart phone, a tablet computer, and the like.
The cargo tracking device 103 may be mounted on a cargo box in which the cargo transported by the vehicle is located for collecting positioning information of the cargo and sending to the server 105 through the network 104.
The server 105 may provide various services. For example, the server 105 may analyze and process the acquired data such as the positioning information of the vehicle, the driver, and the cargo, and generate a processing result (for example, the state information of the cargo).
The server 105 may be hardware or software. When the server 105 is hardware, it may be implemented as a distributed server cluster composed of a plurality of servers, or may be implemented as a single server. When the server 105 is software, it may be implemented as multiple pieces of software or software modules (e.g., to provide distributed services), or as a single piece of software or software module. And is not particularly limited herein.
It should be noted that the method for generating information provided in the embodiment of the present application is generally performed by the server 105, and accordingly, the apparatus for generating information is generally disposed in the server 105.
It should be understood that the number of vehicle terminals, hand-held terminals, cargo tracking devices, networks, and servers in fig. 1 are merely illustrative. Any number of vehicle terminals, hand-held terminals, cargo tracking devices, networks, and servers may be present, as desired for implementation. In the case where only the vehicle or the cargo is monitored to generate the cargo state information, the system architecture 100 may not be provided with the handheld terminal 102.
With continued reference to FIG. 2, a flow 200 of one embodiment of a method for generating information in accordance with the present application is shown. The method for generating information comprises the following steps:
step 201, positioning information of the vehicle and the goods is obtained.
In the present embodiment, the execution subject of the method for generating information (e.g., the server 105 shown in fig. 1) may acquire the positioning information of the vehicle and the cargo by a wired connection manner or a wireless connection manner. Wherein the vehicle is designated to load the cargo.
In general, a vehicle that transports goods may have a vehicle-mounted terminal (e.g., the vehicle-mounted terminal 101 shown in fig. 1) mounted thereon. The vehicle-mounted terminal can locate the vehicle based on a Global Positioning System (GPS) location technology in real time or at regular time (for example, according to a preset collection time and/or collection frequency) to collect the location information of the vehicle. The cargo is typically placed within a cargo box that may have cargo tracking devices (such as the cargo tracking device 103 shown in fig. 1) mounted in concealed relation thereto. The goods tracking device can track the goods to collect the positioning information of the goods. Wherein the cargo tracking device may be a tracker tracking device. At this time, the tracker can be used for inputting or importing the waybill information of the container where the goods are located, and the waybill information of the container and the equipment information of the tracker are bound, so that the goods can be tracked and the positioning information of the goods can be reported in real time.
In practice, if the positioning information of the vehicle and the cargo are collected at the same time, the positioning information of the vehicle may include the position information of the vehicle, and the positioning information of the cargo may include the position information of the cargoAnd (4) information. If the acquisition time has a deviation, the positioning information of the vehicle may further include the positioning time of the vehicle, and the positioning information of the cargo may further include the positioning time and the speed information of the cargo. The location information may be latitude and longitude information in a geographic coordinate system. For example, in one location, the position information of the vehicle may be
Figure BDA0001892836270000081
The location time of the vehicle may be
Figure BDA0001892836270000082
Wherein,
Figure BDA0001892836270000083
is the longitude of the position of the vehicle,
Figure BDA0001892836270000084
is the latitude of the vehicle's location; the position information of the goods may be
Figure BDA0001892836270000085
The location time of the goods may be
Figure BDA0001892836270000086
The speed information of the cargo may be
Figure BDA0001892836270000087
Wherein,
Figure BDA0001892836270000088
is the longitude of the position of the cargo,
Figure BDA0001892836270000089
is the latitude of the location of the cargo,
Figure BDA00018928362700000810
is the speed of the cargo in the longitude line,
Figure BDA00018928362700000811
is goods inVelocity on the latitudinal line.
Step 202, generating a relative distance between the vehicle and the cargo based on the positioning information of the vehicle and the cargo.
In this embodiment, the execution subject may generate the relative distance between the vehicle and the cargo based on the positioning information of the vehicle and the cargo. The relative distance may also be latitude and longitude information in a geographic coordinate system. For example, the relative distance between the vehicle and the cargo may be
Figure BDA0001892836270000091
Figure BDA0001892836270000092
Wherein,
Figure BDA0001892836270000093
is the relative distance in the longitude line between the vehicle and the cargo,
Figure BDA0001892836270000094
is the relative distance on the latitudinal line between the vehicle and the cargo.
If the positioning information of the vehicle and the cargo is collected at the same time or the error caused by the time deviation is ignored, the execution subject can be based on the position information of the vehicle
Figure BDA0001892836270000095
And position information of the goods
Figure BDA0001892836270000096
Generating relative distances between vehicles and cargo
Figure BDA0001892836270000097
Figure BDA0001892836270000098
Specifically, the relative distance between the vehicle and the cargo may be calculated by the following formula
Figure BDA0001892836270000099
Figure BDA00018928362700000910
Figure BDA00018928362700000911
Figure BDA00018928362700000912
If the error caused by the time deviation is considered, the execution body can be based on the position information of the vehicle firstly
Figure BDA00018928362700000913
And position information of the goods
Figure BDA00018928362700000914
Generating a positioning distance between the vehicle and the cargo; then based on the location time of the vehicle
Figure BDA00018928362700000915
And positioning time of goods
Figure BDA00018928362700000916
And speed information
Figure BDA00018928362700000917
Generating an error distance between the vehicle and the cargo; finally, based on the positioning distance and the error distance between the vehicle and the goods, the relative distance between the vehicle and the goods is generated
Figure BDA00018928362700000918
Specifically, the relative distance between the vehicle and the cargo may be calculated by the following formula
Figure BDA00018928362700000919
Figure BDA00018928362700000920
Figure BDA00018928362700000921
Wherein the positioning distance between the vehicle and the goods is
Figure BDA00018928362700000922
Is the positioning distance on the longitude line between the vehicle and the cargo,
Figure BDA00018928362700000923
is the positioning distance on the latitude line between the vehicle and the goods, and the error distance between the vehicle and the goods is
Figure BDA00018928362700000924
Figure BDA00018928362700000925
Is the error distance in the longitude line between the vehicle and the cargo,
Figure BDA00018928362700000926
is the error distance on the latitudinal line between the vehicle and the cargo.
Step 203, determining whether the relative distance between the vehicle and the cargo meets a first preset condition.
In this embodiment, the executing body may analyze a relative distance between the vehicle and the cargo to determine whether the first preset condition is satisfied.
In general, the first preset condition may be various conditions set in advance. For example, if the relative distance between the vehicle and the cargo is within a first preset distance range (e.g., 0-1 m), it is determined that the relative distance between the vehicle and the cargo satisfies a first preset condition; and if the relative distance between the vehicle and the goods is out of the first preset distance range, determining that the relative distance between the vehicle and the goods does not meet a first preset condition.
In some optional implementations of the embodiment, the executing body may determine whether the relative distance between the vehicle and the cargo satisfies a preset condition by:
first, a normal distribution function value corresponding to a relative distance between the vehicle and the cargo is calculated.
Generally, the position information of the vehicle collected by the vehicle-mounted terminal and the position information of the cargo collected by the cargo tracker obey normal distribution and are independent of each other, and since the distribution function obtained by subtracting the two independent normal distribution functions is also the normal distribution function, the relative distance between the vehicle and the cargo also obeys normal distribution.
Here, the normal distribution functions corresponding to the relative distances between the vehicle and the cargo are all normal distribution functions
Figure BDA0001892836270000101
For example, then the relative distance between the vehicle and the cargo
Figure BDA0001892836270000102
Corresponding to a normal distribution having a function value of
Figure BDA0001892836270000103
Wherein, muTxIs the mean of the relative distances on the longitudinal line between the vehicle and the load, σTxIs the standard deviation of the relative distance, μ, on the longitude line between the vehicle and the cargoTyIs the mean, σ, of the relative distances on the latitudinal line between the vehicle and the loadTyIs the standard deviation of the relative distance on the latitudinal line between the vehicle and the cargo.
Secondly, comparing a normal distribution function value corresponding to the relative distance between the vehicle and the goods with a first preset threshold value.
Finally, if the normal distribution function value corresponding to the relative distance between the vehicle and the goods is not larger than a first preset threshold value, determining that the relative distance between the vehicle and the goods meets a first preset condition; and if the normal distribution function value corresponding to the relative distance between the vehicle and the goods is larger than a first preset threshold value, determining that the relative distance between the vehicle and the goods does not meet a first preset condition.
Here, the normal distribution functions corresponding to the relative distance between the vehicle and the cargo are all normal distribution functions
Figure BDA0001892836270000104
The first preset threshold is rhoTzFor example, if the relative distance between the vehicle and the cargo is
Figure BDA0001892836270000105
Satisfy the requirement of
Figure BDA0001892836270000106
It is determined that the relative distance between the vehicle and the cargo satisfies a first preset condition. At this time, the positions of the vehicle and the cargo are the same. If the relative distance between the vehicle and the cargo
Figure BDA0001892836270000111
Satisfy the requirement of
Figure BDA0001892836270000112
It is determined that the relative distance between the vehicle and the cargo does not satisfy the first preset condition. At this time, the positions of the vehicle and the cargo are not the same.
And step 204, generating the state information of the goods based on the determination result.
In this embodiment, the execution body may generate the state information of the cargo based on the determination result. Generally, if the relative distance between the vehicle and the goods meets a first preset condition, information indicating that the goods are in a normal state can be generated, at this time, it is indicated that the goods are not subjected to package adjustment, or other information is further analyzed to determine whether the goods are subjected to package adjustment; if the relative distance between the vehicle and the goods does not meet the first preset condition, information indicating that the goods are in an abnormal state can be generated, and at this time, the goods are possibly unpacked.
According to the information generating method provided by the embodiment of the application, firstly, the relative distance between the vehicle and the goods is generated based on the acquired positioning information of the vehicle and the goods; then determining whether the relative distance between the vehicle and the goods meets a first preset condition or not; and finally, generating the state information of the goods based on the determination result. To two integrative all-round, the overall process control of car, goods, improved the degree of accuracy of the state information of the goods that generate, help under the condition that the goods is in abnormal state, in time provide alarm information to avoid the goods to be transferred the package in the transportation.
With further reference to FIG. 3, a flow 300 of yet another embodiment of a method for generating information in accordance with the present application is illustrated. The method for generating information comprises the following steps:
step 301, obtaining positioning information of a vehicle, a driver and goods.
In the present embodiment, the execution subject of the method for generating information (e.g., the server 105 shown in fig. 1) may acquire the positioning information of the vehicle, the driver, and the goods by a wired connection manner or a wireless connection manner. Wherein the driver is designated to drive the vehicle, and the vehicle is designated to load the cargo.
In general, a vehicle that transports goods may have a vehicle-mounted terminal (e.g., the vehicle-mounted terminal 101 shown in fig. 1) mounted thereon. The vehicle-mounted terminal can position the vehicle based on the GPS positioning technology in real time or in a timed manner (for example, according to preset acquisition time and/or acquisition frequency) so as to acquire the positioning information of the vehicle. A driver of a vehicle may carry a handheld terminal (e.g., handheld terminal 102 shown in fig. 1) with him. The handheld terminal can locate the driver based on the LBS location technology in real time or periodically (e.g., according to a preset acquisition time and/or acquisition frequency) to acquire the driver's location information. Specifically, the handheld terminal may periodically send a positioning request to the background server of the operator, so as to receive positioning information of the handheld terminal returned by the background server of the operator. Because the driver carries the handheld terminal with him, the positioning information of the handheld terminal is the positioning information of the driver. The cargo is typically placed within a cargo box that may have cargo tracking devices (such as the cargo tracking device 103 shown in fig. 1) mounted in concealed relation thereto. The goods tracking device can track the goods to collect the positioning information of the goods. Wherein the cargo tracking device may be a tracker tracking device. At this time, the tracker can be used for inputting or importing the waybill information of the container where the goods are located, and the waybill information of the container and the equipment information of the tracker are bound, so that the goods can be tracked and the positioning information of the goods can be reported in real time.
In practice, if the positioning information of the vehicle, the driver and the cargo is collected at the same time, the positioning information of the vehicle may include the position information of the vehicle, the positioning information of the driver may include the position information of the driver, and the positioning information of the cargo may include the position information of the cargo. If the acquisition time has a deviation, the positioning information of the vehicle may further include the positioning time of the vehicle, the positioning information of the driver may further include the positioning time and the speed information of the driver, and the positioning information of the cargo may further include the positioning time and the speed information of the cargo. The location information may be latitude and longitude information in a geographic coordinate system. For example, in one location, the position information of the vehicle may be
Figure BDA0001892836270000121
The location time of the vehicle may be
Figure BDA0001892836270000122
Wherein,
Figure BDA0001892836270000123
is the longitude of the position of the vehicle,
Figure BDA0001892836270000124
is the latitude of the vehicle's location; the driver's position information may be
Figure BDA0001892836270000125
The location time of the driver may be
Figure BDA0001892836270000126
The speed information of the driver may be
Figure BDA0001892836270000127
Wherein,
Figure BDA0001892836270000128
is the longitude of the position of the driver,
Figure BDA0001892836270000129
is the latitude of the driver's position,
Figure BDA00018928362700001210
is the driver's speed in the longitude line,
Figure BDA00018928362700001211
is the speed of the driver on the latitudinal line; the position information of the goods may be
Figure BDA00018928362700001212
The location time of the goods may be
Figure BDA00018928362700001213
The speed information of the cargo may be
Figure BDA00018928362700001214
Wherein,
Figure BDA00018928362700001215
is the longitude of the position of the cargo,
Figure BDA00018928362700001216
is the latitude of the location of the cargo,
Figure BDA00018928362700001217
is the speed of the cargo in the longitude line,
Figure BDA00018928362700001218
is the speed of the cargo on the latitudinal line.
Step 302, based on the positioning information of the vehicle, the driver and the cargo, a relative distance between the vehicle and the driver and a relative distance between the vehicle and the cargo are generated.
In the present embodiment, the execution subject described above may generate the relative distance between the vehicle and the driver based on the positioning information of the vehicle and the driver. Similarly, the execution subject may generate the relative distance between the vehicle and the cargo based on the positioning information of the vehicle and the cargo. The relative distance may also be latitude and longitude information in a geographic coordinate system. For example, the relative distance between the vehicle and the driver may be
Figure BDA0001892836270000131
Wherein,
Figure BDA0001892836270000132
is the relative distance in longitude between the vehicle and the driver,
Figure BDA0001892836270000133
is the relative distance on the latitudinal line between the vehicle and the driver; the relative distance between the vehicle and the cargo may be
Figure BDA0001892836270000134
Wherein,
Figure BDA0001892836270000135
is the relative distance in the longitude line between the vehicle and the cargo,
Figure BDA0001892836270000136
is the relative distance on the latitudinal line between the vehicle and the cargo.
If the positioning information of the vehicle, the driver and the goods is collected at the same time or the error caused by the time deviation is ignored, the execution subject can be based on the position information of the vehicle
Figure BDA0001892836270000137
Driver's position information
Figure BDA0001892836270000138
And position information of the goods
Figure BDA0001892836270000139
Generating a relative distance between a vehicle and a driver
Figure BDA00018928362700001310
And the relative distance between the vehicle and the cargo
Figure BDA00018928362700001311
Specifically, the relative distance between the vehicle and the driver can be calculated by the following formula
Figure BDA00018928362700001312
And the relative distance between the vehicle and the cargo
Figure BDA00018928362700001313
Figure BDA00018928362700001314
Figure BDA00018928362700001315
Figure BDA00018928362700001316
Figure BDA00018928362700001317
If the error caused by the time deviation is considered, the execution body can be based on the position information of the vehicle firstly
Figure BDA00018928362700001318
Driver's position information
Figure BDA00018928362700001319
And position information of the goods
Figure BDA00018928362700001320
Generating a positioning distance between the vehicle and the driver and a positioning distance between the vehicle and the cargo; then based on the location time of the vehicle
Figure BDA00018928362700001321
Driver positioning time
Figure BDA00018928362700001322
And speed information
Figure BDA00018928362700001323
And positioning time of goods
Figure BDA00018928362700001324
And speed information
Figure BDA00018928362700001325
Generating an error distance between the vehicle and the driver and an error distance between the vehicle and the cargo; finally, based on the positioning distance between the vehicle and the driver and the positioning distance between the vehicle and the goods, as well as the error distance between the vehicle and the driver and the error distance between the vehicle and the goods, the relative distance between the vehicle and the driver is generated
Figure BDA00018928362700001326
And the relative distance between the vehicle and the cargo
Figure BDA00018928362700001327
Specifically, the relative distance between the vehicle and the driver can be calculated by the following formula
Figure BDA00018928362700001328
And the relative distance between the vehicle and the cargo
Figure BDA00018928362700001329
Figure BDA00018928362700001330
Figure BDA00018928362700001331
Figure BDA00018928362700001332
Figure BDA0001892836270000141
Wherein the positioning distance between the vehicle and the driver is
Figure BDA0001892836270000142
Is the positioning distance on the longitude line between the vehicle and the driver,
Figure BDA0001892836270000143
is the positioning distance on the latitude line between the vehicle and the driver, and the error distance between the vehicle and the driver is
Figure BDA0001892836270000144
Is the error distance on the longitude line between the vehicle and the driver,
Figure BDA0001892836270000145
is the error distance on the latitude line between the vehicle and the driver, and the positioning distance between the vehicle and the goods is
Figure BDA0001892836270000146
Is the positioning distance on the longitude line between the vehicle and the cargo,
Figure BDA0001892836270000147
is the positioning distance on the latitude line between the vehicle and the goods, and the error distance between the vehicle and the goods is
Figure BDA0001892836270000148
Figure BDA0001892836270000149
Is the error distance in the longitude line between the vehicle and the cargo,
Figure BDA00018928362700001410
is the error distance on the latitudinal line between the vehicle and the cargo.
Step 303, determining whether the relative distance between the vehicle and the cargo satisfies a first preset condition, and determining whether the relative distance between the vehicle and the driver satisfies a second preset condition.
In this embodiment, the executing body may analyze a relative distance between the vehicle and the cargo to determine whether the first preset condition is satisfied. Meanwhile, the relative distance between the vehicle and the driver is analyzed to determine whether a second preset condition is satisfied.
In general, the first preset condition and the second preset condition may be various conditions set in advance. For example, if the relative distance between the vehicle and the cargo is within a first preset distance range (e.g., 0-1 meter), it is determined that the relative distance between the vehicle and the cargo satisfies a first preset condition; and if the relative distance between the vehicle and the goods is out of the first preset distance range, determining that the relative distance between the vehicle and the goods does not meet a first preset condition. If the relative distance between the vehicle and the driver is within a second preset distance range (for example, 0.5-2 meters), determining that the relative distance between the vehicle and the driver meets a second preset condition; and if the relative distance between the vehicle and the driver is out of the second preset distance range, determining that the relative distance between the vehicle and the driver does not meet the second preset condition.
In some optional implementations of the embodiment, the executing body may determine whether the relative distance between the vehicle and the cargo satisfies a first preset condition, and determine whether the relative distance between the vehicle and the driver satisfies a second preset condition by:
first, a normal distribution function value corresponding to a relative distance between the vehicle and the driver and a normal distribution function value corresponding to a relative distance between the vehicle and the cargo are calculated.
Generally, in the process of cargo transportation, the position information of a vehicle collected by using a vehicle-mounted terminal and the position information of a driver collected by using a handheld terminal follow normal distribution and are independent of each other. Since the distribution function obtained by subtracting two independent normal distribution functions is also the normal distribution function, the relative distance between the vehicle and the driver follows the normal distribution. Similarly, the position information of the vehicle collected by the vehicle-mounted terminal and the position information of the cargo collected by the cargo tracker obey normal distribution and are independent of each other, so that the relative distance between the vehicle and the cargo also obeys normal distribution.
Here, the normal distribution functions corresponding to the relative distance between the vehicle and the driver and the relative distance between the vehicle and the cargo are each a function of normal distribution
Figure BDA0001892836270000151
For example, then the relative distance between the vehicle and the driver
Figure BDA0001892836270000152
Corresponding to a normal distribution having a function value of
Figure BDA0001892836270000153
And the relative distance between the vehicle and the cargo
Figure BDA0001892836270000154
Corresponding to a normal distribution having a function value of
Figure BDA0001892836270000155
Wherein, muLxIs the mean of the relative distances on the longitudinal line between the vehicle and the driver, σLxIs the standard deviation of the relative distance, μ, on the longitude line between the vehicle and the driverLyIs the mean value, σ, of the relative distances on the latitudinal line between the vehicle and the driverLyIs the standard deviation of the relative distance, μ, on the latitudinal line between the vehicle and the driverTxIs the mean of the relative distances on the longitudinal line between the vehicle and the load, σTxOn the longitudinal line between vehicle and loadStandard deviation of relative distance, μTyIs the mean, σ, of the relative distances on the latitudinal line between the vehicle and the loadTyIs the standard deviation of the relative distance on the latitudinal line between the vehicle and the cargo.
Secondly, comparing a normal distribution function value corresponding to a relative distance between the vehicle and the goods with a first preset threshold value, and comparing a normal distribution function value corresponding to a relative distance between the vehicle and the driver with a second preset threshold value.
Finally, if the normal distribution function value corresponding to the relative distance between the vehicle and the goods is not larger than a first preset threshold value, determining that the relative distance between the vehicle and the goods meets a first preset condition; and if the normal distribution function value corresponding to the relative distance between the vehicle and the goods is larger than a first preset threshold value, determining that the relative distance between the vehicle and the goods does not meet a first preset condition. If the normal distribution function value corresponding to the relative distance between the vehicle and the driver is not larger than a second preset threshold value, determining that the relative distance between the vehicle and the driver meets a second preset condition; and if the normal distribution function value corresponding to the relative distance between the vehicle and the driver is larger than a second preset threshold value, determining that the relative distance between the vehicle and the driver does not meet a second preset condition.
Here, the normal distribution functions corresponding to the relative distance between the vehicle and the driver and the relative distance between the vehicle and the cargo are each a function of normal distribution
Figure BDA0001892836270000161
The second preset threshold is rhoLzThe first preset threshold is rhoTzFor example, if the relative distance between the vehicle and the driver
Figure BDA0001892836270000162
Satisfy the requirement of
Figure BDA0001892836270000163
And the relative distance between the vehicle and the cargo
Figure BDA0001892836270000164
Figure BDA0001892836270000165
Satisfy the requirement of
Figure BDA0001892836270000166
It is determined that the relative distance between the vehicle and the driver satisfies the second preset condition and the relative distance between the vehicle and the cargo satisfies the first preset condition. At this time, the positions of the people, the vehicle and the goods are consistent. If the relative distance between the vehicle and the driver
Figure BDA0001892836270000167
Satisfy the requirement of
Figure BDA0001892836270000168
Or the relative distance between the vehicle and the cargo
Figure BDA0001892836270000169
Satisfy the requirement of
Figure BDA00018928362700001610
It is determined that the relative distance between the vehicle and the driver does not satisfy the second preset condition or the relative distance between the vehicle and the goods does not satisfy the first preset condition. At this time, the positions of the people, the vehicle, and the goods are not consistent.
Based on the determination, status information of the cargo is generated, step 304.
In this embodiment, the execution body may generate the state information of the cargo based on the determination result. Generally, if the relative distance between the vehicle and the goods meets a first preset condition and the relative distance between the vehicle and the driver meets a second preset condition, information indicating that the goods are in a normal state can be generated, and at this time, it is indicated that the goods are not wrapped, or other information is further analyzed to determine whether the goods are wrapped; if the relative distance between the vehicle and the goods does not meet the first preset condition, or the relative distance between the vehicle and the driver does not meet the second preset condition, information indicating that the goods are in an abnormal state can be generated, and at this time, the goods are possibly dropped.
In some optional implementation manners of this embodiment, if the state information of the goods indicates that the goods are in an abnormal state, the execution main body may send goods abnormality alarm information, so that related personnel may check the alarm reason in time to determine whether the goods have risks of being dispatched, and if it is determined that the goods are dispatched, an intervention means is timely adopted to retrieve the goods to retrieve the losses.
In some optional implementation manners of this embodiment, if the state information of the cargo indicates that the cargo is in a normal state, the cargo tracking device may be used to continue to track whether the cargo is unloaded in the designated area, and if the tracking information that the cargo is unloaded in the non-designated area is received, the execution subject may send the alarm information about the abnormality of the cargo. If receiving the tracking information of the cargo unloading in the designated area, the execution body can send cargo delivery information. The cargo tracking device may use a preset cargo handling location area as a designated area. If the goods are unloaded in the designated area, the goods tracking device can send tracking information of the goods unloaded in the designated area to the execution main body, so that the execution main body can send goods arrival information. At this time, the relevant personnel can determine that the goods are successfully transported, and the tracking is finished. If the goods are unloaded in the non-designated area, the goods tracker can send the tracking information of the goods unloaded in the non-designated area to the execution main body, so that the execution main body can send the goods abnormity alarm information conveniently. At the moment, related personnel can check the alarm reason in time to avoid the goods from being transferred.
In some optional implementation manners of this embodiment, as an auxiliary means, a door magnet device may be further disposed on the container where the cargo is located, and a door opening area is preset as a designated area. If the door magnet of the goods is opened in the non-designated area, the door magnet device may send alarm information that the door magnet of the goods is opened in the non-designated area to the execution main body, and if the alarm information that the door magnet of the goods is opened in the non-designated area is received, the execution main body may send alarm information that the goods are abnormal. At the moment, related personnel can check the alarm reason in time to avoid the goods from being transferred.
In some optional implementation manners of this embodiment, the execution main body may send information of the vehicle and information of the driver while sending the cargo abnormality warning information. If the goods can not be recovered, the related personnel can subsequently perform accountability, claim settlement and the like according to the vehicle information and the driver information.
With continued reference to fig. 4, fig. 4 is a schematic diagram of an application scenario of the method for generating information provided in fig. 3. In the application scenario shown in fig. 4, the vehicle-mounted terminal 411 collects the positioning information 401 of the vehicle, the handheld terminal 412 collects the positioning information 402 of the driver, and the cargo tracking device 413 collects the positioning information 403 of the cargo, and sends the positioning information 401 of the vehicle, the positioning information 402 of the driver, and the positioning information 403 of the cargo to the server 414. Subsequently, the server 414 may generate a relative distance 404 between the vehicle and the driver and a relative distance 405 between the vehicle and the cargo based on the position information 401 of the vehicle, the position information 402 of the driver, and the positioning information 403 of the cargo, and determine whether the relative distance 405 between the vehicle and the cargo satisfies a first preset condition, and determine whether the relative distance 404 between the vehicle and the driver satisfies a second preset condition. If the relative distance 405 between the vehicle and the cargo satisfies the first preset condition and the relative distance 404 between the vehicle and the driver satisfies the second preset condition, the state information 406 that the cargo is in an abnormal state is generated. At this time, the server 414 may send the abnormality alarm information 407 to the mobile phone 415 of the relevant person, and the relevant person may check the alarm reason in time after checking and receiving the abnormality alarm information 406, so as to avoid the package of the goods.
As can be seen from fig. 3, the process 300 of the method for generating information in the present embodiment adds a step of monitoring the driver compared to the embodiment corresponding to fig. 2. Therefore, according to the information generating method provided by the embodiment of the application, firstly, the relative distance between the vehicle and the driver and the relative distance between the vehicle and the goods are generated based on the acquired positioning information of the vehicle, the driver and the goods; then determining whether the relative distance between the vehicle and the driver and the relative distance between the vehicle and the goods meet preset conditions or not; and finally, generating the state information of the goods based on the determination result. People, car, goods trinity all-round, overall process control have further improved the degree of accuracy of the state information of the goods that generate, help being in under the condition of abnormal state at the goods, in time provide alarm information to avoid the goods to be transferred in the transportation and wrap.
With further reference to fig. 5, as an implementation of the method shown in the above figures, the present application provides an embodiment of an apparatus for generating information, which corresponds to the method embodiment shown in fig. 2, and which is particularly applicable to various electronic devices.
As shown in fig. 5, the apparatus 500 for generating information of the present embodiment may include: a first acquisition unit 501, a first generation unit 502, a first determination unit 503, and an information generation unit 504. A first obtaining unit 501 configured to obtain positioning information of a vehicle and a cargo, wherein the vehicle is designated to load the cargo; a first generating unit 502 configured to generate a relative distance between the vehicle and the cargo based on the positioning information of the vehicle and the cargo; a first determination unit 503 configured to determine whether a relative distance between the vehicle and the cargo satisfies a first preset condition; an information generating unit 504 configured to generate status information of the goods based on the determination result.
In the present embodiment, in the apparatus 500 for generating information: the specific processing of the first obtaining unit 501, the first generating unit 502, the first determining unit 503 and the information generating unit 504 and the technical effects thereof can refer to the related descriptions of step 201, step 202, step 203 and step 204 in the corresponding embodiment of fig. 2, which are not described herein again.
In some optional implementations of this embodiment, the positioning information of the vehicle includes position information and positioning time of the vehicle, and the positioning information of the cargo includes position information, positioning time, and speed information of the cargo; and the first generation unit 502 includes: a first generation subunit (not shown in the figure) configured to generate a positioning distance between the vehicle and the cargo based on the position information of the vehicle and the cargo; a second generating subunit (not shown in the figure) configured to generate a relative distance between the vehicle and the cargo based on the positioning distance between the vehicle and the cargo.
In some optional implementations of this embodiment, the second generating subunit includes: a first generating module (not shown in the figure) configured to generate an error distance between the vehicle and the cargo based on the positioning time of the vehicle and the positioning time and speed information of the cargo; and a second generating module (not shown in the figure) configured to generate a relative distance between the vehicle and the cargo based on the positioning distance and the error distance between the vehicle and the cargo.
In some optional implementations of this embodiment, the first determining unit 503 includes: a first calculation subunit (not shown in the figure) configured to calculate a normal distribution function value corresponding to a relative distance between the vehicle and the cargo; a first comparing subunit (not shown in the figure) configured to compare a value of a normal distribution function corresponding to a relative distance between the vehicle and the cargo with a first preset threshold; a first determining subunit (not shown in the figure) configured to determine that the relative distance between the vehicle and the cargo satisfies a first preset condition if the value of the normal distribution function corresponding to the relative distance between the vehicle and the cargo is not greater than a first preset threshold; and a second determining subunit (not shown in the figure) configured to determine that the relative distance between the vehicle and the cargo does not satisfy the first preset condition if the normal distribution function value corresponding to the relative distance between the vehicle and the cargo is greater than the first preset threshold.
In some optional implementations of this embodiment, the information generating unit 504 includes: a first information generating subunit (not shown in the figure) configured to generate information indicating that the cargo is in a normal state if a relative distance between the vehicle and the cargo satisfies a first preset condition; and a second information generating subunit (not shown in the figure) configured to generate information indicating that the cargo is in an abnormal state if the relative distance between the vehicle and the cargo does not satisfy the first preset condition.
In some optional implementations of the present embodiment, the apparatus 500 for generating information further includes: a second acquisition unit (not shown in the drawings) configured to acquire positioning information of a driver, wherein the driver is specified to drive the vehicle; a second generating unit (not shown in the figure) configured to generate a relative distance between the vehicle and the driver based on the positioning information of the vehicle and the driver; a second determination unit (not shown in the drawings) configured to determine whether a relative distance between the vehicle and the driver satisfies a second preset condition.
In some optional implementations of this embodiment, the positioning information of the driver includes position information, positioning time, and speed information of the driver; and the second generating unit includes: a third generation subunit (not shown in the figure) configured to generate a positioning distance between the vehicle and the driver based on the position information of the vehicle and the driver; a fourth generation subunit (not shown in the figure) configured to generate a relative distance between the vehicle and the driver based on the positioning distance between the vehicle and the driver.
In some optional implementations of this embodiment, the fourth generating subunit includes: a third generating module (not shown in the figure) configured to generate an error distance between the vehicle and the driver based on the positioning time of the vehicle and the positioning time and speed information of the driver; and a fourth generating module (not shown in the figure) configured to generate a relative distance between the vehicle and the driver based on the positioning distance and the error distance between the vehicle and the driver.
In some optional implementations of this embodiment, the second determining unit includes: a second calculation subunit (not shown in the figure) configured to calculate a normal distribution function value corresponding to a relative distance between the vehicle and the driver; a second comparing subunit (not shown in the figure) configured to compare the normal distribution function value corresponding to the relative distance between the vehicle and the driver with a second preset threshold; a third determining subunit (not shown in the figure), configured to determine that the relative distance between the vehicle and the driver satisfies a second preset condition if the normal distribution function value corresponding to the relative distance between the vehicle and the driver is not greater than a second preset threshold; and a fourth determining subunit (not shown in the figure) configured to determine that the relative distance between the vehicle and the driver does not satisfy the second preset condition if the normal distribution function value corresponding to the relative distance between the vehicle and the driver is greater than the second preset threshold.
In some optional implementations of this embodiment, the information generating unit 504 includes: a third information generating subunit (not shown in the figure) configured to generate information indicating that the cargo is in a normal state if the relative distance between the vehicle and the cargo satisfies the first preset condition and the relative distance between the vehicle and the driver satisfies the second preset condition; and a fourth information generating subunit (not shown in the figure) configured to generate information indicating that the cargo is in the abnormal state if the relative distance between the vehicle and the cargo does not satisfy the first preset condition or the relative distance between the vehicle and the driver does not satisfy the second preset condition.
In some optional implementations of the present embodiment, the apparatus 500 for generating information further includes: a first sending unit (not shown in the figure) configured to receive at least one of the following items if the state information of the items indicates that the items are in an abnormal state: tracking information of unloading of the goods in the non-designated area, alarm information of opening of a door magnet of the goods in the non-designated area and sending goods abnormity alarm information; and a second sending unit (not shown) configured to send the cargo arrival information if the cargo state information indicates that the cargo is in a normal state and the tracking information of the cargo unloading in the designated area is received.
Referring now to FIG. 6, a block diagram of a computer system 600 suitable for use in implementing a server (e.g., server 105 shown in FIG. 1) according to embodiments of the present application is shown. The server shown in fig. 6 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present application.
As shown in fig. 6, the computer system 600 includes a Central Processing Unit (CPU)601 that can perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM)602 or a program loaded from a storage section 608 into a Random Access Memory (RAM) 603. In the RAM 603, various programs and data necessary for the operation of the system 600 are also stored. The CPU 601, ROM 602, and RAM 603 are connected to each other via a bus 604. An input/output (I/O) interface 605 is also connected to bus 604.
The following components are connected to the I/O interface 605: an input portion 606 including a keyboard, a mouse, and the like; an output portion 607 including a display such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, and a speaker; a storage section 608 including a hard disk and the like; and a communication section 609 including a network interface card such as a LAN card, a modem, or the like. The communication section 609 performs communication processing via a network such as the internet. The driver 610 is also connected to the I/O interface 605 as needed. A removable medium 611 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 610 as necessary, so that a computer program read out therefrom is mounted in the storage section 608 as necessary.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network through the communication section 609, and/or installed from the removable medium 611. The computer program performs the above-described functions defined in the method of the present application when executed by a Central Processing Unit (CPU) 601. It should be noted that the computer readable medium described herein can be a computer readable signal medium or a computer readable medium or any combination of the two. A computer readable medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present application, a computer readable medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In this application, however, a computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present application may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present application may be implemented by software or hardware. The described units may also be provided in a processor, and may be described as: a processor includes a first acquisition unit, a first generation unit, a first determination unit, and an information generation unit. Where the names of these units do not in some cases constitute a limitation on the unit itself, for example, the first acquisition unit may also be described as a "unit that acquires positioning information of the vehicle and the cargo".
As another aspect, the present application also provides a computer-readable medium, which may be contained in the server described in the above embodiments; or may exist separately and not be assembled into the server. The computer readable medium carries one or more programs which, when executed by the server, cause the server to: acquiring positioning information of a vehicle and goods, wherein the vehicle is specified to load the goods; generating a relative distance between the vehicle and the cargo based on the positioning information of the vehicle and the cargo; determining whether a relative distance between the vehicle and the cargo meets a first preset condition; based on the determination result, state information of the cargo is generated.
The above description is only a preferred embodiment of the application and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the invention herein disclosed is not limited to the particular combination of features described above, but also encompasses other arrangements formed by any combination of the above features or their equivalents without departing from the spirit of the invention. For example, the above features may be replaced with (but not limited to) features having similar functions disclosed in the present application.

Claims (24)

1. A method for generating information, comprising:
acquiring positioning information of a vehicle and goods, wherein the vehicle is specified to load the goods;
generating a relative distance between the vehicle and the cargo based on the positioning information of the vehicle and the cargo;
determining whether a relative distance between the vehicle and the cargo satisfies a first preset condition;
based on the determination result, state information of the cargo is generated.
2. The method of claim 1, wherein the positioning information of the vehicle includes position information and positioning time of the vehicle, and the positioning information of the cargo includes position information, positioning time, and speed information of the cargo; and
the generating a relative distance between the vehicle and the cargo based on the positioning information of the vehicle and the cargo comprises:
generating a positioning distance between the vehicle and the cargo based on the position information of the vehicle and the cargo;
generating a relative distance between the vehicle and the cargo based on the positioning distance between the vehicle and the cargo.
3. The method of claim 2, wherein the generating a relative distance between the vehicle and the cargo based on the positioning distance between the vehicle and the cargo comprises:
generating an error distance between the vehicle and the cargo based on the positioning time of the vehicle and the positioning time and speed information of the cargo;
generating a relative distance between the vehicle and the cargo based on the positioning distance and the error distance between the vehicle and the cargo.
4. The method of claim 1, wherein the determining whether the relative distance between the vehicle and the cargo satisfies a first preset condition comprises:
calculating a normal distribution function value corresponding to the relative distance between the vehicle and the goods;
comparing a normal distribution function value corresponding to a relative distance between the vehicle and the goods with a first preset threshold value;
if the normal distribution function value corresponding to the relative distance between the vehicle and the goods is not larger than the first preset threshold value, determining that the relative distance between the vehicle and the goods meets the first preset condition;
and if the normal distribution function value corresponding to the relative distance between the vehicle and the goods is larger than the first preset threshold value, determining that the relative distance between the vehicle and the goods does not meet the first preset condition.
5. The method of claim 1, wherein the generating the status information of the good based on the determination comprises:
if the relative distance between the vehicle and the goods meets the first preset condition, generating information for indicating that the goods are in a normal state;
and if the relative distance between the vehicle and the goods does not meet the first preset condition, generating information for indicating that the goods are in an abnormal state.
6. The method of any of claims 2-5, wherein prior to said generating the status information of the good based on the determination, further comprising:
acquiring positioning information of a driver, wherein the driver is designated to drive the vehicle;
generating a relative distance between the vehicle and the driver based on the positioning information of the vehicle and the driver;
determining whether a relative distance between the vehicle and the driver satisfies a second preset condition.
7. The method of claim 6, wherein the driver's location information includes the driver's location information, location time, and speed information; and
the generating a relative distance between the vehicle and the driver based on the positioning information of the vehicle and the driver comprises:
generating a positioning distance between the vehicle and the driver based on the position information of the vehicle and the driver;
generating a relative distance between the vehicle and the driver based on the positioning distance between the vehicle and the driver.
8. The method of claim 7, wherein the generating a relative distance between the vehicle and the driver based on the positioning distance between the vehicle and the driver comprises:
generating an error distance between the vehicle and the driver based on the location time of the vehicle and the location time and speed information of the driver;
generating a relative distance between the vehicle and the driver based on the positioning distance and the error distance between the vehicle and the driver.
9. The method of claim 6, wherein the determining whether the relative distance between the vehicle and the driver satisfies a second preset condition comprises:
calculating a normal distribution function value corresponding to the relative distance between the vehicle and the driver;
comparing a normal distribution function value corresponding to a relative distance between the vehicle and the driver with a second preset threshold value;
if the normal distribution function value corresponding to the relative distance between the vehicle and the driver is not larger than the second preset threshold value, determining that the relative distance between the vehicle and the driver meets the second preset condition;
and if the normal distribution function value corresponding to the relative distance between the vehicle and the driver is larger than the second preset threshold value, determining that the relative distance between the vehicle and the driver does not meet the second preset condition.
10. The method of claim 6, wherein the generating the status information of the good based on the determination comprises:
if the relative distance between the vehicle and the goods meets the first preset condition and the relative distance between the vehicle and the driver meets the second preset condition, generating information for indicating that the goods are in a normal state;
and if the relative distance between the vehicle and the goods does not meet the first preset condition or the relative distance between the vehicle and the driver does not meet the second preset condition, generating information for indicating that the goods are in an abnormal state.
11. The method of claim 5 or 10, wherein the method further comprises:
if the state information of the cargo indicates that the cargo is in an abnormal state, or at least one of the following items is received: the tracking information of the goods unloading in the non-designated area, the alarm information of the goods door magnet opening in the non-designated area and the alarm information of the goods abnormity are sent;
and if the state information of the goods indicates that the goods are in a normal state, receiving the tracking information of unloading of the goods in the designated area, and sending goods arrival information.
12. An apparatus for generating information, comprising:
a first acquisition unit configured to acquire positioning information of a vehicle and a cargo, wherein the vehicle is designated to load the cargo;
a first generation unit configured to generate a relative distance between the vehicle and the cargo based on the positioning information of the vehicle and the cargo;
a first determination unit configured to determine whether a relative distance between the vehicle and the cargo satisfies a first preset condition;
an information generating unit configured to generate state information of the goods based on a determination result.
13. The apparatus of claim 12, wherein the positioning information of the vehicle includes position information and positioning time of the vehicle, and the positioning information of the cargo includes position information, positioning time, and speed information of the cargo; and
the first generation unit includes:
a first generation subunit configured to generate a positioning distance between the vehicle and the cargo based on the position information of the vehicle and the cargo;
a second generation subunit configured to generate a relative distance between the vehicle and the cargo based on a positioning distance between the vehicle and the cargo.
14. The apparatus of claim 13, wherein the second generating subunit comprises:
a first generating module configured to generate an error distance between the vehicle and the cargo based on the location time of the vehicle and the location time and speed information of the cargo;
a second generation module configured to generate a relative distance between the vehicle and the cargo based on a positioning distance and an error distance between the vehicle and the cargo.
15. The apparatus of claim 12, wherein the first determining unit comprises:
a first calculation subunit configured to calculate a normal distribution function value corresponding to a relative distance between the vehicle and the cargo;
a first comparing subunit configured to compare a normal distribution function value corresponding to a relative distance between the vehicle and the cargo with a first preset threshold;
a first determining subunit, configured to determine that the relative distance between the vehicle and the cargo satisfies the first preset condition if a normal distribution function value corresponding to the relative distance between the vehicle and the cargo is not greater than the first preset threshold;
the second determining subunit is configured to determine that the relative distance between the vehicle and the cargo does not meet the first preset condition if the normal distribution function value corresponding to the relative distance between the vehicle and the cargo is greater than the first preset threshold.
16. The apparatus of claim 12, wherein the information generating unit comprises:
a first information generation subunit configured to generate information indicating that the cargo is in a normal state if the relative distance between the vehicle and the cargo satisfies the first preset condition;
and the second information generation subunit is configured to generate information for indicating that the cargo is in an abnormal state if the relative distance between the vehicle and the cargo does not meet the first preset condition.
17. The apparatus according to one of claims 13-16, wherein the apparatus further comprises:
a second acquisition unit configured to acquire positioning information of a driver, wherein the driver is designated to drive the vehicle;
a second generation unit configured to generate a relative distance between the vehicle and the driver based on the positioning information of the vehicle and the driver;
a second determination unit configured to determine whether a relative distance between the vehicle and the driver satisfies a second preset condition.
18. The apparatus of claim 17, wherein the driver's location information includes the driver's location information, location time, and speed information; and
the second generation unit includes:
a third generation subunit configured to generate a positioning distance between the vehicle and the driver based on the position information of the vehicle and the driver;
a fourth generation subunit configured to generate a relative distance between the vehicle and the driver based on a positioning distance between the vehicle and the driver.
19. The apparatus of claim 18, wherein the fourth generation subunit comprises:
a third generating module configured to generate an error distance between the vehicle and the driver based on the location time of the vehicle and the location time and speed information of the driver;
a fourth generating module configured to generate a relative distance between the vehicle and the driver based on a positioning distance and an error distance between the vehicle and the driver.
20. The apparatus of claim 17, wherein the second determining unit comprises:
a second calculation subunit configured to calculate a normal distribution function value corresponding to a relative distance between the vehicle and the driver;
a second comparing subunit configured to compare a normal distribution function value corresponding to a relative distance between the vehicle and the driver with a second preset threshold value;
a third determining subunit, configured to determine that the relative distance between the vehicle and the driver satisfies the second preset condition if the normal distribution function value corresponding to the relative distance between the vehicle and the driver is not greater than the second preset threshold;
a fourth determining subunit, configured to determine that the relative distance between the vehicle and the driver does not satisfy the second preset condition if the normal distribution function value corresponding to the relative distance between the vehicle and the driver is greater than the second preset threshold.
21. The apparatus of claim 17, wherein the information generating unit comprises:
a third information generating subunit configured to generate information indicating that the cargo is in a normal state if the relative distance between the vehicle and the cargo satisfies the first preset condition and the relative distance between the vehicle and the driver satisfies the second preset condition;
a fourth information generating subunit configured to generate information indicating that the cargo is in an abnormal state if the relative distance between the vehicle and the cargo does not satisfy the first preset condition or the relative distance between the vehicle and the driver does not satisfy the second preset condition.
22. The apparatus of claim 16 or 21, wherein the apparatus further comprises:
a first sending unit configured to receive at least one of the following information if the cargo state information indicates that the cargo is in an abnormal state: the tracking information of the goods unloading in the non-designated area, the alarm information of the goods door magnet opening in the non-designated area and the alarm information of the goods abnormity are sent;
and the second sending unit is configured to send cargo arrival information if the state information of the cargo indicates that the cargo is in a normal state and tracking information of unloading of the cargo in a specified area is received.
23. A server, comprising:
one or more processors;
a storage device having one or more programs stored thereon,
when executed by the one or more processors, cause the one or more processors to implement the method of any one of claims 1-11.
24. A computer-readable medium, on which a computer program is stored, wherein the computer program, when being executed by a processor, carries out the method according to any one of claims 1-11.
CN201811478669.6A 2018-12-05 2018-12-05 Method and device for generating information Pending CN111275372A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811478669.6A CN111275372A (en) 2018-12-05 2018-12-05 Method and device for generating information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811478669.6A CN111275372A (en) 2018-12-05 2018-12-05 Method and device for generating information

Publications (1)

Publication Number Publication Date
CN111275372A true CN111275372A (en) 2020-06-12

Family

ID=70998529

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811478669.6A Pending CN111275372A (en) 2018-12-05 2018-12-05 Method and device for generating information

Country Status (1)

Country Link
CN (1) CN111275372A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010055568A (en) * 2008-08-29 2010-03-11 Zenkoku Nogyo Kyodo Kumiai Rengokai Cargo monitoring method and cargo monitoring system therefor
CN105389989A (en) * 2015-11-13 2016-03-09 合肥安奎思成套设备有限公司 Transportation safety online monitoring system
CN107117176A (en) * 2017-05-15 2017-09-01 成都中技智慧企业管理咨询有限公司 A kind of Vehicle security system
US20180018875A1 (en) * 2016-07-12 2018-01-18 Baidu Online Network Technology (Beijing) Co., Ltd. Method and apparatus for indicating vehicle moving state
CN107644309A (en) * 2017-09-18 2018-01-30 深圳市易流科技股份有限公司 A kind of cargo transport monitoring method and system
CN108154123A (en) * 2017-12-26 2018-06-12 重庆贝叶科技发展有限公司 Shipping enterprises safety in production mandatory system
CN108928294A (en) * 2018-06-04 2018-12-04 Oppo(重庆)智能科技有限公司 Driving dangerous based reminding method, device, terminal and computer readable storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010055568A (en) * 2008-08-29 2010-03-11 Zenkoku Nogyo Kyodo Kumiai Rengokai Cargo monitoring method and cargo monitoring system therefor
CN105389989A (en) * 2015-11-13 2016-03-09 合肥安奎思成套设备有限公司 Transportation safety online monitoring system
US20180018875A1 (en) * 2016-07-12 2018-01-18 Baidu Online Network Technology (Beijing) Co., Ltd. Method and apparatus for indicating vehicle moving state
CN107117176A (en) * 2017-05-15 2017-09-01 成都中技智慧企业管理咨询有限公司 A kind of Vehicle security system
CN107644309A (en) * 2017-09-18 2018-01-30 深圳市易流科技股份有限公司 A kind of cargo transport monitoring method and system
CN108154123A (en) * 2017-12-26 2018-06-12 重庆贝叶科技发展有限公司 Shipping enterprises safety in production mandatory system
CN108928294A (en) * 2018-06-04 2018-12-04 Oppo(重庆)智能科技有限公司 Driving dangerous based reminding method, device, terminal and computer readable storage medium

Similar Documents

Publication Publication Date Title
JP6808086B2 (en) Methods and systems for automating logistics transactions with elements in autonomous vehicles and wireless node networks
US10102174B2 (en) Smart harness
CN104778575B (en) A kind of Intelligent logistics supervisory systems
CN108540218A (en) Electric power optical cable safety failure processing method and processing device
CN104737184B (en) integrated tracking system and method
CN107767212B (en) Supply-demand relation calculation method, device, server and storage medium
CN112348428A (en) Container monitoring method and device, server and storage medium
CN111311151A (en) Method and device for detecting authenticity of logistics transportation track, electronic equipment and storage medium
CN108876338A (en) The single unification declaration inspection declaration method, apparatus of one kind three, server and storage medium
CN103116950B (en) Data monitoring method, point-of-sale (POS) machine, POS transaction server and payment system
CN110138776A (en) Docker intrusion detection method, device and medium based on order monitoring
CN110730416A (en) Vehicle safety management method and device based on positioning data
CN113053538B (en) Epidemic situation early warning method and device for express cabinet, express cabinet and storage medium
CN207603689U (en) A kind of automobile inventory monitoring system
CN111275372A (en) Method and device for generating information
CN113269483A (en) Management method, device, medium and electronic equipment of intelligent vault system
US9699527B2 (en) System and method for processing telematics data
US7996152B2 (en) Enhanced information security system
CN113660615A (en) Alarm information sending method and device and electronic equipment
WO2024120273A1 (en) Thermal insulation box management method and apparatus, and storage medium and electronic device
CN118211989A (en) Freight rate data processing method, freight rate data processing device, freight rate data processing equipment and storage medium
CN116245401A (en) Method and device for improving association degree of transport vehicle and express item and intelligent terminal
CN115345676A (en) Ticket price abnormity detection method and device
CN115115298A (en) Vehicle operation early warning method and system, electronic device and medium
CN118031980A (en) Method and device for positioning vehicle in disconnection mode, electronic equipment and readable 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