Abstract

With the birth of the Internet, information and data can flow in both directions, and, after that, it has spread to thousands of households. On this basis, e-commerce was also born, and it took a very short time from the field that no one cared about at the beginning to the hot focus field now. The development of e-commerce has broadened the sales channels of farmers, which has further increased the sales benefits of fruits and other agricultural products, conformed to the development of the times, and further supplemented the sales of fruits and other agricultural products. Based on the use of embedded microprocessors, this paper constructs an e-commerce system integrating sales and logistics. Based on the logistics model in the e-commerce platform, an e-commerce logistics identification model is constructed to measure the e-commerce logistics service level of agricultural products such as fruits. The article analyzes the sales and transportation methods of fruits and other agricultural products. Through a detailed analysis of the traditional e-commerce system, the e-commerce sales system has been optimized and improved by combining the reference cases and the data obtained from the Internet, especially in the aspect of logistics transportation. According to the data experiments in this article, it is shown that, after using the data formula for calculation, the best plan for transporting fruits and other agricultural products can be obtained. In the calculation result of the formula, the cost of delivery without considering customer satisfaction is 586 yuan, and the average delivery time of the vehicle is 5.625 hours, but the average satisfaction is only 78.5%. Compared with customer satisfaction, although the cost is about 15 yuan more and the delivery time is a few minutes longer, the customer satisfaction is about 21% higher than the customer satisfaction without considering the customer. Based on the optimized and transformed e-commerce system, this article will further improve the e-commerce platform for fruits and other agricultural products.

1. Introduction

In recent years, with the continuous improvement of online transaction credit mechanism, online payment system and logistics and distribution system, and the change of consumer group characteristics, the e-commerce industry has achieved a strong development and started to enter a stable development stage. As the proportion of Internet technology in people's daily life has gradually increased, many new fields have been born [1]. Based on this working environment, the birth of e-commerce has been accelerated, and this model has gradually been integrated into people's work. As an important representative of the information age, computers are rapidly infiltrating various industries. Online shopping has become a way of life for modern young people and has caused tremendous changes in the production and business models of various industries. This article takes fruits as the sales object and uses wireless communication technology with embedded microprocessors to design an integrated electronic sales process for fruits from storage to logistics, starting research from two aspects: technical design and sales based on market environment.

With the progress of e-commerce in recent years, the sale of goods has become the hottest topic in the e-commerce industry. For example, He C. pointed out that, in recent years, with the rapid development of e-commerce, the service form of warehousing has undergone qualitative changes, and the integration of warehousing and distribution has become a necessary condition for the development of e-commerce logistics. The establishment of a sales forecast model is the most important link in the e-commerce supply chain. From the perspective of the supply chain, the integration of logistics can reduce costs and improve the logistics structure, which is a necessary trend for future development and growth [2]. Considering that the degree of e-commerce in the food, beverage, and alcohol industries is not as good as other categories, Ito M. proposed that there is still room for expansion in the online trading market for such products. The import volume of fruits and vegetables is increasing, which means that the direct-to-store or direct-to-consumer logistics methods should continue to expand. While agricultural producers are positioned to grow fruits and vegetables that are different from imported agricultural products, they have the opportunity to use online channels for sales, mainly processed products. Given the tight business environment, it cannot be said that a large number of family farms are expected to grow in the future; however, it is speculated that agricultural organizations and online markets for fruits and vegetables and related processed products will grow. According to the market development in recent years, the number of organizations that develop agriculture is still increasing. With the continuous development of online channels, the people's demand for fruits and vegetables continues to increase, and it is expected that the market for melons and fruits will continue to expand in the future [3]. In recent years, fresh vegetables and fruit products have been widely circulated in major cities in China through e-commerce in the form of a combination of fresh agricultural products. Shaosheng analyzed the preferences of Chinese consumers for specific FPP attributes. A method of choice experiment is used to explore consumer preferences. The authors found that, among the four attributes considered, the diversity of certification and FPP has a significant impact on consumers' willingness to pay (WTP). Residents have different preferences for FPP diversity and certification, but when considering fresh produce in FPP, certification is the main issue. For the WTP of the combination of attributes, the WTP values of the “green” and “organic” attributes are higher, while the WTP of the diversity of FPPs is lower. This research attempts to explore preferences for the first time and provides a corresponding algorithm, but the accuracy of the algorithm is not high [4]. After analyzing the supply chain and transportation cost of the goods, need to change thinking, and study based on the wireless communication of 5G embedded microprocessor, Nir K. said that 5G service itself or in combination with other technologies may have a transformative impact on e-commerce activities. After using 5G, the service efficiency of e-commerce and the sales of goods have been greatly improved [5]. According to Hasanat M. W., e-commerce is the sale and purchase of goods and services through an electronic network called the Internet. In this era, the survival of every enterprise is highly dependent on sales. If a company wants to get the highest sales, it is very important to have a strong SEO (search engine optimization) strategy. The research aims to optimize e-commerce through the implementation of social media and SEO technologies to increase retail sales. Optimizing e-commerce by implementing SEO techniques and social media in the retail business can help boost sales. The results show that the implementation of social media and search engine optimization technology helps to promote the development of retail business, but the degree of improvement is limited, and the income is not proportional to the effort [6]. Some experts have also begun to study e-commerce platforms. For example, Ma X. proposed that e-commerce platforms have typical bilateral market characteristics. The e-commerce platform provides real-time communication services for buyers and sellers. The development and implementation of bilateral strategies will affect the trading choices of traders and customers on the platform. This result will directly affect the trading value of the platform. Then, the article constructed an econometric model and empirically analyzed the impact of e-commerce platforms. An e-commerce platform is a platform that connects suppliers, manufacturers, distributors, and users based on various rules. Blockchain technology can be used as an auxiliary technology to adapt to supply chain management, and it is the main factor driving the market power of enterprises [7]. According to the management of different industries, different methods and countermeasures are suggested. In the e-commerce platform, attention should be paid to the quantity, price, and quality of products. Leung K. H. pointed out that, in today's digital world, the globalization of e-commerce business has not only changed our shopping habits but also brought tremendous changes to the entire retail and logistics industry. Due to the irregular acquisition mode of e-commerce orders, the limited time for service centers to process orders, and the guaranteed delivery schedule provided by e-retailers, for example, delivery on the same day or the next day after placing the order, logistics service providers (LSPs) must process outsourcing e-commerce logistics orders very effectively. If the execution process is not repeated, it will be difficult for the LSP to execute executable commands due to strict operational requirements, which will delay the next process in the supply chain. In view of the need to improve the handling of e-commerce orders, this research is reevaluating the implementation of e-commerce orders in distribution companies. Genetic algorithms (GA) are used to support e-commerce licensing and law enforcement technologies and integrate warehousing concepts into the new cloud-based electronic compliance application system (CEPS) [8]. However, although this method can increase the operating speed, it has higher requirements for operating equipment and higher requirements for the configuration of processing equipment.

In recent years, with the continuous improvement of online transaction credit mechanisms, the continuous improvement of online payment systems and logistics distribution systems, and the changes in the characteristics of consumer groups, China's e-commerce industry has achieved relatively strong development and has begun to enter a stable development stage. More and more companies are catching on the fast train of e-commerce development and entering this emerging industry. However, both European and American countries, which developed e-commerce earlier, or China, which has achieved good results in the e-commerce industry, has encountered difficulties in logistics and transportation. Through the use of embedded microprocessors and integrated fruit-based commercial systems, the analysis and calculation of e-commerce data can be made faster. In the modern e-commerce system, based on the use of embedded microprocessors, it is possible to analyze in more detail the influence of the supply chain, transportation route, order receipt, sales, transportation, and so forth of the fruit on the value of the product itself based on the use of embedded microprocessors, which can reduce costs and increase revenue [9].

The innovations of this paper are reflected in the following: (1) Introduction of embedded microprocessors. Compared with ordinary computers, computer systems equipped with embedded microprocessors have the advantages of low cost, high efficiency, and fast calculation speed. (2) Analyzing the construction of e-commerce system. (3) Introduction of the business model of fruits and other agricultural products. (4) Carrying out the experimental analysis of the distribution algorithm of fruits and other agricultural products.

2. E-Commerce System and the Use of Embedded Microprocessors

2.1. Embedded Microprocessor

The embedded microprocessor evolved from the central processing unit in the computer. Embedded microprocessors basically have 32 and above processing bits, so they have higher performance. Because the processor has strong processing performance, the corresponding reforms are also higher. However, the difference from the computer is that the embedded microprocessor deletes the functions irrelevant to the embedded system in the actual application. Because the unnecessary work of other parts is removed, the requirements of low power consumption and high efficiency embedded are realized. Compared with normal computers, computer systems equipped with embedded microprocessors have the advantages of low cost, high efficiency, and fast computing speed [10].

The basic layer of an embedded system is a built-in microprocessor. The biggest difference between embedded microprocessors and normal CPUs is that systems equipped with embedded microprocessors are customized systems for specific users. The card board integrated in the chip promotes the simplification of system design, while also having high efficiency and reliability [11]. Among them, the embedded system has the characteristics of strong specialization, small size, good real-time performance, good tailorability, high reliability, and low power consumption.

Embedded microprocessors have many systems. Even in the same system, different interfaces and external devices can be connected according to the clock frequency and bus size [12]. According to incomplete statistics, there are approximately thousands of microprocessors and dozens of system architectures in the world. But there is no embedded microprocessor that can be called the market leader, because the functions of the embedded microprocessor are designed according to the needs of customers, and one processor cannot satisfy all users [13,14]. As shown in Figure 1, it is the structure diagram of the embedded microprocessor.

2.2. E-Commerce Data

E-commerce is a new business model based on browser/server applications that recognizes customers' online purchases, online transactions between merchants, online payments, and network services. The payment method can be determined through electronic money, software wallet, smart card, or credit card, and, according to the customer's request information, the purchased goods can be quickly sent to the destination in the right way and at the right time. Normally, when an e-commerce company is established, its business scale is not large and its growth direction is not clear. With the popularity of online shopping and the continuous expansion of the online shopping market, the business scale of enterprises will explode [14].

As shown in Figure 2, as early as 2004, domestic and foreign e-commerce platforms have already had a corresponding scale, with sales of 61.1 billion US dollars. Compared with the domestic JD e-commerce platform, the sales volume in 2012 was only 60 billion yuan, indicating that the sales gap between domestic and foreign sales was not small at that time [15].

As shown in Figure 3, in the early 2010s, e-commerce attracted the attention of more and more people. After this, the number of transactions has been increasing rapidly on Double 11 every year. Although, compared to foreign countries, China's e-commerce started relatively late, the market is developing very rapidly [16].

2.3. Construction of the E-Commerce System

Traditional e-commerce often includes purchasing management, product warehousing functions, product sales management, and financial management functions. The e-commerce constructed in this paper is based on the traditional business model to be transformed, adding functions such as order acceptance, sales, and logistics services [17]. Embedded microprocessors play a major role in the construction of e-commerce systems. The embedded microprocessor can complete multiple tasks and has a short interrupt response time, thereby reducing the execution time of the internal code and real-time core to a minimum, thereby improving its efficiency. The accrual process is shown in Figure 4.

2.3.1. Logistics System

Compared with other system platforms, the e-commerce system platform using the embedded microprocessor has higher working stability, lower power consumption, strong adaptability to the environment, and smaller size. Based on the logistics model in the e-commerce platform, an e-commerce logistics identification model is constructed to measure the e-commerce logistics service level of agricultural products such as fruits [8]. According to research, it is necessary to establish a professional marketing service platform for fruit and other agricultural products, improve the supply chain network of fruit products, improve the information level of electronic logistics and transportation of fruit and other agricultural products, and increase the management level of fruit products and logistics information management. According to the investigation of the factors affecting transportation and sales of e-commerce, it is found that e-commerce platforms can solve the problem of supply and demand of fruit products. The construction of e-commerce is affected by three infrastructures. These three factors are basic equipment, external environment, and internal forces [18]. The e-commerce system based on embedded microprocessor plays a good role in logistics and transportation and has better safety performance.

2.3.2. Information System

Taking China's promotion of the establishment of a government-led agricultural information system as the basic idea and then, according to the development experience of other countries combined with the country's national conditions, an information system for agricultural products such as fruits is established, the product information market is standardized, information is collected, and comprehensive information services are provide, and then the construction of infrastructure is sped up, the service quality of fruits and other agricultural products is improved, the problem of balance of fruits and agricultural products is solved as soon as possible, and management and distribution construction is strengthened. An understanding of agricultural information is established, strong information talents are cultivated, and the development of China's fruit product business is promoted [11].

2.3.3. Legal System

The establishment of a legal e-commerce legal system for fruit products will facilitate the implementation of fruit return services, increase the income of fruit farmers, increase the transaction volume of fruit and other agricultural products, and promote China's economic growth. On the basis of the protection of farmers' economic rights and interests, the legal awareness of fruit farmers is trained, and the legal system of the Cybersecurity Law has strengthened the concept of online trading of agricultural products [19].

2.4. Theories on Product Pricing in the E-Commerce Environment

In daily life, customers can find many attractive products with different price tags. According to the prices on the tags, customers can freely choose and purchase [20]. But, for manufacturers and retailers, a series of factors need to be considered in the pricing of goods and the gains and losses are calculated. It is important to consider not only factors such as internal production costs and sales but also external market competition [21], such as consumer purchases and national policies, and, for fruit, a seasonal agricultural product, it has the characteristics of short sales period and low surplus value. How companies can use the convenient conditions of information transmission in the Internet age to reduce the risks of seasonal products in the sales process and increase profits is a question worthy of study.

2.4.1. Pricing of Homogeneous Products

Many scholars have conducted research on the pricing of homogenized commodities. (1) One of the scholars used the game theory method to discuss a simple supply chain with only one manufacturer and one seller. Two noncooperative models and one cooperative model are studied, based on the commodity pricing under these two models, as shown in Figure 5. (2) Another scholar’s discussion method is different. In the case of unclear market demand, in a simple supply chain, through decision-making models and decentralized decision-making pricing models and then using mathematics to solve the problem, the best pricing model is optimized. (3) Another is to study the influence of different market power structures on the optimal pricing strategy in a closed-loop supply chain dominated by manufacturers and retailers. (4) The game theory model is used to study the optimal pricing and advertising strategies in both cooperative and noncooperative situations. (5) The advertising strategy and pricing strategy of two different modes of linear demand and elastic demand under duopoly conditions are studied [22].

2.4.2. Pricing of Heterogeneous Products

With the advancement of technology, transportation has become more flexible and convenient, and people's needs have become more diverse and personalized. The unified pricing process can no longer meet the demand for new products. Product pricing under the condition of diversified product demand has become the focus of hot research [23]. Scholars with different specific research directions gave different solutions. (1) Some scholars have studied the effect of product pricing models on the level of recovery and profit in the case of different acceptance levels of consumer groups. (2) Some scholars have studied the impact of the recycling price of waste products on the differential pricing strategy under the decentralized decision-making and centralized decision-making modes in the closed-loop supply chain, taking the recycling process of waste products as the research object. (3) Others have studied the influence of remanufacturing and renovation strategies on product pricing differences considering the different preference attributes of customers for products and studied the dynamic pricing of products in traditional sales channels from different aspects [24].

The above scholars' research has certain reference significance for product pricing in traditional industries or traditional closed-loop supply chains and product pricing in the e-commerce environment. E-commerce has broadened sales channels for enterprises, and, at the same time, it has also increased investment and risk. Online retailers and manufacturers must always pay attention to market trends, care about consumer demands, and ensure after-sales risks, formulate a reasonable return policy and product price policy, improve the after-sales satisfaction of online consumers and corporate reputation, and achieve the company's production and sales goals. Product pricing must consider the changes in market supply and demand. In the era of rapid development of the Internet, product pricing strategies must also consider dynamics and timeliness, so that companies can be in a strong position in market competition [25]. Among them, the influence of e-commerce on supply chain management mainly includes reducing the intermediate links of the supply chain, achieving the purpose of reducing costs through online sales, and making the organizational boundaries of the enterprise tend to be blurred. The company's sales model has changed from being driven by producers to being driven by consumers.

2.5. The Business Model of Fruit and Other Agricultural Products

Instant messaging services are the most important part of the “Internet +” era. People can easily access all media information services through any terminal; that is, the Internet provides important information services about user behavior. Therefore, many literature examine “user” factors when writing related marketing strategies, including customer communication, user heterogeneity, user behavior policies, and social media.

Based on the different seasons and practices of fruit and other agricultural products, consumers also choose fruits according to supermarkets and fruit shops. Based on the characteristics of fruit, the scale of online sales is not large, and the online sales are supplemented by offline sales of fruits [26]. Regarding the advantages and disadvantages of online and offline sales, it is logistics for online and offline channels, so physical stores have an advantage at this point in time. There are two offline logistics methods, one is self-operated and the other is third-party logistics, so physical stores have an advantage online in terms of time. The experience is an offline flaw. For products like clothing, the styles are more standardized. If it is a complicated style, you cannot try it on or see the real thing; you can only show and comment on the seller. Purchases are made in the pictures posted by the seller, and you can try on or see the real thing online in the physical store, which also has an advantage in the after-sales. According to the different subjects, it can be divided into three forms:

2.5.1. Wholesalers Centralized Purchasing and Selling

Distributors use funds, experience and product information for analysis, purchase fruits and other agricultural products from farmers, select products with differentiated quality, and then distribute them to many online and offline retailers for different fees. In order for retailers to sell their products as quickly as possible, they must do a lot of marketing work. As the most important link in selling fruits and other agricultural products to consumers, marketing projects are weak for farmers. Suppliers wisely plan storage and transfer to the store based on user request information returned from the market. Retailers are very risky to the market, enabling farmers to control the risks of consumer products within a controllable range, and they can quietly manufacture and plant [27].

However, this business model also has some drawbacks: supporting equipment needs to be improved and products cannot be expanded; communication skills are insufficient, and the communication methods between parties and the ability to organize, analyze, and process information are insufficient. Low income and high sales volume have led to asymmetry in market information, and government management confusion has led to the inability to integrate costs and effectively protect the interests of farmers.

2.5.2. Sales Company + Cooperative Model

Now the “marketing + cooperation” model of agricultural products has reached the point of win-win cooperation and double failure in the division of labor, basically solving the problem of market connection between “small farmers” and “big markets.” Agricultural cooperatives, with the help of large sales companies and platforms, create or hire professionals to package their products and promote them in a large market, thereby increasing sales and professionalism. Due to the uniqueness of the brand, it naturally improves the competitiveness and productivity of its products. In addition, professional marketing talents connect distributors and customers with higher efficiency than competitors and adjust their products and companies to maximize their overall risk-taking ability. The “sales + collaboration” model is very suitable for the sales needs of important agricultural products, but there are also some problems that need to be resolved quickly. It is only friendly to large-scale cooperation with stable product quality, which will widen the gap between the rich and the poor in the community, and cannot properly solve the problems of farmers' self-reliance, insufficient incentives, insufficient safety guarantees, and inadequate marketing [28].

2.5.3. Self-Employed Sales

Personal sales are also divided into large sales and farmers' direct sales. Large sales operators have strong autonomy, which makes this model still the main sales channel for farmers. The big sellers not only engage in agricultural production themselves but also purchase agricultural products from farmers, and then transport them to other regions for sale, or contact other buyers to buy them at their own premises. Since the big sellers are very familiar with the local environment and sales situation, the acquisition is more boring. On the other hand, because the big sellers can obtain sufficient benefits, they are more motivated to acquire. The disadvantages of this business model include lack of channels, high risks, and limited sales capabilities [29].

2.6. Fruits and Other Agricultural Products Logistics System
2.6.1. Overview of E-Commerce Logistics Distribution System for Agricultural Products Such as Fruits

(1)The distribution is diverse and extensive. As a large agricultural country, China is rich in agricultural products. Every year, fruits and other agricultural products have a large output, and these agricultural products are distributed in different regions.(2)The logistics and distribution service level and logistics distribution of agricultural products such as fruits in large demand have strict requirements on timeliness and freshness. With the frequent emergence of social food security problems, the circulation links of agricultural products such as fruits must play a monitoring and traceability function. On this basis, the products must be delivered to customers on time and in quality and quantity.(3)Fruits and other agricultural products have very high requirements for transportation equipment, and the distribution of products is different from conventional logistics distribution. Due to the uniqueness of agricultural products, the delivery technology and time requirements of agricultural product distribution are also different.(4)The logistics and distribution of fruits and other agricultural products are affected by time and season. Due to the seasonal characteristics of fruits and vegetables, the logistics and distribution of agricultural products have also changed over time. In addition, agricultural products are affected by climate and other factors, and the quality and output of agricultural products also vary greatly.(5)The logistics and distribution of agricultural products such as fruits are one-way logistics and the cost is relatively high. Fruits and other agricultural products are produced in rural areas and eaten in cities, becoming a single road transportation from rural to urban.

Among them, the problems in the development of e-commerce logistics are as follows: the foundation of e-commerce logistics is relatively weak, the development is not perfect, and the logistics industry is relatively backward. Relevant enterprises and users are not paying enough attention to understanding of e-commerce logistics. In terms of logistics information, integrated management, and technical levels, China's industrial and commercial enterprises are generally low. The management and technical level of logistics distribution enterprises need to be improved, and the service network urgently needs to be established and integrated. The shortage of talents is a major obstacle hindering the development of e-commerce logistics, logistics, and distribution management.

2.6.2. E-Commerce Logistics Delivery Mode of Fruit Products

The e-commerce logistics model of fruit and other agricultural products refers to the logistics method that W company is market-oriented; W meets the requirements of customers and obtains the general benefits of the optimized system. At present, the main positioning of the project includes self-service distribution services, H-party logistics services, fourth-stage logistics services, and logistics integration services. Among them, the e-commerce logistics distribution models mainly include the domestic postal system distribution mode, the joint distribution mode, and the third-party logistics enterprise distribution mode. According to the organization method, there are mainly three types: self-operated distribution, third-party distribution, and joint distribution. Self-operated distribution mode is a distribution mode widely adopted by current production, circulation, or comprehensive enterprises. Third-party distribution refers to a logistics operation method in which a third-party other than the supplier and demander of the logistics service completes the logistics service. Codistribution is also called shared third-party logistics service, which means that multiple customers are united and jointly provided by a third-party logistics service company to provide distribution services.

As shown in Figure 6, the distribution model based on the above has many advantages, and information such as agricultural product prices can be easily obtained through the platform, and the information is more transparent. Suppliers trade through relatively fair competition, the prices of agricultural products are relatively reasonable, and they can provide a variety of domestic and foreign agricultural products market quotations and transaction quotations. Both parties need to be able to select various types of agricultural product information push services according to their needs. Among them, the significance of developing rural e-commerce: it is conducive to the optimal allocation of agricultural product market resources, and it changes the operation and management mode of rural industrial production. It is conducive to cultivating and improving the international market position and competitiveness of rural specialty food operators and is conducive to improving the quality of life of the people in rural areas. The logistics of agricultural products have only developed rapidly in recent years and are still in their infancy. There are still some problems. Agricultural products logistics are small in scale and of low level; logistics resource allocation is unreasonable, and basic supporting facilities and equipment are backward; agricultural product logistics information is backward; logistics links are many and the cost is high.

2.7. The Optimal Decision of the Supply Chain

The two-tier supply model of retailers and enterprises is considered; under the influence of cost and product quality, the best decision-making problem between retailers and distributors is studied. When the retailer sends an order to the supplier, the distributor supplies fruits and other agricultural products within the time period of [t, 1]. When the quality of the product appears, we should return and exchange the product in time to maintain the reputation of the store.

2.7.1. Retailer's Optimal Sales Decision Calculation Method

In order to stabilize the plan and obtain sufficient time to prepare, suppliers can influence the retailer's sales behavior by controlling prices and sales time:: the total number of potential consumers: retail price at the presale stage: retail price during regular sales season: the sensitivity of demand to price : quality, which is the uniform distribution of random variables from [0,1], and the function is and is an exogenous variable: the time point when the retailer stops presale : demand in the presale stage: demand in the regular sales season: the order quantity of the retailer during the regular sales season when the presale is stopped at time : the fixed wholesale price is an exogenous variable: describes the increase in wholesale price over time: the wholesale price set by the manufacturer when the presale is stopped at time t

Among them, a>2 is the guaranteed profit function, and the operation and maintenance a is obtained through market research. Assuming that the market's demand for products is evenly distributed in various time periods, the conventional sales function is

At the beginning of sales, the unknown market demand is . As t increases, the uncertainty of market demand will decrease. When t is 1, the retailer will use the presold to sell; when t is 0, the presale method is not adopted to sell agricultural products such as fruits.

In order to obtain the optimal solution for the supply chain between the distributor and the retailer, when the retailer continuously sells between , the retailer's profit is . The retailer's merchandise volume will inevitably meet the market demand, so the retailer needs to meet the demand for the quarter when the order quantity is higher than the value of . The expected profit formula iswhere

According to the maximization of profit, the retailer chooses formula (4) as the best selling price, retail price in the regular season, and order quantity.

For the wholesale price t, the retailer’s optimal decision-making formula for presale and regular sales is

These 3 formulas prove the profit of the presale stage:

Then the retailer's optimal decision is , because a>2, so is a function of ; the optimal pricing is

2.7.2. The Calculation Formula of the Optimal Logistics Distribution Path for Fruits and Other Agricultural Products

Assume that the mathematical model of vehicle scheduling for distribution products can be described as follows: there are M distribution centers, and the number of vehicles in each distribution center is , where K is the number of vehicles, delivered to N customers, and the number of goods required by the customer is assumed to be , and each vehicle will have the maximum load, which is temporarily set as . It costs C yuan to drive the vehicle per hour, to wait while waiting, and delayed cost during driving, and set the distance and speed between the delivery center and the customer; the distance and speed between the customer and the customer are and , each customer needs a vehicle to meet the freight volume, and the time is .

As shown in Figure 7, customer satisfaction is calculated according to the time function of goods delivery. The specific satisfaction function is expressed as

and, just after completing task i, when driving to task j, if the time when vehicle k arrives at j is earlier than the starting service time, then the vehicle must wait at task j; then the expression formula is

Set the customer number as 1, 2, 3, ..., N, and the label of the shipping center is N+1, N+2...N + M; then the variables are

This formula is the objective function, and it can be used to calculate the minimum transportation cost after the vehicle has been transported to all customers, as shown in Figure 8.

The constraints of this formula are as follows:

The formula expresses the customer satisfaction constraint, and it is necessary to ensure that the average customer satisfaction is greater than 85%.

These two formulas indicate that each customer’s goods can only be transported by one truck.

This formula indicates that the number of vehicles that also carry out delivery tasks in each delivery should be less than or equal to the total number of vehicles also owned in all deliveries.

The formula expresses the limitation of the maximum load of the transport vehicle.

This formula means that the vehicle that transports goods needs to transport one or more customers from the delivery center before returning to the delivery center.

3. Experiments on the Delivery Algorithm of Fruits and Other Agricultural Products

According to the above analysis, the formula is used to calculate the optimal transportation path of agricultural products such as fruit products. Among the factors considered for the best transportation route are road conditions, weather conditions, and emergencies. The parameters are set to R = 80, the maximum algebra G = 150, the selection probability = 0.8, and the accident probability = 0.02. For this experiment, the data generated by the delivery process of the distribution center is used as the research object, and the rationality of the data verification algorithm is obtained through calculation. The process of a distribution center delivering goods for 12 customers is used as the specific experimental data, the order is received on the e-commerce platform on the first day, and the shipment will start on the second day. The specific data is shown in Table 1.

Because the actual distance of the road section is different from the transportation path, there is a certain error in the transportation process. In the process of delivering to the customer, because of the special nature of the fruit, each vehicle needs to be equipped with fresh-keeping equipment to ensure that the fruit is fresh when delivered to the customer. The vehicles transported are unified as small electric vehicles with a maximum load of 15 KG. The transportation cost of this electric vehicle is 0.5 yuan per kilometer, and the speed of the vehicle is 60 Km/h. Under normal circumstances, the salary is 10 yuan per hour, and overtime is doubled; vehicle waiting is 10 yuan per hour, and the delay fee is 100 yuan per hour; the start time is about 6 : 30 every day, and the winter time is delayed by 1 hour.

After collecting statistics on the fruit sales data of a certain website, the basic information of the fruit purchasers is collected as shown in Table 2.

4. E-Commerce Data Experiment

4.1. Experiments on Logistics and Transportation of Agricultural Products Such as Fruits

According to the above formula, the data in Table 1, the vehicle scheduling plan in the case of taking into account the customer’s satisfaction, and the cost and time spent in transporting fruits and other agricultural products from the delivery point to the customer’s home are substituted into the calculation, as shown in Table 3.

According to the transportation methods in Table 3, the customer recognition is not high. In order to obtain higher customer recognition, choose to improving the vehicle scheduling method is chosen. The specific scheduling method is shown in Table 4.

As shown in Figure 9, regardless of customer satisfaction with running fruit and other agricultural products, the cost of transportation is 586 yuan, and the average delivery time of vehicles is 5.625 hours, but the average satisfaction is only 78.5%, and the value is low. After considering the customer's satisfaction, the total cost is 601 yuan, the average delivery time of the vehicle is 5.75 hours, and the customer satisfaction rate is 99.525%. Comparing the data on the two sides, the cost and time have not increased excessively after considering the customer. The use of the vehicle is also in an ideal state, and there will be no damage due to excessive use of the vehicle. The delivery time is also very timely, ensuring the freshness of the fruit.

4.2. Product Price Sensitivity Coefficient

This coefficient is used to discuss the impact of consumers' sensitivity to retailer's product pricing in the range of 5 to 12, the impact on various decisions, and the impact of dealers and retailers on the optimal profit.

As shown in Figure 10, as the product pricing sensitivity coefficient increases, whether they are retail dealers or dealers, they are in a downward trend under a market-based structure. The higher the sensitivity coefficient of the product on the market, the lower the price data on the market.

5. Conclusion

According to the current development form of e-commerce, traditional logistics methods have been difficult to meet current needs. Especially in recent years, the rapid development of fruit and other agricultural products in e-commerce is aimed at the peculiarities of fruit and other agricultural products, resulting in higher requirements for logistics transportation. This article summarizes and improves all aspects of fruit and other agricultural products from ordering to transportation and builds an e-commerce system based on fruits and other agricultural products, which can quickly deliver fruits and other agricultural products to customers on the basis of cost savings. The optimal sales decision plan of the retailer is analyzed, so that the retailer can obtain greater benefits in the process of sales. As the primary industry, fruit and other agricultural products are inherently disadvantaged in today's fiercely competitive market, but fruit and other agricultural products are also in great demand. There are some problems in the traditional fruit and other agricultural products market. The combination of e-commerce and fruit and other agricultural products industry can empower the traditional industry of fruit and other agricultural products. There is huge room for the development of e-commerce of agricultural products such as fruits, and enterprises attach importance to customers' repurchase intentions and the sustainable and healthy development of e-commerce of fresh agricultural products. In the future, the scale and quality of e-commerce for agricultural products such as fruits will surely be developed by leaps and bounds [30].

Data Availability

No data were used to support this study.

Conflicts of Interest

The authors declare that there are no conflicts of interest.