






技术领域technical field
本申请涉及采购流程技术的领域,尤其是涉及一种管件采购申请方法、系统、存储介质及智能终端。The present application relates to the field of procurement process technology, in particular to a method, system, storage medium and intelligent terminal for procurement of pipe fittings.
背景技术Background technique
管业是对各管件进行生产销售的行业,其中所生产的管件有部分通过各小管件进行焊接以形成,由于管件参数、型号、供应商的不同,厂商可根据实际需求以对相关产品进行购买。The pipe industry is an industry that produces and sells various pipe fittings. Some of the pipe fittings produced are formed by welding small pipe fittings. Due to the differences in pipe fitting parameters, models and suppliers, manufacturers can purchase related products according to actual needs. .
相关技术中,随着现代科技的发展,管件材料的购买一般通过软件下单的形式完成,采购人员登录对应的购买平台,再根据购买平台所提供的产品目录以确定需求产品与产品数量,最后再进行线上下单即可完成订单的下达,实现产品的购买。In related technologies, with the development of modern technology, the purchase of pipe fitting materials is generally completed by placing an order through software. The purchasing personnel log in to the corresponding purchasing platform, and then determine the required products and product quantities according to the product catalog provided by the purchasing platform. Finally, Then place an online order to complete the order and realize the purchase of the product.
针对上述中的相关技术,发明人认为现有的产品目录一般都由购买平台进行产品排序,采购人员需要从目录中不断翻找以选取所需的产品,不同的采购人员需求不一致,从而导致采购人员购买体验较差,尚有改进空间。In view of the above-mentioned related technologies, the inventor believes that the existing product catalogs are generally sorted by the purchasing platform, and the purchasing personnel need to search through the catalog to select the required products. Different purchasing personnel have inconsistent requirements, which leads to purchasing The personnel purchasing experience is poor, and there is still room for improvement.
发明内容SUMMARY OF THE INVENTION
为了提高采购人员的购买体验,本申请提供一种管件采购申请方法、系统、存储介质及智能终端。In order to improve the purchasing experience of purchasing personnel, the present application provides a method, system, storage medium and intelligent terminal for purchasing a pipe fitting.
第一方面,本申请提供一种管件采购申请方法,采用如下的技术方案:In the first aspect, the present application provides a method for applying for procurement of pipe fittings, which adopts the following technical solutions:
一种管件采购申请方法,包括:A pipe fitting purchase application method, comprising:
获取用户账号信息与当前时间信息;Obtain user account information and current time information;
根据预设订单数据库中所存储的用户账号信息与历史订单信息进行分析匹配以确定用户账号信息所对应的历史订单信息,历史订单信息包括采购时间信息以及采购材料信息;Analyze and match the user account information stored in the preset order database with the historical order information to determine the historical order information corresponding to the user account information, and the historical order information includes procurement time information and procurement material information;
根据当前时间信息与采购时间信息计算以确定间隔时长信息;Calculate according to current time information and purchase time information to determine interval duration information;
判断间隔时长信息所对应的时长是否大于所预设的阈值时长;Determine whether the duration corresponding to the interval duration information is greater than the preset threshold duration;
若间隔时长信息所对应的时长大于阈值时长,则定义该历史订单信息所对应的订单为无效订单;If the duration corresponding to the interval duration information is greater than the threshold duration, define the order corresponding to the historical order information as an invalid order;
若间隔时长信息所对应的时长不大于阈值时长,则定义该历史订单信息所对应的订单为有效订单;If the duration corresponding to the interval duration information is not greater than the threshold duration, define the order corresponding to the historical order information as a valid order;
于有效订单与无效订单中根据采购材料信息以确定单品种类信息以及单品总量信息;In the valid order and the invalid order, the information of the item type and the total quantity of the item is determined according to the purchased material information;
根据所预设的排序规则以及单品总量信息所对应的数量值以对单品种类信息所对应的管件种类于预设产品目录中进行排序。According to the preset sorting rule and the quantity value corresponding to the total quantity information of the single product, the pipe fitting types corresponding to the single product type information are sorted in the preset product catalog.
通过采用上述技术方案,先获取用户的账户,以根据账号情况于数据库中匹配出对应的历史订单,再对历史订单进行筛选以确定出数据具有一定参考值的订单,将该订单定义为有效订单以进行单品种类和单品数量的计算,从而可确定出该用户购买数量最多的单品种类情况,使得产品目录能根据用户的历史购买情况以进行调整,从而使得用户购买量较多的管件能向前排序,以便于采购人员进行选购,提高了采购人员的购买体验。By adopting the above technical solution, the user's account is obtained first to match the corresponding historical orders in the database according to the account status, and then the historical orders are screened to determine the order whose data has a certain reference value, and the order is defined as a valid order In order to calculate the single product category and single product quantity, it can determine the single product category that the user purchases the most, so that the product catalog can be adjusted according to the user's historical purchase situation, so that the user purchases more pipe fittings It can be sorted forward to facilitate purchasers to make purchases and improve the purchase experience of purchasers.
可选的,于有效订单与无效订单中,单品种类信息以及单品总量信息的确定方法包括:Optionally, in the valid order and the invalid order, the method for determining the item type information and the item total quantity information includes:
根据有效订单计数以确定有效数量信息,并根据无效订单计数以确定无效数量信息;The valid quantity information is determined according to the valid order count, and the invalid quantity information is determined according to the invalid order count;
判断有效数量信息所对应的数量值是否大于零;Determine whether the quantity value corresponding to the valid quantity information is greater than zero;
若有效数量信息所对应的数量值大于零,则于有效订单中确定单品种类信息以及单品总量信息;If the quantity value corresponding to the valid quantity information is greater than zero, determine the item type information and the item total quantity information in the valid order;
若有效数量信息所对应的数量值不大于零,则判断无效数量信息所对应的数量值是否大于零;If the quantity value corresponding to the valid quantity information is not greater than zero, determine whether the quantity value corresponding to the invalid quantity information is greater than zero;
若无效数量信息所对应的数量值大于零,则于无效订单中确定单品种类信息以及单品总量信息;If the quantity value corresponding to the invalid quantity information is greater than zero, the item type information and the item total quantity information will be determined in the invalid order;
若无效数量信息所对应的数量值不大于零,则控制产品目录以预设固定排序情况进行排序。If the quantity value corresponding to the invalid quantity information is not greater than zero, the product catalog is controlled to be sorted according to the preset fixed sorting situation.
通过采用上述技术方案,可判断是否存在数据较有参考价值的订单,在没有该类订单的情况下,于数据较没参考价值的订单中去确定单品种类信息以及单品总量信息,以能实现对产品目录的排序,尽可能的提高采购人员购买体验,在没有历史订单的情况下,根据提前设定的排序情况对产品目录进行排序,以使采购人员能正常对管件进行选取采购。By adopting the above technical solution, it is possible to determine whether there is an order with relatively valuable data. If there is no such order, the information on the category of the single product and the total amount of the single product can be determined in the order with less valuable data. It can sort the product catalogue and improve the purchasing experience of the purchasers as much as possible. In the absence of historical orders, the product catalogues are sorted according to the sorting situation set in advance, so that the purchasers can select and purchase the pipe fittings normally.
可选的,还包括:Optionally, also include:
获取预设购物车的产品添加情况信息;Get the product addition information of the preset shopping cart;
判断产品添加情况信息所对应的情况是否与所预设的添加情况一致;Determine whether the situation corresponding to the product addition situation information is consistent with the preset addition situation;
若产品添加情况信息所对应的情况与添加情况不一致,则维持原状态;If the situation corresponding to the product addition situation information is inconsistent with the addition situation, the original state will be maintained;
若产品添加情况信息所对应的情况与添加情况一致,则获取添加种类信息,且激活所预设的语音识别装置并控制所预设的固定时长开始倒数计时;If the situation corresponding to the product addition situation information is consistent with the addition situation, obtain the addition type information, activate the preset voice recognition device, and control the preset fixed duration to start the countdown;
判断固定时长倒数计时归零前是否接收到所预设的数值转化信号;Determine whether the preset value conversion signal is received before the fixed-time countdown timer returns to zero;
若固定时长倒数计时归零前接收到数值转化信号,则根据数值转化信号以控制语音识别装置识别分析以确定添加数量信息,并根据添加数量信息以对添加种类信息所对应的管件种类进行添加;If the numerical conversion signal is received before the fixed time countdown resets to zero, the voice recognition device is controlled to identify and analyze according to the numerical conversion signal to determine the added quantity information, and according to the added quantity information, the pipe fitting type corresponding to the added type information is added;
若固定时长倒数计时归零前未接收到数值转化信号,则控制语音识别装置关闭并输出语音异常信号。If the numerical conversion signal is not received before the fixed time countdown resets to zero, the voice recognition device is controlled to be turned off and a voice abnormal signal is output.
通过采用上述技术方案,对购物车的产品添加情况进行判断,以在用户将产品添加至购物车时能激活语音识别装置,当语音识别装置接收到用户所输入的数值转化信号时,可使购物车内的产品进行数值上的变化,从而使用户可通过语音的方式对添加至购物车中的产品进行数量选择,便于采购人员进行产品采购,进一步提高采购人员采购体验。By adopting the above technical solution, the situation of adding products to the shopping cart is judged, so that the voice recognition device can be activated when the user adds products to the shopping cart. The value of the products in the cart changes, so that the user can select the quantity of the products added to the shopping cart by voice, which is convenient for the purchaser to purchase products, and further improves the purchaser's purchasing experience.
可选的,于语音异常信号输出后,管件添加的方法包括:Optionally, after the abnormal voice signal is output, the method for adding pipe fittings includes:
获取人员选择信息;Obtain personnel selection information;
判断人员选择信息所对应的选择情况是否与所预设的填写情况一致;Determine whether the selection situation corresponding to the personnel selection information is consistent with the preset filling situation;
若人员选择信息所对应的选择情况与填写情况一致,则控制页面切换至所预设的填写页面;If the selection situation corresponding to the personnel selection information is consistent with the filling situation, the control page switches to the preset filling page;
若人员选择信息所对应的选择情况与填写情况不一致,则将添加种类信息所对应的管件种类于购物车中移除。If the selection situation corresponding to the personnel selection information is inconsistent with the filling situation, the pipe fitting type corresponding to the added type information will be removed from the shopping cart.
通过采用上述技术方案,在产品添加至购物车中而未在规定时间内进行语音输入时,可通过用户选择的情况以确定是否进行手动填写,从而使用户在不便于语音的地点也能进行采购。By adopting the above technical solution, when a product is added to the shopping cart and the voice input is not performed within the specified time, it can be determined whether to manually fill in the product according to the user's choice, so that the user can also make purchases in places where voice is inconvenient. .
可选的,还包括:Optionally, also include:
获取购物车中的产品种类信息;Get the product category information in the shopping cart;
于历史订单信息所对应的订单中确定包含产品种类信息所对应种类的订单,并将该订单定义为相似订单;Determine the order corresponding to the product category information in the order corresponding to the historical order information, and define the order as a similar order;
根据相似订单的采购材料信息以确定相似集成种类信息;Determine similar integration type information according to the procurement material information of similar orders;
将相似集成种类信息所对应的种类中不为产品种类信息所对应种类的管件种类定义为关联种类,并于产品目录中将关联种类进行关联标识。The types of pipe fittings that are not corresponding to the product type information among the types corresponding to the similar integrated type information are defined as associated types, and the associated types are associated and identified in the product catalog.
通过采用上述技术方案,在采购过程中,根据购物车中所添加的产品种类情况以确定出历史订单中具有相同种类的订单,以确定出历史订单中除此时以添加至购物车中的产品以外,还确定出与此时购物车中的产品种类同时购买的其他产品种类,以进行关联标识,对采购人员进行提示,以便于采购人员进行购买,减少采购人员购买过程中出现遗漏的情况。By adopting the above technical solution, in the purchasing process, the orders with the same type in the historical orders are determined according to the product types added in the shopping cart, so as to determine the products added to the shopping cart in the historical orders except this time In addition, other product types that are purchased at the same time as the product type in the shopping cart at this time are also determined for associated identification, and prompts are given to purchasers to facilitate purchases by purchasers and reduce omissions in the purchase process of purchasers.
可选的,还包括:Optionally, also include:
获取订单完成情况信息;Obtain order completion information;
判断订单完成情况信息所对应的情况是否与所预设的下单情况一致;Determine whether the situation corresponding to the order completion information is consistent with the preset order situation;
若订单完成情况信息所对应的情况与下单情况不一致,则维持原状态;If the status corresponding to the order completion status information is inconsistent with the order status, the original status will be maintained;
若订单完成情况信息所对应的情况与下单情况一致,则获取当前订单信息,当前订单信息包括订单种类信息以及相对应的单品数量信息;If the situation corresponding to the order completion information is consistent with the order placement situation, obtain the current order information, which includes the order type information and the corresponding single product quantity information;
于有效订单中确定订单种类信息所对应的管件种类,并根据该管件种类以确定单品均值;Determine the type of pipe fittings corresponding to the order type information in the valid order, and determine the average value of the single product according to the type of pipe fittings;
根据单品均值以及预设基准倍数以确定最大数量阈值;Determine the maximum quantity threshold based on the average value of the single product and the preset benchmark multiple;
判断单品数量信息所对应的数量值是否大于最大数量阈值;Determine whether the quantity value corresponding to the single product quantity information is greater than the maximum quantity threshold;
若单品数量信息所对应的数量值大于最大数量阈值,则输出订单确认信号;If the quantity value corresponding to the single product quantity information is greater than the maximum quantity threshold, an order confirmation signal will be output;
若单品数量信息所对应的数量值不大于最大数量阈值,则输出订单完成信号。If the quantity value corresponding to the single product quantity information is not greater than the maximum quantity threshold, the order completion signal is output.
通过采用上述技术方案,在订单下单过程中,可对订单产品种类以及相对应的数量进行监控,通过有效订单以确定出各产品的阈值,当此时所下单的数量值大于阈值时,有可能存在用户输入数量错误的情况,此时可输出订单确定信号以对该情况进行标识,以使采购人员得知该情况,以便于后续采购人员对该情况进行处理。By adopting the above technical solution, in the process of placing an order, the type of the order product and the corresponding quantity can be monitored, and the threshold value of each product can be determined through the valid order. When the quantity value placed at this time is greater than the threshold value, There may be an error in the quantity input by the user. In this case, an order confirmation signal can be output to identify the situation, so that the purchasing personnel can know the situation, so that the subsequent purchasing personnel can deal with the situation.
可选的,于订单确认信号输出后,订单审核的方法包括:Optionally, after the order confirmation signal is output, the method of order review includes:
获取人员确定信息;Obtain personnel identification information;
判断人员确定信息所对应的确定情况是否与所预设的正确情况一致;Whether the determination situation corresponding to the information determined by the judge is consistent with the preset correct situation;
若人员确定信息所对应的确定情况与正确情况一致,则输出订单完成信号;If the confirmed situation corresponding to the confirmed information is consistent with the correct situation, the order completion signal will be output;
若人员确定信息所对应的确定情况与正确情况不一致,则控制页面切换至填写页面以进行数值修正。If the determination situation corresponding to the personnel determination information is inconsistent with the correct situation, the control page switches to the filling page for numerical correction.
通过采用上述技术方案,在出现订单数量异常时,可获取人员确定信息,以使采购人员能通过自身的判断以确定是否数量采购出现错误,当采购人员所输入的情况为出现错误时,可将页面重新切换至数量填写的页面以对数值进行修正,便于采购人员对数量错误的产品进行及时修改。By adopting the above technical solution, when the order quantity is abnormal, the personnel determination information can be obtained, so that the purchaser can determine whether there is an error in the quantity purchase through his own judgment. The page is switched back to the page filled in by the quantity to correct the value, which is convenient for purchasers to modify the product with the wrong quantity in time.
第二方面,本申请提供一种管件采购申请系统,采用如下的技术方案:In the second aspect, the application provides a pipe fitting procurement application system, which adopts the following technical solutions:
一种管件采购申请系统,包括:A pipe fitting purchase application system, comprising:
获取模块,用于获取用户账号信息与当前时间信息;The acquisition module is used to acquire user account information and current time information;
处理模块,与获取模块和判断模块连接,用于信息的存储和处理;The processing module is connected with the acquisition module and the judgment module, and is used for information storage and processing;
处理模块根据预设订单数据库中所存储的用户账号信息与历史订单信息进行分析匹配以确定用户账号信息所对应的历史订单信息,历史订单信息包括采购时间信息以及采购材料信息;The processing module analyzes and matches the user account information stored in the preset order database and the historical order information to determine the historical order information corresponding to the user account information, and the historical order information includes procurement time information and procurement material information;
处理模块根据当前时间信息与采购时间信息计算以确定间隔时长信息;The processing module calculates according to the current time information and the procurement time information to determine the interval duration information;
判断模块,用于判断间隔时长信息所对应的时长是否大于所预设的阈值时长;a judgment module for judging whether the duration corresponding to the interval duration information is greater than the preset threshold duration;
若判断模块判断出间隔时长信息所对应的时长大于阈值时长,则处理模块定义该历史订单信息所对应的订单为无效订单;If the judgment module judges that the duration corresponding to the interval duration information is greater than the threshold duration, the processing module defines the order corresponding to the historical order information as an invalid order;
若判断模块判断出间隔时长信息所对应的时长不大于阈值时长,则处理模块定义该历史订单信息所对应的订单为有效订单;If the judgment module judges that the duration corresponding to the interval duration information is not greater than the threshold duration, the processing module defines the order corresponding to the historical order information as a valid order;
处理模块于有效订单与无效订单中根据采购材料信息以确定单品种类信息以及单品总量信息;The processing module determines the information of the item type and the total quantity of the item according to the purchased material information in the valid order and the invalid order;
处理模块根据所预设的排序规则以及单品总量信息所对应的数量值以对单品种类信息所对应的管件种类于预设产品目录中进行排序。The processing module sorts the pipe fitting types corresponding to the single item type information in the preset product catalog according to the preset sorting rule and the quantity value corresponding to the single item total amount information.
通过采用上述技术方案,先通过获取模块获取用户的账户,以使处理模块根据账号情况于数据库中匹配出对应的历史订单,处理模块再对历史订单进行筛选以确定出数据具有一定参考值的订单,将该订单定义为有效订单以进行单品种类和单品数量的计算,从而处理模块可确定出该用户购买数量最多的单品种类情况,使得产品目录能根据用户的历史购买情况以进行调整,从而使得用户购买量较多的管件能向前排序,以便于采购人员进行选购,提高了采购人员的购买体验。By adopting the above technical solution, the user's account is first obtained through the acquisition module, so that the processing module matches the corresponding historical orders in the database according to the account conditions, and then the processing module filters the historical orders to determine the orders whose data has a certain reference value , define the order as a valid order to calculate the item type and item quantity, so that the processing module can determine the item type that the user has purchased the most, so that the product catalog can be adjusted according to the user's historical purchases , so that the pipe fittings purchased by users can be sorted forward, which is convenient for purchasers to make purchases and improves the purchase experience of purchasers.
第三方面,本申请提供一种智能终端,采用如下的技术方案:In the third aspect, the application provides an intelligent terminal, which adopts the following technical solutions:
一种智能终端,包括存储器和处理器,存储器上存储有能够被处理器加载并执行上述任一种管件采购申请方法的计算机程序。An intelligent terminal includes a memory and a processor, and the memory stores a computer program capable of being loaded by the processor and executing any one of the above-mentioned pipe fitting purchase application methods.
通过采用上述技术方案,通过智能终端的使用,先获取用户的账户,以根据账号情况于数据库中匹配出对应的历史订单,再对历史订单进行筛选以确定出数据具有一定参考值的订单,将该订单定义为有效订单以进行单品种类和单品数量的计算,从而可确定出该用户购买数量最多的单品种类情况,使得产品目录能根据用户的历史购买情况以进行调整,从而使得用户购买量较多的管件能向前排序,以便于采购人员进行选购,提高了采购人员的购买体验。By adopting the above technical solution, through the use of the intelligent terminal, the user's account is first obtained to match the corresponding historical orders in the database according to the account situation, and then the historical orders are screened to determine the order with a certain reference value. The order is defined as a valid order to calculate the item type and quantity, so as to determine the item type that the user has purchased the most, so that the product catalog can be adjusted according to the user's historical purchases, so that the user can Pipe fittings with more purchases can be sorted forward, which is convenient for purchasers to make purchases and improves the purchase experience of purchasers.
第四方面,本申请提供一种计算机存储介质,能够存储相应的程序,具有提高采购人员的购买体验的特点,采用如下的技术方案:In a fourth aspect, the present application provides a computer storage medium capable of storing corresponding programs, and has the characteristics of improving the purchasing experience of purchasing personnel, and adopts the following technical solutions:
一种计算机可读存储介质,存储有能够被处理器加载并执行上述任一种管件采购申请方法的计算机程序。A computer-readable storage medium storing a computer program capable of being loaded by a processor and executing any one of the above-mentioned pipe fitting purchase application methods.
通过采用上述技术方案,存储介质中有管件采购申请方法的计算机程序,先获取用户的账户,以根据账号情况于数据库中匹配出对应的历史订单,再对历史订单进行筛选以确定出数据具有一定参考值的订单,将该订单定义为有效订单以进行单品种类和单品数量的计算,从而可确定出该用户购买数量最多的单品种类情况,使得产品目录能根据用户的历史购买情况以进行调整,从而使得用户购买量较多的管件能向前排序,以便于采购人员进行选购,提高了采购人员的购买体验。By adopting the above technical solution, there is a computer program in the storage medium for the pipe fitting purchase application method, first obtain the user's account to match the corresponding historical orders in the database according to the account situation, and then screen the historical orders to determine that the data has certain Order with reference value, define the order as a valid order to calculate the item type and item quantity, so as to determine the item type with the largest number of purchases by the user, so that the product catalog can be based on the user's historical purchases. Adjustment is made so that the pipe fittings purchased by users can be sorted forward, which is convenient for purchasers to make purchases and improves the purchase experience of purchasers.
综上所述,本申请包括以下至少一种有益技术效果:To sum up, the present application includes at least one of the following beneficial technical effects:
1.可根据该账号的历史订单情况以筛选该账号购买数量较多的一些产品,将这些产品于产品目录上靠前排序,以便于用户对其购买,提高采购人员购买体验;1. According to the historical order situation of the account, some products purchased by the account with a large quantity can be screened, and these products can be sorted in the front of the product catalog, so as to facilitate users to purchase them and improve the purchasing experience of purchasers;
2.在产品添加的过程中,可利用语音识别装置以对产品的数量进行选择,提高采购人员购买体验;2. In the process of adding products, the voice recognition device can be used to select the quantity of products, so as to improve the purchasing experience of purchasing personnel;
3.在订单下单的过程中能对数量异常的订单进行判断,以减少订单数量错误下单而造成后续麻烦的情况发生。3. In the process of placing an order, it can judge the order with abnormal quantity, so as to reduce the occurrence of subsequent troubles caused by the wrong order quantity.
附图说明Description of drawings
图1是管件采购申请方法的流程图。Fig. 1 is a flow chart of a method for purchasing a pipe fitting.
图2是历史订单情况确定方法的流程图。FIG. 2 is a flow chart of a method for determining a historical order situation.
图3是单品添加数量输入方法的流程图。Figure 3 is a flow chart of a method for inputting the added quantity of a single product.
图4是单品数量填写方法的流程图。Figure 4 is a flow chart of the method for filling in the quantity of a single product.
图5是单品关联标识方法的流程图。Fig. 5 is a flow chart of a method for identifying a single product associatively.
图6是订单下单异常管理方法的流程图。FIG. 6 is a flow chart of a method for managing an order placing an exception.
图7是管件采购申请方法的模块流程图。Fig. 7 is a block flow diagram of a method for purchasing a pipe fittings.
具体实施方式Detailed ways
为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图1-7及实施例,对本申请进行进一步详细说明。应当理解,此处所描述的具体实施例仅用以解释本申请,并不用于限定本申请。In order to make the objectives, technical solutions and advantages of the present application clearer, the present application will be further described in detail below with reference to the accompanying drawings 1-7 and the embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application, but not to limit the present application.
下面结合说明书附图对本发明实施例作进一步详细描述。The embodiments of the present invention will be described in further detail below with reference to the accompanying drawings.
本申请实施例公开一种管件采购申请方法,在管件购买的过程中,对该账号历史订单情况进行分析以确定出该账号常购买的产品种类,并将该产品种类于产品目录上进行排序调整,以使用户能较为方便的对其进行购买,提高了用户的购买体验。The embodiment of the present application discloses a method for applying for the purchase of pipe fittings. In the process of purchasing pipe fittings, the historical order situation of the account is analyzed to determine the types of products frequently purchased by the account, and the product types are sorted and adjusted on the product catalog. , so that the user can purchase it more conveniently, and the purchase experience of the user is improved.
参照图1,管件采购申请的方法流程包括以下步骤:Referring to Fig. 1, the method flow of a pipe fitting purchase application includes the following steps:
步骤S100:获取用户账号信息与当前时间信息。Step S100: Obtain user account information and current time information.
用户账号信息所对应的账号为当前登录购买平台进行采购的账号,可通过购买平台的后台以获取,为本领域技术人员常规技术手段,不作赘述;当前时间信息所对应的时间为当前设备所处区域的标准时间,例如当前账号所登录的设备处于中国,则时间的标准应为北京时间,设备所处区域可通过锁定IP地址以实现,为本领域技术人员常规技术手段,不作赘述。The account corresponding to the user account information is the account currently logged into the purchase platform for purchase, which can be obtained through the background of the purchase platform, which is a conventional technical means for those skilled in the art, and will not be described in detail; the time corresponding to the current time information is the location of the current device. The standard time of the region, for example, the device logged in by the current account is located in China, the time standard should be Beijing time, and the region where the device is located can be achieved by locking the IP address, which is a conventional technical means for those skilled in the art, and will not be repeated.
步骤S101:根据预设订单数据库中所存储的用户账号信息与历史订单信息进行分析匹配以确定用户账号信息所对应的历史订单信息,历史订单信息包括采购时间信息以及采购材料信息。Step S101: Analyze and match the user account information stored in the preset order database with historical order information to determine historical order information corresponding to the user account information, where the historical order information includes procurement time information and procurement material information.
历史订单信息所对应的订单为用户账号于当前时间信息所对应的时间之间于该购买平台上进行购买的订单,账号的每一次购买订单情况均会存储于订单数据库中,不同账号以及相对应的历史订单情况对订单数据库进行建立,订单数据库的建立情况为本领域技术人员常规技术手段,不作赘述;将用户账号信息输入至订单数据库中时,订单数据库能输出与用户账号信息相匹配的历史订单信息,历史订单信息包括采购时间信息以及采购材料信息,其中采购时间信息所对应的时间为订单生成的时间,采购材料信息所对应的数据包括采购的产品种类以及对应种类的数量值。The order corresponding to the historical order information is the purchase order made by the user account on the purchase platform between the time corresponding to the current time information. Each purchase order of the account will be stored in the order database. The order database is established according to the historical order situation, and the establishment situation of the order database is the conventional technical means of those skilled in the art, which will not be repeated; when the user account information is input into the order database, the order database can output the history matching the user account information. Order information, historical order information includes purchasing time information and purchasing material information, wherein the time corresponding to the purchasing time information is the time when the order is generated, and the data corresponding to the purchasing material information includes the purchased product type and the quantity value of the corresponding type.
步骤S102:根据当前时间信息与采购时间信息计算以确定间隔时长信息。Step S102: Calculate according to the current time information and the purchasing time information to determine the interval duration information.
间隔时长信息所对应的时长为历史订单中的任一订单距离当前时间的时长,通过常规的时间计时以对间隔时长信息进行获取,为本领域技术人员常规技术手段,不作赘述。The duration corresponding to the interval duration information is the duration of any order in the historical order from the current time, and obtaining the interval duration information through conventional time timing is a conventional technical means for those skilled in the art, and will not be repeated.
步骤S103:判断间隔时长信息所对应的时长是否大于所预设的阈值时长。Step S103: Determine whether the duration corresponding to the interval duration information is greater than a preset threshold duration.
阈值时长为定值,为工作人员所认定的订单数据具有一定参考价值的最大时长,具体数值由工作人员根据实际情况进行设定,不作赘述;判断的目的是为了对不同订单进行区分,以得知订单中所存储的数据是否对当前用户购物具有参考价值。The threshold duration is a fixed value, which is the maximum duration determined by the staff that the order data has a certain reference value. The specific value is set by the staff according to the actual situation and will not be repeated; the purpose of the judgment is to distinguish different orders, so as to obtain Know whether the data stored in the order has reference value for the current user's shopping.
步骤S1031:若间隔时长信息所对应的时长大于阈值时长,则定义该历史订单信息所对应的订单为无效订单。Step S1031 : if the duration corresponding to the interval duration information is greater than the threshold duration, define the order corresponding to the historical order information as an invalid order.
当间隔时长信息所对应的时长大于阈值时长时,说明该订单所生成的时间距离当前时间较长,该订单上所记录的订单信息未具有一定的参考性,此时将该历史订单信息所对应的订单定义为无效订单进行标识,以便于后续对该订单进行调用分析。When the duration corresponding to the interval duration information is greater than the threshold duration, it means that the time generated by the order is longer than the current time, and the order information recorded on the order does not have a certain reference. The order is defined as an invalid order to be identified, so as to facilitate the subsequent analysis of the order.
步骤S1032:若间隔时长信息所对应的时长不大于阈值时长,则定义该历史订单信息所对应的订单为有效订单。Step S1032: If the duration corresponding to the interval duration information is not greater than the threshold duration, define the order corresponding to the historical order information as a valid order.
当间隔时长信息所对应的时长不大于阈值时长时,说明该订单所生成的时间距离当前时间较短,用户的购买习惯等均不易出现明显变化,该订单上所记录的订单信息具有一定的参考性,此时将该历史订单信息所对应的订单定义为有效订单进行标识,以便于后续对该订单进行调用分析。When the duration corresponding to the interval duration information is not greater than the threshold duration, it means that the time when the order was generated is relatively short from the current time, the user's purchasing habits are not likely to change significantly, and the order information recorded on the order has certain reference. At this time, the order corresponding to the historical order information is defined as a valid order for identification, so as to facilitate the subsequent analysis of the order.
步骤S104:于有效订单与无效订单中根据采购材料信息以确定单品种类信息以及单品总量信息。Step S104: Determine the item type information and the item total amount information according to the purchased material information in the valid order and the invalid order.
单品种类信息所对应的管件种类为历史订单中所出现的管件种类,该种类情况可以为有效订单中管件的种类情况,也乐意为无效订单中的管件种类情况,具体情况由工作人员根据实际情况进行设定,不作赘述;单品总量信息所对应的数量值为各种类管件于历史订单中的数量值,该数量值可以为有效订单中管件的数量值,也可以为无效订单中管件的数量值,具体情况由工作人员根据实际情况进行设定,不作赘述。The type of pipe fittings corresponding to the single type information is the type of pipe fittings that appear in the historical order. This type of situation can be the type of pipe fittings in the valid order, or the type of pipe fittings in the invalid order. The specific situation is determined by the staff according to the actual situation. The quantity value corresponding to the total information of the single product is the quantity value of various types of pipe fittings in the historical order, and the quantity value can be the quantity value of the pipe fittings in the valid order, or the quantity value of the pipe fittings in the invalid order. The number of pipe fittings, the specific situation is set by the staff according to the actual situation, and will not be repeated.
步骤S105:根据所预设的排序规则以及单品总量信息所对应的数量值以对单品种类信息所对应的管件种类于预设产品目录中进行排序。Step S105: Sort the pipe fitting types corresponding to the single item type information in the preset product catalog according to the preset sorting rule and the quantity value corresponding to the single item total quantity information.
产品目录为供采购人员进行产品选取的目录,排序规则为能对数量大小进行排序的方法,例如冒泡法,根据排序规则可对单品总量信息所对应的数量值进行排序,从而可根据数量排序以确定对应的管件种类,以使相对应的产品能够进行排序,例如产品目录由上至下包括A、B、C、D、E五款产品,其中单品种类信息所对应的管件种类包括B、D、E,且B、D、E的数量值由大到下依次为D、E、B,则产品目录经过排序调整后由上至下依次为D、E、B、A、C,从而使用户购买过的产品能较为靠前,以使用户再次购买时无需上下翻找,提高了采购人员的购买体验。The product catalog is a catalog for purchasers to select products, and the sorting rule is a method that can sort the quantity, such as the bubble method. Quantity sorting to determine the corresponding types of pipe fittings, so that the corresponding products can be sorted. For example, the product catalog includes five products A, B, C, D, and E from top to bottom, and the type of pipe fittings corresponding to the single type information Including B, D, E, and the quantity value of B, D, E is D, E, B in order from large to bottom, then the product catalog is sorted and adjusted from top to bottom in order of D, E, B, A, C , so that the products purchased by the user can be brought forward, so that the user does not need to search up and down when purchasing again, which improves the purchasing experience of the purchasing staff.
参照图2,于有效订单与无效订单中,单品种类信息以及单品总量信息的确定方法包括:Referring to FIG. 2 , in the valid order and the invalid order, the method for determining the item type information and the item total quantity information includes:
步骤S200:根据有效订单计数以确定有效数量信息,并根据无效订单计数以确定无效数量信息。Step S200: Determine the valid quantity information according to the count of valid orders, and determine the invalid quantity information according to the count of invalid orders.
有效数量信息所对应的数量值为有效订单的总数值,通过计数以获取,有效数量信息所对应数量值的初始值为零,当检测到一个有效订单时,有效数量信息所对应的数量值进行加一处理;无效数量信息所对应的数量值为无效订单的总数值,获取方法与有效数量信息相同,不作赘述。The quantity value corresponding to the valid quantity information is the total value of the valid order, which is obtained by counting. The initial value of the quantity value corresponding to the valid quantity information is zero. When a valid order is detected, the quantity value corresponding to the valid quantity information is processed. Plus one processing; the value corresponding to the invalid quantity information is the total value of the invalid order, and the acquisition method is the same as that of the valid quantity information, and will not be repeated.
步骤S201:判断有效数量信息所对应的数量值是否大于零。Step S201: Determine whether the quantity value corresponding to the valid quantity information is greater than zero.
判断的目的是为了得知该账号是否存在较有参考意义数据的订单,以便于后续对单品种类信息以及单品总量信息进行确定。The purpose of the judgment is to know whether there is an order with more meaningful data in the account, so as to facilitate the subsequent determination of the item category information and the single item total amount information.
步骤S2011:若有效数量信息所对应的数量值大于零,则于有效订单中确定单品种类信息以及单品总量信息。Step S2011: If the quantity value corresponding to the valid quantity information is greater than zero, determine the item type information and the item total amount information in the valid order.
当有效数量信息所对应的数量值大于零时,说明存在较有参考意义数据的订单,此时的单品种类信息所对应的种类为所有有效订单中产品的种类,单品总量信息所对应的数量值为所有有效订单中各产品的数量值。When the quantity value corresponding to the valid quantity information is greater than zero, it indicates that there is an order with more meaningful data. The type corresponding to the item type information at this time is the type of the product in all valid orders, and the item corresponding to the total quantity information The quantity value of is the quantity value of each product in all active orders.
步骤S2012:若有效数量信息所对应的数量值不大于零,则判断无效数量信息所对应的数量值是否大于零。Step S2012: If the quantity value corresponding to the valid quantity information is not greater than zero, determine whether the quantity value corresponding to the invalid quantity information is greater than zero.
当有效数量信息所对应的数量值不大于零时,说明存不在较有参考意义数据的订单,此时判断的目的是为了得知该账号是否为新账号,以便于后续对产品目录的进一步控制。When the quantity value corresponding to the valid quantity information is not greater than zero, it indicates that there is an order with more meaningful data. The purpose of this judgment is to know whether the account is a new account, so as to facilitate further control of the product catalogue in the future. .
步骤S20121:若无效数量信息所对应的数量值大于零,则于无效订单中确定单品种类信息以及单品总量信息。Step S20121: If the quantity value corresponding to the invalid quantity information is greater than zero, determine the item type information and the item total amount information in the invalid order.
当无效数量信息所对应的数量值大于零时,说明该账号不为新用户且不存在较有参考意义数据的订单,此时利用无效订单对单品种类信息以及单品总量信息进行确定,其中,单品种类信息所对应的种类为所有无效订单中产品的种类,单品总量信息所对应的数量值为所有无效订单中各产品的数量值,以尽可能的对用户购买时提供一定帮助。When the quantity value corresponding to the invalid quantity information is greater than zero, it means that the account is not a new user and there is no order with more meaningful data for reference. Among them, the type corresponding to the single item type information is the type of the product in all invalid orders, and the quantity value corresponding to the single item total amount information is the quantity value of each product in all invalid orders, so as to provide users with certain information when purchasing as much as possible. help.
步骤S20122:若无效数量信息所对应的数量值不大于零,则控制产品目录以预设固定排序情况进行排序。Step S20122: If the quantity value corresponding to the invalid quantity information is not greater than zero, the product catalog is controlled to be sorted according to a preset fixed sorting situation.
当无效数量信息所对应的数量值不大于零时,说明该用户不存在历史订单,即该用户为新用户,此时控制产品目录以提前设定的固定排序情况以对产品进行排序,以使用户能对产品进行正常选取,其中,固定排序情况由工作人员根据实际情况进行设定,不作赘述。When the quantity value corresponding to the invalid quantity information is not greater than zero, it means that the user has no historical orders, that is, the user is a new user. At this time, the product catalog is controlled to sort the products according to the fixed sorting situation set in advance, so that the The user can select the product normally, and the fixed sorting situation is set by the staff according to the actual situation, so it will not be repeated.
参照图3,管件采购申请方法还包括:Referring to Fig. 3, the method of applying for the purchase of pipe fittings further includes:
步骤S300:获取预设购物车的产品添加情况信息。Step S300: Acquire information on the product addition situation of the preset shopping cart.
购物车为产品选购过程中可对产品进行添加的位置,为本领域技术人员常规设置,不作赘述;产品添加情况信息所对应的情况为购物车中产品的添加情况,可通过对购物车中产品的种类数量监控以获取。The shopping cart is the location where products can be added during the product purchase process, which is a routine setting for those skilled in the art and will not be repeated; The number of product types is monitored to obtain.
步骤S301:判断产品添加情况信息所对应的情况是否与所预设的添加情况一致。Step S301: Determine whether the situation corresponding to the product addition situation information is consistent with the preset addition situation.
添加情况为提前设定的购物车中有新的产品进行添加时的情况,判断的目的是为了得知当前是否有新的产品添加至购物车中,以便于后续对购物情况的进一步控制。The addition situation is the situation when a new product is added to the shopping cart set in advance. The purpose of the judgment is to know whether a new product is currently added to the shopping cart, so as to further control the shopping situation in the future.
步骤S3011:若产品添加情况信息所对应的情况与添加情况不一致,则维持原状态。Step S3011: If the situation corresponding to the product addition situation information is inconsistent with the addition situation, the original state is maintained.
当产品添加情况信息所对应的情况与添加情况不一致时,说明此时购物车中未有新的产品添加,维持原状态即可,不进行额外操作。When the situation corresponding to the product addition situation information is inconsistent with the addition situation, it means that there is no new product added in the shopping cart at this time, and the original state can be maintained without additional operations.
步骤S3012:若产品添加情况信息所对应的情况与添加情况一致,则获取添加种类信息,且激活所预设的语音识别装置并控制所预设的固定时长开始倒数计时。Step S3012: If the situation corresponding to the product addition situation information is consistent with the addition situation, acquire the addition type information, activate the preset voice recognition device, and control the preset fixed duration to start the countdown.
当产品添加情况信息所对应的情况与添加情况一致时,说明此时购物车中有新的产品添加,此时需要对所添加的产品进行分析;添加种类信息所对应的产品种类为新添加至购物车中产品种类,语音识别装置为设备中的语音识别功能,为了保护用户的隐私,在初次使用时需要用户同意该购买平台启用语音识别装置,固定时长为定值,为工作人员根据实际情况进行设定,当添加新产品至购物车中时,可激活语音识别装置以对后续购物情况进行控制。When the situation corresponding to the product addition information is consistent with the addition situation, it means that there is a new product added in the shopping cart at this time, and the added product needs to be analyzed at this time; the product type corresponding to the added type information is newly added to For the product types in the shopping cart, the voice recognition device is the voice recognition function in the device. In order to protect the privacy of the user, the user needs to agree to enable the voice recognition device on the purchase platform when using it for the first time. Make settings, when adding a new product to the shopping cart, the voice recognition device can be activated to control the subsequent shopping situation.
步骤S302:判断固定时长倒数计时归零前是否接收到所预设的数值转化信号。Step S302: Determine whether a preset value conversion signal is received before the fixed-time countdown timer returns to zero.
数值转化信号为工作人员所输入的语音,且该语音为包含数值的一段语音,例如“三十”“三十五”等,当出现多个数值时,取第一次识别的数值为准;判断的目的是为了得知在语音识别装置激活后的固定时长内是否有接收到用户语音所输入的数值,以便于后续对添加产品的数量情况进行调整。The numerical conversion signal is the voice input by the staff, and the voice is a piece of voice containing numerical values, such as "thirty", "thirty-five", etc. When there are multiple numerical values, the first recognized value shall prevail; The purpose of the judgment is to know whether the value input by the user's voice is received within a fixed period of time after the voice recognition device is activated, so as to facilitate the subsequent adjustment of the quantity of added products.
步骤S3021:若固定时长倒数计时归零前接收到数值转化信号,则根据数值转化信号以控制语音识别装置识别分析以确定添加数量信息,并根据添加数量信息以对添加种类信息所对应的管件种类进行添加。Step S3021: If the numerical conversion signal is received before the countdown of the fixed duration is reset to zero, then control the voice recognition device to identify and analyze according to the numerical conversion signal to determine the added quantity information, and according to the added quantity information, the pipe fitting type corresponding to the added type information is determined. to add.
当固定时长倒数计时归零前接收到数值转化信号时,说明用户有于固定时长内通过语音输入对应数值,此时通过语音识别装置分析以确定出所需添加的产品的数量,例如工作人员语音包含“三十”,则新添加至购物车中的产品的数量为三十,添加数量信息所对应的数量即添加至购物车中产品的数量,从而使得购物车中新添加管件的数量能根据用户实际需求进行调整,以使得用户能通过语音对数量进行控制,减少用户手动填写麻烦的情况发生。When a value conversion signal is received before the countdown of the fixed duration is reset to zero, it means that the user has input the corresponding value by voice within the fixed duration. At this time, the voice recognition device is used to analyze and determine the number of products to be added, such as the voice of the staff. If "Thirty" is included, the number of products newly added to the shopping cart is thirty, and the quantity corresponding to the added quantity information is the number of products added to the shopping cart, so that the number of newly added pipe fittings in the shopping cart can be calculated according to Adjustments are made according to the actual needs of users, so that users can control the quantity through voice and reduce the trouble of users filling in manually.
步骤S3022:若固定时长倒数计时归零前未接收到数值转化信号,则控制语音识别装置关闭并输出语音异常信号。Step S3022 : if the numerical value conversion signal is not received before the fixed-time countdown timer returns to zero, control the speech recognition device to turn off and output the abnormal speech signal.
当固定时长倒数计时归零前未接收到数值转化信号时,说明在固定时长内未接收到用户所输入的语音,此时控制语音识别装置关闭并输出语音异常信号以对该情况进行标识,以便于后续对该情况进行进一步处理。When the numerical conversion signal is not received before the countdown of the fixed duration is reset to zero, it means that the voice input by the user has not been received within the fixed duration. At this time, the voice recognition device is controlled to turn off and output an abnormal voice signal to identify the situation, so that This situation will be further dealt with in the follow-up.
参照图4,于语音异常信号输出后,管件添加的方法包括:Referring to FIG. 4 , after the abnormal voice signal is output, the method for adding pipe fittings includes:
步骤S400:获取人员选择信息。Step S400: Obtain personnel selection information.
当输出语音异常信号时,说明此时用户未在固定时长内输入对应的语音,需要对该情况进一步分析;人员选择信息所对应的选择情况为采购人员设备上所接收的确认情况。When an abnormal voice signal is output, it means that the user did not input the corresponding voice within a fixed period of time at this time, and the situation needs to be further analyzed; the selection situation corresponding to the personnel selection information is the confirmation received on the equipment of the purchaser.
步骤S401:判断人员选择信息所对应的选择情况是否与所预设的填写情况一致。Step S401: Determine whether the selection situation corresponding to the personnel selection information is consistent with the preset filling situation.
填写情况为提前设定的采购人员所输入的手动填写的情况,判断的目的是为了得知采购人员在语音异常信号输出后是否输入与填写情况一致的信号;可通过在语音异常信号输出后于设备上弹出对话框的方式以实现,对话框中一侧为确定,一侧为取消,当采购人员选择确定时,人员选择信息所对应的选择情况与填写情况一致,当采购人员在规定时间内未选择或选择取消时,人员选择信息所对应的选择情况与填写情况不一致,该方法为本领域技术人员常规技术手段,不作赘述。The filling situation is the manual filling situation entered by the purchasing personnel set in advance. The purpose of judgment is to know whether the purchasing personnel input a signal consistent with the filling situation after the abnormal voice signal is output; This is achieved by popping up a dialog box on the device. One side of the dialog box is OK, and the other side is Cancel. When the purchaser selects OK, the selection status corresponding to the personnel selection information is the same as the filling in the information. When not selected or selected to cancel, the selection situation corresponding to the personnel selection information is inconsistent with the filling situation.
步骤S4011:若人员选择信息所对应的选择情况与填写情况一致,则控制页面切换至所预设的填写页面。Step S4011: If the selection situation corresponding to the personnel selection information is consistent with the filling situation, the control page switches to the preset filling page.
当人员选择信息所对应的选择情况与填写情况一致时,说明此时用户所输入的信号为手动填写情况,此时控制设备上的页面切换至填写页面中,以使用户能进行手动输入产品所采购的对应数量,其中填写页面为提前设定的供用户进行手段输入数值的页面,为本领域技术人员常规技术手段,不作赘述。When the selection situation corresponding to the personnel selection information is consistent with the filling situation, it means that the signal input by the user at this time is the situation of manual filling. At this time, the page on the control device is switched to the filling page, so that the user can manually enter the product information. The corresponding quantity to be purchased, wherein the filling page is a page set in advance for the user to input the numerical value by means, which is a conventional technical means of those skilled in the art, and will not be repeated.
步骤S4012:若人员选择信息所对应的选择情况与填写情况不一致,则将添加种类信息所对应的管件种类于购物车中移除。Step S4012 : If the selection situation corresponding to the personnel selection information is inconsistent with the filling situation, the pipe fitting type corresponding to the added type information is removed from the shopping cart.
当人员选择信息所对应的选择情况与填写情况不一致时,说明此时用户不想通过手动对数值进行填写,有可能为产品添加错误的情况,此时将添加种类信息所对应的管件种类于购物车中移除,以使用户能够正常对产品进行选购。When the selection situation corresponding to the personnel selection information is inconsistent with the filling situation, it means that the user does not want to fill in the value manually at this time, and it is possible to add the wrong product to the product. In this case, the pipe fitting type corresponding to the added type information will be added to the shopping cart. It is removed from the website, so that users can purchase products normally.
参照图5,管件采购申请方法还包括:Referring to FIG. 5 , the method of applying for the purchase of pipe fittings further includes:
步骤S500:获取购物车中的产品种类信息。Step S500: Obtain product category information in the shopping cart.
产品种类信息所对应的产品种类为购物车中已经添加的各产品种类,通过对购物车中现有的产品种类监控以获取,为本领域技术人员常规技术手段,不作赘述。The product category corresponding to the product category information is each product category that has been added in the shopping cart, which is obtained by monitoring the existing product categories in the shopping cart, which is a conventional technical means for those skilled in the art, and will not be repeated.
步骤S501:于历史订单信息所对应的订单中确定包含产品种类信息所对应种类的订单,并将该订单定义为相似订单。Step S501 : Determine an order that includes the category corresponding to the product category information in the order corresponding to the historical order information, and define the order as a similar order.
从历史订单中确定出包含当前购物车中所含有产品种类的订单,以便于后续对用户可能购买的产品进行确定,将该订单定义为相似订单以进行标识,以便于后续对该订单情况进行调用分析;例如,历史订单中有三份订单,分别为A:a、b、c、d;B:a、b、c;C:a、d、e,此时购物车中的产品种类为a、d,则相似订单为A和C。Determine the order containing the product types in the current shopping cart from the historical orders, so as to facilitate the subsequent determination of the products that the user may purchase, and define the order as a similar order for identification, so as to facilitate the subsequent calling of the order situation Analysis; for example, there are three orders in the historical order, A: a, b, c, d; B: a, b, c; C: a, d, e, and the product types in the shopping cart are a, d, then the similar orders are A and C.
步骤S502:根据相似订单的采购材料信息以确定相似集成种类信息。Step S502: Determine similar integration type information according to the purchasing material information of similar orders.
相似集成种类信息所对应的种类为所有相似订单中产品种类集合,以上述举例为例,相似集成种类信息所对应的种类为a、b、c、d、e。The category corresponding to the similar integration category information is the set of product categories in all similar orders. Taking the above example as an example, the categories corresponding to the similar integration category information are a, b, c, d, and e.
步骤S503:将相似集成种类信息所对应的种类中不为产品种类信息所对应种类的管件种类定义为关联种类,并于产品目录中将关联种类进行关联标识。Step S503 : Define a type of pipe fittings that is not a type corresponding to the product type information among the types corresponding to the similar integrated type information as an associated type, and associate the associated type in the product catalog.
关联种类为相似集成种类信息所对应的种类中不为产品种类信息所对应种类的管件种类,以上述举例为例,关联种类为b、c、e,该关联种类为本次所需购买的可能性较大,此时于产品目录中将关联种类进行关联标识,以使用户能较为方便的得知产品情况,便于采购人员于产品目录中选择所需购买的产品,其中关联标识可以为“买过”,标志于产品所处一栏即可。The related types are the types of pipe fittings that are not corresponding to the product type information among the types corresponding to the similar integrated type information. Taking the above example as an example, the related types are b, c, and e, and the related types are the possibility of purchasing this time. At this time, the associated types are associated with identification in the product catalog, so that users can easily know the product status, and it is convenient for purchasers to select the products to be purchased in the product catalog, where the associated identification can be "Buy" "Over", just mark it in the column where the product is located.
参照图6,管件采购申请方法还包括:Referring to FIG. 6 , the method of applying for the purchase of pipe fittings further includes:
步骤S600:获取订单完成情况信息。Step S600: Obtain order completion information.
订单完成情况信息所对应的情况为订单当前所处的情况,通过对订单的状态查询以获取,为本领域技术人员常规技术手段,不作赘述。The situation corresponding to the order completion status information is the current situation of the order, which is obtained by querying the status of the order, which is a conventional technical means for those skilled in the art, and will not be repeated here.
步骤S601:判断订单完成情况信息所对应的情况是否与所预设的下单情况一致。Step S601: Determine whether the situation corresponding to the order completion situation information is consistent with the preset order placing situation.
下单情况为订单处于下单结算状态时的订单情况,判断的目的是为了得知当前订单所处的状态是否处于下单结算状态,以便于后续对订单情况的进一步分析。The order status is the order status when the order is in the order settlement status. The purpose of the judgment is to know whether the current order status is in the order settlement status, so as to facilitate the further analysis of the order status.
步骤S6011:若订单完成情况信息所对应的情况与下单情况不一致,则维持原状态。Step S6011: If the situation corresponding to the order completion situation information is inconsistent with the order placing situation, the original state is maintained.
当订单完成情况信息所对应的情况与下单情况不一致时,说明此时的订单不处于下单结算状态,此时无需对该订单进行额外操作,维持原状态即可。When the situation corresponding to the order completion information is inconsistent with the order situation, it means that the order at this time is not in the order settlement state, and there is no need to perform additional operations on the order at this time, and the original state can be maintained.
步骤S6012:若订单完成情况信息所对应的情况与下单情况一致,则获取当前订单信息,当前订单信息包括订单种类信息以及相对应的单品数量信息。Step S6012: If the situation corresponding to the order completion situation information is consistent with the order placing situation, obtain current order information, where the current order information includes order type information and corresponding single product quantity information.
当订单完成情况信息所对应的情况与下单情况一致时,说明此时的订单处于下单结算状态,此时需要对订单情况进行查看;当前订单信息所对应的订单为当前处于下单结算状态的订单,当前订单信息包括订单种类信息以及相对应的单品数量信息,其中订单种类信息所对应的种类为当前处于下单状态订单中所包含的种类,单品数量信息所对应的数量值为当前处于下单结算状态订单中各单品所对应的数量值。When the situation corresponding to the order completion information is consistent with the order placement, it means that the order at this time is in the order settlement state, and the order situation needs to be checked at this time; the order corresponding to the current order information is currently in the order settlement state order, the current order information includes the order type information and the corresponding single product quantity information, wherein the type corresponding to the order type information is the type contained in the order currently placed in the order state, and the quantity corresponding to the single product quantity information is the value of The quantity value corresponding to each item in the order currently in the order settlement state.
步骤S602:于有效订单中确定订单种类信息所对应的管件种类,并根据该管件种类以确定单品均值。Step S602: Determine the type of pipe fittings corresponding to the order type information in the valid order, and determine the average value of a single product according to the type of pipe fittings.
根据订单种类信息所对应的种类于有效订单中去确定相同的管件种类,可确定出该种类单品的均值,该均值即单品均值;例如,三份有效订单分别为A:a10、b10、c10、d10;B:a10、b20、c30;C:a40、c20、d10,订单中包含的管件种类分别为a和d,则a所对应的单品均值为,d所对应的单品均值为。To determine the same type of pipe fittings in the valid orders according to the type corresponding to the order type information, the average value of the single product of this type can be determined, and the average value is the average value of the single product; for example, the three valid orders are A: a10, b10, c10, d10; B: a10, b20, c30; C: a40, c20, d10, the types of pipe fittings included in the order are a and d respectively, then the average value of the single product corresponding to a is , the mean of the single product corresponding to d is .
步骤S603:根据单品均值以及预设基准倍数以确定最大数量阈值。Step S603: Determine the maximum quantity threshold according to the average value of the single product and the preset reference multiple.
基准倍数为定值,由工作人员根据实际情况进行设定,不作赘述;最大数量阈值为各单品根据单品均值所设定的各单品下单时的最大允许值,计算公式为,其中为最大数量阈值,为单品均值,为基准倍数。The benchmark multiple is a fixed value, which is set by the staff according to the actual situation, and will not be repeated; the maximum quantity threshold is the maximum allowable value for each single product when placing an order, which is set according to the average value of the single product. The calculation formula is: ,in is the maximum number threshold, is the single product average, is the base multiple.
步骤S604:判断单品数量信息所对应的数量值是否大于最大数量阈值。Step S604: Determine whether the quantity value corresponding to the single product quantity information is greater than the maximum quantity threshold.
判断的目的是为了得知当前所下单的单品中是否存在超过许可范围的单品,以便于得知是否存在下单的单品存在数量异常的情况。The purpose of the judgment is to know whether there are single products that exceed the permitted range in the currently ordered single product, so as to know whether there is an abnormal quantity of the ordered single product.
步骤S6041:若单品数量信息所对应的数量值大于最大数量阈值,则输出订单确认信号。Step S6041: If the quantity value corresponding to the single product quantity information is greater than the maximum quantity threshold, output an order confirmation signal.
当单品数量信息所对应的数量值大于最大数量阈值时,说明此时所下单的单品中存在数量异常的单品,即有可能存在采购人员输入数量时因为疏忽而多打了个“0”等情况,从而输出订单确认信号以对该情况进行标识,以便于后续对该情况进行处理。When the quantity value corresponding to the single product quantity information is greater than the maximum quantity threshold, it means that there are single products with abnormal quantity in the single product ordered at this time, that is, there is a possibility that the purchaser entered the quantity due to negligence and typed "" 0", etc., so as to output the order confirmation signal to identify the situation, so as to facilitate the subsequent processing of the situation.
步骤S6042:若单品数量信息所对应的数量值不大于最大数量阈值,则输出订单完成信号。Step S6042: If the quantity value corresponding to the single product quantity information is not greater than the maximum quantity threshold, output an order completion signal.
当单品数量信息所对应的数量值不大于最大数量阈值时,说明此时订单中各单品的数量均正常,可正常实现下单操作,输出订单完成信号以对该情况进行标识。When the quantity value corresponding to the single product quantity information is not greater than the maximum quantity threshold, it means that the quantity of each single product in the order is normal at this time, the ordering operation can be realized normally, and the order completion signal is output to identify the situation.
步骤S605:于订单确认信号输出后获取人员确定信息。Step S605: Acquire personnel confirmation information after the order confirmation signal is output.
当输出订单确认信号时,说明订单数据相较于历史订单数值存在异常,此时要对异常情况进行分析;人员确定信息所对应的确定情况为采购人员于订单确认信号输出后对设备进行操作的操作情况,例如在订单确认信号输出后于设备上弹出对话框,对话框有确定和取消两种选择,确定即说明采购人员进行核查后发现数量正常,取消即说明采购人员进行核查后发现数量异常,获取人员确认信息的方法为本领域技术人员常规技术手段,不作赘述。When the order confirmation signal is output, it means that the order data is abnormal compared with the historical order value, and the abnormal situation should be analyzed at this time; the confirmation situation corresponding to the personnel confirmation information is the purchaser operating the equipment after the order confirmation signal is output. Operation situation, for example, a dialog box pops up on the device after the order confirmation signal is output. The dialog box has two choices: confirm and cancel. Confirm means that the purchaser finds the quantity to be normal after checking, and canceling means that the purchaser finds the quantity abnormal after checking. , the method for obtaining personnel confirmation information is the conventional technical means of those skilled in the art, and will not be repeated.
步骤S606:判断人员确定信息所对应的确定情况是否与所预设的正确情况一致。Step S606: Determine whether the determination situation corresponding to the personnel determination information is consistent with the preset correct situation.
正确情况即提前设定的采购人员进行核查后发现数量正常的情况,判断的目的是为了得知此时采购人员进行复核的情况,以便于后续对订单的进一步操作。The correct situation is that the purchaser set in advance finds that the quantity is normal after verification. The purpose of the judgment is to know the situation of the purchaser's review at this time, so as to facilitate the further operation of the order.
步骤S6061:若人员确定信息所对应的确定情况与正确情况一致,则输出订单完成信号。Step S6061: If the determination situation corresponding to the personnel determination information is consistent with the correct situation, output an order completion signal.
当人员确定信息所对应的确定情况与正确情况一致时,说明当前订单经采购人员复核后不存在数量错误的情况,此时可正常进行下单,输出订单完成信号以对该情况进行标识,以使采购人员得知下单完成。When the confirmation situation corresponding to the confirmation information is consistent with the correct situation, it means that there is no wrong quantity of the current order after being reviewed by the purchasing staff. At this time, the order can be placed normally, and the order completion signal is output to identify the situation, so as to Let the purchasing staff know that the order is completed.
步骤S6062:若人员确定信息所对应的确定情况与正确情况不一致,则控制页面切换至填写页面以进行数值修正。Step S6062: If the determination situation corresponding to the personnel determination information is inconsistent with the correct situation, the control page switches to the filling page for numerical correction.
当人员确定信息所对应的确定情况与正确情况不一致时,说明当前订单经采购人员复核后存在数量错误的情况,此时需要对错误的数量进行修改,控制页面切换至填写页面以使采购人员能对单品的数量进行重新填写,以便于后续对该订单进行下单处理。When the confirmation situation corresponding to the confirmation information is inconsistent with the correct situation, it means that the current order has an incorrect quantity after being reviewed by the purchaser. At this time, the wrong quantity needs to be modified, and the control page is switched to the fill-in page so that the purchaser can Re-fill the quantity of the single product to facilitate the subsequent order processing of the order.
参照图7,基于同一发明构思,本发明实施例提供一种管件采购申请系统,包括:Referring to FIG. 7 , based on the same inventive concept, an embodiment of the present invention provides a pipe fitting purchase application system, including:
获取模块,用于获取用户账号信息与当前时间信息;The acquisition module is used to acquire user account information and current time information;
处理模块,与获取模块和判断模块连接,用于信息的存储和处理;The processing module is connected with the acquisition module and the judgment module, and is used for information storage and processing;
处理模块根据预设订单数据库中所存储的用户账号信息与历史订单信息进行分析匹配以确定用户账号信息所对应的历史订单信息,历史订单信息包括采购时间信息以及采购材料信息;The processing module analyzes and matches the user account information stored in the preset order database and the historical order information to determine the historical order information corresponding to the user account information, and the historical order information includes procurement time information and procurement material information;
处理模块根据当前时间信息与采购时间信息计算以确定间隔时长信息;The processing module calculates according to the current time information and the procurement time information to determine the interval duration information;
判断模块,用于判断间隔时长信息所对应的时长是否大于所预设的阈值时长;a judgment module for judging whether the duration corresponding to the interval duration information is greater than the preset threshold duration;
若判断模块判断出间隔时长信息所对应的时长大于阈值时长,则处理模块定义该历史订单信息所对应的订单为无效订单;If the judgment module judges that the duration corresponding to the interval duration information is greater than the threshold duration, the processing module defines the order corresponding to the historical order information as an invalid order;
若判断模块判断出间隔时长信息所对应的时长不大于阈值时长,则处理模块定义该历史订单信息所对应的订单为有效订单;If the judgment module judges that the duration corresponding to the interval duration information is not greater than the threshold duration, the processing module defines the order corresponding to the historical order information as a valid order;
处理模块于有效订单与无效订单中根据采购材料信息以确定单品种类信息以及单品总量信息;The processing module determines the information of the item type and the total quantity of the item according to the purchased material information in the valid order and the invalid order;
处理模块根据所预设的排序规则以及单品总量信息所对应的数量值以对单品种类信息所对应的管件种类于预设产品目录中进行排序;The processing module sorts the pipe fitting types corresponding to the single type information in the preset product catalog according to the preset sorting rule and the quantity value corresponding to the single product total information;
订单数量确定模块,用于确定有效订单和无效订单的情况,以确定出较为准确的单品种类信息以及单品总量信息;The order quantity determination module is used to determine the status of valid orders and invalid orders, so as to determine more accurate information on item types and total quantity of items;
产品数量添加模块,用于根据产品添加的情况以启用语音识别装置,使采购人员能通过语音对产品数量进行输入,以提高采购人员购买体验;The product quantity addition module is used to enable the voice recognition device according to the product addition situation, so that the purchaser can input the product quantity through the voice, so as to improve the purchaser's purchasing experience;
手动填写模块,用于用户未及时进行语音输入时产品数量的选择,使用户在不便于语音输入的环境下能进行产品采购;Manually fill in the module, which is used to select the number of products when the user does not input the voice in time, so that the user can purchase products in an environment that is not convenient for voice input;
关联产品确定模块,用于确定此时购物车中产品的关联产品,以使用户在采购的过程中能得知该情况,便于采购人员购买;The associated product determination module is used to determine the associated product of the product in the shopping cart at this time, so that the user can know the situation during the purchase process, which is convenient for purchasers to purchase;
订单异常确定模块,用于对下单的订单进行产品数量的判断,使数量异常的订单无法直接下单,减少后续出现订单出现麻烦的情况;The order abnormality determination module is used to judge the product quantity of the order placed, so that the order with abnormal quantity cannot be placed directly, and the subsequent troubles of the order will be reduced;
异常订单处理模块,根据用户的人为确认以得知该订单数量是否存在异常,当数量错误时,可使用户重新对数量进行填写。Abnormal order processing module, according to the user's manual confirmation to know whether the order quantity is abnormal, when the quantity is wrong, the user can refill the quantity.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。上述描述的系统,装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that, for the convenience and conciseness of the description, only the division of the above-mentioned functional modules is used for illustration. In practical applications, the above-mentioned functions can be allocated to different functional modules as required. The internal structure of the device is divided into different functional modules to complete all or part of the functions described above. For the specific working process of the system, apparatus and unit described above, reference may be made to the corresponding process in the foregoing method embodiments, and details are not described herein again.
本发明实施例提供一种计算机可读存储介质,存储有能够被处理器加载并执行管件采购申请方法的计算机程序。Embodiments of the present invention provide a computer-readable storage medium storing a computer program capable of being loaded by a processor and executing a method for applying for a pipe fitting purchase.
计算机存储介质例如包括:U盘、移动硬盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。The computer storage medium includes, for example, a U disk, a removable hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk and other mediums that can store program codes.
基于同一发明构思,本发明实施例提供一种智能终端,包括存储器和处理器,存储器上存储有能够被处理器加载并执行管件采购申请方法的计算机程序。Based on the same inventive concept, an embodiment of the present invention provides an intelligent terminal, including a memory and a processor, where the memory stores a computer program that can be loaded by the processor and execute a method for purchasing a pipe fitting.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。上述描述的系统,装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that, for the convenience and conciseness of the description, only the division of the above-mentioned functional modules is used for illustration. In practical applications, the above-mentioned functions can be allocated to different functional modules as required. The internal structure of the device is divided into different functional modules to complete all or part of the functions described above. For the specific working process of the system, apparatus and unit described above, reference may be made to the corresponding process in the foregoing method embodiments, and details are not described herein again.
以上均为本申请的较佳实施例,并非依此限制本申请的保护范围,本说明书(包括摘要和附图)中公开的任一特征,除非特别叙述,均可被其他等效或者具有类似目的的替代特征加以替换。即,除非特别叙述,每个特征只是一系列等效或类似特征中的一个例子而已。The above are all preferred embodiments of the present application, which are not intended to limit the protection scope of the present application. Any feature disclosed in this specification (including the abstract and drawings), unless otherwise specified, may be equivalent to other or have similar Replacement features of the purpose. That is, unless expressly stated otherwise, each feature is but one example of a series of equivalent or similar features.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202210300251.6ACN115062890A (en) | 2022-03-25 | 2022-03-25 | Method, system, storage medium and intelligent terminal for pipe fitting purchase application |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202210300251.6ACN115062890A (en) | 2022-03-25 | 2022-03-25 | Method, system, storage medium and intelligent terminal for pipe fitting purchase application |
| Publication Number | Publication Date |
|---|---|
| CN115062890Atrue CN115062890A (en) | 2022-09-16 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202210300251.6APendingCN115062890A (en) | 2022-03-25 | 2022-03-25 | Method, system, storage medium and intelligent terminal for pipe fitting purchase application |
| Country | Link |
|---|---|
| CN (1) | CN115062890A (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103426109A (en)* | 2013-05-09 | 2013-12-04 | 陈飞 | Method and system for realizing no-shopping cart commodity selective purchase |
| CN105975486A (en)* | 2016-04-26 | 2016-09-28 | 努比亚技术有限公司 | Information recommendation method and apparatus |
| CN106131718A (en)* | 2016-08-10 | 2016-11-16 | 微云(武汉)科技有限公司 | A kind of intelligent sound box system and control method thereof |
| CN106485562A (en)* | 2015-09-01 | 2017-03-08 | 苏宁云商集团股份有限公司 | A kind of commodity information recommendation method based on user's history behavior and system |
| CN107332910A (en)* | 2017-07-03 | 2017-11-07 | 北京京东尚科信息技术有限公司 | Information-pushing method and device |
| CN111597300A (en)* | 2020-04-03 | 2020-08-28 | 厦门快商通科技股份有限公司 | Shopping cart management method and system based on voice recognition and mobile terminal |
| CN111861654A (en)* | 2020-07-13 | 2020-10-30 | 北京利丰雅高长城印刷有限公司 | Printed paper purchase order processing method and device, electronic equipment and storage medium |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103426109A (en)* | 2013-05-09 | 2013-12-04 | 陈飞 | Method and system for realizing no-shopping cart commodity selective purchase |
| CN106485562A (en)* | 2015-09-01 | 2017-03-08 | 苏宁云商集团股份有限公司 | A kind of commodity information recommendation method based on user's history behavior and system |
| CN105975486A (en)* | 2016-04-26 | 2016-09-28 | 努比亚技术有限公司 | Information recommendation method and apparatus |
| CN106131718A (en)* | 2016-08-10 | 2016-11-16 | 微云(武汉)科技有限公司 | A kind of intelligent sound box system and control method thereof |
| CN107332910A (en)* | 2017-07-03 | 2017-11-07 | 北京京东尚科信息技术有限公司 | Information-pushing method and device |
| CN111597300A (en)* | 2020-04-03 | 2020-08-28 | 厦门快商通科技股份有限公司 | Shopping cart management method and system based on voice recognition and mobile terminal |
| CN111861654A (en)* | 2020-07-13 | 2020-10-30 | 北京利丰雅高长城印刷有限公司 | Printed paper purchase order processing method and device, electronic equipment and storage medium |
| Title |
|---|
| 廖彦华;罗小亮;: "基于JSP技术的网上购物系统", 电脑知识与技术(学术交流), no. 23, 8 December 2007 (2007-12-08)* |
| 洪其伸;陈涛;: "基于BP神经网络化工设备MRO采购预测", 物流工程与管理, no. 02, 15 February 2016 (2016-02-15)* |
| Publication | Publication Date | Title |
|---|---|---|
| US8078427B2 (en) | Calibration curve fit method and apparatus | |
| EP3690793A1 (en) | Component procurement system and component procurement method | |
| CN110851729A (en) | Resource information recommendation method, apparatus, device and computer storage medium | |
| JP6822925B2 (en) | Sales activity support system | |
| US7054699B2 (en) | Process management system and production management system | |
| US8473389B2 (en) | Methods and systems of purchase contract price adjustment calculation tools | |
| CN111798021A (en) | Work-hour forecasting system and production planning support system | |
| WO2024222528A1 (en) | Commodity information processing method and electronic device | |
| WO2019212948A1 (en) | Systems and methods for processing reimbursement requests submitted by retail stores to distribution centers | |
| CN116796908A (en) | Digital employee automatic business process processing system based on artificial intelligent cloud platform | |
| CN115062890A (en) | Method, system, storage medium and intelligent terminal for pipe fitting purchase application | |
| CN110363468B (en) | Method and device for determining purchase order, server and readable storage medium | |
| CN115587701A (en) | Enterprise risk assessment processing method and device and electronic equipment | |
| CN117787672B (en) | Raw material consumption calculation method, device, equipment and medium | |
| JP4719046B2 (en) | Base price verification device and program | |
| CN116151376A (en) | Method, system, electronic device and readable storage medium for multi-channel attribution | |
| JP2003263320A (en) | Estimating operation support system, method and program | |
| CN115358853A (en) | An order processing system, method, device, equipment and storage medium | |
| CN112396498A (en) | Commodity sales promotion method, device, equipment and storage medium | |
| CN112949243A (en) | Parameter configuration method and device, computer equipment and storage medium | |
| CN118627979B (en) | Performance assessment result change management method, device, equipment and storage medium | |
| CN115169808B (en) | Method, device and storage medium for measuring and calculating digital project expense in power industry | |
| US20240037586A1 (en) | Influence scoring for segment analysis systems and methods | |
| CN120013633A (en) | An automatic quotation system for mold parts | |
| CN119741042A (en) | Customized production materials and cost calculation method, device, computer equipment and storage medium |
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination |