Information acquisition method and device, equipment and storage medium
By determining the storage status and planned path of the target item in the storage area, and using a mobile terminal device to adjust the ray emission angle to obtain item information, the problem of inaccurate package location determination in the existing technology is solved, and transportation efficiency and the timeliness of information acquisition are improved.
Patent Information
- Application Number
- CN202410339233.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-22
- Publication Date
- 2025-09-23
AI Technical Summary
In the prior art, the method of querying the location of a package based on historical logistics information is relatively simple, which makes it difficult to accurately determine the location of the package, thereby affecting the timeliness of obtaining item information and resulting in low efficiency in transporting the package.
Based on the storage location of the target item in the storage area and the preset item distribution rules, the storage status of the target item is determined. When the storage status is abnormal, the target path is planned in the area plan. The relative angle between the target item and the device is determined in real time using a mobile terminal device, and the emission angle of the ray sending module is adjusted to obtain item information.
By accurately determining the location of the target item in three dimensions, the search efficiency is improved, and item information is obtained in a timely manner, effectively improving transportation efficiency.
Smart Images

Figure CN120688961A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of smart logistics technology, and more specifically, to an information acquisition method, device, equipment, and storage medium. Background Art
[0002] After a user places an order, the package passes through multiple sorting centers or stations on its way to the user. At each sorting center or station, staff will collect item information one by one and record the item's logistics information. Because packages are prone to loss during transportation, related technologies analyze historical logistics information to query the package's location and obtain item information.
[0003] In the process of realizing the concept disclosed herein, the inventors discovered that there are at least the following problems in the related art: since the means of querying the location of a package based on historical logistics information is relatively simple, it is difficult to accurately determine the location of the package, which affects the timeliness of obtaining item information and leads to low efficiency in transporting the package. Summary of the Invention
[0004] In view of this, the present disclosure provides an information acquisition method, apparatus, device, and storage medium.
[0005] One aspect of the present disclosure provides an information acquisition method, comprising: determining the storage status of the target item based on the storage position of the target item in a storage area and a preset item distribution rule of the storage area; in a case where the storage status is an abnormal state, determining a target path in a regional plan of the storage area so that a mobile terminal device can move to a target position corresponding to the storage position based on the target path; determining a relative angle between the target item and the mobile terminal device according to the storage position and the device position of the mobile terminal device during movement; adjusting an emission angle of a ray sent by a ray sending module on the mobile terminal device to the target item based on the relative angle, so that when the mobile terminal device moves to the target position based on the target path, the mobile terminal device can be used to obtain item information of the target item based on the emission angle.
[0006] According to an embodiment of the present disclosure, the above-mentioned determination of the storage status of the target item based on the storage position of the target item in the storage area and the preset item distribution rule of the storage area includes: determining the distribution area corresponding to the target item in the storage area based on the preset item distribution rule; comparing the storage position with the area coordinates of the distribution area to generate a comparison result; in a case where the above-mentioned comparison result indicates that the storage position is within the distribution area, determining that the storage status of the target item is a normal state; in a case where the above-mentioned comparison result indicates that the storage position is outside the distribution area, determining that the storage status of the target item is an abnormal state.
[0007] According to an embodiment of the present disclosure, the above-mentioned determination of the target path in the regional plan view of the above-mentioned storage area includes: determining the actual positions of multiple position readers in the above-mentioned storage area, and multiple planar positions of the multiple position readers corresponding to the above-mentioned actual positions in the above-mentioned regional plan view; determining the planar storage position corresponding to the above-mentioned storage position and the planar initial position of the above-mentioned movable terminal device in the above-mentioned regional plan view based on the position ratio between the above-mentioned actual position and the above-mentioned planar position; and determining the above-mentioned target path in the above-mentioned regional plan view based on the above-mentioned planar storage position and the above-mentioned planar initial position using a breadth-first algorithm.
[0008] According to an embodiment of the present disclosure, the above-mentioned determination of the relative angle between the above-mentioned target object and the above-mentioned movable terminal device based on the above-mentioned storage position and the device position of the above-mentioned movable terminal device during movement includes: establishing a spatial rectangular coordinate system with the above-mentioned device position as the coordinate origin; determining the relative distance between the above-mentioned device position and the above-mentioned storage position in different directions in the above-mentioned spatial rectangular coordinate system; and determining the relative angle of the above-mentioned target object relative to the above-mentioned movable terminal device based on the above-mentioned relative distance according to a reference direction determined based on the above-mentioned spatial rectangular coordinate system.
[0009] According to an embodiment of the present disclosure, the above-mentioned determination of the relative angle of the target object with respect to the above-mentioned movable terminal device based on the above-mentioned relative distance and according to the reference direction determined based on the above-mentioned spatial rectangular coordinate system includes: determining a plurality of right triangles in the above-mentioned spatial rectangular coordinate system based on the above-mentioned storage position and the above-mentioned device position, wherein the side length of each of the above-mentioned right triangles is determined based on the above-mentioned relative distance; and determining the relative angle associated with the above-mentioned reference direction based on the plurality of the above-mentioned right triangles and the side length of each of the above-mentioned right triangles by using inverse trigonometric functions.
[0010] According to an embodiment of the present disclosure, the above-mentioned adjustment based on the relative angle of the emission angle of the ray sent by the ray sending module on the above-mentioned mobile terminal device to the above-mentioned target object includes: determining the ray sending position of the above-mentioned ray sending module based on the above-mentioned device position; in the case that the above-mentioned relative angle changes, determining the angle change difference and the angle change direction based on the changed relative angle; adjusting the above-mentioned emission angle based on the above-mentioned angle change difference, the above-mentioned angle change direction and the above-mentioned ray sending position.
[0011] According to an embodiment of the present disclosure, the above method also includes: based on a preset timing task, detecting the position of the above target item in the above storage area to generate detection data; determining the position of the above mobile terminal device when receiving a request from the above mobile terminal device to obtain the above item information; matching the position of the above target item in the above detection data with the position of the above mobile terminal device to generate a matching result; when the above matching result indicates that the position of the above target item and the position of the above mobile terminal device are in the same distribution area in the above storage area, outputting the above item information.
[0012] Another aspect of the present disclosure provides an information acquisition device, including: a state determination module, used to determine the storage state of the target item based on the storage position of the target item in the storage area and the preset item distribution rule of the above-mentioned storage area; a path determination module, used to determine the target path in the area plan of the above-mentioned storage area when the above-mentioned storage state is an abnormal state, so that the movable terminal device can move to the target position corresponding to the above-mentioned storage position based on the above-mentioned target path; an angle determination module, used to determine the relative angle between the above-mentioned target item and the above-mentioned movable terminal device according to the above-mentioned storage position and the device position of the above-mentioned movable terminal device during the movement; an angle adjustment module, used to adjust the emission angle of the ray sent by the ray sending module on the above-mentioned movable terminal device to the above-mentioned target item based on the above-mentioned relative angle, so that when the above-mentioned movable terminal device moves to the above-mentioned target position based on the above-mentioned target path, the item information of the above-mentioned target item can be obtained by using the above-mentioned movable terminal device based on the above-mentioned emission angle.
[0013] Another aspect of the present disclosure provides a computer-readable storage medium storing computer-executable instructions, which are used to implement the above method when executed.
[0014] Another aspect of the present disclosure provides a computer program product, which includes computer-executable instructions. When the instructions are executed, they are used to implement the method described above.
[0015] According to the embodiments of the present disclosure, by determining the storage status of the target item, a target path is planned on the regional plan in the event of an abnormal storage status, thereby facilitating the search for the target item and obtaining the target item's item information. Since the relative angle between the target item and the mobile terminal device is determined in real time as the mobile terminal device moves toward the target location based on the target path, the location of the target item can be more intuitively determined in three dimensions, improving the efficiency of searching for the target item and enabling the timely acquisition of item information, effectively improving the efficiency of transporting the target item. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] The above and other objects, features and advantages of the present disclosure will become more apparent through the following description of the embodiments of the present disclosure with reference to the accompanying drawings, in which:
[0017] Figure 1 Schematically illustrates an exemplary system architecture for the information acquisition method and apparatus of the present disclosure to which the present disclosure may be applied;
[0018] Figure 2 The flowchart of the information acquisition method according to the embodiment of the present disclosure is schematically shown;
[0019] Figure 3 A schematic diagram of a target item's waybill in the information acquisition method according to an embodiment of the present disclosure is schematically shown;
[0020] Figure 4 A schematic diagram schematically illustrates a storage area in an information acquisition method according to an embodiment of the present disclosure;
[0021] Figure 5 Schematically illustrates a spatial rectangular coordinate system of the information acquisition method according to an embodiment of the present disclosure;
[0022] Figure 6 A schematic diagram of a scenario of adjusting the emission angle in the information acquisition method according to an embodiment of the present disclosure is schematically shown;
[0023] Figure 7 Schematically shows a schematic diagram of storing information in the information acquisition method according to an embodiment of the present disclosure;
[0024] Figure 8 A block diagram schematically illustrates an information acquisition device according to an embodiment of the present disclosure; and
[0025] Figure 9 A block diagram schematically shows an electronic device suitable for implementing the information acquisition method according to an embodiment of the present disclosure. DETAILED DESCRIPTION
[0026] Hereinafter, embodiments of the present disclosure will be described with reference to the accompanying drawings. However, it should be understood that these descriptions are merely exemplary and are not intended to limit the scope of the present disclosure. In the detailed description below, for ease of explanation, many specific details are set forth to provide a comprehensive understanding of the embodiments of the present disclosure. However, it is apparent that one or more embodiments may also be implemented without these specific details. In addition, in the following description, descriptions of well-known structures and technologies are omitted to avoid unnecessary confusion of the concepts of the present disclosure.
[0027] The terms used herein are only for describing specific embodiments and are not intended to limit the present disclosure. The terms "comprise," "include," etc. used herein indicate the presence of the features, steps, operations, and / or components, but do not exclude the presence or addition of one or more other features, steps, operations, or components.
[0028] All terms used herein (including technical and scientific terms) have the meanings commonly understood by those skilled in the art unless otherwise defined. It should be noted that the terms used herein should be interpreted as having a meaning consistent with the context of this specification and should not be interpreted in an idealized or overly rigid manner.
[0029] When expressions such as "at least one of A, B and C, etc." are used, they should generally be interpreted in accordance with the meaning of the expression commonly understood by those skilled in the art (for example, "a system having at least one of A, B and C" should include but is not limited to a system having A alone, B alone, C alone, A and B, A and C, B and C, and / or A, B, C, etc.).
[0030] In the embodiments of the present disclosure, the collection, updating, analysis, processing, use, transmission, provision, disclosure, and storage of the data involved (for example, including but not limited to user personal information) all comply with the provisions of relevant laws and regulations, are used for legitimate purposes, and do not violate public order and good morals. In particular, necessary measures are taken with respect to user personal information to prevent unauthorized access to user personal information data and to maintain the security of user personal information, network security, and national security.
[0031] In the embodiments of the present disclosure, the user's authorization or consent is obtained before obtaining or collecting the user's personal information.
[0032] Embodiments of the present disclosure provide an information acquisition method, an information acquisition device, an electronic device, a computer-readable storage medium, and a computer program product. The method includes determining the storage status of a target item based on the storage location of the target item in a storage area and a preset item distribution rule of the storage area; if the storage status is abnormal, determining a target path in a regional plan of the storage area so that a mobile terminal device can move to a target location corresponding to the storage location based on the target path; determining a relative angle between the target item and the mobile terminal device based on the storage location and the device position of the mobile terminal device during movement; and adjusting an emission angle of a ray sent by a ray transmitting module on the mobile terminal device to the target item based on the relative angle, so that when the mobile terminal device moves to the target location based on the target path, the mobile terminal device can acquire item information of the target item based on the emission angle.
[0033] Figure 1 The following schematically illustrates an exemplary system architecture to which the information acquisition method and apparatus disclosed herein may be applied. Figure 1 The examples shown are merely examples of system architectures to which the embodiments of the present disclosure may be applied, to help those skilled in the art understand the technical content of the present disclosure, but do not mean that the embodiments of the present disclosure may not be used in other devices, systems, environments or scenarios.
[0034] like Figure 1 As shown, the system architecture 100 according to this embodiment may include mobile terminal devices 101, 102, and 103, a network 104, and a server 105. The network 104 is used as a medium for providing a communication link between the mobile terminal devices 101, 102, and 103 and the server 105. The network 104 may include various connection types, such as wired and / or wireless communication links, etc.
[0035] Users can use mobile terminal devices 101, 102, and 103 to interact with server 105 via network 104 to receive or send messages, etc. Various communication client applications can be installed on mobile terminal devices 101, 102, and 103, such as shopping applications, web browser applications, search applications, instant messaging tools, email clients, and / or social platform software (for example only).
[0036] The mobile terminal devices 101 , 102 , and 103 may be various electronic devices having a display screen and supporting web browsing, including but not limited to smart phones, tablet computers, laptop computers, and PDAs.
[0037] The server 105 may be a server that provides various services, such as a background management server (for example only) that supports websites browsed by users using the mobile terminal devices 101, 102, and 103. The background management server may analyze and process received data such as user requests, and feed back processing results (such as web pages, information, or data obtained or generated according to user requests) to the terminal device.
[0038] It should be noted that the information acquisition method provided in the embodiment of the present disclosure can generally be executed by the server 105. Accordingly, the information acquisition device provided in the embodiment of the present disclosure can generally be set in the server 105. The information acquisition method provided in the embodiment of the present disclosure can also be executed by a server or server cluster that is different from the server 105 and can communicate with the mobile terminal devices 101, 102, 103 and / or the server 105. Accordingly, the information acquisition device provided in the embodiment of the present disclosure can also be set in a server or server cluster that is different from the server 105 and can communicate with the mobile terminal devices 101, 102, 103 and / or the server 105. Alternatively, the information acquisition method provided in the embodiment of the present disclosure can also be executed by the mobile terminal devices 101, 102, or 103, or can also be executed by other terminal devices different from the mobile terminal devices 101, 102, or 103. Accordingly, the information acquisition device provided in the embodiment of the present disclosure may also be set in the mobile terminal device 101 , 102 , or 103 , or in other terminal devices different from the mobile terminal device 101 , 102 , or 103 .
[0039] It should be understood that Figure 1 The number of mobile terminal devices, networks and servers in the embodiment is merely illustrative. Any number of terminal devices, networks and servers may be provided as required.
[0040] Figure 2 The flowchart of the information acquisition method according to the embodiment of the present disclosure is schematically shown.
[0041] like Figure 2 As shown, the method includes operations S210 to S240.
[0042] In operation S210 , a storage status of a target item is determined based on a storage location of the target item in a storage area and a preset item distribution rule of the storage area.
[0043] In operation S220, if the storage state is an abnormal state, a target path is determined in the area plan of the storage area so that the mobile terminal device can move to a target location corresponding to the storage location based on the target path.
[0044] In operation S230 , a relative angle between the target item and the mobile terminal device is determined based on the storage location and the device position of the mobile terminal device during movement.
[0045] In operation S240, the emission angle of the ray sent by the ray sending module on the mobile terminal device to the target item is adjusted based on the relative angle, so that when the mobile terminal device moves to the target position based on the target path, the item information of the target item can be obtained using the mobile terminal device based on the emission angle.
[0046] According to embodiments of the present disclosure, the target item may be an item ordered by a user. After the user places an order, the package will pass through multiple storage areas before being delivered to the user. The storage areas may be sorting centers or package storage sites. Each storage area has a corresponding preset item distribution rule. Specifically, the preset item distribution rule may be set based on the size of the item. The preset item distribution rule may store large items in one distribution area and small items in another, facilitating item management.
[0047] Figure 3 A schematic diagram of a target item's waybill in the information acquisition method according to an embodiment of the present disclosure is schematically shown.
[0048] According to the embodiments of the present disclosure, Figure 3 As shown, the target item has a corresponding shipping label attached to it, and the target item's item information can be obtained based on the shipping label. The item information includes the target item's package number, transportation method, and consignee and sender information. The transportation method can be a slide-cage vehicle.
[0049] According to the embodiments of the present disclosure, Figure 3 As shown, the face sheet of the target item has an additional radio frequency area 310 on the upper layer of the original face sheet. The paper of the radio frequency area 310 is two-layered, and no glue is applied in the interlayer, which is used to place the RFID (Radio Frequency Identification) tag. Holes are punched around the radio frequency area 310, and a thin rope is glued on, with a portion of the edge of the thin rope protruding. The RFID tag can be taken out by pulling the thin rope, thereby realizing the reuse of the RFID tag. By installing an RFID tag on the face sheet of the target item, the storage location of the target item can be obtained using a location reader installed in the storage area. Among them, the location reader can be an RFID reader.
[0050] According to an embodiment of the present disclosure, after obtaining the storage location of the target item in the storage area, the storage location is detected based on the preset item distribution rule to determine whether the target item is stored in the preset distribution area, thereby determining the storage status of the target item.
[0051] According to an embodiment of the present disclosure, if the storage status is abnormal, it indicates that the target item may be lost or not placed in the designated location. Therefore, it is necessary to move the mobile terminal device to the target location corresponding to the storage location to complete the search for the target item and obtain the item information of the target item. The target location can be the location of the storage location projected onto the ground of the storage area. During the movement of the mobile terminal device, it can be moved by an employee holding it or carried by a smart cart to complete the movement.
[0052] According to an embodiment of the present disclosure, the mobile terminal device may be a PDA (Personal Digital Assistant) device for obtaining the item information of the target item. The PDA device may be used to scan the shipping label on the target item to obtain the item information of the target item.
[0053] According to an embodiment of the present disclosure, when the storage state is abnormal, a regional plan view of the storage area is obtained. The regional plan view is a two-dimensional map of the storage area. The regional plan view includes the locations of obstacles, target items, location readers, and mobile terminal devices located in the storage area.
[0054] According to an embodiment of the present disclosure, a target path is planned based on the location of the target object and the location of the mobile terminal device in the area plan, allowing the mobile terminal device to move to the target location based on the target path. The device position of the mobile terminal device is acquired in real time during its movement, and the relative angle between the target object and the mobile terminal device is determined. For example, the target object is 30° east-southeast of the mobile terminal device. By calculating the relative angle, the target object's location can be accurately determined, thereby completing the search for the target object.
[0055] According to an embodiment of the present disclosure, as the mobile terminal device moves, a ray transmission module on the mobile terminal device transmits rays toward a target object based on a relative angle. If the relative angle changes, the ray transmission angle is adjusted to ensure that the rays can more accurately reach the target object.
[0056] According to an embodiment of the present disclosure, when the mobile terminal device moves to the target position based on the target path, the target item is determined from multiple items based on the emission angle of the ray, and the mobile terminal device is used to scan the waybill of the target item to obtain the item information of the target item.
[0057] According to the embodiments of the present disclosure, by determining the storage status of the target item, a target path is planned on the regional plan in the event of an abnormal storage status, thereby facilitating the search for the target item and obtaining the target item's item information. Since the relative angle between the target item and the mobile terminal device is determined in real time as the mobile terminal device moves toward the target location based on the target path, the location of the target item can be more intuitively determined in three dimensions, improving the efficiency of searching for the target item and enabling the timely acquisition of item information, effectively improving the efficiency of transporting the target item.
[0058] According to an embodiment of the present disclosure, the storage status of the target item is determined based on the storage position of the target item in the storage area and the preset item distribution rule of the storage area, including: determining the distribution area corresponding to the target item in the storage area based on the preset item distribution rule; comparing the storage position with the area coordinates of the distribution area to generate a comparison result; when the comparison result indicates that the storage position is within the distribution area, determining that the storage status of the target item is a normal state; when the comparison result indicates that the storage position is outside the distribution area, determining that the storage status of the target item is an abnormal state.
[0059] According to the embodiment of the present disclosure, the storage area includes multiple distribution areas, and the attribute information of the target item can be matched with the preset item distribution rules to determine the distribution area corresponding to the target item. For example, the storage area includes distribution area A and distribution area B, wherein the storage volume in distribution area A is greater than or equal to 1m 3 The storage volume of the package in distribution area B is less than 1m 3 Then, according to the volume information in the attribute information of the target item, the distribution area corresponding to the target item is determined in distribution area A and distribution area B.
[0060] According to an embodiment of the present disclosure, each distribution area may be rectangular or circular. Multiple area coordinates are obtained for each distribution area, where the area coordinates may be the coordinates of the area edge of the distribution area. The storage location is compared with the multiple area coordinates one by one to generate a comparison result.
[0061] According to an embodiment of the present disclosure, if the comparison results show that the coordinate lengths of multiple area coordinates are greater than the coordinate length of the storage location, it means that the storage location of the target item is within the distribution area, and the storage status of the target item is normal, which complies with the preset item distribution rules.
[0062] According to an embodiment of the present disclosure, if the comparison results show that there is a coordinate length among the coordinate lengths of multiple area coordinates that is smaller than the coordinate length of the storage location, it means that the storage location of the target item is outside the distribution area, and the storage status of the target item is abnormal and does not comply with the preset item distribution rules.
[0063] According to an embodiment of the present disclosure, the storage status of a target item is determined based on the storage location and the regional coordinates of the distribution area, so that the storage status can be determined more accurately and reasonably.
[0064] Figure 4 A schematic diagram schematically illustrates a storage area in an information acquisition method according to an embodiment of the present disclosure.
[0065] According to an embodiment of the present disclosure, a target path is determined in an area plan map of a storage area, including: determining actual positions of a plurality of position readers in the storage area, and a plurality of planar positions of the plurality of position readers corresponding to the actual positions in the area plan map; determining a planar storage position corresponding to the storage position and a planar initial position of a movable terminal device in the area plan map based on a position ratio between the actual position and the planar position; and determining a target path in the area plan map based on the planar storage position and the planar initial position using a breadth-first algorithm.
[0066] According to an embodiment of the present disclosure, the actual positions of multiple position readers in a storage area are determined, where the actual positions are three-dimensional coordinates (x1, y1, z1). Multiple planar positions corresponding to the actual positions of the multiple position readers in a plan view of the area are determined, where the planar positions are two-dimensional coordinates (a1, b1). The position ratio between the actual positions and the planar positions is determined. During the calculation process, the three-dimensional actual positions are first mapped to two-dimensional coordinates, and then the position ratio is determined based on the mapped coordinates. For example, the position ratio is: x1 / a1=y1 / b1.
[0067] According to an embodiment of the present disclosure, a plane storage location corresponding to a storage location is determined in a regional plan view according to a position ratio. In the determination process, the storage location is first mapped to a two-dimensional coordinate, and then the coordinate values are multiplied by the position ratio to obtain the plane storage location. For example, if the storage location is (x2, y2, z2), the coordinates (x2, y2) are obtained after mapping the storage location, and the coordinate values are multiplied by the position ratio to obtain the plane storage location. The above method is used to determine the initial planar position of the mobile terminal device in the area plan.
[0068] According to an embodiment of the present disclosure, a breadth-first algorithm is used to determine a target path in a regional plan view based on a plane storage position and a plane initial position. Figure 4As shown, the plan view of the storage area includes obstacles 410, target items 420, location readers 430, and mobile terminal devices 440. During path planning, the breadth-first algorithm can determine the shortest path while avoiding obstacles to improve movement efficiency.
[0069] Figure 5 The spatial rectangular coordinate system of the information acquisition method according to the embodiment of the present disclosure is schematically shown.
[0070] According to an embodiment of the present disclosure, the relative angle between the target object and the movable terminal device is determined based on the storage location and the device position of the movable terminal device during movement, including: establishing a spatial rectangular coordinate system with the device position as the coordinate origin; determining the relative distance between the device position and the storage location in different directions in the spatial rectangular coordinate system; and determining the relative angle of the target object relative to the movable terminal device based on the relative distance according to a reference direction determined based on the spatial rectangular coordinate system.
[0071] According to the embodiments of the present disclosure, since the mobile terminal device is constantly moving, the relative angle of the target object relative to the moving mobile terminal device needs to be determined in real time. Therefore, a spatial rectangular coordinate system is established with the device position as the coordinate origin.
[0072] According to the embodiments of the present disclosure, Figure 5 As shown in the figure, point a is the device location of the mobile terminal, and point d indicates the storage location of the target item. Assuming the device location is (x1, y1, z1) and the storage location is (x2, y2, z2), then the length of line segment ae is y2-y1; the length of line segment ae is x2-x1; the length of line segment dc is y2-y1; and the length of line segment ac is √((y2-y1)+(x2-x1))². Here, ae, dc, and ac are the relative distances between the device location and the storage location in different directions in the spatial rectangular coordinate system.
[0073] According to embodiments of the present disclosure, the relative angle of a target object relative to a mobile terminal device is determined based on the relative distance, using a reference direction determined based on a spatial rectangular coordinate system. The reference angle can be determined by comparing the y-axis to due south and the x-axis to due east. By establishing a spatial rectangular coordinate system to calculate relative angles, the calculation process is more convenient and the results are more accurate.
[0074] According to an embodiment of the present disclosure, according to a reference direction determined based on a spatial rectangular coordinate system, the relative angle of the target object with respect to the movable terminal device is determined based on the relative distance, including: determining a plurality of right triangles in the spatial rectangular coordinate system based on a storage location and a device location, wherein the side length of each right triangle is determined based on the relative distance; and determining the relative angle associated with the reference direction based on the plurality of right triangles and the side length of each right triangle using an inverse trigonometric function.
[0075] According to the embodiments of the present disclosure, Figure 5 As shown, based on the storage location and the device location, multiple right triangles are determined in a spatial rectangular coordinate system. Specifically, they include right triangle 510 and right triangle 520. The side length of right triangle 510 is determined based on the relative distances dc and ac. The side length of right triangle 520 is determined based on the relative distances ae and ac.
[0076] According to an embodiment of the present disclosure, the relative distance is calculated using inverse trigonometric functions. Specifically, Figure 5 As shown, ∠eac = arctan((x2-x1 / y2-y1)), and ∠dac = arctan((z2-z1) / √((y2-y1)+(x2-x1))²). This determines the relative angle to be arctan((x2-x1 / y2-y1))° east of south, and the vertical angle to be arctan((z2-z1) / √((y2-y1)+(x2-x1))²). Calculating the relative angle using inverse trigonometric functions makes the calculation process more convenient.
[0077] Figure 6 The following schematically shows a scenario diagram of adjusting the emission angle in the information acquisition method according to an embodiment of the present disclosure.
[0078] According to an embodiment of the present disclosure, the emission angle of rays sent by a ray sending module on a mobile terminal device to a target object is adjusted based on the relative angle, including: determining the ray sending position of the ray sending module based on the device position; in the case where the relative angle changes, determining the angle change difference and the angle change direction based on the changed relative angle; and adjusting the emission angle based on the angle change difference, the angle change direction and the ray sending position.
[0079] According to an embodiment of the present disclosure, an RFID tag and an infrared irradiation lamp are installed in a PDA. The RFID positioning device can calculate the horizontal and vertical angles of the cargo relative to the PDA, based on due south. The ray transmission module also adjusts the irradiation angle based on due south, thereby accurately locating the cargo. The ray transmission module can be an infrared irradiation device.
[0080] According to the embodiment of the present disclosure, the ray sending position of the ray sending module is the device position of the mobile terminal device. During the movement of the mobile terminal device, the ray sending position will change in real time. Because the device position will change, that is, the coordinates x, y, and z of the device position will change, so the calculated relative angle will also change. Figure 6 As shown in the figure, when the staff moves the mobile terminal device from point A to point B, the angle of the infrared light changes, but the final target is still cargo A.
[0081] According to the embodiments of the present disclosure, when the relative angle changes, the difference between the changed relative angle and the angle of change 2 is calculated to determine the angle change difference and the direction of the angle change. Based on the angle change difference, the angle change direction, and the ray transmission position, the emission angle is adjusted to accurately point the ray at the target object, facilitating the search for the target object.
[0082] Figure 7 The diagram schematically shows a schematic diagram of saving information in the information acquisition method according to an embodiment of the present disclosure.
[0083] According to an embodiment of the present disclosure, the information acquisition method also includes: based on a preset timing task, detecting the position of the target item in the storage area and generating detection data; determining the position of the mobile terminal device when a request for obtaining item information is received from the mobile terminal device; matching the position of the target item in the detection data with the position of the mobile terminal device to generate a matching result; and outputting the item information when the matching result indicates that the position of the target item and the position of the mobile terminal device are in the same distribution area in the storage area.
[0084] According to an embodiment of the present disclosure, based on a preset timed task, the location of a target item in a storage area is detected and detection data is generated. Specifically, the location of the target item can be read by an RFID position reader every minute and the read data can be saved.
[0085] like Figure 7 As shown, 1, 2, 3, and 4 represent the package numbers of four items. Every minute, the RFID location reader reads the location of all items in the storage space and saves the read data to Service A. For example, the location information of the item with package number 1 stored in Site A is saved to Service A.
[0086] According to an embodiment of the present disclosure, upon receiving a request for obtaining item information triggered by a worker operating a target item using a mobile terminal device, the location of the mobile terminal device is determined. The location of the mobile terminal device is matched with the location of the target item stored on Service A to determine whether the two are within the same distribution area.
[0087] According to the embodiments of the present disclosure, if the two devices are in the same distribution area, the operator's operation is normal and the target item's information can be provided. If they are not in the same distribution area, the operator is not in the distribution area where the target item is located, the operation fails, and the target item's information is not provided. By matching the location of the mobile terminal device with the location of the target item, fraudulent operations are reduced. Operations can no longer be performed based solely on the package number, but must rely on the physical object to facilitate the management of the target item.
[0088] Figure 8 The block diagram schematically shows an information acquisition device according to an embodiment of the present disclosure.
[0089] like Figure 8 As shown, the information acquisition device 800 includes a state determination module 810 , a path determination module 820 , an angle determination module 830 and an angle adjustment module 840 .
[0090] The status determination module 810 is configured to determine the storage status of the target item based on the storage location of the target item in the storage area and a preset item distribution rule of the storage area.
[0091] The path determination module 820 is configured to determine a target path in the area plan of the storage area when the storage state is abnormal, so that the mobile terminal device can move to a target location corresponding to the storage location based on the target path.
[0092] The angle determination module 830 is configured to determine the relative angle between the target object and the mobile terminal device according to the storage location and the device position of the mobile terminal device during movement.
[0093] The angle adjustment module 840 is used to adjust the emission angle of the ray sent by the ray sending module on the mobile terminal device to the target object based on the relative angle, so that when the mobile terminal device moves to the target position based on the target path, the object information of the target object can be obtained using the mobile terminal device based on the emission angle.
[0094] According to an embodiment of the present disclosure, the state determination module 810 includes a region determination submodule, a coordinate comparison submodule, a first state determination submodule, and a second state determination submodule.
[0095] The area determination submodule is used to determine the distribution area corresponding to the target item in the storage area based on the preset item distribution rule.
[0096] The coordinate comparison submodule is used to compare the storage location with the regional coordinates of the distribution area and generate a comparison result.
[0097] The first state determination submodule is configured to determine that the storage state of the target item is a normal state when the comparison result indicates that the storage location is within the distribution area.
[0098] The second state determination submodule is configured to determine that the storage state of the target item is an abnormal state when the comparison result indicates that the storage location is outside the distribution area.
[0099] According to an embodiment of the present disclosure, the path determination module 820 includes a first position determination submodule, a second position determination submodule, and a path determination submodule.
[0100] The first position determination submodule is used to determine the actual positions of the plurality of position readers in the storage area and the plurality of planar positions of the plurality of position readers corresponding to the actual positions in the area plan.
[0101] The second position determination submodule is used to determine the planar storage position corresponding to the storage position and the planar initial position of the mobile terminal device in the area plan according to the position ratio between the actual position and the planar position.
[0102] The path determination submodule is used to determine the target path in the area plan map based on the plane storage position and the plane initial position by using a breadth-first algorithm.
[0103] According to an embodiment of the present disclosure, the angle determination module 830 includes a coordinate establishment submodule, a distance determination submodule, and an angle determination submodule.
[0104] The coordinate establishment submodule is used to establish a spatial rectangular coordinate system with the device position as the coordinate origin.
[0105] The distance determination submodule is used to determine the relative distance between the device position and the storage position in different directions in the spatial rectangular coordinate system.
[0106] The angle determination submodule is used to determine the relative angle of the target object relative to the mobile terminal device based on the reference direction determined based on the spatial rectangular coordinate system and the relative distance.
[0107] According to an embodiment of the present disclosure, the angle determination submodule includes a triangle determination unit and an angle determination unit.
[0108] The triangle determination unit is configured to determine a plurality of right triangles in a spatial rectangular coordinate system based on a storage location and a device location, wherein a side length of each right triangle is determined based on a relative distance.
[0109] The angle determination unit is configured to determine a relative angle associated with a reference direction based on a plurality of right triangles and a side length of each right triangle using an inverse trigonometric function.
[0110] According to an embodiment of the present disclosure, the angle adjustment module 840 includes a ray determination submodule, a change determination submodule, and an angle adjustment submodule.
[0111] The ray determination submodule is used to determine the ray sending position of the ray sending module based on the device position.
[0112] The change determination submodule is used to determine the angle change difference and the angle change direction based on the changed relative angle when the relative angle changes.
[0113] The angle adjustment submodule is used to adjust the emission angle based on the angle change difference, the angle change direction and the ray sending position.
[0114] According to an embodiment of the present disclosure, the information acquisition device 800 further includes a position detection module, a position determination module, a position matching module, and an information output module.
[0115] A position detection module is used to detect the position of the target item in the storage area based on a preset timed task and generate detection data;
[0116] a location determination module, configured to determine the location of the mobile terminal device upon receiving a request from the mobile terminal device to obtain item information;
[0117] A position matching module is used to match the position of the target object in the detection data with the position of the mobile terminal device to generate a matching result;
[0118] The information output module is used to output the item information when the matching result indicates that the location of the target item and the location of the mobile terminal device are in the same distribution area in the storage area.
[0119] According to the modules, submodules, units, and subunits of the embodiments of the present invention, any multiple or at least part of the functions of any multiple thereof can be implemented in one module. According to the modules, submodules, units, and subunits of the embodiments of the present invention, any one or more thereof can be split into multiple modules for implementation. According to the modules, submodules, units, and subunits of the embodiments of the present invention, any one or more thereof can be at least partially implemented as a hardware circuit, such as a field programmable gate array (FPGA), a programmable logic array (PLA), a system on a chip, a system on a substrate, a system on a package, an application specific integrated circuit (ASIC), or can be implemented by hardware or firmware of any other reasonable way of integrating or packaging the circuit, or implemented in any one of the three implementation modes of software, hardware, and firmware or in an appropriate combination of any of them. Alternatively, according to the modules, submodules, units, and subunits of the embodiments of the present invention, one or more thereof can be at least partially implemented as a computer program module, which can perform the corresponding function when the computer program module is run.
[0120] For example, any multiple of the state determination module 810, the path determination module 820, the angle determination module 830, and the angle adjustment module 840 can be combined into one module / unit / sub-unit for implementation, or any one of the modules / units / sub-units can be split into multiple modules / units / sub-units. Alternatively, at least part of the functions of one or more of these modules / units / sub-units can be combined with at least part of the functions of other modules / units / sub-units and implemented in one module / unit / sub-unit. According to an embodiment of the present disclosure, at least one of the state determination module 810, the path determination module 820, the angle determination module 830, and the angle adjustment module 840 can be at least partially implemented as a hardware circuit, such as a field programmable gate array (FPGA), a programmable logic array (PLA), a system on a chip, a system on a substrate, a system on a package, an application specific integrated circuit (ASIC), or can be implemented by hardware or firmware such as any other reasonable way of integrating or packaging the circuit, or implemented in any one of the three implementation methods of software, hardware, and firmware, or in an appropriate combination of any of them. Alternatively, at least one of the state determination module 810 , the path determination module 820 , the angle determination module 830 , and the angle adjustment module 840 may be at least partially implemented as a computer program module, which may perform corresponding functions when executed.
[0121] It should be noted that the data processing system part in the embodiments of the present disclosure corresponds to the data processing method part in the embodiments of the present disclosure. The description of the data processing system part specifically refers to the data processing method part and will not be repeated here.
[0122] Figure 9 A block diagram schematically shows an electronic device suitable for implementing the information acquisition method according to an embodiment of the present disclosure. Figure 9 The electronic device shown is only an example and should not limit the functions and scope of use of the embodiments of the present disclosure.
[0123] like Figure 9 As shown, the electronic device 900 according to an embodiment of the present disclosure includes a processor 901, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 902 or a program loaded from a storage part 908 into a random access memory (RAM) 903. The processor 901 may, for example, include a general-purpose microprocessor (e.g., a CPU), an instruction set processor and / or a related chipset and / or a dedicated microprocessor (e.g., an application-specific integrated circuit (ASIC)), etc. The processor 901 may also include an onboard memory for caching purposes. The processor 901 may include a single processing unit or multiple processing units for performing different actions of the method flow according to an embodiment of the present disclosure.
[0124] Various programs and data required for the operation of the electronic device 900 are stored in the RAM 903. The processor 901, the ROM 902, and the RAM 903 are connected to each other via a bus 904. The processor 901 executes the various operations of the method flow according to the embodiment of the present disclosure by executing the programs in the ROM 902 and / or the RAM 903. It should be noted that the programs may also be stored in one or more memories other than the ROM 902 and the RAM 903. The processor 901 may also execute the various operations of the method flow according to the embodiment of the present disclosure by executing the programs stored in the one or more memories.
[0125] According to an embodiment of the present disclosure, the electronic device 900 may further include an input / output (I / O) interface 905, which is also connected to the bus 904. The system 900 may also include one or more of the following components connected to the I / O interface 905: an input section 906 including a keyboard, a mouse, etc.; an output section 907 including devices such as a cathode ray tube (CRT), a liquid crystal display (LCD), and speakers; a storage section 908 including a hard disk; and a communication section 909 including a network interface card such as a LAN card or a modem. The communication section 909 performs communication processing via a network such as the Internet. A drive 910 is also connected to the I / O interface 905 as needed. A removable medium 911, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed in the drive 910 as needed, so that a computer program read therefrom can be installed into the storage section 908 as needed.
[0126] According to an embodiment of the present disclosure, the method flow according to an embodiment of the present disclosure can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a computer-readable storage medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication part 909, and / or installed from the removable medium 911. When the computer program is executed by the processor 901, the above-mentioned functions defined in the system of the embodiment of the present disclosure are executed. According to an embodiment of the present disclosure, the system, equipment, device, module, unit, etc. described above can be implemented by a computer program module.
[0127] The present disclosure also provides a computer-readable storage medium, which may be included in the device / apparatus / system described in the above embodiments, or may exist independently and not be incorporated into the device / apparatus / system. The computer-readable storage medium carries one or more programs, and when executed, implements the method according to the embodiments of the present disclosure.
[0128] According to an embodiment of the present disclosure, a computer-readable storage medium may be a non-volatile computer-readable storage medium. For example, it may include, but is not limited to: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.
[0129] For example, according to an embodiment of the present disclosure, the computer-readable storage medium may include the ROM 902 and / or the RAM 903 described above and / or one or more memories other than the ROM 902 and the RAM 903 .
[0130] An embodiment of the present disclosure also includes a computer program product, which includes a computer program, and the computer program contains program code for executing the method provided by the embodiment of the present disclosure. When the computer program product runs on an electronic device, the program code is used to enable the electronic device to implement the information acquisition method provided by the embodiment of the present disclosure.
[0131] When the computer program is executed by the processor 901, the above functions defined in the system / device of the embodiment of the present disclosure are performed. According to the embodiment of the present disclosure, the system, device, module, unit, etc. described above can be implemented by a computer program module.
[0132] In one embodiment, the computer program may be stored on a tangible storage medium such as an optical storage device or a magnetic storage device. In another embodiment, the computer program may be transmitted and distributed in the form of a signal on a network medium, downloaded and installed via the communication portion 909, and / or installed from a removable medium 911. The program code contained in the computer program may be transmitted using any appropriate network medium, including but not limited to wireless, wired, or any suitable combination thereof.
[0133] According to an embodiment of the present disclosure, the program code for executing the computer program provided by the embodiment of the present disclosure can be written in any combination of one or more programming languages. Specifically, these computer programs can be implemented using high-level procedural and / or object-oriented programming languages, and / or assembly / machine languages. Programming languages include, but are not limited to, languages such as Java, C++, python, "C" or similar programming languages. The program code can be executed entirely on the user computing device, partially on the user device, partially on a remote computing device, or entirely on a remote computing device or server. In cases involving a remote computing device, the remote computing device can be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computing device (for example, using an Internet service provider to connect via the Internet).
[0134] The flowcharts and block diagrams in the accompanying drawings illustrate the possible architectures, functions, and operations of the systems, methods, and computer program products according to various embodiments of the present disclosure. In this regard, each box in the flowchart or block diagram may represent a module, program segment, or portion of code, which contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the boxes may occur in an order different from that marked in the accompanying drawings. For example, two boxes shown in succession may actually be executed substantially in parallel, or they may sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flowchart, as well as the combination of boxes in the block diagram or flowchart, may be implemented using a dedicated hardware-based system that performs the specified function or operation, or may be implemented using a combination of dedicated hardware and computer instructions. It will be understood by those skilled in the art that the features described in the various embodiments and / or claims of the present disclosure may be combined and / or coupled in various ways, even if such combinations or couplings are not explicitly described in the present disclosure. In particular, without departing from the spirit and teachings of the present disclosure, the features described in the various embodiments and / or claims of the present disclosure may be combined and / or coupled in various ways, and all such combinations and / or couplings fall within the scope of the present disclosure.
[0135] The embodiments of the present disclosure are described above. However, these embodiments are for illustrative purposes only and are not intended to limit the scope of the present disclosure. Although each embodiment has been described separately above, this does not mean that the measures in each embodiment cannot be used in combination to advantage. The scope of the present disclosure is defined by the appended claims and their equivalents. Without departing from the scope of the present disclosure, those skilled in the art may make various substitutions and modifications, which should all fall within the scope of the present disclosure.
Claims
1. A method for obtaining information, comprising: determining a storage status of the target item based on a storage location of the target item in the storage area and a preset item distribution rule of the storage area; In a case where the storage state is an abnormal state, determining a target path in the area plan of the storage area so that the mobile terminal device can move to a target position corresponding to the storage position based on the target path; determining a relative angle between the target object and the mobile terminal device according to the storage location and a device position of the mobile terminal device during movement; Based on the relative angle, the emission angle of the ray sent by the ray sending module on the mobile terminal device to the target item is adjusted, so that when the mobile terminal device moves to the target position based on the target path, the item information of the target item is obtained by using the mobile terminal device based on the emission angle.
2. The method according to claim 1, wherein The determining the storage status of the target item based on the storage location of the target item in the storage area and a preset item distribution rule of the storage area includes: Based on the preset item distribution rule, determining a distribution area corresponding to the target item in the storage area; Comparing the storage location with the area coordinates of the distribution area to generate a comparison result; If the comparison result indicates that the storage location is within the distribution area, determining that the storage state of the target item is a normal state; When the comparison result indicates that the storage location is outside the distribution area, it is determined that the storage state of the target item is an abnormal state.
3. The method according to claim 1, wherein Determining a target path in the area plan of the storage area includes: determining actual positions of a plurality of position readers / writers in the storage area, and a plurality of planar positions of the plurality of position readers / writers corresponding to the actual positions in the plan view of the area; determining, based on a position ratio between the actual position and the planar position, a planar storage position corresponding to the storage position in the area plan, and a planar initial position of the mobile terminal device in the area plan; The target path is determined in the area plan map based on the plane storage position and the plane initial position using a breadth-first algorithm.
4. The method according to claim 1, wherein The determining the relative angle between the target object and the mobile terminal device according to the storage location and the device position of the mobile terminal device during movement includes: Establishing a spatial rectangular coordinate system with the device position as the coordinate origin; determining relative distances between the device position and the storage position in different directions in the spatial rectangular coordinate system; According to the reference direction determined based on the spatial rectangular coordinate system, the relative angle of the target object with respect to the mobile terminal device is determined based on the relative distance.
5. The method according to claim 4, wherein The determining, based on the reference direction determined based on the spatial rectangular coordinate system and the relative distance, a relative angle of the target object relative to the mobile terminal device includes: Determining a plurality of right triangles in the spatial rectangular coordinate system based on the storage location and the device location, wherein a side length of each right triangle is determined based on the relative distance; A relative angle associated with the reference direction is determined based on the plurality of right triangles and the side length of each right triangle using an inverse trigonometric function.
6. The method according to claim 1, wherein The adjusting, based on the relative angle, the emission angle of the ray sent by the ray sending module on the mobile terminal device to the target object includes: determining a ray sending position of the ray sending module based on the device position; In the case where the relative angle changes, determining the angle change difference and the angle change direction based on the changed relative angle; The emission angle is adjusted based on the angle change difference, the angle change direction and the ray sending position.
7. The method according to claim 1, further comprising: Based on a preset timed task, detecting the position of the target object in the storage area and generating detection data; Upon receiving a request from the mobile terminal device to obtain the item information, determining a location of the mobile terminal device; Matching the position of the target object in the detection data with the position of the mobile terminal device to generate a matching result; If the matching result indicates that the location of the target item and the location of the mobile terminal device are in the same distribution area in the storage area, the item information is output.
8. An information acquisition device, comprising: a state determination module, configured to determine the storage state of the target item based on the storage location of the target item in the storage area and a preset item distribution rule of the storage area; a path determination module, configured to determine, when the storage state is an abnormal state, a target path in the area plan of the storage area, so that the mobile terminal device can move to a target position corresponding to the storage position based on the target path; an angle determination module, configured to determine a relative angle between the target object and the mobile terminal device according to the storage location and a device position of the mobile terminal device during movement; An angle adjustment module is used to adjust the emission angle of the ray sent by the ray sending module on the mobile terminal device to the target item based on the relative angle, so that when the mobile terminal device moves to the target position based on the target path, the item information of the target item can be obtained using the mobile terminal device based on the emission angle.
9. An electronic device comprising: one or more processors; a memory 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 enabled to implement the method according to any one of claims 1 to 7.
10. A computer-readable storage medium having executable instructions stored thereon, which, when executed by a processor, causes the processor to implement the method according to any one of claims 1 to 7.
11. A computer program product comprising a computer program, which, when executed by a processor, implements the method according to any one of claims 1 to 7.