Method, device and shared vehicle for automatically identifying damaged QR codes
By setting up photosensitizers on the back of the QR code of the shared vehicle, automatically collecting light sensitivity intensity information and determining the debris status, the problem of manual inspection in the existing technology is solved, the monitoring accuracy is improved and the cost is reduced.
Patent Information
- Application Number
- CN202111642218.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-29
- Publication Date
- 2025-02-11
- Estimated Expiration
- 2041-12-29
AI Technical Summary
In the prior art, it is necessary to manually inspect the QR code of shared vehicles, resulting in large expenses of manpower and material resources and uncertain inspection results.
By setting a photosensitive device on the back of the QR code, collecting light sensitivity intensity information, and determining the destruction status of the QR code based on the light sensitivity intensity information and reference values, automatic monitoring of the QR code is achieved.
The inspection and monitoring accuracy of QR code destruction has been improved, the investment in manpower and material resources has been reduced, and the operating costs of the enterprises belonging to the shared vehicle have been reduced.
Smart Images

Figure CN114414585B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of information processing technology, and in particular to a method and device for automatically identifying damaged QR codes, and a shared vehicle. Background Art
[0002] The QR code is an important part of shared vehicles (including shared bicycles, shared electric vehicles, shared cars, etc.), which is used for users to scan the code to identify the vehicle. Due to the operating environment of shared vehicles, it is common for their QR codes to be damaged. Information shows that in some areas, the damage rate of shared vehicle QR codes is maintained at around 10% to 15% per month.
[0003] The QR code needs to be restored promptly after being defaced. If it is not discovered in time, the corresponding vehicle will be idle for a long time, which will lead to a decrease in operational efficiency.
[0004] Currently, inspection of QR code contamination requires active inspections by dedicated operation and maintenance personnel, or reliance on user feedback.
[0005] Long-term statistics and active inspections by a large number of operation and maintenance personnel will result in expenditures on manpower and material resources. In addition, the inspection results are uncertain due to the strong subjectivity of the inspection personnel. Relying on user feedback will cause false alarms and missed reports. Summary of the invention
[0006] The present invention provides a method and device for automatically identifying a damaged QR code and a shared vehicle, so as to solve the defect in the prior art that manual inspection of the QR code of the shared vehicle is required, and realize automatic monitoring of the QR code.
[0007] In a first aspect, the present invention provides a method for automatically identifying a damaged QR code, comprising:
[0008] Receiving light intensity information reported by a target vehicle, wherein the light intensity information is collected by a photosensitive device disposed on the back of a QR code on the target vehicle;
[0009] The contamination state of the two-dimensional code on the target vehicle is determined according to the light intensity information and the light intensity reference value.
[0010] According to a method for automatically identifying defacement of a two-dimensional code provided by the present invention, before determining the defacement state of the two-dimensional code on the target vehicle based on the light intensity information and the light intensity reference value, the method further includes:
[0011] Determining the current position information of the target vehicle;
[0012] Acquire light intensity information reported by multiple other vehicles within a first preset range with the current location information as the center;
[0013] An average value of the light intensity information reported by the plurality of other vehicles is calculated to determine the light intensity reference value.
[0014] According to a method for automatically identifying a damaged QR code provided by the present invention, the method of determining the damage state of the QR code on the target vehicle according to the light intensity information and the light intensity reference value includes:
[0015] Determine a maximum light intensity threshold and a minimum light intensity threshold according to the light intensity reference value to construct a normal light intensity interval;
[0016] If the light intensity information is continuously within the normal light intensity interval within the first time period, determining that the defacement state is an undefacement state;
[0017] If the light intensity information is continuously outside the normal light intensity interval within the first time period, the defacement state is determined to be a defaced state.
[0018] According to a method for automatically identifying defacement of a two-dimensional code provided by the present invention, if the light intensity information is continuously outside the normal light intensity interval within the first time period, then determining that the defacement state is a defaced state specifically includes:
[0019] If the light intensity information is continuously less than the light intensity minimum threshold value within the first time period, it is determined that the contaminated state is that the QR code on the target vehicle is covered by contaminants;
[0020] If within the first time period, the light intensity information is continuously greater than the maximum light intensity threshold, it is determined that the defaced state is that the QR code on the target vehicle is damaged.
[0021] A method for automatically identifying contaminated two-dimensional codes provided by the present invention also includes:
[0022] Determine the system order duration of each vehicle within a second preset range within a second duration according to the current location information of the target vehicle;
[0023] The average duration of the system order time of each of the vehicles is calculated to determine the first duration.
[0024] According to a method for automatically identifying a two-dimensional code that is damaged, after determining that the damage state is a damaged state, the method further includes:
[0025] Generate a QR code maintenance work order related to the target vehicle.
[0026] According to a method for automatically identifying a damaged QR code provided by the present invention, after generating the QR code maintenance work order, the method further includes:
[0027] Continuously obtaining light intensity information reported by the target vehicle;
[0028] If the light intensity information is continuously within the normal light intensity range within the first time period, the QR code maintenance work order is automatically closed.
[0029] In a second aspect, the present invention provides an automatic identification device for a damaged two-dimensional code, comprising:
[0030] A data receiving unit, used to receive light intensity information reported by a target vehicle, wherein the light intensity information is collected by a photosensitive device disposed on the back of a QR code on the target vehicle;
[0031] An information processing unit is used to determine the defacement state of the two-dimensional code on the target vehicle according to the light intensity information and the light intensity reference value.
[0032] In a third aspect, the present invention provides a method for automatically identifying QR code contamination, comprising: reporting light intensity information to a management platform, so that the management platform can determine the contamination status of the QR code on the target vehicle based on the light intensity information and a light intensity reference value; the light intensity information is collected by a photosensitive device arranged on the back of the QR code on the target vehicle.
[0033] In a fourth aspect, the present invention provides a shared vehicle, comprising a target vehicle body, wherein the target vehicle body is provided with an electronic control unit and a two-dimensional code; a photosensitive device is provided on the back of the two-dimensional code, so as to collect light intensity information by using the photosensitive device;
[0034] It also includes a memory and a program or instruction stored in the memory and executable on the electronic control unit. When the program or instruction is executed by the electronic control unit, the steps of any one of the above-mentioned two-dimensional code contamination automatic identification methods are executed.
[0035] In a fifth aspect, the present invention provides an electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the electronic control unit executes the program, the steps of any of the above-mentioned methods for automatically identifying damaged QR codes are implemented.
[0036] In a sixth aspect, the present invention further provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of any of the above-described methods for automatically identifying damaged QR codes.
[0037] The method, device and shared vehicle for automatically identifying QR code contamination provided by the present invention can determine that the QR code of a target vehicle with abnormal light intensity information is contaminated by automatically collecting and analyzing the light intensity information of the QR code on any target vehicle. The method and device have a high degree of automation and can effectively improve the accuracy of inspection and monitoring of QR code contamination, greatly reduce the investment in manpower and material resources, and reduce the operating costs of the companies to which the shared vehicles belong. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0039] Figure 1 It is a schematic diagram of the process of the method for automatically identifying contaminated QR codes provided by the present invention;
[0040] Figure 2 It is a structural schematic diagram of the device for automatically identifying contaminated two-dimensional codes provided by the present invention;
[0041] Figure 3 It is a structural schematic diagram of the electronic device provided by the present invention. DETAILED DESCRIPTION
[0042] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0043] It should be noted that in the description of the embodiments of the present invention, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device 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 device. In the absence of further restrictions, the elements defined by the sentence "include one..." do not exclude the existence of other identical elements in the process, method, article or device including the elements. Unless otherwise clearly specified and defined, the terms "install", "connect" and "connect" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be a connection between the two elements. For those of ordinary skill in the art, the specific meanings of the above terms in the present invention can be understood according to the specific circumstances.
[0044] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first", "second", etc. are generally of one type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "or" relationship.
[0045] Combine the following Figure 1-Figure 3 The invention describes a method, device and shared vehicle for automatically identifying a damaged QR code provided by an embodiment of the invention.
[0046] Figure 1 It is a flow chart of the method for automatically identifying the contaminated QR code provided by the present invention, which is set up in the remote background to realize the management platform for the joint operation and management of all shared vehicles, such as Figure 1 As shown, including but not limited to the following steps:
[0047] Step 11: receiving light intensity information reported by the target vehicle, wherein the light intensity information is collected by a photosensitive device disposed on the back of the QR code on the target vehicle.
[0048] The target vehicle refers to any shared vehicle put on the market. The type of shared vehicles may be bicycles, motorcycles, electric vehicles, motor vehicles, etc., which are not specifically limited in the present invention.
[0049] A photosensitive device is pre-installed on the back (also called the base) of the QR code of each shared vehicle. At the same time, when designing and installing the QR code, some space can be left in the middle of the code to allow light to pass through the leftover space and enter the photosensitive part of the photosensitive device. The photosensitive device can generate corresponding light intensity information based on the strength, weakness, amount, or quantity of light received by its photosensitive part.
[0050] Generally speaking, when a QR code is stained, the space in the middle part will change to a certain extent, which will affect the state of light entering the photosensitive part of the photosensitive device. For example, if the QR code is covered by stains, the light cannot enter the photosensitive part of the photosensitive device through the space in the middle part, and the light intensity information detected by the photosensitive device reflects a decrease in light intensity.
[0051] The photosensitive device is connected to the vehicle electronic control unit (ECU) to upload the detected light intensity information to the vehicle ECU in real time, and then the vehicle ECU packages the light intensity information and reports it to the management platform at a preset frequency.
[0052] Step 12: Determine the contamination status of the QR code on the target vehicle according to the light intensity information and the light intensity reference value.
[0053] After receiving the light intensity information uploaded by each shared vehicle within its management area, the management platform can compare the light intensity information uploaded by any target vehicle with a predetermined light intensity reference value to determine the contamination status of the QR code on the target vehicle based on the comparison result. Even after determining that the QR code of the target vehicle is contaminated, it can also preliminarily determine the type of contamination that has occurred, including damage, being covered by pollutants, etc.
[0054] For example: by comparing the light intensity information of the target vehicle within half an hour, if the difference between the light intensity information and the light intensity reference value is greater than the first threshold, it can be determined that the light intensity information is abnormal, and it can be judged that the light cannot pass through the QR code of the target vehicle to enter the photosensitive device thereon, so it can be determined that the defacement state of the QR code of the target vehicle is a defaced state.
[0055] Among them, the light intensity reference value can be predetermined according to the weather conditions when the light intensity information is collected, or it can be determined according to the average value of the light intensity information of multiple other shared vehicles within a certain range of the target vehicle area. The present invention does not make specific limitations on this.
[0056] The automatic identification method for QR code contamination provided by the present invention can determine that the QR code of a target vehicle with abnormal light intensity information is contaminated by automatically collecting and analyzing the light intensity information of the QR code on any target vehicle. It has a high degree of automation and can effectively improve the accuracy of inspection and monitoring of QR code contamination, and greatly reduces the investment in manpower and material resources, thereby reducing the operating costs of the company to which the shared vehicles belong.
[0057] Based on the content of the above embodiment, as an optional embodiment, before determining the defacement state of the two-dimensional code on the target vehicle based on the light intensity information and the light intensity reference value, the method further includes:
[0058] Determining the current position information of the target vehicle;
[0059] Acquire light intensity information reported by multiple other vehicles within a first preset range with the current location information as the center;
[0060] An average value of the light intensity information reported by the plurality of other vehicles is calculated to determine the light intensity reference value.
[0061] The invention provides a method for determining a light intensity reference value according to current position information of a target vehicle.
[0062] First, the management platform can receive in real time the current location information reported by the on-board ECU of each shared vehicle within its management range.
[0063] When it is necessary to detect the defacement status of the QR code of any target vehicle, firstly, based on the current position information of the target vehicle, it is determined whether there are other vehicles within a first preset range centered on the current position information.
[0064] The first preset range may be determined according to actual conditions, such as taking a range within a radius of 3 meters as the first preset range.
[0065] Assuming that the management platform can determine that there are three other vehicles within the first preset range of the target vehicle based on the current location information of all shared vehicles, the light intensity information reported by these three other vehicles can be extracted respectively, and recorded as: light intensity information A, light intensity information B, and light intensity information C.
[0066] Furthermore, an average value of the light intensity information A, the light intensity information B, and the light intensity information C is calculated as a reference value of the light intensity of the target vehicle at the current moment.
[0067] It should be noted that the automatic identification method for QR code contamination provided by the present invention, for different target vehicles, when the current location information of the target vehicle is different, the number of other vehicles within its first preset range is different, and the light intensity information reported by other vehicles is different, the determined light intensity reference value will be automatically adjusted so that the determined light intensity reference value can truly and accurately reflect the current light intensity standard of the target vehicle.
[0068] Since the environmental conditions of other vehicles within the first preset range are similar or even the same as those of the target vehicle, and the probability of the same type of QR code being defaced on other vehicles at the same time is extremely small, the accuracy can be greatly improved by calculating the light intensity reference value based on the light intensity information of other vehicles.
[0069] The method for automatically identifying defaced QR codes provided by the present invention can automatically determine a light intensity reference value in real time according to the different environments in which the target vehicle is located and the light intensity information of other vehicles around the target vehicle, thereby providing a reference standard for judging the defacement status of the QR code of the target vehicle, and can effectively improve the accuracy of automatic identification of defaced QR codes.
[0070] Based on the content of the above embodiment, as an optional embodiment, determining the defacement state of the QR code on the target vehicle according to the light intensity information and the light intensity reference value includes:
[0071] Determine a maximum light intensity threshold and a minimum light intensity threshold according to the light intensity reference value to construct a normal light intensity interval;
[0072] If the light intensity information is continuously within the normal light intensity interval within the first time period, determining that the defacement state is an undefacement state;
[0073] If the light intensity information is continuously outside the normal light intensity interval within the first time period, the defacement state is determined to be a defaced state.
[0074] The present invention provides a method for determining a contamination state according to light intensity information and a light intensity reference value.
[0075] The first duration may be predetermined, such as half an hour, 40 minutes, 1 hour, etc., and the present invention does not make any specific limitation on this.
[0076] By adopting the method provided in the above embodiment, after determining the light intensity information of a plurality of other vehicles within the first preset range where the target vehicle is located, the corresponding normal light intensity range can be determined.
[0077] Assume that the light intensity reference value is x candela (cd for short), then the maximum light intensity threshold can be set to x+a candela, and the minimum light intensity threshold can be set to xa candela, that is, the normal light intensity range is [xa, x+a].
[0078] Optionally, if the received light intensity information of the target vehicle is greater than x+a candela, or less than xa candela, it can be considered that the defacement state of the QR code of the target vehicle is in a defaced state.
[0079] Correspondingly, if the received light intensity information of the target vehicle is less than or equal to x+a candela and greater than or equal to xa candela, it can be considered that the defacement state of the QR code of the target vehicle is not defaced (ie, normal state).
[0080] It should be noted that the present invention can determine the normal light intensity interval based on historical experience and the light intensity reference value, and can also determine it based on the division of the first preset range where the target vehicle is located.
[0081] For example, for the current QR code contamination status judgment of any target vehicle, the first preset range selected for the first calculation of the light intensity reference value is a radius of 1 meter, the first preset range selected for the second calculation of the light intensity reference value is a radius of 2 meters, the first preset range selected for the third calculation of the light intensity reference value is a radius of 3 meters, the first preset range selected for the fourth calculation of the light intensity reference value is a radius of 4 meters, and the first preset range selected for the nth calculation of the light intensity reference value is a radius of n meters. Then, the maximum value of the light intensity reference value calculated n times is used as the maximum light intensity threshold, and the minimum value thereof is used as the minimum light intensity threshold, to construct a normal light intensity interval.
[0082] After the normal light intensity range is determined, it is determined whether the light intensity information reported by the target vehicle within a first time period (such as 1 hour) is continuously outside the normal light intensity range. If it is continuously in that range, it can be determined that the defacement state is the defaced state.
[0083] When judging the defacement status of the QR code of the target vehicle, the present invention continuously monitors the light intensity information within the first time period in order to eliminate interference from the external environment. For example, if a moving object (such as fallen leaves, pedestrians, vehicle users, etc.) temporarily blocks the QR code, the light intensity collected by the photosensitive device of the target vehicle during the blocking period will be reduced. After the first time period is set, if the first time period is appropriately selected, the influence of these situations on the actual detection results can be effectively avoided.
[0084] Furthermore, if the light intensity information is continuously within the normal light intensity interval within the first time period, it can be clearly determined that the defacement state of the target vehicle's two-dimensional code is an undefaced state.
[0085] The two-dimensional code defacement automatic identification method provided by the present invention can effectively improve the accuracy of judging the defacement status by continuously comparing the light intensity information received within a certain period of time.
[0086] Based on the content of the above embodiment, as an optional embodiment, if the light intensity information is continuously outside the normal light intensity range within the first time period, determining that the defacement state is a defaced state specifically includes:
[0087] If the light intensity information is continuously less than the light intensity minimum threshold value within the first time period, it is determined that the contaminated state is that the QR code on the target vehicle is covered by contaminants;
[0088] If within the first time period, the light intensity information is continuously greater than the maximum light intensity threshold, it is determined that the defaced state is that the QR code on the target vehicle is damaged.
[0089] Optionally, the present invention may further determine the type of the defacement event that occurred on the target vehicle based on the comparison relationship between the light intensity information and the normal light intensity interval calculated in real time.
[0090] For example, if it is determined that the light intensity information is continuously less than the minimum light intensity threshold, it means that the light intensity collected by the photosensitive device is greatly reduced, and it can be considered that the probability of being covered by pollutants is very high.
[0091] Correspondingly, if it is determined that the light intensity information is continuously greater than the minimum light intensity threshold, it means that the light intensity collected by the photosensitive device has increased abnormally, and it can be considered that the QR code of the target vehicle has been damaged, resulting in an increase in the leakage space in the middle part. Therefore, it can be determined that the damaged state is a damaged QR code on the target vehicle.
[0092] The method for automatically identifying QR code defacement provided by the present invention can not only automatically determine the defacement state of the QR code of the target vehicle based on the light intensity information of the target vehicle within a preset time period, but can also further determine the type of defacement, so as to notify and guide the operation and maintenance personnel to repair the relevant QR code in a timely and accurate manner according to the type of defacement, thereby improving the repair efficiency of the operation and maintenance personnel.
[0093] Based on the contents of the above embodiments, as an optional embodiment, the method for automatic identification of damaged QR codes provided by the present invention may also include: determining the system order duration of each vehicle within a second preset range within a second time period according to the current location information of the target vehicle; and calculating the average duration of the system order time of each vehicle to determine the first time period.
[0094] The present invention provides a method for determining the above-mentioned first duration, which is mainly determined based on the system order durations of all vehicles within a certain range where the target vehicle is located.
[0095] Since the QR code is blocked (or the light intensity collected by the photosensitive device is reduced), it often happens during the use of the vehicle by the user. For this reason, the present invention obtains the system order duration of all vehicles within a second preset range (such as an operating sub-area) within a second time period (such as one day), and determines the first duration by calculating the average system order duration of all vehicles. That is, the first duration can characterize the average duration of each use of the shared vehicle by the vehicle user.
[0096] Optionally, a preset value may be added to the average value of the system order duration as the first duration; or a preset multiple of the average value of the system order duration may be used as the first duration.
[0097] For example: the calculated system order duration is 45 minutes. On this basis, the above preset value is set to 10 minutes, then the first duration can be set to 55 minutes; or, the preset multiple is set to 2 times, then the first duration can be set to 90 minutes.
[0098] It should be noted that the first duration provided by the present invention is determined based on the average value of the system order duration, but the actually determined duration can be dynamically adjusted based on statistics of the accuracy of historical recognition results during actual operation.
[0099] Based on the content of the above embodiment, as an optional embodiment, after determining that the defacement state is a defaced state, the method may further include: generating a QR code maintenance work order related to the target vehicle.
[0100] The method for automatically identifying damaged QR codes provided by the present invention enables a management platform to promptly generate a QR code maintenance work order for the target vehicle after determining that the QR code of the target vehicle is damaged based on the light intensity information reported by the target vehicle.
[0101] Optionally, the QR code maintenance work order may indicate the current location information of the target vehicle, the type of damage to the QR code, etc., so as to guide the operation and maintenance personnel to repair the QR code of the target vehicle in a timely manner.
[0102] As an optional embodiment, after generating the QR code maintenance work order, it also includes: continuously acquiring the light intensity information reported by the target vehicle; if within the first time period, the light intensity information continues to be within the normal light intensity range, then the QR code maintenance work order is automatically closed.
[0103] After determining that the QR code of the target vehicle is in a defaced state and generating a QR code maintenance work order for it, the present invention continues to accept the light intensity information continuously uploaded by the target vehicle. If it is found that the light intensity information of the target vehicle is continuously within the normal light intensity range within the first time period, it means that the QR code of the target vehicle has been restored to a normal state (i.e., an undefaced state), and the QR code maintenance work order can be automatically closed. Through this operation, it is possible to automatically supervise and check whether the operation and maintenance personnel have completed the repair work of the QR code of the target vehicle.
[0104] Figure 2 : is a schematic diagram of the structure of the automatic identification device for two-dimensional code damage provided by the present invention, such as Figure 2 As shown, it mainly includes a data receiving unit 1 and an information processing unit 2, wherein:
[0105] The data receiving unit 1 is mainly used to receive the light intensity information reported by the target vehicle, and the light intensity information is collected by a photosensitive device arranged on the back of the QR code on the target vehicle;
[0106] The information processing unit 2 is mainly used to determine the contamination state of the two-dimensional code on the target vehicle according to the light intensity information and the light intensity reference value.
[0107] It should be noted that the device for automatically identifying a damaged QR code provided in an embodiment of the present invention can execute the method for automatically identifying a damaged QR code described in any of the above embodiments during specific operation, which will not be elaborated in this embodiment.
[0108] The automatic identification method for QR code contamination provided by the present invention can determine that the QR code of a target vehicle with abnormal light intensity information is contaminated by automatically collecting and analyzing the light intensity information of the QR code on any target vehicle. It has a high degree of automation and can effectively improve the accuracy of inspection and monitoring of QR code contamination, and greatly reduces the investment in manpower and material resources, thereby reducing the operating costs of the companies to which the shared vehicles belong.
[0109] Based on the content of the above embodiment, as an optional embodiment, the present invention also provides another method for automatically identifying a damaged QR code, the execution subject of which is a vehicle-mounted ECU, mainly including but not limited to the following contents:
[0110] Reporting the light intensity information to the management platform, so that the management platform can determine the defacement state of the QR code on the target vehicle according to the light intensity information and the light intensity reference value;
[0111] The light intensity information is collected by a photosensitive device arranged on the back of the QR code on the target vehicle.
[0112] The method for automatically identifying a damaged QR code provided by the present invention, when in operation, cooperates with the management platform in the above embodiments, and can jointly execute the method for automatically identifying a damaged QR code described in any of the above embodiments, which will not be elaborated in this embodiment.
[0113] The automatic identification method for QR code contamination provided by the present invention can determine that the QR code of a target vehicle with abnormal light intensity information is contaminated by automatically collecting and analyzing the light intensity information of the QR code on any target vehicle. It has a high degree of automation and can effectively improve the accuracy of inspection and monitoring of QR code contamination, and greatly reduces the investment in manpower and material resources, thereby reducing the operating costs of the company to which the shared vehicles belong.
[0114] Based on the contents of the above embodiments, as an optional embodiment, the present invention further provides a shared vehicle, which mainly includes: a target vehicle body.
[0115] An electronic control unit (ECU) and a two-dimensional code are arranged on the target vehicle body; a photosensitive device is arranged on the back of the two-dimensional code to collect light intensity information using the photosensitive device.
[0116] The shared vehicle also includes a memory and a program or instruction stored in the memory and executable on the electronic control unit. When the program or instruction is executed by the electronic control unit, the steps of the method for automatically identifying damaged QR codes provided in any of the above embodiments are performed.
[0117] The shared vehicle may be a bicycle, a motorcycle, an electric vehicle, or a motor vehicle, which is not specifically limited in the present invention.
[0118] The shared vehicle provided by the present invention can determine whether the QR code is damaged when the light intensity information is abnormal by automatically collecting and analyzing the light intensity information transmitted through the QR code. It has a high degree of automation and can effectively improve the accuracy of inspection and monitoring of QR code damage, and greatly reduces the investment in manpower and material resources, thereby reducing the operating costs of the companies to which the shared vehicles belong.
[0119] Figure 3 is a schematic diagram of the structure of the electronic device provided by the present invention, such as Figure 3As shown, the electronic device may include: a processor 310, a communication interface 320, a memory 330 and a communication bus 340, wherein the processor 310, the communication interface 320 and the memory 330 communicate with each other through the communication bus 340. The processor 310 may call the logic instructions in the memory 330 to execute the automatic identification method for two-dimensional code contamination, the method comprising: receiving light intensity information reported by the target vehicle, the light intensity information being collected by a photosensitive device disposed on the back of the two-dimensional code on the target vehicle; determining the contamination state of the two-dimensional code on the target vehicle according to the light intensity information and the light intensity reference value.
[0120] In addition, the logic instructions in the above-mentioned memory 330 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.
[0121] On the other hand, the present invention also provides a computer program product, which includes a computer program stored on a non-transitory computer-readable storage medium, and the computer program includes program instructions. When the program instructions are executed by a computer, the computer can execute the two-dimensional code damage automatic identification method provided by the above-mentioned methods, and the method includes: receiving light intensity information reported by a target vehicle, the light intensity information is collected by a photosensitive device arranged on the back of the two-dimensional code on the target vehicle; determining the damage state of the two-dimensional code on the target vehicle based on the light intensity information and the light intensity reference value.
[0122] On the other hand, the present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, it is implemented to execute the method for automatically identifying defaced QR codes provided in the above-mentioned embodiments, the method comprising: receiving light intensity information reported by a target vehicle, the light intensity information being collected by a photosensitive device disposed on the back of the QR code on the target vehicle; determining the defacement state of the QR code on the target vehicle based on the light intensity information and a light intensity reference value.
[0123] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.
[0124] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.
[0125] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A method for automatically identifying a damaged QR code, characterized in that: include: Receiving light intensity information reported by a target vehicle, wherein the light intensity information is collected by a photosensitive device disposed on the back of a QR code on the target vehicle; Determining the contamination state of the QR code on the target vehicle according to the light intensity information and the light intensity reference value; Before determining the defacement state of the QR code on the target vehicle according to the light intensity information and the light intensity reference value, the method further includes: determining the current position information of the target vehicle; obtaining light intensity information reported by a plurality of other vehicles within a first preset range with the current position information as the center; calculating the average value of the light intensity information reported by the plurality of other vehicles to determine the light intensity reference value; The determining the defacement state of the QR code on the target vehicle according to the light intensity information and the light intensity reference value includes: determining the maximum light intensity threshold and the minimum light intensity threshold in real time according to the light intensity reference value to construct a normal light intensity interval; if the light intensity information is continuously within the normal light intensity interval within a first time period, determining the defacement state as an undefaced state; if the light intensity information is continuously outside the normal light intensity interval within the first time period, determining the defacement state as a defaced state; If, within the first time period, the light intensity information is continuously outside the normal light intensity range, the damaged state is determined to be a damaged state, specifically including: if, within the first time period, the light intensity information is continuously less than the minimum light intensity threshold, the damaged state is determined to be that the QR code on the target vehicle is covered by pollutants; if, within the first time period, the light intensity information is continuously greater than the maximum light intensity threshold, the damaged state is determined to be that the QR code on the target vehicle is damaged.
2. The method for automatically identifying a damaged QR code according to claim 1, characterized in that: Also includes: Determine the system order duration of each vehicle within a second preset range within a second duration according to the current location information of the target vehicle; The average duration of the system order time of each of the vehicles is calculated to determine the first duration.
3. The method for automatically identifying contaminated two-dimensional codes according to claim 1, characterized in that: After determining that the defacement state is the defaced state, the method further includes: Generate a QR code maintenance work order related to the target vehicle.
4. The method for automatically identifying contaminated two-dimensional codes according to claim 3, characterized in that: After the QR code maintenance work order is generated, the following steps are also included: Continuously obtaining light intensity information reported by the target vehicle; If the light intensity information is continuously within the normal light intensity range within the first time period, the QR code maintenance work order is automatically closed.
5. A device for automatically identifying damaged QR codes, characterized in that: include: A data receiving unit, used to receive light intensity information reported by a target vehicle, wherein the light intensity information is collected by a photosensitive device disposed on the back of a QR code on the target vehicle; An information processing unit, used to determine the defacement state of the two-dimensional code on the target vehicle according to the light intensity information and the light intensity reference value; The two-dimensional code defacement automatic identification device is further used to determine the current position information of the target vehicle before determining the defacement state of the two-dimensional code on the target vehicle according to the light intensity information and the light intensity reference value; obtain the light intensity information reported by multiple other vehicles within a first preset range with the current position information as the center; calculate the average value of the light intensity information reported by the multiple other vehicles to determine the light intensity reference value; The information processing unit is further used to determine the maximum light intensity threshold and the minimum light intensity threshold in real time according to the light intensity reference value, so as to construct a normal light intensity interval; If the light intensity information is continuously within the normal light intensity interval within the first time period, determining that the defacement state is an undefacement state; If the light intensity information is continuously outside the normal light intensity interval within the first time period, determining that the defacement state is a defaced state; The information processing unit is further configured to determine that the contaminated state is that the QR code on the target vehicle is covered by a pollutant if the light intensity information is continuously less than the light intensity minimum threshold value within the first time period; If within the first time period, the light intensity information is continuously greater than the maximum light intensity threshold, it is determined that the defaced state is that the QR code on the target vehicle is damaged.
6. A method for automatically identifying a damaged QR code, characterized in that: include: Reporting the light intensity information to the management platform, so that the management platform can determine the defacement state of the QR code on the target vehicle according to the light intensity information and the light intensity reference value; The light intensity information is collected by a photosensitive device disposed on the back of the QR code on the target vehicle; The light intensity reference value is determined by the following steps before determining the defacement state of the QR code on the target vehicle based on the light intensity information and the light intensity reference value: determining the current position information of the target vehicle; obtaining light intensity information reported by multiple other vehicles within a first preset range with the current position information as the center; calculating the average value of the light intensity information reported by the multiple other vehicles to determine the light intensity reference value; The determining the defacement state of the QR code on the target vehicle according to the light intensity information and the light intensity reference value includes: determining the maximum light intensity threshold and the minimum light intensity threshold in real time according to the light intensity reference value to construct a normal light intensity interval; if the light intensity information is continuously within the normal light intensity interval within a first time period, determining the defacement state as an undefaced state; if the light intensity information is continuously outside the normal light intensity interval within the first time period, determining the defacement state as a defaced state; If, within the first time period, the light intensity information is continuously outside the normal light intensity range, the damaged state is determined to be a damaged state, specifically including: if, within the first time period, the light intensity information is continuously less than the minimum light intensity threshold, the damaged state is determined to be that the QR code on the target vehicle is covered by pollutants; if, within the first time period, the light intensity information is continuously greater than the maximum light intensity threshold, the damaged state is determined to be that the QR code on the target vehicle is damaged.
7. A shared vehicle, characterized in that: It includes a target vehicle body, on which an electronic control unit and a two-dimensional code are arranged; a photosensitive device is arranged on the back of the two-dimensional code, so as to collect light intensity information by using the photosensitive device; It also includes a memory and a program or instruction stored in the memory and executable on the electronic control unit, wherein the program or instruction, when executed by the electronic control unit, executes the steps of the method for automatically identifying damaged two-dimensional codes as described in claim 6.
Citation Information
Patent Citations
Two-dimensional code abnormality identification method, device and system and shared bicycle
CN107463863A
Two-dimensional code device and shared bicycle
CN110378458A