Self-service transaction method and device and storage medium

By collecting and comparing the initial and current data differences of items to be traded in self-service trading equipment, the problem of difficult to guarantee the originality and integrity of items in self-service trading is solved, and higher transaction security and reliability are achieved.

CN119625892APending Publication Date: 2025-03-14SHENZHEN ZHICHARACTER TECH CO LTD
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN202510119336.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-02-10
Publication Date
2025-03-14

AI Technical Summary

Technical Problem

The prior art cannot ensure the originality and integrity of the items to be traded during self-service trading, especially in abnormal trading scenarios, and it is difficult to prevent the seller's loss of interests.

Method used

By collecting the initial weight data and initial image data of the item to be traded in the self-service trading device, and comparing the current data difference when the item is returned, it is determined whether the item is returned successfully. If the weight data difference is less than or equal to the first preset threshold value, and the image data difference is less than or equal to the second preset threshold value, it is judged that the item is returned successfully.

Benefits of technology

Ensure the originality and integrity of the items to be traded during the self-service trading process, avoid problems such as loss, damage, and re-packing, and improve the safety and reliability of the trading process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119625892A_ABST
    Figure CN119625892A_ABST
Patent Text Reader

Abstract

The invention discloses a self-service transaction method and device and a storage medium. The self-service transaction method comprises the following steps: the self-service transaction equipment collects initial weight data and initial image data of a to-be-transacted article put into a storage grid of the self-service transaction equipment by a seller; when the self-service transaction equipment detects an article checking event initiated by a buyer, displaying a deposit payment page to the buyer based on the article checking event; judging whether the payment of the deposit is completed or not; if yes, position information of the corresponding storage cells is obtained, and cabinet doors of the corresponding storage cells are opened; judging whether the buyer initiates an article purchasing event or not; if yes, the deposit is set as purchase money, and when it is detected that the opening and closing state of the cabinet door is closed, the selling information of the to-be-transacted articles in the cabinet door of the storage cell is deleted. Compared with the prior art that the to-be-transacted article needs to be stored in a place agreed with the buyer in advance, such as a convenience store and a security booth, the method can ensure the primitiveness and integrity of the to-be-transacted article in the self-service transaction process.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of self-service transaction technology, and in particular to a self-service transaction method, device and storage medium. Background Art

[0002] With the rapid development of society, people's demand for material things is increasing, and the corresponding methods of trading goods are also different, such as face-to-face transactions, third-party platform intermediary transactions, etc.

[0003] Currently, in some community transaction scenarios, sellers usually store the items to be traded in advance at a location agreed with the buyer (such as a convenience store, security booth, etc.), and the transaction can only be completed after the buyer takes out the items and confirms that they are correct. However, this method is only applicable to scenarios where normal transactions are successful. In some abnormal transaction scenarios (for example, the buyer is not satisfied with the physical item and needs to return it, the buyer maliciously steals or switches it, etc.), the originality and integrity of the items cannot be ensured, resulting in damage to the seller's interests. Therefore, the industry is in urgent need of a method that can ensure the originality and integrity of the items to be traded during self-service transactions.

[0004] The above contents are only used to assist in understanding the technical solution of the present invention and do not constitute an admission that the above contents are prior art. Summary of the invention

[0005] The main purpose of the present invention is to provide a self-service transaction method, device and storage medium, aiming to solve the technical problem that the prior art cannot ensure the originality and integrity of the items to be traded during the self-service transaction process.

[0006] To achieve the above object, the present invention provides a self-service transaction method, comprising the following steps:

[0007] The self-service transaction device collects initial weight data and initial image data of the item to be traded placed by the seller in the storage compartment of the self-service transaction device; wherein the initial weight data is the weight data corresponding to the item to be traded when it is first placed in the storage compartment, and the initial image data is the image data corresponding to the item to be traded when it is first placed in the storage compartment;

[0008] When the self-service transaction device detects an item inspection event initiated by a buyer user, a deposit payment page is displayed to the buyer user based on the item inspection event;

[0009] Determining whether the buyer user completes the payment of the deposit through the deposit payment page within a first preset time;

[0010] If so, obtaining the storage compartment location information corresponding to the inspection demand event;

[0011] Opening the door of the storage compartment corresponding to the inspection requirement event according to the storage compartment position information;

[0012] Determining whether the buyer user initiates an item purchase event within the first preset time;

[0013] If yes, the deposit is set as the purchase money, and the item purchase record corresponding to the item purchase event is displayed to the buyer user;

[0014] When it is detected that the door of the storage compartment corresponding to the item purchase event is closed, deleting the sales information of the item to be traded in the door of the storage compartment;

[0015] The item purchase record is archived, and the storage compartment is set to an idle state.

[0016] Optionally, in the step of determining whether the buyer user initiates an item purchase event within the first preset time,

[0017] If not, detecting the open / closed state of the door of the storage compartment;

[0018] If the door of the storage compartment is open, the security deposit is frozen and a first warning message is sent to the management staff;

[0019] If the door of the storage compartment is closed, it is determined whether the item to be traded is stored in the storage compartment; if not, the deposit is frozen and the second warning information is sent to the manager.

[0020] Optionally, in the step of determining whether the item to be traded is stored in the storage compartment if the door of the storage compartment is closed,

[0021] If so, the self-service transaction device obtains the current weight data and current image data of the item to be traded;

[0022] According to the location data of the storage compartment, query the initial weight data and initial image data of the item to be traded;

[0023] obtaining a weight data difference based on the initial weight data and the current weight data, and obtaining an image data difference based on the initial image data and the current image data;

[0024] If the weight data difference is less than or equal to a first preset threshold, and the image data difference is less than or equal to a second preset threshold, it is determined that the item to be traded is returned successfully.

[0025] Optionally, when the self-service transaction device detects an item inspection event initiated by the buyer user, the item inspection event includes the event initiation time, the storage compartment where the item to be traded is stored, and the price of the item to be traded;

[0026] The storage compartment is equipped with a weighing sensor, and the weighing sensor is connected to the main control circuit board and the locker computer respectively;

[0027] When the items to be traded are placed in the storage compartment, the weighing sensor will convert the deformation of the sensor caused by the gravity of the items to be traded into a weight electrical signal, which will then be transmitted to the weighing circuit board through the information circuit. The weighing circuit board will number the weighing sensor of each storage compartment. At this time, the weight electrical signal is transmitted to the weighing circuit board, which will transmit the numbering information and weight information corresponding to the weighing sensor to the locker computer in the form of an electrical signal through the information circuit. The format of the above numbering is "board number" plus "scale number"; wherein, there are electronic components for numbering the control circuit boards on each weighing circuit board and the lock control circuit board, and each main control circuit board is numbered from 1 according to the order of connection, and the number here is the "board number" of the control circuit board; the information circuit interface on each control circuit board also has a corresponding number, and the interface number on the control circuit board to which each weighing sensor is connected through the circuit board connecting line is the "scale number" of the weighing sensor;

[0028] The storage compartment includes a storage compartment inner compartment and a storage compartment door, wherein a transparent acrylic material is provided in the door frame of the storage compartment door;

[0029] The step of obtaining the current weight data and current image data of the item to be traded includes:

[0030] When it is detected that an item to be traded is placed in the storage compartment, the door opening and closing status of the storage compartment is obtained;

[0031] If the cabinet door is in the closed state, a weighing instruction is sent to the weighing sensor corresponding to the storage compartment, and a shooting instruction is sent to the camera corresponding to the storage compartment;

[0032] Based on the weighing instruction and the shooting instruction, obtaining current weight data and current image data of the item to be traded;

[0033] If the cabinet door is open, the cabinet door is continuously detected within a first preset time.

[0034] If the cabinet door is open at the end of the first preset time, a first warning message is sent to the manager;

[0035] The step of obtaining an image data difference based on the initial image data and the current image data comprises:

[0036] Using Gaussian filtering to denoise the initial image data and the current image data respectively, to obtain denoised initial image data and denoised current image data;

[0037] Comparing the denoised initial image data with the denoised current image data for similarity;

[0038] Obtaining an image data difference based on a comparison result of the similarity comparison;

[0039] If the weight data difference is less than or equal to the first preset threshold, and the image data difference is less than or equal to the second preset threshold, after the step of determining that the item to be traded is successfully returned, the method further includes:

[0040] When it is detected that the item to be traded is returned successfully, the deposit corresponding to the item to be traded is returned by the original route within a third preset time;

[0041] If the weight data difference is greater than a first preset threshold, or the image data difference is greater than a second preset threshold, it is determined that the item to be traded has failed to be returned;

[0042] Display the return failure message to the user and send a third warning message to the administrator;

[0043] The successful return record or failed return record of the item to be traded is uploaded to the history log, and the history log is stored in the server corresponding to the storage compartment. In addition, to achieve the above purpose, the present invention also proposes a self-service transaction device, the self-service transaction device includes a locker for the seller to put the item to be traded, the locker includes a storage compartment, and the item to be traded is placed in the storage compartment; a weighing sensor is built in the storage compartment, and the weighing sensor is respectively connected to the main control circuit board and the locker computer; wherein the self-service transaction device includes the following modules:

[0044] A data acquisition module, used to acquire initial weight data and initial image data of the item to be traded; wherein the initial weight data is the weight data corresponding to the item to be traded when it is first placed in the storage compartment, and the initial image data is the image data corresponding to the item to be traded when it is first placed in the storage compartment;

[0045] The first module is used for, when an item inspection event initiated by a buyer user is detected, displaying a deposit payment page to the buyer user based on the item inspection event; judging whether the buyer user completes the payment of the deposit through the deposit payment page within a first preset time; if so, obtaining the storage compartment location information corresponding to the inspection requirement event; opening the door of the storage compartment corresponding to the inspection requirement event according to the storage compartment location information; judging whether the buyer user initiates an item purchase event within the first preset time; if so, setting the deposit as the purchase money, and displaying the item purchase record corresponding to the item purchase event to the buyer user; when it is detected that the door of the storage compartment corresponding to the item purchase event is closed, deleting the sales information of the items to be traded in the storage compartment door; archiving the item purchase record, and setting the storage compartment to an idle state.

[0046] Optionally, when the first module determines whether the buyer user initiates an item purchase event within the first preset time,

[0047] If not, detecting the open / closed state of the door of the storage compartment;

[0048] If the door of the storage compartment is open, the security deposit is frozen and a first warning message is sent to the management staff;

[0049] If the door of the storage compartment is closed, it is determined whether the item to be traded is stored in the storage compartment; if not, the deposit is frozen and the second warning information is sent to the manager.

[0050] Optionally, when the first module determines whether the item to be traded is stored in the storage compartment if the door of the storage compartment is closed,

[0051] If yes, the self-service transaction device obtains the current weight data and current image data of the item to be traded through the data acquisition module;

[0052] The data query module queries the initial weight data and initial image data of the item to be traded according to the location data of the storage compartment;

[0053] The data calculation module obtains a weight data difference based on the initial weight data and the current weight data, and obtains an image data difference based on the initial image data and the current image data;

[0054] The data judgment module determines that the item to be traded is returned successfully if the weight data difference is less than or equal to a first preset threshold and the image data difference is less than or equal to a second preset threshold.

[0055] Optionally, the item inspection event includes the event initiation time, the storage compartment where the item to be traded is stored, and the price of the item to be traded;

[0056] The storage compartment is equipped with a weighing sensor, and the weighing sensor is connected to the main control circuit board and the locker computer respectively;

[0057] When the items to be traded are placed in the storage compartment, the weighing sensor will convert the deformation of the sensor caused by the gravity of the items to be traded into a weight electrical signal, which will then be transmitted to the weighing circuit board through the information circuit. The weighing circuit board will number the weighing sensor of each storage compartment. At this time, the weight electrical signal is transmitted to the weighing circuit board, which will transmit the numbering information and weight information corresponding to the weighing sensor to the locker computer in the form of an electrical signal through the information circuit. The format of the above numbering is "board number" plus "scale number"; wherein, there are electronic components for numbering the control circuit boards on each weighing circuit board and the lock control circuit board, and each main control circuit board is numbered from 1 according to the order of connection, and the number here is the "board number" of the control circuit board; the information circuit interface on each control circuit board also has a corresponding number, and the interface number on the control circuit board to which each weighing sensor is connected through the circuit board connecting line is the "scale number" of the weighing sensor;

[0058] When the data acquisition module acquires the current weight data and the current image data of the item to be traded, it includes:

[0059] When it is detected that an item to be traded is placed in the storage compartment, the door opening and closing status of the storage compartment is obtained;

[0060] If the cabinet door is in the closed state, a weighing instruction is sent to the weighing sensor corresponding to the storage compartment, and a shooting instruction is sent to the camera corresponding to the storage compartment;

[0061] Based on the weighing instruction and the shooting instruction, obtaining current weight data and current image data of the item to be traded;

[0062] If the cabinet door is open, the cabinet door is continuously detected within a first preset time.

[0063] If the cabinet door is open at the end of the first preset time, a first warning message is sent to the manager;

[0064] When the data calculation module obtains the image data difference based on the initial image data and the current image data, it includes:

[0065] Using Gaussian filtering to denoise the initial image data and the current image data respectively, to obtain denoised initial image data and denoised current image data;

[0066] Comparing the denoised initial image data with the denoised current image data for similarity;

[0067] Obtaining an image data difference based on a comparison result of the similarity comparison;

[0068] When the data judgment module judges that the item to be traded is successfully returned if the weight data difference is less than or equal to a first preset threshold and the image data difference is less than or equal to a second preset threshold, the data judgment module further includes:

[0069] When it is detected that the item to be traded is returned successfully, the deposit corresponding to the item to be traded is returned by the original route within a third preset time;

[0070] If the weight data difference is greater than a first preset threshold, or the image data difference is greater than a second preset threshold, it is determined that the item to be traded has failed to be returned;

[0071] Display the return failure message to the user and send a third warning message to the administrator;

[0072] The successful return record or failed return record of the item to be traded is uploaded to the history log, and the history log is stored in the server corresponding to the storage compartment.

[0073] In addition, to achieve the above-mentioned purpose, the present invention also proposes a self-service transaction device for trading items, the self-service transaction device comprising: a memory, a processor, and a self-service transaction program for trading items stored on the memory and executable on the processor, the self-service transaction program for trading items being configured to implement the steps of the self-service transaction method described above.

[0074] In addition, to achieve the above objectives, the present invention also proposes a storage medium, on which a self-service transaction program for transaction items is stored, and when the self-service transaction program for transaction items is executed by a processor, the steps of the self-service transaction method described above are implemented.

[0075] Compared with the prior art method of judging whether the item to be traded has been successfully returned only by detecting whether the cabinet door of the storage compartment is closed, the above method of the present invention obtains the weight data difference and the image data difference of the item to be traded, thereby judging whether the item to be traded has been successfully returned based on the comparison result of the weight data difference with the first preset threshold value, and the comparison result of the image data difference with the second preset threshold value. At the same time, the present invention simplifies the usual transaction process, can describe the physical display of the item, and the weighing sensor has high precision when weighing, thereby ensuring the originality and integrity of the item to be traded during the self-service transaction process, avoiding the loss, damage, substitution, etc. of the item to be traded due to unattended supervision. BRIEF DESCRIPTION OF THE DRAWINGS

[0076] Figure 1 A schematic diagram of the structure of a self-service return device for transaction items in a hardware operating environment involved in an embodiment of the present invention;

[0077] Figure 2 It is a flowchart of a first embodiment of a self-service return method for transaction items of the present invention;

[0078] Figure 3 It is a flow chart of a second embodiment of the self-service return method of transaction items of the present invention;

[0079] Figure 4 It is a flowchart of a third embodiment of the self-service return method of transaction items of the present invention;

[0080] Figure 5 A schematic diagram of the process of the first embodiment of the self-service transaction method of the present invention;

[0081] Figure 6 It is a structural block diagram of the first embodiment of the self-service return device for transaction items of the present invention;

[0082] Figure 7 This is a structural block diagram of the first embodiment of the self-service transaction device of the present invention. DETAILED DESCRIPTION

[0083] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.

[0084] Reference Figure 1 , Figure 1 This is a schematic diagram of the structure of a self-service return device for transaction items in the hardware operating environment involved in an embodiment of the present invention.

[0085] like Figure 1As shown, the self-service return device for the transaction item may include: a processor 1001, such as a central processing unit (CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Among them, the communication bus 1002 is used to realize the connection and communication between these components. The user interface 1003 may include a display screen (Display), an input unit such as a keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface and a wireless interface. The network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a wireless fidelity (Wireless-Fidelity, Wi-Fi) interface). The memory 1005 may be a high-speed random access memory (Random Access Memory, RAM), or a stable non-volatile memory (Non-Volatile Memory, NVM), such as a disk storage. The memory 1005 may also be a storage device independent of the aforementioned processor 1001.

[0086] Those skilled in the art will understand that Figure 1 The structure shown in the figure does not constitute a limitation on the self-service return device for transaction items, and may include more or less components than those shown in the figure, or combine certain components, or arrange the components differently.

[0087] like Figure 1 As shown, the memory 1005 as a storage medium may include an operating system, a network communication module, a user interface module, and a self-service return program for transaction items.

[0088] exist Figure 1 In the self-service return device for transaction items shown, the network interface 1004 is mainly used for data communication with the network server; the user interface 1003 is mainly used for data interaction with the user; the processor 1001 and the memory 1005 in the self-service return device for transaction items of the present invention can be set in the self-service return device for transaction items, and the self-service return device for transaction items calls the self-service return program of transaction items stored in the memory 1005 through the processor 1001, and executes the self-service return method of transaction items provided in the embodiment of the present invention.

[0089] The embodiment of the present invention provides a self-service return method for transaction items, referring to Figure 2 , Figure 2 It is a flowchart of the first embodiment of the self-service return method of transaction items of the present invention.

[0090] In this embodiment, the self-service return method of the transaction item includes the following steps:

[0091] Step S10: obtaining current weight data and current image data of the item to be traded, wherein the item to be traded is stored in a storage compartment.

[0092] It should be noted that the execution subject of the method of this embodiment can be a computing service device with data processing, network communication and program running functions, such as a mobile phone, a tablet computer, a personal computer, etc., or other electronic devices that can achieve the same or similar functions, and this embodiment does not limit this. Here, the self-service return device for transaction items (hereinafter referred to as the self-service device) is taken as an example to illustrate various embodiments of the self-service return method for transaction items of the present invention.

[0093] It is understandable that the above-mentioned items to be traded can be any items that are not prohibited items and whose size is within the preset size range. The above-mentioned storage compartment includes a storage compartment inner compartment and a storage compartment door, wherein the door frame of the storage compartment door is also provided with a transparent acrylic material that is not easy to break.

[0094] In a specific implementation, a weighing sensor is built into the above-mentioned storage compartment, and the weighing sensor is connected to the main control circuit board and the locker computer respectively. Based on this, when the above-mentioned items to be traded are placed in the storage compartment, the above-mentioned weighing sensor will convert the deformation of the sensor caused by the gravity of the items to be traded into a weight electrical signal, and then transmit it to the weighing circuit board through the information circuit. The weighing circuit board will number the weighing sensor of each storage compartment. At this time, the weight electrical signal is transmitted to the weighing circuit board, and the weighing circuit board will transmit the number information and weight information corresponding to the weighing sensor in the form of an electrical signal to the locker computer through the information circuit. The format of the above numbering processing is "board number" plus "scale (lock) number". Among them, there are electronic components numbering the control circuit board on each weighing circuit board and lock control circuit board. Each main control circuit board is numbered from 1 according to the order of connection. The number here is the "board number" of the control circuit board; the information circuit interface on each control circuit board also has a corresponding number, and the interface number on the control circuit board to which each weighing sensor is connected through the circuit board connection line is the "scale number (or lock number)" of the weighing sensor. In addition, the storage compartment is also equipped with a camera, and the camera is connected to the main control circuit board and the locker computer respectively. Finally, the current weight data and current image data of the item to be traded can be obtained by reading the information in the locker computer.

[0095] Step S20: query the initial weight data and initial image data of the item to be traded according to the position data of the storage compartment, wherein the initial weight data is the weight data corresponding to the item to be traded when it is first placed in the storage compartment, and the initial image data is the image data corresponding to the item to be traded when it is first placed in the storage compartment.

[0096] It should be noted that the above storage compartment position data is the specific position of the current storage compartment relative to the entire locker including the plurality of storage compartments.

[0097] In a specific implementation, the location data of the storage compartment can be obtained by reading the number of the weighing sensor or door lock corresponding to the storage compartment. The number of each weighing sensor (or door lock) is in the format of "plate number" plus "scale (lock) number". Based on this, the central control system of the self-service device can present each storage compartment according to the number of the scale and lock in the storage compartment starting from 1 through a computer program. At this point, the historical data of the storage compartment can be obtained through the location data of the storage compartment, and the initial weight data and initial image data of the above-mentioned items to be traded can be extracted from the historical data.

[0098] Step S30: obtaining a weight data difference based on the initial weight data and the current weight data, and obtaining an image data difference based on the initial image data and the current image data.

[0099] It should be noted that the above-mentioned weight data difference is the difference between the above-mentioned initial weight data and the above-mentioned current weight data. The weight data difference can be the value obtained by subtracting the current weight data from the initial weight data, or it can be the value obtained by subtracting the initial weight data from the current weight data. This embodiment does not impose any restrictions on this.

[0100] It should be understood that the above-mentioned image data difference is the difference between the above-mentioned initial image data and the above-mentioned current image data. The image data difference can be any value in the initial image data and the current image data that can reflect the difference between the two, such as RGB value, grayscale value of pixel point, and of course it can also be any other value that can reflect the difference between the initial image data and the current image data.

[0101] Step S40: If the weight data difference is less than or equal to the first preset threshold, and the image data difference is less than or equal to the second preset threshold, it is determined that the item to be traded is returned successfully.

[0102] It should be noted that the above-mentioned first preset threshold is the maximum weight data difference allowed for judging whether the item to be traded is returned successfully, and the first preset threshold can be customized by the user according to the actual transaction scenario; the above-mentioned second preset threshold is the maximum image data difference allowed for judging whether the item to be traded is returned successfully, and the second preset threshold can also be customized by the user according to the actual transaction scenario.

[0103] In a specific implementation, when the above-mentioned weight data difference is less than or equal to a first preset threshold and the above-mentioned image data difference is less than or equal to a second preset threshold, it can be considered that the item to be traded placed in the storage compartment at this time is the same item to be traded as the item to be traded placed by the user at the initial time of sale, that is, the initial item to be traded has not been replaced, stolen or subjected to other abnormal operations, and therefore it can be judged that the above-mentioned item to be traded has been returned successfully.

[0104] Furthermore, in this embodiment, in order to accurately obtain the current weight data and current image data of the item to be traded, the step S10 may include:

[0105] Step S101: when it is detected that an item to be traded is placed in a storage compartment, the door opening and closing status of the storage compartment is obtained.

[0106] It should be understood that the built-in weighing sensor in the storage compartment can sense the weight change in the storage compartment, thereby detecting whether the item to be traded is placed in the storage compartment.

[0107] In a specific implementation, the open / closed state of the door of the storage compartment may be obtained by reading the state information of the electronic lock of the storage compartment door.

[0108] Step S102: If the cabinet door is in the closed state, a weighing instruction is sent to the weighing sensor corresponding to the storage compartment, and a shooting instruction is sent to the camera corresponding to the storage compartment.

[0109] It should be understood that when the cabinet door is in the closed state, it means that the items have been put in, and it also means that the items put in can be weighed and photographed.

[0110] Step S103: Based on the weighing instruction and the shooting instruction, the current weight data and the current image data of the item to be traded are obtained.

[0111] In a specific implementation, when the weighing sensor receives the above-mentioned weighing instruction, the weighing sensor will convert the deformation of the sensor caused by the gravity of the item to be traded into a weight electrical signal, and then transmit it to the weighing circuit board through the information circuit. The weighing circuit board will number the weighing sensor of each storage compartment. At this time, the weight electrical signal is transmitted to the weighing circuit board, and the weighing circuit board will transmit the number information and weight information corresponding to the weighing sensor to the locker computer in the form of an electrical signal through the information circuit; when the camera receives the above-mentioned shooting instruction, the camera will shoot immediately and transmit the captured image data to the locker computer. Finally, the current weight data and current image data of the item to be traded can be obtained by reading the information in the above-mentioned locker computer.

[0112] Step S104: If the door is open, the door is continuously detected within a first preset time.

[0113] It is understandable that when the door is still open after the items to be traded are placed in the storage compartment, it proves that the user has not completed the return of the items at this time. Therefore, the safety of the items to be traded can be ensured by continuously detecting the door opening and closing status of the storage compartment within the first preset time.

[0114] Step S105: If the cabinet door is open at the end of the first preset time, a first warning message is sent to the management staff.

[0115] It should be noted that the first warning information may be one or more of text information, voice information, and video information, which is not limited in this embodiment.

[0116] In a specific implementation, if the cabinet door is still open at the end of the first preset time, it means that the user may not have closed the cabinet door correctly or the cabinet door cannot be closed due to an abnormality. At this time, a first warning message can be sent to the administrator to notify the administrator to conduct a manual inspection to prevent the items to be traded from being lost, damaged, or swapped.

[0117] This embodiment obtains the current weight data and current image data of the item to be traded, and the item to be traded is stored in a storage compartment; based on the position data of the storage compartment, the initial weight data and initial image data of the item to be traded are queried, the initial weight data is the weight data corresponding to the item to be traded when it is first placed in the storage compartment, and the initial image data is the image data corresponding to the item to be traded when it is first placed in the storage compartment; the weight data difference is obtained based on the initial weight data and the current weight data, and the image data difference is obtained based on the initial image data and the current image data; if the weight data difference is less than or equal to a first preset threshold, and the image data difference is less than or equal to a second preset threshold, it is determined that the item to be traded has been returned successfully. Compared with the prior art method of judging whether the item to be traded has been successfully returned only by detecting whether the cabinet door of the storage compartment is closed, the above method of this embodiment obtains the weight data difference and the image data difference of the item to be traded, thereby judging whether the item to be traded has been successfully returned based on the comparison result of the weight data difference and the first preset threshold, and the comparison result of the image data difference and the second preset threshold. At the same time, the present invention simplifies the usual transaction process, can describe the physical display of the item, and the weighing sensor has high precision when weighing, thereby ensuring the originality and integrity of the item to be traded during the self-service transaction process, avoiding the loss, damage, substitution, etc. of the item to be traded due to unattended supervision.

[0118] refer to Figure 3, Figure 3 It is a flow chart of the second embodiment of the self-service return method of transaction items of the present invention.

[0119] Based on the first embodiment, in this embodiment, in order to ensure that the interests of the user will not be damaged when the transaction item is lost, damaged or other abnormal situations occur, before step S10, the following may also be included:

[0120] Step S01: When an item inspection event initiated by a user is detected, a deposit payment page is displayed to the user based on the item inspection event.

[0121] It should be noted that the above-mentioned item inspection event indicates a request made by the buyer to check the item to be traded. The item inspection event may include the time when the event is initiated, the storage compartment where the item to be traded is stored, the price of the item to be traded, etc.

[0122] In a specific implementation, the buyer may trigger the item inspection event by clicking on the touch screen of the self-service transaction, or by using a web page in a mobile device, which is not limited in this embodiment.

[0123] Step S02: determining whether the user has completed the payment of the deposit through the deposit payment page within a second preset time.

[0124] It should be noted that the amount of the above-mentioned deposit is the same as the amount of the item to be traded, so that the interests of the seller can be protected when abnormal circumstances (such as loss, damage, etc.) occur to the item to be traded.

[0125] In a specific implementation, a timer may be introduced to determine whether the user completes the payment of the deposit within the second preset time.

[0126] Step S03: If yes, then obtain the storage compartment location information corresponding to the inspection request event.

[0127] It is understandable that if a user triggers an item inspection event, he or she needs to pay a deposit equal to the price of the item to be traded through the deposit payment page before the item to be traded can be inspected. The storage location of the item to be traded can be obtained by obtaining the storage compartment location information corresponding to the inspection requirement event.

[0128] Step S04: Open the door of the storage compartment corresponding to the inspection requirement event according to the storage compartment position information.

[0129] In a specific implementation, when the above-mentioned storage compartment location information is obtained, the self-service device can send an opening instruction to the locker computer with the corresponding number through the network. The locker computer will transmit the opening instruction containing the specified storage compartment door lock number in the form of an electrical signal through the information circuit to the lock control circuit board corresponding to the number. At this time, the lock control circuit board will transmit the opening signal to the storage compartment door lock with the corresponding number, thereby opening the storage compartment door.

[0130] Furthermore, in this embodiment, in order to better identify the free storage compartments and improve the utilization rate of the storage compartments, after step S04, the following may also be included:

[0131] Step S05: Determine whether the user initiates an item purchase event within the second preset time.

[0132] It should be noted that the above-mentioned item purchase event represents a request made by a buyer to purchase an item to be traded, and the item purchase event may include the event initiation time, the storage compartment where the item to be traded is stored, the price of the item to be traded, etc.

[0133] In a specific implementation, the buyer may trigger an item purchase event by clicking on the touch screen of the self-service transaction, or may trigger an item purchase event through a web page in a mobile device, which is not limited in this embodiment.

[0134] Step S06: If yes, the deposit is set as the purchase money, and the item purchase record corresponding to the item purchase event is displayed to the user.

[0135] In a specific implementation, if the user initiates an item purchase event within the second preset time, it proves that the user is satisfied with the inspection result of the item to be traded and needs to purchase the item to be traded. At this time, the previously paid deposit can be set as the purchase money, and the item purchase record corresponding to the item purchase event can be displayed to the user to enable the user to confirm whether the relevant information of the purchase is correct.

[0136] Step S07: when it is detected that the door of the storage compartment corresponding to the item purchase event is in the closed state, the selling information of the item to be traded in the door of the storage compartment is deleted.

[0137] In a specific implementation, if the door opening and closing status of the storage compartment corresponding to the item purchase event is closed, it means that the transaction of the item to be traded has been completed, that is, the purchase money has been received, the item to be traded has been taken away, and the corresponding storage compartment door has been closed. In this case, the sales information of the item to be traded in the above storage compartment door can be deleted.

[0138] Step S08: Archiving the item purchase record and setting the storage compartment to an idle state.

[0139] It should be noted that the above-mentioned item purchase record includes all information contained in the above-mentioned item inspection event and item purchase event.

[0140] In a specific implementation, archiving can be achieved by storing the above-mentioned item purchase records in a database by date.

[0141] When archiving is completed, the corresponding storage compartment can be set to an idle state, so that the storage compartment can immediately take on another transaction order after completing a transaction order, thereby improving the utilization rate of the locker.

[0142] Furthermore, in this embodiment, in order to take timely measures against abnormal return operations during the transaction process, thereby protecting the interests of the seller, after step S05, the following may also be included:

[0143] Step S051: If not, detecting the open or closed state of the door of the storage compartment.

[0144] It should be understood that when the storage compartment door corresponding to the item to be traded is opened and the user does not initiate an item purchase event within the second preset time, it means that an abnormal return operation has occurred at this time.

[0145] In a specific implementation, the open / closed state of the door of the storage compartment may be obtained by reading the state information of the electronic lock of the storage compartment door.

[0146] Step S052: If the door of the storage compartment is open, the deposit is frozen and a second warning message is sent to the management staff.

[0147] The second warning information may be one or more of text information, voice information, and video information. The present embodiment does not limit the form of the second warning information, but the specific content of the second warning information needs to be different from the specific content of the first warning information so that management personnel can distinguish them.

[0148] Step S053: If the door of the storage compartment is in the closed state, determining whether the item to be traded is stored in the storage compartment.

[0149] It should be understood that when the user does not initiate an item purchase event within the second preset time, and the door of the storage compartment is closed, there may be two corresponding situations at this time, one of which is that the user has returned the item to be traded to the corresponding storage compartment, and the other is that the user has not returned the item to be traded to the corresponding storage compartment. Therefore, at this time, it can be determined by judging whether the item to be traded is stored in the storage compartment to determine which of the above situations it belongs to.

[0150] Step S054: If not, the deposit is frozen and the second warning information is sent to the manager.

[0151] In the specific implementation, if the door of the storage compartment is closed and no items to be traded are detected in the storage compartment, it means that the items to be traded may have been operated abnormally by the buyer. At this time, the deposit paid by the buyer in advance can be used to buy the items.

[0152] Freeze to avoid losses to the seller if the item to be traded is lost.

[0153] When the present embodiment detects an item inspection event initiated by a user, a security deposit payment page is displayed to the user based on the item inspection event; and it is determined whether the user completes the security deposit payment through the security deposit payment page within a second preset time;

[0154] If so, obtain the storage compartment location information corresponding to the inspection demand event; open the door of the storage compartment corresponding to the inspection demand event according to the storage compartment location information. Determine whether the user initiates an item purchase event within the second preset time; if not, detect the storage compartment door opening and closing state; if the storage compartment door opening and closing state is open, freeze the deposit and send a second warning message to the management personnel; if the storage compartment door opening and closing state is closed, determine whether the storage compartment contains items to be traded; if not, freeze the deposit and send a second warning message to the management personnel. If so, set the deposit as the purchase money, and display the item purchase record corresponding to the item purchase event to the user; when it is detected that the storage compartment door opening and closing state corresponding to the item purchase event is closed, delete the sales information of the items to be traded in the storage compartment door; archive the item purchase record, and set the storage compartment to an idle state. Compared with the prior art, the method of this embodiment establishes a deposit mechanism and determines whether the item to be traded has been subjected to abnormal operations based on the buyer's operation and the opening and closing status of the cabinet door. In this way, if the item to be traded is lost, the deposit can be used to compensate the seller, thereby improving the rationality and security of the transaction process.

[0155] refer to Figure 4 , Figure 4 It is a flowchart of the third embodiment of the self-service return method of transaction items of the present invention.

[0156] Based on the above embodiments, in this embodiment, in order to more accurately obtain the image data difference, the step S30 may include:

[0157] Step S301: using Gaussian filtering to denoise the initial image data and the current image data respectively, to obtain denoised initial image data and denoised current image data.

[0158] It should be noted that the above-mentioned Gaussian filter is a linear smoothing filter, which is suitable for eliminating Gaussian noise and is widely used in the noise reduction process of image processing. Gaussian filtering is the process of weighted averaging the entire image. The value of each pixel is obtained by weighted averaging the value of itself and other pixels in the neighborhood. The specific operation of Gaussian filtering is: use a template (or convolution, mask) to scan each pixel in the image, and replace the value of the central pixel of the template with the weighted average gray value of the pixels in the neighborhood determined by the template.

[0159] In a specific implementation, since there may be differences in the acquisition environments of the above-mentioned initial image data and the above-mentioned current image data, this will cause various types of image noise to bring errors to the acquisition of image data difference. Therefore, the noise part in the above-mentioned initial image data and the above-mentioned current image data can be removed by Gaussian filtering to obtain denoised initial image data and denoised current image data.

[0160] Step S302: performing a similarity comparison between the denoised initial image data and the denoised current image data.

[0161] In a specific implementation, the cosine similarity method may be used to compare the similarity between the denoised initial image data and the denoised current image data.

[0162] Step S303: obtaining an image data difference based on the comparison result of the similarity comparison.

[0163] It should be understood that similarity comparison can be achieved by measuring the cosine value of the angle between the vector data corresponding to the denoised initial image data and the vector data corresponding to the denoised current image data, thereby obtaining the image data difference based on the comparison result of the similarity comparison.

[0164] Based on the above embodiments, in this embodiment, in order to more accurately respond to the buyer's transaction operation, after step S40, the following steps may also be included:

[0165] Step S41: when it is detected that the item to be traded is returned successfully, the deposit corresponding to the item to be traded is returned by the original route within a third preset time.

[0166] It should be understood that when the weight data difference is less than or equal to the first preset threshold, and the image data difference is less than or equal to the second preset threshold, it is determined that the item to be traded is returned successfully, and the deposit paid in advance by the user can be returned in the original way. Among them, the third preset time can be customized according to the specific transaction situation, such as 12 hours, 7 working days, etc., and this embodiment does not limit this.

[0167] Step S42: If the weight data difference is greater than a first preset threshold, or the image data difference is greater than a second preset threshold, it is determined that the item to be traded has failed to be returned.

[0168] It is understandable that when the above-mentioned weight data difference is greater than the first preset threshold value, it means that the difference between the weight data of the currently placed item and the weight data of the actual item to be traded has exceeded the maximum value allowed. At this time, it can be determined that the currently placed item is not the item to be traded, that is, the return of the item to be traded has failed; similarly, when the above-mentioned image data difference is greater than the second preset threshold value, it means that the difference between the image data of the currently placed item and the image data of the actual item to be traded has exceeded the maximum value allowed. At this time, it can also be determined that the currently placed item is not the item to be traded, that is, the return of the item to be traded has failed.

[0169] Step S43: Display the return failure information to the user, and send a third warning message to the administrator.

[0170] It should be noted that the above return failure information includes current weight data, current image data, initial weight data, initial image data, etc.

[0171] It is understandable that the third warning message may be one or more of text message, voice message, and video message. The present embodiment does not limit the form of the third warning message, but the specific content of the third warning message needs to be different from the specific content of the first warning message and the second warning message so that management personnel can distinguish them.

[0172] Step S44: uploading the successful return record or failed return record of the item to be traded to the history log, and the history log is stored in the server corresponding to the storage compartment.

[0173] It should be understood that in order to make the entire item transaction process traceable and avoid transaction disputes after the item transaction is completed, the successful return record or failed return record of the above-mentioned items to be traded can be uploaded to the historical log for managers and users to query.

[0174] In this embodiment, the initial image data and the current image data are denoised by Gaussian filtering to obtain the denoised initial image data and the denoised current image data; the denoised initial image data and the denoised current image data are compared for similarity; the image data difference is obtained based on the comparison result of the similarity comparison. When it is detected that the item to be traded is returned successfully, the deposit corresponding to the item to be traded is returned in the original way within the third preset time; if the weight data difference is greater than the first preset threshold, or the image data difference is greater than the second preset threshold, it is determined that the item to be traded has failed to be returned at this time; the return failure information is displayed to the user, and a third warning information is sent to the management personnel; the return success record or return failure record of the item to be traded is uploaded to the historical log, and the historical log is stored in the server corresponding to the storage grid.

[0175] Compared with the prior art which only relies on manual inspection to determine whether an item has been successfully returned, the method of this embodiment obtains the image data difference based on the denoised initial image data and the denoised current image data, thereby being able to combine the image data difference and the weight data difference to determine whether an item has been successfully returned, thereby avoiding misjudgment, misoperation, etc. caused by manual inspection in the prior art.

[0176] The embodiment of the present invention also provides a self-service transaction method nested in the self-service return method of the transaction item as above, referring to Figure 5 , Figure 5 It is a flowchart of the first embodiment of the self-service transaction method of the present invention.

[0177] This embodiment provides a self-service transaction method, including the following steps:

[0178] Step S1101: the self-service transaction device collects initial weight data and initial image data of the item to be traded that the seller puts into the storage compartment of the self-service transaction device;

[0179] The initial weight data is the weight data corresponding to when the item to be traded is first placed in the storage compartment, and the initial image data is the image data corresponding to when the item to be traded is first placed in the storage compartment.

[0180] Step S1102: When the self-service transaction device detects an item inspection event initiated by a buyer user, a deposit payment page is displayed to the buyer user based on the item inspection event;

[0181] Step S1103: determining whether the buyer user has completed the payment of the deposit through the deposit payment page within a first preset time;

[0182] If so, obtaining the storage compartment location information corresponding to the inspection demand event;

[0183] Opening the door of the storage compartment corresponding to the inspection requirement event according to the storage compartment position information;

[0184] Determining whether the buyer user initiates an item purchase event within the first preset time;

[0185] If yes, the deposit is set as the purchase money, and the item purchase record corresponding to the item purchase event is displayed to the buyer user;

[0186] When it is detected that the door of the storage compartment corresponding to the item purchase event is closed, deleting the sales information of the item to be traded in the door of the storage compartment;

[0187] The item purchase record is archived, and the storage compartment is set to an idle state.

[0188] Furthermore, in this embodiment, in the step of determining whether the buyer user initiates an item purchase event within the first preset time,

[0189] If not, detecting the open / closed state of the door of the storage compartment;

[0190] If the door of the storage compartment is open, the security deposit is frozen and a first warning message is sent to the management staff;

[0191] If the door of the storage compartment is closed, it is determined whether the item to be traded is stored in the storage compartment; if not, the deposit is frozen and the second warning information is sent to the manager.

[0192] Furthermore, in this embodiment, in the step of determining whether the item to be traded is stored in the storage compartment if the door of the storage compartment is in the closed state,

[0193] If so, the self-service transaction device obtains the current weight data and current image data of the item to be traded;

[0194] According to the location data of the storage compartment, query the initial weight data and initial image data of the item to be traded;

[0195] obtaining a weight data difference based on the initial weight data and the current weight data, and obtaining an image data difference based on the initial image data and the current image data;

[0196] If the weight data difference is less than or equal to a first preset threshold, and the image data difference is less than or equal to a second preset threshold, it is determined that the item to be traded is returned successfully.

[0197] Furthermore, in this embodiment, when the self-service transaction device detects an item inspection event initiated by a buyer user, the item inspection event includes the event initiation time, the storage compartment where the item to be traded is stored, and the price of the item to be traded.

[0198] Furthermore, in this embodiment, a weighing sensor is built into the storage compartment, and the weighing sensor is connected to the main control circuit board and the locker computer respectively.

[0199] Furthermore, in the present embodiment, when an item to be traded is placed in a storage compartment, the weighing sensor will convert the deformation of the sensor caused by the gravity of the item to be traded into a weight electrical signal, which will then be transmitted to the weighing circuit board through the information circuit. The weighing circuit board will perform numbering on the weighing sensor of each storage compartment. At this time, the weight electrical signal is transmitted to the weighing circuit board, which will transmit the numbering information and weight information corresponding to the weighing sensor in the form of an electrical signal to the locker computer through the information circuit. The format of the above numbering is "board number" plus "scale number"; wherein, on each weighing circuit board and lock control circuit board, there are electronic components for numbering the control circuit boards, and each main control circuit board is numbered from 1 according to the order of connection, and the number here is the "board number" of the control circuit board; the information circuit interface on each control circuit board also has a corresponding number, and the interface number on the control circuit board to which each weighing sensor is connected via a circuit board connecting line is the "scale number" of the weighing sensor.

[0200] Furthermore, in the present embodiment, the storage compartment comprises a storage compartment inner compartment and a storage compartment door, wherein a transparent acrylic material is provided in a door frame of the storage compartment door.

[0201] Furthermore, in this embodiment, the obtaining of the current weight data and the current image data of the item to be traded includes:

[0202] When it is detected that an item to be traded is placed in the storage compartment, the door opening and closing status of the storage compartment is obtained;

[0203] If the cabinet door is in the closed state, a weighing instruction is sent to the weighing sensor corresponding to the storage compartment, and a shooting instruction is sent to the camera corresponding to the storage compartment;

[0204] Based on the weighing instruction and the shooting instruction, obtaining current weight data and current image data of the item to be traded;

[0205] If the cabinet door is open, the cabinet door is continuously detected within a first preset time.

[0206] If the cabinet door is open at the end of the first preset time, a first warning message is sent to the manager;

[0207] Further, in this embodiment, the step of obtaining the image data difference based on the initial image data and the current image data includes:

[0208] Using Gaussian filtering to denoise the initial image data and the current image data respectively, to obtain denoised initial image data and denoised current image data;

[0209] Comparing the denoised initial image data with the denoised current image data for similarity;

[0210] An image data difference is obtained based on a comparison result of the similarity comparison.

[0211] Furthermore, in this embodiment, if the weight data difference is less than or equal to a first preset threshold, and the image data difference is less than or equal to a second preset threshold, after the step of determining that the item to be traded is successfully returned, the method further includes:

[0212] When it is detected that the item to be traded is returned successfully, the deposit corresponding to the item to be traded is returned by the original route within a third preset time;

[0213] If the weight data difference is greater than a first preset threshold, or the image data difference is greater than a second preset threshold, it is determined that the item to be traded has failed to be returned;

[0214] Display the return failure message to the user and send a third warning message to the administrator;

[0215] The successful return record or failed return record of the item to be traded is uploaded to the history log, and the history log is stored in the server corresponding to the storage compartment.

[0216] In addition, an embodiment of the present invention further proposes a storage medium, on which a self-service return program for transaction items is stored. When the self-service return program for transaction items is executed by a processor, the steps of the self-service return method for transaction items described above are implemented.

[0217] Reference Figure 6 , Figure 6 It is a structural block diagram of the first embodiment of the self-service return device for transaction items of the present invention.

[0218] like Figure 6 As shown, the self-service return device for transaction items proposed in the embodiment of the present invention includes:

[0219] The data acquisition module 501 is used to acquire the current weight data and current image data of the item to be traded, wherein the item to be traded is stored in the storage compartment;

[0220] The data query module 502 is used to query the initial weight data and initial image data of the item to be traded according to the position data of the storage compartment, wherein the initial weight data is when the item to be traded is first placed in the storage compartment;

[0221] corresponding weight data, the initial image data being the image data corresponding to the item to be traded being placed in the storage compartment for the first time;

[0222] A data calculation module 503, configured to obtain a weight data difference based on the initial weight data and the current weight data, and to obtain an image data difference based on the initial image data and the current image data;

[0223] The data judgment module 504 is used to judge that the item to be traded is returned successfully if the weight data difference is less than or equal to a first preset threshold and the image data difference is less than or equal to a second preset threshold.

[0224] This embodiment obtains the current weight data and current image data of the item to be traded, and the item to be traded is stored in a storage compartment; based on the position data of the storage compartment, the initial weight data and initial image data of the item to be traded are queried, the initial weight data is the weight data corresponding to the item to be traded when it is first placed in the storage compartment, and the initial image data is the image data corresponding to the item to be traded when it is first placed in the storage compartment; the weight data difference is obtained based on the initial weight data and the current weight data, and the image data difference is obtained based on the initial image data and the current image data; if the weight data difference is less than or equal to a first preset threshold, and the image data difference is less than or equal to a second preset threshold, it is determined that the item to be traded has been returned successfully. Compared with the prior art method of judging whether the item to be traded has been successfully returned only by detecting whether the cabinet door of the storage compartment is closed, the above method of this embodiment obtains the weight data difference and the image data difference of the item to be traded, thereby judging whether the item to be traded has been successfully returned based on the comparison result of the weight data difference and the first preset threshold, and the comparison result of the image data difference and the second preset threshold. At the same time, the present invention simplifies the usual transaction process, can describe the physical display of the item, and the weighing sensor has high precision when weighing, thereby ensuring the originality and integrity of the item to be traded during the self-service transaction process, avoiding the loss, damage, substitution, etc. of the item to be traded due to unattended supervision.

[0225] Reference Figure 7 , Figure 7 This is a structural block diagram of the first embodiment of the self-service transaction device of the present invention.

[0226] like Figure 7 As shown, the self-service transaction device proposed in the embodiment of the present invention includes a locker for the seller to put the items to be traded, the locker includes a storage compartment, and the items to be traded are placed in the storage compartment; a weighing sensor is built in the storage compartment, and the weighing sensor is connected to the main control circuit board and the locker computer respectively; wherein the self-service transaction device includes the following modules:

[0227] A data acquisition module, used to acquire initial weight data and initial image data of the item to be traded; wherein the initial weight data is the weight data corresponding to the item to be traded when it is first placed in the storage compartment, and the initial image data is the image data corresponding to the item to be traded when it is first placed in the storage compartment;

[0228] The first module is used for, when an item inspection event initiated by a buyer user is detected, displaying a deposit payment page to the buyer user based on the item inspection event; judging whether the buyer user completes the payment of the deposit through the deposit payment page within a first preset time; if so, obtaining the storage compartment location information corresponding to the inspection requirement event; opening the door of the storage compartment corresponding to the inspection requirement event according to the storage compartment location information; judging whether the buyer user initiates an item purchase event within the first preset time; if so, setting the deposit as the purchase money, and displaying the item purchase record corresponding to the item purchase event to the buyer user; when it is detected that the door of the storage compartment corresponding to the item purchase event is closed, deleting the sales information of the items to be traded in the storage compartment door; archiving the item purchase record, and setting the storage compartment to an idle state.

[0229] Furthermore, in this embodiment, when the first module determines whether the buyer user initiates an item purchase event within the first preset time,

[0230] If not, detecting the open / closed state of the door of the storage compartment;

[0231] If the door of the storage compartment is open, the security deposit is frozen and a first warning message is sent to the management staff;

[0232] If the door of the storage compartment is closed, determining whether the item to be traded is stored in the storage compartment;

[0233] If not, the deposit is frozen and the second warning information is sent to the manager.

[0234] Further, in this embodiment, when the first module determines whether the item to be traded is stored in the storage compartment if the door of the storage compartment is closed,

[0235] If yes, the self-service transaction device obtains the current weight data and current image data of the item to be traded through the data acquisition module;

[0236] The data query module queries the initial weight data and initial image data of the item to be traded according to the location data of the storage compartment;

[0237] The data calculation module obtains a weight data difference based on the initial weight data and the current weight data, and obtains an image data difference based on the initial image data and the current image data;

[0238] The data judgment module determines that the item to be traded is returned successfully if the weight data difference is less than or equal to a first preset threshold and the image data difference is less than or equal to a second preset threshold.

[0239] Furthermore, in this embodiment, the item inspection event includes the event initiation time, the storage compartment where the item to be traded is stored, and the price of the item to be traded.

[0240] Further, in this embodiment, a weighing sensor is built into the storage compartment, and the weighing sensor is connected to the main control circuit board and the locker computer respectively;

[0241] Furthermore, in the present embodiment, when the items to be traded are placed in the storage compartment, the weighing sensor will convert the deformation of the sensor caused by the gravity of the items to be traded into a weight electrical signal, which will then be transmitted to the weighing circuit board through the information circuit. The weighing circuit board will perform numbering on the weighing sensor of each storage compartment. At this time, the weight electrical signal is transmitted to the weighing circuit board, which will transmit the numbering information and weight information corresponding to the weighing sensor to the locker computer in the form of an electrical signal through the information circuit. The format of the above numbering is "board number" plus "scale number"; wherein, on each weighing circuit board and lock control circuit board, there are electronic components for numbering the control circuit boards, and each main control circuit board is numbered from 1 according to the order of connection, and the number here is the "board number" of the control circuit board; the information circuit interface on each control circuit board also has a corresponding number, and the interface number on the control circuit board to which each weighing sensor is connected through a circuit board connecting line is the "scale number" of the weighing sensor;

[0242] Furthermore, in this embodiment, when the data acquisition module acquires the current weight data and the current image data of the item to be traded, it includes:

[0243] When it is detected that an item to be traded is placed in the storage compartment, the door opening and closing status of the storage compartment is obtained;

[0244] If the cabinet door is in the closed state, a weighing instruction is sent to the weighing sensor corresponding to the storage compartment, and a shooting instruction is sent to the camera corresponding to the storage compartment;

[0245] Based on the weighing instruction and the shooting instruction, obtaining current weight data and current image data of the item to be traded;

[0246] If the cabinet door is open, the cabinet door is continuously detected within a first preset time.

[0247] If the cabinet door is open at the end of the first preset time, a first warning message is sent to the manager;

[0248] Furthermore, in this embodiment, when the data calculation module obtains the image data difference based on the initial image data and the current image data, it includes:

[0249] Using Gaussian filtering to denoise the initial image data and the current image data respectively, to obtain denoised initial image data and denoised current image data;

[0250] Comparing the denoised initial image data with the denoised current image data for similarity;

[0251] An image data difference is obtained based on a comparison result of the similarity comparison.

[0252] Further, in this embodiment, when the data judgment module judges that the item to be traded is successfully returned if the weight data difference is less than or equal to a first preset threshold and the image data difference is less than or equal to a second preset threshold, the data judgment module further includes:

[0253] When it is detected that the item to be traded is returned successfully, the deposit corresponding to the item to be traded is returned by the original route within a third preset time;

[0254] If the weight data difference is greater than a first preset threshold, or the image data difference is greater than a second preset threshold, it is determined that the item to be traded has failed to be returned;

[0255] Display the return failure message to the user and send a third warning message to the administrator;

[0256] The successful return record or failed return record of the item to be traded is uploaded to the history log, and the history log is stored in the server corresponding to the storage compartment.

[0257] Other embodiments or specific implementations of the self-service return device for transaction items of the present invention can refer to the above-mentioned method embodiments, which will not be described in detail here.

[0258] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or system. In the absence of further restrictions, an element defined by the sentence "includes a ..." does not exclude the existence of other identical elements in the process, method, article or system including the element.

[0259] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.

[0260] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as a read-only memory / random access memory, a magnetic disk, or an optical disk), and includes a number of instructions for a terminal device (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present invention.

[0261] The above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.

Claims

1. A self-service transaction method, characterized in that: The following steps are involved: The self-service transaction device collects initial weight data and initial image data of the item to be traded placed by the seller in the storage compartment of the self-service transaction device; wherein the initial weight data is the weight data corresponding to the item to be traded when it is first placed in the storage compartment, and the initial image data is the image data corresponding to the item to be traded when it is first placed in the storage compartment; When the self-service transaction device detects an item inspection event initiated by a buyer user, a deposit payment page is displayed to the buyer user based on the item inspection event; Determining whether the buyer user completes the payment of the deposit through the deposit payment page within a first preset time; If so, obtaining the storage compartment location information corresponding to the inspection demand event; Opening the door of the storage compartment corresponding to the inspection requirement event according to the storage compartment position information; Determining whether the buyer user initiates an item purchase event within the first preset time; If yes, the deposit is set as the purchase money, and the item purchase record corresponding to the item purchase event is displayed to the buyer user; When it is detected that the door of the storage compartment corresponding to the item purchase event is closed, deleting the sales information of the item to be traded in the door of the storage compartment; The item purchase record is archived, and the storage compartment is set to an idle state.

2. The self-service transaction method according to claim 1, characterized in that: In the step of determining whether the buyer user initiates an item purchase event within the first preset time, If not, detecting the open / closed state of the door of the storage compartment; If the door of the storage compartment is open, the security deposit is frozen and a first warning message is sent to the management staff; If the door of the storage compartment is closed, it is determined whether the item to be traded is stored in the storage compartment; if not, the deposit is frozen and the second warning information is sent to the manager.

3. The self-service transaction method according to claim 2, characterized in that: In the step of determining whether the item to be traded is stored in the storage compartment if the door of the storage compartment is in the closed state, If so, the self-service transaction device obtains the current weight data and current image data of the item to be traded; According to the location data of the storage compartment, query the initial weight data and initial image data of the item to be traded; obtaining a weight data difference based on the initial weight data and the current weight data, and obtaining an image data difference based on the initial image data and the current image data; If the weight data difference is less than or equal to a first preset threshold, and the image data difference is less than or equal to a second preset threshold, it is determined that the item to be traded is returned successfully.

4. The self-service transaction method according to claim 3, characterized in that: When the self-service transaction device detects an item inspection event initiated by a buyer user, the item inspection event includes the event initiation time, the storage compartment where the item to be traded is stored, and the price of the item to be traded; The storage compartment is equipped with a weighing sensor, and the weighing sensor is connected to the main control circuit board and the locker computer respectively; When the items to be traded are placed in the storage compartment, the weighing sensor will convert the deformation of the sensor caused by the gravity of the items to be traded into a weight electrical signal, which will then be transmitted to the weighing circuit board through the information circuit. The weighing circuit board will number the weighing sensor of each storage compartment. At this time, the weight electrical signal is transmitted to the weighing circuit board, which will transmit the number information and weight information corresponding to the weighing sensor to the locker computer in the form of an electrical signal through the information circuit. The format of the above numbering is "board number" plus "scale number"; wherein, there are electronic components numbering the control circuit boards on each weighing circuit board and the lock control circuit board, and each main control circuit board is numbered from 1 according to the order of connection, and the number here is the "board number" of the control circuit board; the information circuit interface on each control circuit board also has a corresponding number, and the interface number on the control circuit board to which each weighing sensor is connected through the circuit board connecting line is the "scale number" of the weighing sensor; The storage compartment includes a storage compartment inner compartment and a storage compartment door, wherein a transparent acrylic material is provided in the door frame of the storage compartment door; The step of obtaining the current weight data and current image data of the item to be traded includes: When it is detected that an item to be traded is placed in the storage compartment, the door opening and closing status of the storage compartment is obtained; If the cabinet door is in the closed state, a weighing instruction is sent to the weighing sensor corresponding to the storage compartment, and a shooting instruction is sent to the camera corresponding to the storage compartment; Based on the weighing instruction and the shooting instruction, obtaining current weight data and current image data of the item to be traded; If the cabinet door is open, the cabinet door is continuously detected within a first preset time. If the cabinet door is open at the end of the first preset time, a first warning message is sent to the manager; The step of obtaining an image data difference based on the initial image data and the current image data comprises: Using Gaussian filtering to denoise the initial image data and the current image data respectively, to obtain denoised initial image data and denoised current image data; Comparing the denoised initial image data with the denoised current image data for similarity; Obtaining an image data difference based on a comparison result of the similarity comparison; If the weight data difference is less than or equal to the first preset threshold, and the image data difference is less than or equal to the second preset threshold, after the step of determining that the item to be traded is successfully returned, the method further includes: When it is detected that the item to be traded is returned successfully, the deposit corresponding to the item to be traded is returned by the original route within a third preset time; If the weight data difference is greater than a first preset threshold, or the image data difference is greater than a second preset threshold, it is determined that the item to be traded has failed to be returned; Display the return failure message to the user and send a third warning message to the administrator; The successful return record or failed return record of the item to be traded is uploaded to the history log, and the history log is stored in the server corresponding to the storage compartment.

5. A self-service transaction device, characterized in that: The self-service transaction device includes a locker for the seller to put the items to be traded, the locker includes a storage compartment, and the items to be traded are placed in the storage compartment; a weighing sensor is built in the storage compartment, and the weighing sensor is connected to the main control circuit board and the locker computer respectively; wherein the self-service transaction device includes the following modules: A data acquisition module, used to acquire initial weight data and initial image data of the item to be traded; wherein the initial weight data is the weight data corresponding to the item to be traded when it is first placed in the storage compartment, and the initial image data is the image data corresponding to the item to be traded when it is first placed in the storage compartment; The first module is used for, when an item inspection event initiated by a buyer user is detected, displaying a deposit payment page to the buyer user based on the item inspection event; judging whether the buyer user completes the payment of the deposit through the deposit payment page within a first preset time; if so, obtaining the storage compartment location information corresponding to the inspection requirement event; opening the door of the storage compartment corresponding to the inspection requirement event according to the storage compartment location information; judging whether the buyer user initiates an item purchase event within the first preset time; if so, setting the deposit as the purchase money, and displaying the item purchase record corresponding to the item purchase event to the buyer user; when it is detected that the door of the storage compartment corresponding to the item purchase event is closed, deleting the sales information of the items to be traded in the storage compartment door; archiving the item purchase record, and setting the storage compartment to an idle state.

6. The self-service transaction device according to claim 5, characterized in that: When the first module determines whether the buyer user initiates an item purchase event within the first preset time, If not, detecting the open / closed state of the door of the storage compartment; If the door of the storage compartment is open, the security deposit is frozen and a first warning message is sent to the management staff; If the door of the storage compartment is closed, it is determined whether the item to be traded is stored in the storage compartment; if not, the deposit is frozen and the second warning information is sent to the manager.

7. The self-service transaction device according to claim 6, characterized in that: When the first module determines whether the item to be traded is stored in the storage compartment if the door of the storage compartment is closed, If yes, the self-service transaction device obtains the current weight data and current image data of the item to be traded through the data acquisition module; The data query module queries the initial weight data and initial image data of the item to be traded according to the location data of the storage compartment; The data calculation module obtains a weight data difference based on the initial weight data and the current weight data, and obtains an image data difference based on the initial image data and the current image data; The data judgment module determines that the item to be traded is returned successfully if the weight data difference is less than or equal to a first preset threshold and the image data difference is less than or equal to a second preset threshold.

8. The self-service transaction device according to claim 7, characterized in that: The item inspection event includes the event initiation time, the storage compartment where the item to be traded is stored, and the price of the item to be traded; The storage compartment is equipped with a weighing sensor, and the weighing sensor is connected to the main control circuit board and the locker computer respectively; When the items to be traded are placed in the storage compartment, the weighing sensor will convert the deformation of the sensor caused by the gravity of the items to be traded into a weight electrical signal, which will then be transmitted to the weighing circuit board through the information circuit. The weighing circuit board will number the weighing sensor of each storage compartment. At this time, the weight electrical signal is transmitted to the weighing circuit board, which will transmit the number information and weight information corresponding to the weighing sensor to the locker computer in the form of an electrical signal through the information circuit. The format of the above numbering is "board number" plus "scale number"; wherein, there are electronic components numbering the control circuit boards on each weighing circuit board and the lock control circuit board, and each main control circuit board is numbered from 1 according to the order of connection, and the number here is the "board number" of the control circuit board; the information circuit interface on each control circuit board also has a corresponding number, and the interface number on the control circuit board to which each weighing sensor is connected through the circuit board connecting line is the "scale number" of the weighing sensor; When the data acquisition module acquires the current weight data and the current image data of the item to be traded, it includes: When it is detected that an item to be traded is placed in the storage compartment, the door opening and closing status of the storage compartment is obtained; If the cabinet door is in the closed state, a weighing instruction is sent to the weighing sensor corresponding to the storage compartment, and a shooting instruction is sent to the camera corresponding to the storage compartment; Based on the weighing instruction and the shooting instruction, obtaining current weight data and current image data of the item to be traded; If the cabinet door is open, the cabinet door is continuously detected within a first preset time. If the cabinet door is open at the end of the first preset time, a first warning message is sent to the manager; When the data calculation module obtains the image data difference based on the initial image data and the current image data, it includes: Using Gaussian filtering to denoise the initial image data and the current image data respectively, to obtain denoised initial image data and denoised current image data; Comparing the denoised initial image data with the denoised current image data for similarity; Obtaining an image data difference based on a comparison result of the similarity comparison; When the data judgment module judges that the item to be traded is successfully returned if the weight data difference is less than or equal to a first preset threshold and the image data difference is less than or equal to a second preset threshold, the data judgment module further includes: When it is detected that the item to be traded is returned successfully, the deposit corresponding to the item to be traded is returned by the original route within a third preset time; If the weight data difference is greater than a first preset threshold, or the image data difference is greater than a second preset threshold, it is determined that the item to be traded has failed to be returned; Display the return failure message to the user and send a third warning message to the administrator; The successful return record or failed return record of the item to be traded is uploaded to the history log, and the history log is stored in the server corresponding to the storage compartment.

9. A self-service transaction device for trading items, characterized in that: The self-service transaction device includes: a memory, a processor, and a self-service transaction program stored in the memory and capable of running on the processor. The self-service transaction program for transaction items is configured to implement the steps of the self-service transaction method as described in any one of claims 1-4.

10. A storage medium, characterized in that: The storage medium stores a self-service transaction program for transaction items, and when the self-service transaction program for transaction items is executed by the processor, the steps of the self-service transaction method according to any one of claims 1 to 4 are implemented.

Citation Information

Patent Citations

  • Refrigerating storage cabinet

    CN105069922A

  • Eyeglasses automatic vending machine and eyeglasses renting and purchasing method

    CN107808454A

  • A system and method for listing and delivery of goods based on commodity trading

    CN109214861A

  • Display cabinet and display cabinet management system

    CN113142913A

  • Safety tool management method, device and equipment and safety tool management cabinet

    CN113947358A