CN116739685B - Internet medicine information monitoring data processing method and system - Google Patents

Internet medicine information monitoring data processing method and system Download PDF

Info

Publication number
CN116739685B
CN116739685B CN202311001143.XA CN202311001143A CN116739685B CN 116739685 B CN116739685 B CN 116739685B CN 202311001143 A CN202311001143 A CN 202311001143A CN 116739685 B CN116739685 B CN 116739685B
Authority
CN
China
Prior art keywords
medicine
virtual
image
actual
purchasing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202311001143.XA
Other languages
Chinese (zh)
Other versions
CN116739685A (en
Inventor
朱礼伟
卓后涛
施赛花
肖培强
陈斌
方亮
于辉
王瑶
刘春婷
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nanjing Yilian Sunshine Information Technology Co ltd
Original Assignee
Nanjing Yilian Sunshine 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 Nanjing Yilian Sunshine Information Technology Co ltd filed Critical Nanjing Yilian Sunshine Information Technology Co ltd
Priority to CN202311001143.XA priority Critical patent/CN116739685B/en
Publication of CN116739685A publication Critical patent/CN116739685A/en
Application granted granted Critical
Publication of CN116739685B publication Critical patent/CN116739685B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • 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
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]
    • G06Q30/0639Item locations
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T19/00Manipulating 3D models or images for computer graphics
    • G06T19/003Navigation within 3D models or images
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/70Determining position or orientation of objects or cameras

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Physics & Mathematics (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Marketing (AREA)
  • General Business, Economics & Management (AREA)
  • Strategic Management (AREA)
  • Economics (AREA)
  • Development Economics (AREA)
  • Software Systems (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Computer Graphics (AREA)
  • Computer Hardware Design (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Medical Treatment And Welfare Office Work (AREA)

Abstract

The invention provides an Internet medicine information monitoring data processing method and system, which are used for generating a first twin space according to a store twin space and a shelf twin diagram; determining an actual horizontal distance corresponding to the actual displayed medicines based on the actual center points corresponding to the actual displayed medicines, and determining virtual positioning lines of the corresponding virtual displayed medicines on the virtual display surface according to the actual horizontal distances; obtaining virtual specification information of a virtual display medicine, obtaining a virtual medicine image based on the virtual specification information, and placing the corresponding virtual medicine image on a virtual display surface based on a virtual positioning line to obtain a second twin space; acquiring the medicine purchasing requirement of a user, acquiring the purchasing shelf position and the purchasing medicine position of the purchasing medicine in the second twin space based on the medicine purchasing requirement, generating a top view indication image and a front view indication image according to the purchasing shelf position and the purchasing medicine position, generating a purchasing indication image group based on the top view indication image and the front view indication image, and transmitting the purchasing indication image group to a purchasing end.

Description

Internet medicine information monitoring data processing method and system
Technical Field
The invention relates to the technical field of data processing, in particular to a method and a system for processing internet medicine information monitoring data.
Background
In daily life, people usually buy medicines in a pharmacy according to the prescription of a doctor or the own requirements.
In the prior art, medicines required to be purchased by the medicine staff are usually selected by staff, but because the number of staff in a medicine shop is limited, and the number of medicine cabinets in the medicine shop is also likely to be large, when more medicine purchasing staff, the staff needs to find the purchased medicines of each medicine purchasing staff in a plurality of medicine cabinets, so that the purchasing medicines of each medicine purchasing staff can be not selected, and the efficiency of medicine purchasing staff in purchasing medicines is low.
Therefore, how to automatically generate an indication image corresponding to the actual medicine position according to the purchase requirement of the medicine purchasing personnel, and efficiently indicate the medicine purchasing personnel to complete the purchase of the medicine becomes a problem to be solved urgently.
Disclosure of Invention
The embodiment of the invention provides an internet medicine information monitoring data processing method and system, which can automatically generate an indication image corresponding to the actual medicine position by combining with the purchasing requirement of a medicine purchasing person, and efficiently indicate the medicine purchasing person to complete the purchasing of medicine.
In a first aspect of the embodiment of the present invention, there is provided a method for processing internet drug information monitoring data, including:
Acquiring a store twin space corresponding to a target pharmacy and a shelf twin diagram corresponding to each medicine shelf in the target pharmacy, wherein the shelf twin diagram comprises a virtual display surface and a plurality of layers of virtual horizontal lines positioned on the virtual display surface, and generating a first twin space according to the store twin space and the shelf twin diagram;
obtaining a shelf actual graph corresponding to each medicine shelf according to an image acquisition unit of the target pharmacy, obtaining an actual center point corresponding to each actual displayed medicine in the shelf actual graph, determining an actual horizontal distance corresponding to the actual displayed medicine based on the actual center point, and determining a virtual positioning line of the corresponding virtual displayed medicine on the virtual display surface according to the actual horizontal distance;
acquiring actual specification information of each actual display drug, processing the actual specification information according to a preset conversion ratio to obtain virtual specification information of a virtual display drug corresponding to the actual display drug, adjusting the image specification of a preset drug image corresponding to the virtual display drug based on the virtual specification information to obtain a virtual drug image, and placing the corresponding virtual drug image on the virtual display surface based on the virtual positioning line to obtain a second twin space;
Acquiring the medicine purchasing requirement of a user, acquiring the purchasing shelf position and the purchasing medicine position of the purchasing medicine in the second twin space based on the medicine purchasing requirement, generating a top view indication image and a front view indication image according to the purchasing shelf position and the purchasing medicine position, generating a purchasing indication image group based on the top view indication image and the front view indication image, and transmitting the purchasing indication image group to a purchasing end.
Optionally, in one possible implementation manner of the first aspect, obtaining a shelf actual graph corresponding to each drug shelf according to an image acquisition unit of the target pharmacy, obtaining an actual center point corresponding to each actually displayed drug in the shelf actual graph, determining an actual horizontal distance corresponding to the actually displayed drug based on the actual center point, and determining a virtual positioning line of the corresponding virtual displayed drug on the virtual display surface according to the actual horizontal distance, where the determining includes:
acquiring a plurality of layers of actual horizontal lines corresponding to the shelf actual graph, selecting any one of the adjacent actual horizontal lines as a first horizontal line, acquiring a first center point of the first horizontal line, and generating a vertical line perpendicular to the first horizontal line as an actual center line corresponding to a corresponding shelf layer based on the first center point;
Acquiring an actual center point corresponding to each actual displayed medicine in the shelf actual graph, determining an actual horizontal distance between the actual displayed medicine and the actual center line based on the actual center point, and determining a direction from the actual center line to the actual center point as a placement direction of the corresponding actual displayed medicine;
converting the actual horizontal distance according to a virtual conversion proportion to obtain a virtual horizontal distance, selecting any one of the adjacent virtual horizontal lines as a second horizontal line, acquiring a second center point of the second horizontal line, and generating a vertical line perpendicular to the second horizontal line based on the second center point as a virtual center line corresponding to a corresponding sub-display surface in a virtual display surface;
and determining a vertical line at a virtual horizontal distance from the virtual center line based on the placement direction as a virtual positioning line for corresponding virtual display of the medicine on the virtual display surface.
Optionally, in one possible implementation manner of the first aspect, the obtaining actual specification information of each actually displayed medicine, processing the actual specification information according to a preset conversion ratio to obtain virtual specification information of a virtual displayed medicine corresponding to the actually displayed medicine, adjusting an image specification of a preset medicine image corresponding to the virtual displayed medicine based on the virtual specification information to obtain a virtual medicine image, and placing the corresponding virtual medicine image on the virtual display surface based on the virtual positioning line to obtain a second twin space, where the obtaining includes:
The method comprises the steps of obtaining the actual length and the actual width of each actual display medicine, converting the actual length according to a preset length conversion ratio to obtain the virtual length of the virtual display medicine corresponding to the actual display medicine, and converting the actual width according to a preset width conversion ratio to obtain the virtual width of the virtual display medicine corresponding to the actual display medicine;
and adjusting the image specification of the preset medicine image corresponding to the virtual display medicine based on the virtual length and the virtual width to obtain a virtual medicine image, and placing the corresponding virtual medicine image on the virtual display surface based on the virtual positioning line to obtain a second twin space.
Optionally, in a possible implementation manner of the first aspect, the placing the corresponding virtual medicine image on the virtual display surface based on the virtual positioning line, to obtain the second twin space includes:
acquiring actual horizontal lines corresponding to the actual display medicines, and determining virtual horizontal lines corresponding to virtual display medicines corresponding to the actual display medicines in the virtual display surface as target horizontal lines according to the actual horizontal lines;
And acquiring virtual medicine images corresponding to the virtual display medicines and virtual center points of the virtual medicine images, positioning the virtual center points based on the virtual positioning lines, and aligning lower image edges of the virtual medicine images with corresponding target horizontal lines in the virtual display surfaces to obtain a second twin space.
Optionally, in one possible implementation manner of the first aspect, the method further includes:
receiving information of a new medicine at a management end, acquiring a plurality of new medicines input by the management end, and adjusting the image specification of a preset new image corresponding to each new medicine according to a preset conversion proportion to acquire a new medicine image corresponding to each new medicine;
acquiring the gap distance between two adjacent image edges of adjacent virtual medicine images in each virtual display surface, sequentially arranging the placement gaps corresponding to the gap distances from large to small according to the gap distance to obtain a first gap sequence corresponding to each layer of sub-display surface in each virtual display surface, and sequentially arranging the first gap sequences from high to low according to the layer number to obtain a second gap sequence corresponding to each virtual display surface;
Acquiring the image length corresponding to each new medicine image, and sequentially arranging the new medicine images according to the image length from large to small to obtain a new image sequence;
sequentially acquiring a new medicine image in the new image sequence as a target medicine image, screening each second gap sequence based on the target medicine image to obtain a target placement gap corresponding to the target medicine image, determining a new positioning line based on the target placement gap, and placing the target medicine image on a corresponding virtual display surface according to the new positioning line to obtain a third twin space;
updating the second gap sequence based on the third twin space to obtain an updated second gap sequence, repeating the steps, continuously obtaining the next target medicine image in the previous image sequence, continuously screening the updated second gap sequence based on the next target medicine image, and stopping until the previous medicine images in the previous image sequence are all placed.
Optionally, in one possible implementation manner of the first aspect, sequentially acquiring a last new drug image in the last new image sequence as a target drug image, screening each second gap sequence based on the target drug image to obtain a target placement gap corresponding to the target drug image, determining a last new positioning line based on the target placement gap, and placing the target drug image on a corresponding virtual display surface according to the last new positioning line to obtain a third twin space, where the third twin space includes:
Obtaining an offset placement distance according to the sum of the image length of the target medicine image and a preset placement distance, traversing a plurality of placement gaps in each second gap sequence based on the offset placement distance, and obtaining the placement gaps with the gap distance larger than or equal to the offset placement distance as gaps to be screened;
acquiring a gap to be screened, which has the highest layer number and the largest gap distance, in the gaps to be screened as a target placement gap, acquiring image edges of two virtual medicine images corresponding to the target placement gap, optionally taking one image edge as a reference edge, and taking the direction from the reference edge to the other adjacent image edge as a new placement direction;
obtaining a medicine placement distance according to one half of the offset placement distance, and determining a vertical line at the medicine placement distance from the reference edge as a new upper positioning line based on the new upper placement direction;
and acquiring a new upper center point of the target medicine image, positioning the new upper center point based on the new upper positioning line, and aligning the lower image edge of the target medicine image with a virtual horizontal line corresponding to a target placement gap in a corresponding virtual display surface to obtain a third twin space.
Optionally, in one possible implementation manner of the first aspect, the method further includes:
acquiring actual display medicines corresponding to the actual center points in the shelf actual graphs corresponding to the medicine shelves, and acquiring images of the medicine shelves based on the image acquisition units after a preset time period to obtain current actual graphs corresponding to the medicine shelves;
carrying out coordinated processing on the shelf actual graph and the current actual graph to obtain current center points corresponding to all current displayed medicines in the current actual graph and a group of medicine comparison groups, wherein the distances between the current center points and coordinate points corresponding to the actual center points are in a preset distance range;
and if the names of the currently displayed medicines and the actually displayed medicines in the medicine comparison group are inconsistent, or the actually displayed medicines corresponding to the currently displayed medicines do not exist, sending the currently displayed medicines to a management end as the abnormal medicine placement.
Optionally, in one possible implementation manner of the first aspect, in response to purchase information of a purchasing end, acquiring a purchase medicine requirement of a user, acquiring a purchase shelf position and a purchase medicine position where a purchase medicine is located in the second twin space based on the purchase medicine requirement, generating a top view indication image and a front view indication image according to the purchase shelf position and the purchase medicine position, generating a purchase indication image group based on the top view indication image and the front view indication image, and sending the purchase indication image group to the purchasing end, including:
Acquiring the positions of the medicine cabinets corresponding to the shelf twinning diagrams in the second twinning space, calling the top views of the medicine cabinets corresponding to the shelf twinning diagrams, and generating a virtual top view based on the top views of the medicine cabinets and the positions of the medicine cabinets corresponding to the top views of the medicine cabinets;
acquiring the medicine purchasing requirement of a user, acquiring the purchasing shelf position corresponding to the medicine purchasing requirement, determining a target top view in the virtual top view according to the purchasing shelf position, updating the virtual top view based on the target top view to obtain a top view indication map, and sending the top view indication map to a purchasing terminal;
receiving click information input by the purchasing terminal based on the overlook indication map, and acquiring a target overhead view selected by a user based on the click information;
and calling a virtual display surface corresponding to the target top view, acquiring a purchasing medicine position in the virtual display surface based on the purchasing medicine requirement, determining a purchasing medicine image in the virtual display surface based on the purchasing medicine position, updating the virtual display surface based on the purchasing medicine image to obtain a front view indication image, and sending the front view indication image to the purchasing terminal, wherein the purchasing indication image group comprises a top view indication image and a front view indication image.
Optionally, in one possible implementation manner of the first aspect, a medicine purchasing requirement of a user is obtained, a purchasing shelf position corresponding to a purchased medicine is obtained according to the medicine purchasing requirement, a target top view in the virtual top view is determined according to the purchasing shelf position, the virtual top view is updated based on the target top view to obtain a top view indication map, and the top view indication map is sent to a purchasing end, including:
analyzing the medicine purchasing demand to obtain a purchased medicine, acquiring a purchasing shelf position where the purchased medicine is located, determining a corresponding medicine cabinet top view in the virtual top view as a target top view based on the purchasing shelf position, displaying and updating the target top view according to a first pixel value to obtain a top view indication picture, and sending the top view indication picture to a purchasing end;
acquiring a purchase medicine position in the virtual display surface based on the medicine purchase requirement, determining a purchase medicine image in the virtual display surface based on the purchase medicine position, updating the virtual display surface based on the purchase medicine image to obtain a front view indication map, and sending the front view indication map to the purchase terminal, wherein the method comprises the following steps of:
And acquiring a virtual medicine image corresponding to the purchased medicine position in the virtual display surface as a purchased medicine image, performing display updating on the purchased medicine image according to a second pixel value to obtain a front view indication image, and transmitting the front view indication image to the purchasing terminal.
In a second aspect of the embodiment of the present invention, there is provided an internet drug information monitoring data processing system, including:
the twin module is used for acquiring a store twin space corresponding to a target drug store and a shelf twin diagram corresponding to each drug shelf in the target drug store, wherein the shelf twin diagram comprises a virtual display surface and a plurality of layers of virtual horizontal lines positioned on the virtual display surface, and a first twin space is generated according to the store twin space and the shelf twin diagram;
the positioning module is used for obtaining a shelf actual graph corresponding to each medicine shelf according to the image acquisition unit of the target pharmacy, obtaining actual center points corresponding to each actual displayed medicine in the shelf actual graph, determining the actual horizontal distance corresponding to the actual displayed medicine based on the actual center points, and determining virtual positioning lines of the corresponding virtual displayed medicines on the virtual display surface according to the actual horizontal distance;
The placement module is used for obtaining actual specification information of each actual display medicine, processing the actual specification information according to a preset conversion proportion to obtain virtual specification information of a virtual display medicine corresponding to the actual display medicine, adjusting the image specification of a preset medicine image corresponding to the virtual display medicine based on the virtual specification information to obtain a virtual medicine image, and placing the corresponding virtual medicine image on the virtual display surface based on the virtual positioning line to obtain a second twin space;
the medicine purchasing module is used for acquiring medicine purchasing demands of users, acquiring purchasing shelf positions and purchasing medicine positions of purchasing medicines in the second twin space based on the medicine purchasing demands, generating a top view indication image and a front view indication image according to the purchasing shelf positions and the purchasing medicine positions, generating a purchasing indication image group based on the top view indication image and the front view indication image, and sending the purchasing indication image group to a purchasing end.
The beneficial effects of the invention are as follows:
1. the invention can automatically generate the indication image corresponding to the actual medicine position according to the purchasing requirement of the medicine purchasing personnel, and efficiently indicate the medicine purchasing personnel to complete the purchasing of the medicine. According to the invention, the twin space of the target pharmacy is generated, and then the positions of the virtual display medicines in the virtual display surface are determined according to the positions of the actual display medicines in the acquired shelf actual graph, so that the obtained twin space corresponds to the target pharmacy one by one, and the positions of the medicines can be obtained rapidly through the twin space. When a user needs to purchase the medicine, the invention can generate the overlook indication map and the front view indication map according to the medicine required to be purchased by the user, so that the specific position of the goods shelf where the medicine is purchased can be displayed for the user according to the overlook indication map, and the specific position of the purchased medicine in the corresponding goods shelf can be displayed for the user according to the front view indication map, so that the user can be guided to complete the purchase of the corresponding medicine.
2. The invention can also quickly find the placement position of the new medicine in the virtual display surface according to the new demand of the user, thereby improving the placement efficiency of the new medicine. Specifically, the first gap sequences are obtained by arranging the plurality of placing gaps of each layer according to the gap distances from large to small, and then the second gap sequences are obtained by arranging the plurality of first gap sequences according to the layer numbers from high to bottom, so that when medicines are placed, the placing gaps with larger gap distances can be placed with new medicines preferentially, the situation that the placing gaps are too small due to the overlarge medicine placing sizes is reduced, the corresponding medicines are not placed down is avoided, and the medicines can be placed at more striking positions preferentially, and the corresponding medicines are easy to find. When medicines are placed, the invention firstly arranges each new medicine image according to the image length to obtain a new image sequence, then traverses a plurality of placing gaps according to the offset placing distance corresponding to the new medicines in the new image sequence, and then finds the placing gap which meets the placing condition and has the highest layer number to place the corresponding new medicines, so that the placing of the new medicines with larger placing size can be preferentially carried out, the situation that the next new medicines are not placed is reduced, and the placing position of each new medicine can be automatically determined by combining the placing gap and the offset placing distance corresponding to the new medicine image, thereby improving the efficiency of placing the new medicines.
3. The invention also judges whether the placement position of each medicine in the medicine shelf is changed or not in a preset time period, and reminds the management end to correct the position of the corresponding medicine when the medicine position is changed. When judging whether the positions of the corresponding medicines change, the invention judges the positions of the corresponding medicines through the center points of the medicines in the shelf actual graph and the current actual graph, firstly, the invention takes the actual medicines and the current medicines with the distance between the center points within the preset distance range as a group of comparison groups, then judges whether the placement positions of the current medicines are abnormal or not through judging whether the names of the medicines in the comparison groups are consistent or not or whether the actual medicines corresponding to the current medicines exist, and reminds a management end to correct the positions of the corresponding medicines when the positions of the current medicines are abnormal, thereby improving the accuracy when searching the medicines.
Drawings
Fig. 1 is a schematic flow chart of a method for processing internet drug information monitoring data according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of an internet drug information monitoring data processing system according to an embodiment of the present invention.
Description of the embodiments
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent that the described embodiments are only some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Referring to fig. 1, a flowchart of a method for processing internet drug information monitoring data according to an embodiment of the present application is shown, where an execution subject of the method shown in fig. 1 may be a software and/or hardware device. The execution body of the present application may include, but is not limited to, at least one of: user equipment, network equipment, etc. The user equipment may include, but is not limited to, computers, smart phones, personal digital assistants (Personal Digital Assistant, abbreviated as PDA), and the above-mentioned electronic devices. The network device may include, but is not limited to, a single network server, a server group of multiple network servers, or a cloud of a large number of computers or network servers based on cloud computing, where cloud computing is one of distributed computing, and a super virtual computer consisting of a group of loosely coupled computers. This embodiment is not limited thereto. The method comprises the steps S1 to S4, and specifically comprises the following steps:
s1, acquiring a store twin space corresponding to a target pharmacy and a shelf twin diagram corresponding to each medicine shelf in the target pharmacy, wherein the shelf twin diagram comprises a virtual display surface and a plurality of layers of virtual horizontal lines positioned on the virtual display surface, and generating a first twin space according to the store twin space and the shelf twin diagram.
In practical applications, the layout of each pharmacy may be different, so in order to obtain the placement position of each medicine in the target pharmacy according to the twin space, the store twin space of the target pharmacy and the shelf twin map of each medicine shelf may be generated first, so that the first twin space may be generated according to the store twin map and the shelf twin map, and it is worth mentioning that the first twin space is the twin space in which no medicine is placed yet.
It will be appreciated that there may be multiple drug shelf layers on the drug shelf, and thus the virtual display surface in the resulting shelf twinned map may also have multiple virtual horizontal lines corresponding to the drug shelf layers, where each virtual drug shelf layer corresponds to two adjacent virtual horizontal lines, the virtual display surface being used to display a virtual display drug.
S2, obtaining a shelf actual graph corresponding to each medicine shelf according to an image acquisition unit of the target pharmacy, obtaining actual center points corresponding to each actual displayed medicine in the shelf actual graph, determining actual horizontal distances corresponding to the actual displayed medicines based on the actual center points, and determining virtual positioning lines of the corresponding virtual displayed medicines on the virtual display surfaces according to the actual horizontal distances.
In practical application, the image acquisition unit may be a camera, the shelf actual graph is a front view corresponding to a shelf, when an actual center point corresponding to each actually displayed medicine in the shelf actual graph is obtained, a plurality of actually displayed medicines in the shelf actual graph can be identified through an image identification technology in the prior art, then the shelf actual graph is subjected to coordinate processing, a maximum x coordinate value, a minimum x coordinate value, a maximum y coordinate value and a minimum y coordinate value corresponding to each actually displayed medicine are obtained, an x middle coordinate value is obtained according to a middle value of a difference value between the maximum x coordinate value and the minimum x coordinate value, a y middle coordinate value is obtained according to a coordinate value of a difference value between the maximum y coordinate value and the minimum y coordinate value, and finally an actual center point corresponding to each actually displayed medicine is obtained according to the x middle coordinate value and the y middle coordinate value.
It should be noted that the medicine boxes corresponding to the actually displayed medicines in the scheme are all regular, for example, rectangular medicine boxes can be adopted.
It will be appreciated that the virtual alignment line is determined so as to provide for subsequent corresponding positioning of the virtual drug image of each virtual displayed drug on the virtual display surface in accordance with the virtual alignment line.
The specific implementation manner of step S2 based on the above embodiment may be:
s21, acquiring a plurality of layers of actual horizontal lines corresponding to the shelf actual graph, selecting any one of the adjacent actual horizontal lines as a first horizontal line, acquiring a first center point of the first horizontal line, and generating a vertical line perpendicular to the first horizontal line based on the first center point as an actual center line corresponding to a corresponding shelf layer.
The actual horizontal lines are horizontal lines corresponding to each layer of actual medicine rack layer, each layer of actual medicine rack layer corresponds to an upper adjacent actual horizontal line and a lower adjacent actual horizontal line, after a vertical line perpendicular to the first horizontal line is generated based on a first center point, the vertical line is intercepted according to the two adjacent actual horizontal lines, so that the final obtained actual center line is a line segment connecting the two adjacent actual horizontal lines, and the actual center line corresponding to each layer of actual medicine rack layer in the shelf actual diagram can be obtained through the mode.
S22, acquiring an actual center point corresponding to each actual displayed medicine in the shelf actual graph, determining an actual horizontal distance between the actual displayed medicine and the actual center line based on the actual center point, and determining a direction from the actual center line to the actual center point as a placement direction of the corresponding actual displayed medicine.
It can be understood that, because the virtual display surface corresponding to the shelf twinning map corresponds to the shelf actual map, in order to display the virtual display medicine corresponding to each actual display medicine at the corresponding position of the virtual display surface, the actual horizontal distance between each actual display medicine and the actual center line can be obtained first, and then the corresponding position of each virtual display medicine in the virtual display surface can be obtained according to the virtual center line corresponding to the actual center line in the virtual display surface and the actual horizontal distance after virtual conversion.
Because the actual displayed medicine may be located on one side of the actual center line, in order to place the virtual displayed medicine corresponding to the actual displayed medicine in the corresponding side of the virtual center line, the placement direction may be obtained according to the actual center line and the actual center point, and then the image corresponding to the virtual displayed medicine is placed in the corresponding side of the virtual center line according to the placement direction, so that the medicines placed in the virtual display surface and the medicines placed in the shelf actual graph are in one-to-one correspondence.
S23, converting the actual horizontal distance according to a virtual conversion proportion to obtain a virtual horizontal distance, selecting any one of the adjacent virtual horizontal lines as a second horizontal line, acquiring a second center point of the second horizontal line, and generating a vertical line perpendicular to the second horizontal line based on the second center point as a virtual center line corresponding to a corresponding sub-display surface in the virtual display surface.
In practical application, the virtual conversion ratio may be set in advance by the user, for example, the virtual conversion ratio may be 1cm, which is only illustrated by way of example and not limitation. Likewise, the manner of obtaining the virtual center line of each virtual medicine rack layer is similar to the manner of obtaining the actual center line of each actual medicine rack layer, which is not described herein, so that the actual center line and the virtual center line corresponding to the corresponding medicine rack layer are in one-to-one correspondence.
S24, determining a vertical line at a virtual horizontal distance from the virtual center line based on the placement direction, and taking the vertical line as a virtual positioning line of a corresponding virtual display medicine on the virtual display surface.
It can be understood that, because the actual center line corresponds to the virtual center line one by one, the placement direction corresponds to the virtual horizontal distance, and the virtual horizontal distance is correspondingly converted, the obtained virtual positioning line can be used for positioning the position of the center point of the corresponding image of the corresponding virtual display medicine in the vertical direction, so that the position of the corresponding virtual display medicine in the horizontal direction can be positioned through the virtual positioning line in the subsequent process.
S3, acquiring actual specification information of each actual display medicine, processing the actual specification information according to a preset conversion ratio to obtain virtual specification information of a virtual display medicine corresponding to the actual display medicine, adjusting the image specification of a preset medicine image corresponding to the virtual display medicine based on the virtual specification information to obtain a virtual medicine image, and placing the corresponding virtual medicine image on the virtual display surface based on the virtual positioning line to obtain a second twin space.
It can be understood that in practical application, the specification and the size of each medicine box may be different, so in order to perform one-to-one correspondence between the virtual display medicine and the actual display medicine, the image specification of the preset medicine image corresponding to the virtual display medicine can be adjusted through the actual specification information of the actual display medicine, so that the obtained virtual medicine image can correspond to the actual display medicine.
After the virtual medicine image is obtained, the corresponding virtual medicine image can be placed on the corresponding position of the virtual display surface according to the virtual positioning line, so that a second twin space is obtained, the second twin space is the twin space in which medicines are placed, and the specific placement position of each medicine in the target pharmacy can be known through the second twin space.
The specific implementation manner of step S3 based on the above embodiment may be:
s31, obtaining the actual length and the actual width of each actual display medicine, converting the actual length according to a preset length conversion ratio to obtain the virtual length of the virtual display medicine corresponding to the actual display medicine, and converting the actual width according to a preset width conversion ratio to obtain the virtual width of the virtual display medicine corresponding to the actual display medicine.
In practical application, when the actual length of the actual displayed medicine is obtained, the product of the ratio of the actual displayed medicine to the medicine cabinet in the length dimension and the actual length of the goods shelf can be calculated, and the actual width of the actual displayed medicine can be calculated by the product of the ratio of the actual displayed medicine to the medicine cabinet in the width dimension and the actual width of the goods shelf.
S32, adjusting the image specification of the preset medicine image corresponding to the virtual display medicine based on the virtual length and the virtual width to obtain a virtual medicine image, and placing the corresponding virtual medicine image on the virtual display surface based on the virtual positioning line to obtain a second twin space.
In some embodiments, the second twin space may be obtained by placing the corresponding virtual drug image on the virtual display surface based on the virtual positioning line by:
s321, acquiring actual horizontal lines corresponding to the actual display medicines, and determining virtual horizontal lines corresponding to the virtual display medicines corresponding to the actual display medicines in the virtual display surface as target horizontal lines according to the actual horizontal lines.
When the actual horizontal line corresponding to each actually displayed medicine is obtained, the actual horizontal line corresponding to the lower shelf layer of the actual shelf layer corresponding to the medicine can be obtained, namely the actual horizontal line corresponding to the lower medicine side of the medicine, and then the virtual horizontal line in the corresponding virtual shelf layer in the virtual display surface is obtained according to the actual horizontal line to serve as the target horizontal line.
For example, if a certain actually displayed medicine is on the first layer of the medicine shelf, when determining the corresponding target horizontal line of the medicine in the corresponding virtual display surface, the virtual horizontal line at the lower edge of the first layer may be taken as the target horizontal line.
It will be appreciated that the products are typically placed proximate to the lower edge of the shelf level, and thus the virtual level corresponding to the lower edge of the corresponding virtual shelf level may be the target level when the target level is determined.
S322, obtaining virtual medicine images corresponding to the virtual display medicines and virtual center points of the virtual medicine images, positioning the virtual center points based on the virtual positioning lines, and aligning lower image edges of the virtual medicine images with corresponding target horizontal lines in the virtual display surfaces to obtain a second twin space.
Specifically, when the virtual medicine image corresponding to the virtual display medicine is placed, the virtual center point of the virtual medicine image can be positioned by the virtual positioning line, and then the lower drawing edge of the virtual medicine image is aligned with the target horizontal line, so that the specific placement position of the corresponding virtual medicine image is determined.
Through the mode, the plurality of medicine shelves in the target medicine store and the plurality of medicines in each medicine shelf can be copied one by one through the second twin space, so that the specific placement position of each medicine can be known through the second twin space.
Furthermore, in some embodiments, on the basis of the above solution, the present solution further includes the following embodiments:
a1, receiving information of a new medicine at a management end, acquiring a plurality of new medicines input by the management end, and adjusting the image specification of a preset new image corresponding to each new medicine according to a preset conversion proportion to acquire a new medicine image corresponding to each new medicine.
It can be appreciated that in practical application, the user may also update the medicines, and the medicine shelves of the target pharmacy may have many medicines, if the user searches the positions of each medicine shelf where medicines can be stored one by one when updating the medicines, a great amount of time of the user may be wasted, so the scheme also traverses the plurality of virtual display surfaces according to the updated medicine images of the updated medicines, so as to find the storage positions of the plurality of virtual display surfaces where the updated medicines can be stored, and further store the updated medicines to the positions of the medicine shelves corresponding to the storage positions of the virtual display surfaces.
Because the specification and the size corresponding to the new medicine may be different, after the new medicine is obtained, the image specification of the preset new image corresponding to the new medicine also needs to be correspondingly converted and adjusted, wherein the mode of converting the preset new image into the new medicine image is similar to the mode of converting the preset medicine image into the virtual medicine image, and the scheme is not repeated here.
A2, acquiring the gap distance between two adjacent image edges of adjacent virtual medicine images in each virtual display surface, sequentially arranging the placement gaps corresponding to the gap distances from large to small according to the gap distance to obtain a first gap sequence corresponding to each layer of sub-display surface in each virtual display surface, and sequentially arranging the first gap sequences from high to low according to the layer number to obtain a second gap sequence corresponding to each virtual display surface.
It will be appreciated that in practical applications, when medicines in the medicine shelf are placed, gaps may exist between adjacent medicines, and when the gap distance between adjacent medicines is calculated, the gap distance between two adjacent image edges of the adjacent virtual medicine images in the vertical direction can be calculated.
The larger the gap distance is, the larger the distance between adjacent medicines is, the more the medicines can be stored in the gap, so that when the placing gaps of each layer are arranged, the plurality of placing gaps corresponding to each layer can be arranged according to the gap distance from large to small, a first gap sequence corresponding to each layer in the virtual display surface is obtained, and the plurality of placing gaps of each layer can be traversed later, and the placing gaps with large gap distances can be traversed preferentially for selection.
It can be further understood that, because the higher the level of the medicine shelf is, the easier it is to find, so when the first gap sequences of the multiple levels are arranged, the multiple first gap sequences can be arranged from high to low according to the level to obtain the second gap sequence, so that the placement gap corresponding to the shelf layer with higher level can be selected in the following priority.
A3, acquiring the image length corresponding to each new medicine image, and sequentially arranging the new medicine images according to the image length from large to small to obtain a new image sequence.
It can be understood that the longer the image length, the larger the placement distance required for the new medicine corresponding to the new medicine image, if the new medicine with a small placement distance is placed preferentially, the placement gap corresponding to the new medicine with a large placement distance may not be found later, so that the new medicine with a large placement distance cannot be placed, and therefore, the new image sequences can be obtained by arranging the new medicine images according to the image length from large to small, and then the placement positions of the new medicines are found according to the new image sequences.
And A4, sequentially acquiring a new medicine image in the new image sequence as a target medicine image, screening each second gap sequence based on the target medicine image to obtain a target placement gap corresponding to the target medicine image, determining a new positioning line based on the target placement gap, and placing the target medicine image on a corresponding virtual display surface according to the new positioning line to obtain a third twin space.
In some embodiments, step A4 comprises steps a41 to a44:
a41, obtaining an offset placement distance according to the sum of the image length of the target medicine image and a preset placement distance, traversing a plurality of placement gaps in each second gap sequence based on the offset placement distance, and obtaining the placement gaps with the gap distance being greater than or equal to the offset placement distance as gaps to be screened.
It will be appreciated that in practical applications, there may be a certain placement gap between adjacent medicines, so that traversing a plurality of placement gaps based on the image length requires that the image length be added with a preset placement distance, and then traversed according to the offset placement distance.
It should be noted that the preset placement distance is the sum of the placement gaps of the two adjacent medicines from the target medicines.
It can be further understood that when the gap distance is greater than or equal to the offset placement distance, the placement gap can be used for placing a new medicine, so that the placement gap with the gap distance greater than or equal to the offset placement distance can be used as a gap to be screened, but since there may be a plurality of gaps to be screened, further screening is performed on the gaps to be screened.
A42, acquiring a gap to be screened, which has the highest layer number and the largest gap distance in the gaps to be screened, as a target placement gap, acquiring image edges of two virtual medicine images corresponding to the target placement gap, optionally taking one image edge as a reference edge, and taking the direction from the reference edge to the other adjacent image edge as a new placement direction.
When screening a plurality of gaps to be screened, the gap to be screened with the highest layer number and the largest gap distance is selected as a target placement gap, so that corresponding new medicines can be placed at a relatively conspicuous position, and after the corresponding new medicines are placed in the target placement gap, the target placement gap can have redundant gaps which can be used for placing other new medicines.
It can be understood that medicines are placed in sequence, so that after a target placement gap is obtained, an image edge of one of the virtual medicine images adjacent to the target placement gap can be selected as a reference edge during placement, the target medicine image is correspondingly placed according to the reference edge, and a direction from the reference edge to the other adjacent image edge can be used as a new placement direction.
A43, obtaining a medicine placement distance according to one half of the offset placement distance, and determining a vertical line at the medicine placement distance from the reference edge as a new placement line based on the new placement direction.
It can be understood that the offset placement distance refers to the placement distance of the whole new medicine image, and the new placement line is used for determining the position of the center point of the new medicine image later, so that when determining the new placement line corresponding to the target medicine image, the offset placement distance can be calculated in half to obtain the medicine placement distance, and then the vertical line at the medicine placement distance from the reference edge is determined as the new placement line according to the new placement direction.
And A44, acquiring a new upper center point of the target medicine image, positioning the new upper center point based on the new upper positioning line, and aligning the lower image edge of the target medicine image with a virtual horizontal line corresponding to a target placement gap in a corresponding virtual display surface to obtain a third twin space.
Likewise, the above manner of placing the target drug image is similar to the manner of placing the virtual drug image, and this scheme is not described herein.
And A5, updating the second gap sequence based on the third twin space to obtain an updated second gap sequence, repeating the steps, continuously obtaining the next target medicine image in the new image sequence, continuously screening the updated second gap sequence based on the next target medicine image, and stopping until the new medicine images in the new image sequence are all put.
It will be appreciated that, since there may be multiple previous drug images in the previous image sequence, after the previous drug image is placed in the virtual display surface, the placement of the next target drug image may be continued after the second gap sequence is updated according to the updated third twin space until all of the previous drug images are placed.
Through the mode, the placement positions of the new medicines can be automatically determined by combining the placement gaps and the offset placement distances corresponding to the new medicine images, and the efficiency of placing the new medicines is improved.
In other embodiments, on the basis of the above scheme, the scheme further includes the following embodiments:
and B1, acquiring actual displayed medicines corresponding to the actual center points in the shelf actual graphs corresponding to the medicine shelves, and acquiring images of the medicine shelves based on the image acquisition units after a preset time period to obtain current actual graphs corresponding to the medicine shelves.
It can be appreciated that in practical application, the positions of the medicines on the medicine shelves are likely to change, for example, a user may place the medicines at other positions when purchasing the medicines, in this case, the medicines may not correspond to the positions of the medicines in the twin space, the accuracy when subsequently acquiring the positions of the medicines may be affected, and therefore, the scheme also can judge whether the positions of the medicines are changed or not, and remind the management end to correct the positions of the corresponding medicines when the positions of the medicines are changed.
Specifically, the scheme can collect images of the medicine shelf once after a preset time period, and then judge whether medicines in the actual shelf diagram are changed or not through the collected current actual diagram and the actual shelf diagram.
And B2, carrying out coordinated processing on the shelf actual graph and the current actual graph to obtain current center points corresponding to all current displayed medicines in the current actual graph, and taking the current displayed medicines and the actual displayed medicines with coordinate point distances corresponding to the current center points and the actual center points within a preset distance range as a group of medicine comparison groups.
In practical application, the coordinate origin corresponding to the actual graph of the goods shelf after the coordinate is the same as the coordinate origin corresponding to the current actual graph, and it can be understood that the coordinate point distance corresponding to the current center point and the actual center point is within the preset range, which indicates that the positions of the corresponding medicines are probably the same, so that the corresponding current displayed medicines and the actual displayed medicines can be used as a group of medicine comparison groups for subsequent comparison.
It is worth mentioning that if there is no actual displayed medicine corresponding to the currently displayed medicine, the corresponding currently displayed medicine is used alone as a group of medicine comparison group.
And B3, if the names of the currently displayed medicines and the actually displayed medicines in the medicine comparison group are inconsistent, or no actually displayed medicines corresponding to the currently displayed medicines exist, sending the currently displayed medicines serving as the abnormal medicine to a management end.
If the names of the currently displayed medicines and the actually displayed medicines in the medicine comparison group are inconsistent, or the actually displayed medicines corresponding to the currently displayed medicines do not exist, the placement position of the currently displayed medicines is indicated to be quite possibly abnormal, and therefore the currently displayed medicines can be used as the placement abnormal medicines to be sent to the management end for correcting the medicine positions.
By the mode, medicines with abnormal positions can be sent to the management end to correct the positions, and accuracy in the process of subsequently acquiring the positions of the medicines is improved.
S4, acquiring the medicine purchasing requirement of a user, acquiring the purchasing shelf position and the purchasing medicine position of the purchasing medicine in the second twin space based on the medicine purchasing requirement, generating a overlook indication image and a front view indication image according to the purchasing shelf position and the purchasing medicine position, generating a purchasing indication image group based on the overlook indication image and the front view indication image, and transmitting the purchasing indication image group to a purchasing end.
In practical application, when the medicine purchasing personnel of the target medicine are too many, the staff may not be able to select the medicine of each medicine purchasing personnel, so in order to enable the medicine purchasing personnel to automatically complete medicine purchasing, the scheme can provide medicine purchasing instructions for the medicine purchasing personnel during medicine purchasing, thereby guiding the medicine purchasing personnel to purchase the medicine.
Specifically, the scheme can generate a top view indication map for guiding a user to purchase the goods shelf position of the medicine, and simultaneously generate a front view indication map for guiding the user to purchase the specific position of the medicine in the corresponding goods shelf.
The specific implementation manner of step S4 based on the above embodiment may be:
s41, acquiring the medicine cabinet positions corresponding to the shelf twinning diagrams in the second twinning space, calling the medicine cabinet top views corresponding to the shelf twinning diagrams, and generating virtual top views based on the medicine cabinet top views and the medicine cabinet positions corresponding to the medicine cabinet top views.
The virtual plan view includes all the medicine shelves of the target medicine store and the specific positions of each medicine shelf in the target medicine store, and the specific layout of each medicine shelf in the target medicine store can be known through the virtual plan view.
S42, acquiring the medicine purchasing requirement of a user, acquiring the purchasing shelf position corresponding to the medicine purchasing according to the medicine purchasing requirement, determining the target top view in the virtual top view according to the purchasing shelf position, updating the virtual top view based on the target top view to obtain a top view indication map, and sending the top view indication map to a purchasing end.
In order to enable a user to know the goods shelf where the medicine to be purchased is located, the plan view of the goods shelf where the medicine to be purchased is located in the virtual plan view is highlighted, so that the user can know the specific position of the goods shelf where the medicine to be purchased is located.
In some embodiments, step S42 includes step S421, which is specifically as follows:
s421, analyzing the medicine purchasing demand to obtain a medicine purchasing, acquiring the position of a purchasing shelf where the medicine purchasing is located, determining a corresponding medicine cabinet top view in the virtual top view as a target top view based on the purchasing shelf position, displaying and updating the target top view according to a first pixel value to obtain a top view indication map, and sending the top view indication map to a purchasing end.
In practical applications, the first pixel value may be set in advance by a worker, for example, the first pixel value may be a pixel value corresponding to a striking color such as red.
S43, receiving click information input by the purchasing terminal based on the top view indication map, and acquiring a target top view selected by a user based on the click information.
It will be appreciated that there may be a plurality of drug shelves on which drugs are purchased, so after the top view indication map is sent to the user, the front view indication map corresponding to the corresponding target top view may be sent to the user according to the click information of the user, so that the user may determine the specific location of purchasing drugs in the corresponding drug shelf according to the front view indication map.
S44, a virtual display surface corresponding to the target top view is called, the purchasing medicine position in the virtual display surface is obtained based on the purchasing medicine requirement, the purchasing medicine image in the virtual display surface is determined based on the purchasing medicine position, the virtual display surface is updated based on the purchasing medicine image, a front view indication image is obtained, the front view indication image is sent to the purchasing end, and the purchasing indication image group comprises a top view indication image and a front view indication image.
When the front view indication map corresponding to the target top view is generated, the virtual display surface corresponding to the target top view can be firstly called, and then the virtual medicine image corresponding to the purchased medicine in the virtual display surface is highlighted to obtain the front view indication map.
In some embodiments, step S44 includes step S441, which is specifically as follows:
s441, obtaining a virtual medicine image corresponding to the purchased medicine position in the virtual display surface as a purchased medicine image, performing display updating on the purchased medicine image according to a second pixel value to obtain a front view indication image, and sending the front view indication image to the purchasing terminal.
In practical application, when the virtual medicine image corresponding to the purchased medicine in the virtual display surface is highlighted, the corresponding virtual medicine image may be highlighted by a second pixel value, and the second pixel value may also be a pixel value corresponding to a more striking color.
Through the mode, the medicine purchasing instruction can be carried out on the user by combining the medicine purchasing requirement of the user, and the user is guided to complete the purchase of the corresponding medicine.
Referring to fig. 2, a schematic structural diagram of an internet medicine information monitoring data processing system according to an embodiment of the present invention is provided, where the internet medicine information monitoring data processing system includes:
the twin module is used for acquiring a store twin space corresponding to a target drug store and a shelf twin diagram corresponding to each drug shelf in the target drug store, wherein the shelf twin diagram comprises a virtual display surface and a plurality of layers of virtual horizontal lines positioned on the virtual display surface, and a first twin space is generated according to the store twin space and the shelf twin diagram;
the positioning module is used for obtaining a shelf actual graph corresponding to each medicine shelf according to the image acquisition unit of the target pharmacy, obtaining actual center points corresponding to each actual displayed medicine in the shelf actual graph, determining the actual horizontal distance corresponding to the actual displayed medicine based on the actual center points, and determining virtual positioning lines of the corresponding virtual displayed medicines on the virtual display surface according to the actual horizontal distance;
the placement module is used for obtaining actual specification information of each actual display medicine, processing the actual specification information according to a preset conversion proportion to obtain virtual specification information of a virtual display medicine corresponding to the actual display medicine, adjusting the image specification of a preset medicine image corresponding to the virtual display medicine based on the virtual specification information to obtain a virtual medicine image, and placing the corresponding virtual medicine image on the virtual display surface based on the virtual positioning line to obtain a second twin space;
The medicine purchasing module is used for acquiring medicine purchasing demands of users, acquiring purchasing shelf positions and purchasing medicine positions of purchasing medicines in the second twin space based on the medicine purchasing demands, generating a top view indication image and a front view indication image according to the purchasing shelf positions and the purchasing medicine positions, generating a purchasing indication image group based on the top view indication image and the front view indication image, and sending the purchasing indication image group to a purchasing end.
The system of the embodiment shown in fig. 2 may be correspondingly used to perform the steps in the embodiment of the method shown in fig. 1, and the implementation principle and technical effects are similar, and will not be repeated here.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present invention, and not for limiting the same; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some or all of the technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit of the invention.

Claims (10)

1. The Internet medicine information monitoring data processing method is characterized by comprising the following steps of:
acquiring a store twin space corresponding to a target pharmacy and a shelf twin diagram corresponding to each medicine shelf in the target pharmacy, wherein the shelf twin diagram comprises a virtual display surface and a plurality of layers of virtual horizontal lines positioned on the virtual display surface, and generating a first twin space according to the store twin space and the shelf twin diagram;
obtaining a shelf actual graph corresponding to each medicine shelf according to an image acquisition unit of the target pharmacy, obtaining an actual center point corresponding to each actual displayed medicine in the shelf actual graph, determining an actual horizontal distance corresponding to the actual displayed medicine based on the actual center point, and determining a virtual positioning line of the corresponding virtual displayed medicine on the virtual display surface according to the actual horizontal distance;
acquiring actual specification information of each actual display drug, processing the actual specification information according to a preset conversion ratio to obtain virtual specification information of a virtual display drug corresponding to the actual display drug, adjusting the image specification of a preset drug image corresponding to the virtual display drug based on the virtual specification information to obtain a virtual drug image, and placing the corresponding virtual drug image on the virtual display surface based on the virtual positioning line to obtain a second twin space;
Acquiring the medicine purchasing requirement of a user, acquiring the purchasing shelf position and the purchasing medicine position of the purchasing medicine in the second twin space based on the medicine purchasing requirement, generating a top view indication image and a front view indication image according to the purchasing shelf position and the purchasing medicine position, generating a purchasing indication image group based on the top view indication image and the front view indication image, and transmitting the purchasing indication image group to a purchasing end.
2. The method of claim 1, wherein the step of determining the position of the substrate comprises,
obtaining a shelf actual graph corresponding to each medicine shelf according to an image acquisition unit of the target pharmacy, obtaining an actual center point corresponding to each actual displayed medicine in the shelf actual graph, determining an actual horizontal distance corresponding to the actual displayed medicine based on the actual center point, and determining a virtual positioning line of the corresponding virtual displayed medicine on the virtual display surface according to the actual horizontal distance, wherein the method comprises the following steps:
acquiring a plurality of layers of actual horizontal lines corresponding to the shelf actual graph, selecting any one of the adjacent actual horizontal lines as a first horizontal line, acquiring a first center point of the first horizontal line, and generating a vertical line perpendicular to the first horizontal line as an actual center line corresponding to a corresponding shelf layer based on the first center point;
Acquiring an actual center point corresponding to each actual displayed medicine in the shelf actual graph, determining an actual horizontal distance between the actual displayed medicine and the actual center line based on the actual center point, and determining a direction from the actual center line to the actual center point as a placement direction of the corresponding actual displayed medicine;
converting the actual horizontal distance according to a virtual conversion proportion to obtain a virtual horizontal distance, selecting any one of the adjacent virtual horizontal lines as a second horizontal line, acquiring a second center point of the second horizontal line, and generating a vertical line perpendicular to the second horizontal line based on the second center point as a virtual center line corresponding to a corresponding sub-display surface in a virtual display surface;
and determining a vertical line at a virtual horizontal distance from the virtual center line based on the placement direction as a virtual positioning line for corresponding virtual display of the medicine on the virtual display surface.
3. The method of claim 2, wherein the step of determining the position of the substrate comprises,
acquiring actual specification information of each actual display drug, processing the actual specification information according to a preset conversion ratio to obtain virtual specification information of a virtual display drug corresponding to the actual display drug, adjusting an image specification of a preset drug image corresponding to the virtual display drug based on the virtual specification information to obtain a virtual drug image, and placing the corresponding virtual drug image on the virtual display surface based on the virtual positioning line to obtain a second twin space, wherein the method comprises the following steps:
The method comprises the steps of obtaining the actual length and the actual width of each actual display medicine, converting the actual length according to a preset length conversion ratio to obtain the virtual length of the virtual display medicine corresponding to the actual display medicine, and converting the actual width according to a preset width conversion ratio to obtain the virtual width of the virtual display medicine corresponding to the actual display medicine;
and adjusting the image specification of the preset medicine image corresponding to the virtual display medicine based on the virtual length and the virtual width to obtain a virtual medicine image, and placing the corresponding virtual medicine image on the virtual display surface based on the virtual positioning line to obtain a second twin space.
4. The method of claim 3, wherein the step of,
based on the virtual positioning line, placing a corresponding virtual medicine image on the virtual display surface to obtain a second twin space, including:
acquiring actual horizontal lines corresponding to the actual display medicines, and determining virtual horizontal lines corresponding to virtual display medicines corresponding to the actual display medicines in the virtual display surface as target horizontal lines according to the actual horizontal lines;
And acquiring virtual medicine images corresponding to the virtual display medicines and virtual center points of the virtual medicine images, positioning the virtual center points based on the virtual positioning lines, and aligning lower image edges of the virtual medicine images with corresponding target horizontal lines in the virtual display surfaces to obtain a second twin space.
5. The method as recited in claim 4, further comprising:
receiving information of a new medicine at a management end, acquiring a plurality of new medicines input by the management end, and adjusting the image specification of a preset new image corresponding to each new medicine according to a preset conversion proportion to acquire a new medicine image corresponding to each new medicine;
acquiring the gap distance between two adjacent image edges of adjacent virtual medicine images in each virtual display surface, sequentially arranging the placement gaps corresponding to the gap distances from large to small according to the gap distance to obtain a first gap sequence corresponding to each layer of sub-display surface in each virtual display surface, and sequentially arranging the first gap sequences from high to low according to the layer number to obtain a second gap sequence corresponding to each virtual display surface;
Acquiring the image length corresponding to each new medicine image, and sequentially arranging the new medicine images according to the image length from large to small to obtain a new image sequence;
sequentially acquiring a new medicine image in the new image sequence as a target medicine image, screening each second gap sequence based on the target medicine image to obtain a target placement gap corresponding to the target medicine image, determining a new positioning line based on the target placement gap, and placing the target medicine image on a corresponding virtual display surface according to the new positioning line to obtain a third twin space;
updating the second gap sequence based on the third twin space to obtain an updated second gap sequence, repeating the steps, continuously obtaining the next target medicine image in the previous image sequence, continuously screening the updated second gap sequence based on the next target medicine image, and stopping until the previous medicine images in the previous image sequence are all placed.
6. The method of claim 5, wherein the step of determining the position of the probe is performed,
sequentially obtaining new medicine images in the new image sequence as target medicine images, screening each second gap sequence based on the target medicine images to obtain a target placement gap corresponding to the target medicine images, determining a new positioning line based on the target placement gap, and placing the target medicine images on corresponding virtual display surfaces according to the new positioning line to obtain a third twin space, wherein the method comprises the following steps:
Obtaining an offset placement distance according to the sum of the image length of the target medicine image and a preset placement distance, traversing a plurality of placement gaps in each second gap sequence based on the offset placement distance, and obtaining the placement gaps with the gap distance larger than or equal to the offset placement distance as gaps to be screened;
acquiring a gap to be screened, which has the highest layer number and the largest gap distance, in the gaps to be screened as a target placement gap, acquiring image edges of two virtual medicine images corresponding to the target placement gap, optionally taking one image edge as a reference edge, and taking the direction from the reference edge to the other adjacent image edge as a new placement direction;
obtaining a medicine placement distance according to one half of the offset placement distance, and determining a vertical line at the medicine placement distance from the reference edge as a new upper positioning line based on the new upper placement direction;
and acquiring a new upper center point of the target medicine image, positioning the new upper center point based on the new upper positioning line, and aligning the lower image edge of the target medicine image with a virtual horizontal line corresponding to a target placement gap in a corresponding virtual display surface to obtain a third twin space.
7. The method as recited in claim 1, further comprising:
acquiring actual display medicines corresponding to the actual center points in the shelf actual graphs corresponding to the medicine shelves, and acquiring images of the medicine shelves based on the image acquisition units after a preset time period to obtain current actual graphs corresponding to the medicine shelves;
carrying out coordinated processing on the shelf actual graph and the current actual graph to obtain current center points corresponding to all current displayed medicines in the current actual graph and a group of medicine comparison groups, wherein the distances between the current center points and coordinate points corresponding to the actual center points are in a preset distance range;
and if the names of the currently displayed medicines and the actually displayed medicines in the medicine comparison group are inconsistent, or the actually displayed medicines corresponding to the currently displayed medicines do not exist, sending the currently displayed medicines to a management end as the abnormal medicine placement.
8. The method of claim 7, wherein the step of determining the position of the probe is performed,
responding to purchase information of a purchase terminal, acquiring a purchase medicine requirement of a user, acquiring a purchase goods shelf position and a purchase medicine position of a purchase medicine in the second twin space based on the purchase medicine requirement, generating a overlook indication image and a front view indication image according to the purchase goods shelf position and the purchase medicine position, generating a purchase indication image group based on the overlook indication image and the front view indication image, and transmitting the purchase indication image group to the purchase terminal, wherein the purchase indication image group comprises:
Acquiring the positions of the medicine cabinets corresponding to the shelf twinning diagrams in the second twinning space, calling the top views of the medicine cabinets corresponding to the shelf twinning diagrams, and generating a virtual top view based on the top views of the medicine cabinets and the positions of the medicine cabinets corresponding to the top views of the medicine cabinets;
acquiring the medicine purchasing requirement of a user, acquiring the purchasing shelf position corresponding to the medicine purchasing requirement, determining a target top view in the virtual top view according to the purchasing shelf position, updating the virtual top view based on the target top view to obtain a top view indication map, and sending the top view indication map to a purchasing terminal;
receiving click information input by the purchasing terminal based on the overlook indication map, and acquiring a target overhead view selected by a user based on the click information;
and calling a virtual display surface corresponding to the target top view, acquiring a purchasing medicine position in the virtual display surface based on the purchasing medicine requirement, determining a purchasing medicine image in the virtual display surface based on the purchasing medicine position, updating the virtual display surface based on the purchasing medicine image to obtain a front view indication image, and sending the front view indication image to the purchasing terminal, wherein the purchasing indication image group comprises a top view indication image and a front view indication image.
9. The method of claim 8, wherein the step of determining the position of the first electrode is performed,
acquiring the medicine purchasing requirement of a user, acquiring the purchasing shelf position corresponding to the purchased medicine according to the medicine purchasing requirement, determining the target top view in the virtual top view according to the purchasing shelf position, updating the virtual top view based on the target top view to obtain a top view indication map, and sending the top view indication map to a purchasing terminal, wherein the method comprises the following steps of:
analyzing the medicine purchasing demand to obtain a purchased medicine, acquiring a purchasing shelf position where the purchased medicine is located, determining a corresponding medicine cabinet top view in the virtual top view as a target top view based on the purchasing shelf position, displaying and updating the target top view according to a first pixel value to obtain a top view indication picture, and sending the top view indication picture to a purchasing end;
acquiring a purchase medicine position in the virtual display surface based on the medicine purchase requirement, determining a purchase medicine image in the virtual display surface based on the purchase medicine position, updating the virtual display surface based on the purchase medicine image to obtain a front view indication map, and sending the front view indication map to the purchase terminal, wherein the method comprises the following steps of:
And acquiring a virtual medicine image corresponding to the purchased medicine position in the virtual display surface as a purchased medicine image, performing display updating on the purchased medicine image according to a second pixel value to obtain a front view indication image, and transmitting the front view indication image to the purchasing terminal.
10. An internet medication information monitoring data processing system, comprising:
the twin module is used for acquiring a store twin space corresponding to a target drug store and a shelf twin diagram corresponding to each drug shelf in the target drug store, wherein the shelf twin diagram comprises a virtual display surface and a plurality of layers of virtual horizontal lines positioned on the virtual display surface, and a first twin space is generated according to the store twin space and the shelf twin diagram;
the positioning module is used for obtaining a shelf actual graph corresponding to each medicine shelf according to the image acquisition unit of the target pharmacy, obtaining actual center points corresponding to each actual displayed medicine in the shelf actual graph, determining the actual horizontal distance corresponding to the actual displayed medicine based on the actual center points, and determining virtual positioning lines of the corresponding virtual displayed medicines on the virtual display surface according to the actual horizontal distance;
The placement module is used for obtaining actual specification information of each actual display medicine, processing the actual specification information according to a preset conversion proportion to obtain virtual specification information of a virtual display medicine corresponding to the actual display medicine, adjusting the image specification of a preset medicine image corresponding to the virtual display medicine based on the virtual specification information to obtain a virtual medicine image, and placing the corresponding virtual medicine image on the virtual display surface based on the virtual positioning line to obtain a second twin space;
the medicine purchasing module is used for acquiring medicine purchasing demands of users, acquiring purchasing shelf positions and purchasing medicine positions of purchasing medicines in the second twin space based on the medicine purchasing demands, generating a top view indication image and a front view indication image according to the purchasing shelf positions and the purchasing medicine positions, generating a purchasing indication image group based on the top view indication image and the front view indication image, and sending the purchasing indication image group to a purchasing end.
CN202311001143.XA 2023-08-10 2023-08-10 Internet medicine information monitoring data processing method and system Active CN116739685B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311001143.XA CN116739685B (en) 2023-08-10 2023-08-10 Internet medicine information monitoring data processing method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311001143.XA CN116739685B (en) 2023-08-10 2023-08-10 Internet medicine information monitoring data processing method and system

Publications (2)

Publication Number Publication Date
CN116739685A CN116739685A (en) 2023-09-12
CN116739685B true CN116739685B (en) 2023-10-24

Family

ID=87908282

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311001143.XA Active CN116739685B (en) 2023-08-10 2023-08-10 Internet medicine information monitoring data processing method and system

Country Status (1)

Country Link
CN (1) CN116739685B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9266027B1 (en) * 2015-02-13 2016-02-23 Jumo, Inc. System and method for providing an enhanced marketing, sale, or order fulfillment experience related to action figures or action figure accessories having corresponding virtual counterparts
CN109472297A (en) * 2018-10-18 2019-03-15 苏州享药智能科技有限公司 Medicine-chest drug intelligent positioning management method and system
CN110096155A (en) * 2019-05-10 2019-08-06 方芳 A kind of service implementation method and device based on virtual reality
CN111008859A (en) * 2019-11-11 2020-04-14 北京迈格威科技有限公司 Information presentation method and device in virtual shop, electronic equipment and storage medium
CN114418665A (en) * 2021-12-13 2022-04-29 珠海格力电器股份有限公司 Virtual display method, device, equipment and medium for mall products in home scene

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9266027B1 (en) * 2015-02-13 2016-02-23 Jumo, Inc. System and method for providing an enhanced marketing, sale, or order fulfillment experience related to action figures or action figure accessories having corresponding virtual counterparts
CN109472297A (en) * 2018-10-18 2019-03-15 苏州享药智能科技有限公司 Medicine-chest drug intelligent positioning management method and system
CN110096155A (en) * 2019-05-10 2019-08-06 方芳 A kind of service implementation method and device based on virtual reality
CN111008859A (en) * 2019-11-11 2020-04-14 北京迈格威科技有限公司 Information presentation method and device in virtual shop, electronic equipment and storage medium
CN114418665A (en) * 2021-12-13 2022-04-29 珠海格力电器股份有限公司 Virtual display method, device, equipment and medium for mall products in home scene

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
"Evaluation of interprofessional learning among medical and pharmacy students using a virtual patient simulation";Martini等;《2018 IEEE 6th International Conference on Serious Games and Applications for Health》;第1-4页 *
以用户为本的互联网药品信息服务设计策略;冯韵 等;《包装工程》(第18期);第194-200页 *
某药品仓库智能物流系统优化与仿真研究;赵地;《中国优秀硕士学位论文全文数据库 信息科技辑》(第12期);第I140-37页 *

Also Published As

Publication number Publication date
CN116739685A (en) 2023-09-12

Similar Documents

Publication Publication Date Title
JP7416292B2 (en) Information processing device, information processing system, control method, and program
US20210366315A1 (en) Method of displaying price tag information, apparatus, and shelf system
US10373107B2 (en) Generation of actions to correct physical configurations
CN112767891B (en) Mura compensation method, display panel and display device
CN105338291A (en) Method and device for processing virtual tiled screen
CN103249354A (en) Medical image examination apparatus
CN101261742B (en) Medical image display apparatus
EP4131100A1 (en) Method and apparatus for positioning express parcel
WO2023029969A1 (en) Image processing method and apparatus, and electronic device and computer-readable storage medium
US20170269815A1 (en) Object management and visualization using a computing device
CN116739685B (en) Internet medicine information monitoring data processing method and system
JP2024502516A (en) Data annotation methods, apparatus, systems, devices and storage media
CN116958908B (en) Monitoring data processing method and system
CN116911746B (en) Warehouse management method and management system
KR20140055663A (en) Apparatus, method and computer readable recording medium of clustering data for displaying the information based on a lacation
US10169734B2 (en) Dynamic layout for organizational charts
US20130290860A1 (en) Workspace interfaces, methods, and systems
CN115758013B (en) Intelligent visual office method and device
JP2023139297A (en) Business support system, business support apparatus, business support method, and computer program
CN111753614A (en) Commodity shelf monitoring method and device
JP2004206526A (en) Information providing device and program
US11334710B2 (en) Framework for generating a timeline to maintain context across various display device sizes
CN113535993A (en) Work cover display method, device, medium and electronic equipment
CN105721816B (en) Display data processing method and display device
CN113819989B (en) Article packaging method, apparatus, electronic device and computer readable medium

Legal Events

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