Optimization of Accounting Information System for Enterprises in Smart City by Intelligent Sensor under the Internet of Things

,


Introduction
With the continuous development of information technology, the IoT is changing the lives of smart cities at an alarmingly fast speed, bringing great convenience to people's lives, and promoting enterprises to save production time and facilitate the real-time transmission of information. However, the intelligent sensing technology of the IoT brings opportunities to all aspects of enterprises, but there are also challenges. In this context, the enterprise financial accounting information system is faced with the rapid rise of the IoT. erefore, improvement and promotion of the original model have become a trend. e accounting information system plays an extremely important role in enterprises. Optimizing the enterprises' accounting information system can identify the enterprises' weak links and provide the theoretical basis for enterprises to improve control efficiency and competitiveness [1,2]. Kazimierz and Metallic believed that intelligent sensor is an important support for the operation of IoT. ey used intelligent sensing and IoT to obtain the data of geographic information, made real-time map, and proposed a new concept, which is about the virtual sensor based on abstract objects such as parcel theory [3]. Weber realized the protection of enterprise AIS from the aspect of the confrontation abilities against financial risks and network attack, as well as self-recovery ability after being invaded by viruses and security protection ability of data information, using radio frequency identification (RFID) [4]. From the perspective of data security, Lee introduced the time slot algorithm-Area Locations of Hazardous Atmospheres (ALOHA)-and the improved binary tree search algorithm and proposed a computer data encryption method to realize the anti-counterfeiting and protection of enterprise AIS [5]. Tong proposed a new operation method based on the data information encryption, which can optimize and fit the information data while encrypting. Finally, the data presented by the computer are complete and effective [6]. Li discussed how to optimize the enterprise AIS from the perspective of employee salary performance and combined the employees' yearend bonus with the enterprises' benefit and cost, to strive to achieve the goal of development of employees and the enterprise [7]. Sun et al. comprehensively expounded the close relationship between enterprise accounting informatization and corporate governance in smart cities and put forward that the development of enterprise accounting informatization was the premise of corporate governance. Enterprise accounting informatization can help to promote the governance and development of smart cities [8]. Cai et al. analyzed the organizational structure and business processes based on the accounting information system production process theory and internal control theory. e results achieved through the analysis and design of the accounting information system production process are desktop-based applications that can assist in the activities of the production process, particularly in the recording and storage of transaction data and preparing reports as required by the enterprises [9]. Akyol et al. pointed out that the development of intelligent sensing technology of the IoT could enable enterprises to grasp the information of goods in circulation anytime and anywhere, grasp and manage the details of the circulation of goods in a timely manner, realize the informatization of the circulation process of goods, strengthen the supply management of goods in enterprises, and save the operation cost of enterprises. However, in practical applications, it is found that more contents need to be considered, such as the safety and timeliness of goods information [10]. Compared with the theories and methods proposed by the above experts and scholars, a questionnaire survey is used to analyze the use of information systems by corporate financial accountants from a global perspective, which is logical and reliable.
In summary, IoT technology and intelligent sensing technology are used to investigate the relevant personnel of enterprise financial accounting in the smart city, to study and analyze the data integration and sharing, data governance, and data operation management of the information system. en, intelligent sensing technology is introduced into the financial information system to observe whether it can have a positive effect on the optimization of the system. Finally, effective opinions and suggestions are put forward, aiming at providing a methodological reference for the continuous optimization of the enterprise financial accounting information system in the smart city. To illustrate the writing logic more clearly, Figure 1 depicts the specific organizational structure.

Construction of the Intelligent Sensing Model
e basic concept of a sensor system is a system that senses information through sensing elements, converts them into electrical signals or other forms of signal output according to certain laws, and completes a certain degree of processing and transmission function [11][12][13]. An intelligent sensor is a sensor with an information processing function. Intelligent sensor with a microprocessor has the ability to collect, process, and exchange information. It is the product of the combination of sensor integration and microprocessor [14]. Compared with general sensors, intelligent sensors have the following advantages: (1) they have the functions of selfzero-calibration, self-calibration, and self-correction; (2) they have automatic compensation function; (3) they can automatically collect data and preprocess the data; (4) they can automatically inspect and select the measuring range and find faults by themselves; (5) they have the functions of data storage, memory, and information processing; (6) they can realize two-way communication, standardized digital output, and symbol output; and (7) they can make judgment and process decisions [15][16][17]. e intelligent sensors can store various detected data and process them according to the instructions to create new data [18]. Intelligent sensors can exchange information, determine the data to be transmitted, discard abnormal data, and complete analysis and statistical calculation [19]. Smart city refers to the integration of various operation systems and service channels of city by using the current advanced information technology and relevant innovative concepts, to improve the living standards of residents and the utilization efficiency of social resources [20]. Smart city is an indispensable and important part of China's social development process. In the process of constructing the smart city, the most advanced IoT technology needs to be adopted, which means every entity in the construction should be effectively connected  by the IoT. Cloud computing is taken as the core computing device, and the big data technology is applied to combine modern scientific and technological methods with traditional processes to realize high-end new urban construction [21,22]. Different from the traditional city construction, the smart city itself has high informatization and intelligence, which can meet the current development needs of China's daily work and greatly promote the long-term development of Chinese society [23,24]. However, at present, the construction quality of smart city in China is not satisfactory, which is caused by the lack of effective supervision mode in the construction process. With the introduction of relevant laws in China, people are paying more attention to the management of smart city. Applying modern information technology to the data management of smart city can improve the quality of the data of the whole city to a certain extent, so as to build a modern new city with demonstration nature [25,26]. Accounting information refers to the most important economic information of enterprises and institutions. It continuously, systematically, and comprehensively reflects and supervises the business status of enterprises and provides an important basis for management and business decision making. Accounting information system refers to a system that takes computer as the main tool to collect, store, and process various accounting data, complete accounting tasks, and provide accounting management, analysis, and decision making related accounting information. Its essence is a system that converts accounting data into accounting information, which is a vital subsystem of the enterprise management information system [27]. e functions of the information system are collecting, storing, processing, transmitting, and outputting accounting data. Figure 3 demonstrates AIS.

Key Methods and Algorithms Used in the Research
Literature research: due to the writing needs, firstly, China National Knowledge Infrastructure, Google Scholar, and other websites are used to query data. Secondly, there are many articles and works from columnists and relevant websites. In addition, many related journal and books are consulted in the school library, such as City of Tomorrow:

Sensors, Networks, Hackers and Future Urban Life and
Analysis and Application of Financial Statements. rough the collection and summary of this series of data, literature research provides a favorable theoretical basis for the research ideas and methods [28,29]. Comparative analysis: comparative analysis method refers to the multiparty comparison of two or more research objects to explore the similarities and differences between them. Good methods obtained through comparative analysis can prove reference to AIS optimization for smart city enterprises based on intelligent sensor under the IoT [30][31][32]. Questionnaire survey: the enterprise AIS is an important part of each company. e normal operation of the accounting system is related to the stable and long-term operation of the enterprise. However, at present, there are system crises in the enterprise, so the current operation status of the enterprise AIS can be obtained by releasing corresponding questionnaire questions [33][34][35]. erefore, 310 questionnaires were randomly distributed to the accounting related personnel of enterprises in model smart cities between June 2019 and August 2020. To make the questionnaire scientific, experts of relevant disciplines are consulted about the questionnaire before it was distributed, and the unreasonable places in the questionnaire are modified. To ensure the corresponding recovery rate, the questionnaire is distributed face-to-face and recovered on the spot. 270 copies were recovered, with a recovery rate of about 87.1%, 248 copies were effectively recovered, and the effective recovery rate was 91.85%. Figure 4 presents the specific steps of the questionnaire survey.
To make the results of the questionnaire more accurate, the validity test of systematic error variance is introduced as shown in the following equation: where parameter r denotes the reliability, X represents the dependent variable, Y refers to the independent variable, and N indicates the quantity. e score difference of the actual number can be solved out according to equation (2), based on equation (1).
where α denotes the correlation coefficient, K represents the number of samples, and the other letters in equation (2) have the same meaning as above. In general, the higher the reliability coefficient, the higher the reliability between variables, indicating higher internal consistency between variables. Parameter α being less than or equal to 0.3 indicates that the variable is not credible; parameter α being between 0.3 and 0.4 indicates that the variable is initially credible; parameter α being between 0.4 and 0.5 indicates that there is a slight credibility between variables; parameter α being between 0.5 and 0.7 indicates that the variables are credible; parameterα being between 0.7 and 0.9 indicates that the variables are greatly credible; parameterα being greater than 0.9 indicates that the variable is totally credible.  Wireless Communications and Mobile Computing rough the reliability test of internal consistency of the answers to the questionnaire through equation (2), the result is 0.86, indicating that the reliability of the questionnaire is high.
Equation (3) can express the logic topology optimization problem of intelligent sensor.
where S(x) represents the total delay of the system, t(l j ) denotes the delay on the link (l j ), t(n i ) refers to the delay of the noden i , c accords to the set of all data transmission paths, L indicates the total link, and N stands for the total node. Equation (4) demonstrates the calculation method of link reliability.
where E(l j ) represents the reliability of the link l j , G refers to the functional relationship between link reliability and link unit price, and a denotes the cost. Equation (5) illustrates the specific calculation method of node reliability.
where E(m j ) represents the reliability of node m j , F accords to the functional relationship between node reliability and node cost, and a stands for the cost. Figure 5 displays the specific structure of nodes in the intelligent sensor. Equation (6) shows the calculation method of waiting transmission time in the intelligent sensor.
where T represents the time, n stands for the number, m refers to the group, and m ′ indicates the corresponding group of the group. Based on equation (6), equation (7) signifies the calculation method of obtaining the average waiting time of the intelligent sensor.
where T represents the time, n refers to the number, α indicates the information arrival rate, β accords to the service rate of the classified service information, and c denotes the coefficient. Equation (8) illustrates the calculation method of time required for grouping two information groups of intelligent sensors.
where T represents the time andn refers to the number. When the terminal a receives the service, b denotes the average number of information packets stored in the terminal memory. Equation (9) demonstrates the calculation method of average queue length of intelligent information system in enterprise AIS.
where I represents the queue length, α means the information arrival rate, β indicates the service rate of the service information packet, and c refers to the coefficient. When the data information is consistent with the verification, the intelligent sensor will feed back the data to AIS. Equation (10) signifies the calculation method of feedback time.
where T represents the time, α stands for the information arrival rate, c refers to the coefficient, i and j accord to the transmission time and reception time, respectively, and a represents the corresponding time of a transmission.

Analyses of the Development of Enterprise AIS under Smart
City. According to the data obtained from the above questionnaire, Table 1 lists the personal information of the investigated enterprise. It can be seen from Table 1 that the education of enterprise finance-related personnel is mainly undergraduate, accounting for about 54.6% of the total education, followed by master, accounting for about 23.7%, followed by college, accounting for about 19.6% of the total education, and finally doctor, accounting for about 2.1%; as for the "title grade," most respondents are under a "primary" title, accounting for about 46%, followed by "intermediate," accounting for about 34%, and "senior," accounting for about 15.5%. As for the "working years," most respondents have worked for 3-5 years, accounting for about 42.3% of the total, followed by 5-10 years, accounting for about 26.8%, 1-3 years, accounting for about 17.5%, 10-15 years, accounting for about 9.3%, and finally more than 15 years, accounting for 4%. Hence, under the concept of smart city, the financial accounting of enterprises is still mainly composed of young people with bachelor's degree, who have worked for few years and are under a primary professional title.
Accountants of enterprise are the initial users of the financial system, and their user experience is the most authentic and reliable. In the next, investigation is carried out on their evaluation on the current enterprise AIS. Figure 6 displays the specific results. Figure 6 demonstrates that the evaluation of information system is mainly carried out from three aspects, namely: data collection, data integration, and data sharing. In terms of data collection, 59.82% of financial personnel thought it needed to be improved, 26.8% of financial personnel thought the user experience was general, 9.28% thought the experience was very adverse, 3.1% of financial personnel thought the user experience effect was good, and only 1% thought the user experience effect was great. In terms of data integration, 42.27% of the financial staff thought it needed to be improved, 37.15% of the financial staff thought it was average, 17.53% thought it was adverse, 2.06% of the financial staff thought it was good, and only 1% of the financial staff thought it was good. In terms of data sharing, 45.36% of the financial personnel thought it needed to be improved, 35.08% of the financial personnel thought the experience was average, 18.56% thought the experience was poor, and 1% thought the experience effect was good. is shows that whether it is from data integration, data collection, or data sharing, the information system needs to be improved continuously. Moreover, many respondents thought the user experience is adverse for data sharing, so it is of great importance to optimize and improve the enterprise AIS.
Meanwhile, investigation is implemented on the problems of data governance in AIS of enterprises under smart city. Figure 7 demonstrates the specific evaluation results.
As Figure 7 signifies, in terms of data management, 46.42% of financial personnel in enterprise think it needs to be improved; 28.87% of financial personnel in enterprise think it has an adverse user experience; 23.71% of financial personnel in enterprise think the user experience is general, and 1% of financial personnel in enterprise think the user experience is good. As for the metadata management, 52.58% of respondents think it needs to be improved, 8.25% of respondents think they have an adverse user experience, 36.08% of the respondents think the user experience is normal, and 3.1% of the respondents think the experience is good. In terms of data standard, 24.63% of the respondents    19.59% of respondents think it is general, and 5.2% of respondents think it is good. is indicates that data model management, metadata management, data standard, and data quality need to be continuously improved in data governance, and the data management should be strengthened, according to the results of questionnaire, which has the worst user experience. Additionally, the data operation management was investigated, and Figure 8 signifies the specific results of evaluation. Figure 8 indicates that in terms of data lifecycle, 44.62% of respondents think it needs to be improved, 6.19% of respondents think they have an adverse user experience, 39.9% of respondents think it is general, and 9.3% of respondents think it is good. In terms of data security management, 36.42% of respondents think it needs to be improved, 9.28% of respondents think it is extremely adverse, 34.2% of the respondents think their user experience is normal, and 16.2% of the respondents think their user experience is good. In terms of master data management, 46.39% of the respondents think it needs to be improved, 43.36% of the respondents think their user experience is very adverse, 8.25% of the respondents think their user experience is ordinary, and 2.06% of the respondents think it is good. is indicates that in the data operation and management, data lifecycle, data security management, and metadata management all need continuous improvement. Also, the research and development of metadata management should be strengthened, whose user experience is the worst.
In conclusion, from the evaluation of data sharing, data governance, and data operation management of enterprise financial AIS, each module needs to be continuously strengthened in the aspects of quality evaluation and optimization. From the perspective of the user experience of financial personnel in enterprise, there are still lots of efforts to be made to build an operation system truly suitable for accounting information management in smart city. Overall, the optimization in this aspect is not enough.

Application of Intelligent Sensor in Optimization of AIS.
With the continuous improvement of modern economy, the enterprise AIS has gradually changed. e traditional model has been difficult to meet the current needs. e application of intelligent induction technology to the optimization of accounting system is the trend of the development of the time. Figure 9 illustrates the specific application process.
As Figure 9 indicates, initially, the intelligent sensors are applied to the enterprise's supply chain management. When each product passes through the intelligent sensor, the system can make timely judgment according to the product attribute, specification, quantity, and size and then transmit the collected effective information to the enterprise's database through the IoT immediately. After verification, if there is any problem in the product, an alarm will be sent out, which will be handled manually. Otherwise, the products will be transported to the corresponding area according to the received information, and then valid vouchers will be automatically generated. Figure 10 indicates the specific process of collection and transportation of accounting information.   As Figure 10 signifies, when the information of each product identified through the intelligent sensor is consistent with the system, the intelligent sensor system will issue a command to open the "commodity channel"-the entrance allows the commodity to be delivered to the corresponding area. Simultaneously, when the information is consistent, the intelligent sensor will also make the information transmitted to the enterprise AIS through the IoT, to timely and effectively complete the information collection, statistics, and feedback of the accounting information. Application of the intelligent sensors can both avoid the problem of human participation in data errors and ensure the prompt data upload.
Intelligent sensors based on the Internet of ings can have a beneficial impact on the production, transportation, and manufacturing of enterprises; moreover, it can realize the effective management of accounting information. Figure 11 demonstrates the specific architecture of AIS. Figure 11 implies that AIS is composed of accounts, procurement, cost, and other subsystems. e intelligent sensors based on the Internet of ings are applied to AIS, which can output account certificates, statements, and special information promptly and efficiently and realize the analysis of aging and other information.
After the application of intelligent sensing technology to the enterprise's supply chain management, the enterprise's management level in various links such as goods purchase, storage, transportation, and sales has been improved to a certain extent. e corresponding enterprise financial AIS has greatly improved the data sharing, data governance, and data operation efficiency. It has an impact on the enterprise financial accounting data of the smart city, which is the most obvious, as shown in Figure 12. Figure 12 suggests that in the past five years, the net profit of the enterprise has increased from 112.69 million yuan to 3329.33 million yuan. e owner's equity increased from 2045.68 million yuan to 11177.34 million yuan; the cash flow of the enterprise increased from 1056.91 million yuan to 6892.56 million yuan. Based on the above data, it can be found that the introduction of intelligent sensing technology into enterprise financial accounting management has significantly improved assets, profits, and owner's equity. It can be seen that intelligent sensing technology can improve the core competitiveness of enterprises.

Suggestions on Optimization of Enterprise AIS by Intelligent Sensors.
Compared with ordinary cities, smart cities have more stringent requirements and higher positioning for enterprise AIS. Enterprise AIS should not only maximize the interests of the company but also focus on analysis and decision making. To realize the optimization of AIS, it should be improved from many angles and aspects. e specific suggestions are as follows. (1) Hui and Wei pointed out in their published papers that the intelligent sensing technology of the IoT had three main risks in cost, security, and privacy. Only by solving the problems of cost, security, and privacy, can the Internet of things technology be better applied in the enterprise financial accounting information system. [36]. Hence, as for government, it should strengthen guidance and supervision, establish special organizations to control AIS in the smart city, seriously deal with any illegal  enterprises, and return the society with a harmonious and honest atmosphere. Additionally, the government should also call on high-quality talents to devote into the optimization of AIS. Government should also increase the financial support for the R&D of information system, to promote the rapid development of AIS. (2) Zhao and Qiu analyzed the impact of accounting informatization under the background of big data era and put forward the problems of the security of accounting information and the lack of accounting data standards [37]. As for enterprise, it should always strengthen the cultivation of enterprise employees' awareness of information security to avoid the invasion of Trojan horse and other computer virus and the stealing of important information and strengthen the management on the authority and times of database access whenever a large amount of information is transmitted to the enterprise. Meanwhile, enterprise should strengthen information exchanges and cooperation with other companies and enterprises in the market and learn from other enterprises to obtain practical experience. Based on actual situation, the beneficial methods and experience should be drawn to improve the AIS optimization of enterprise. Moreover, enterprises should follow the trend of the development of the time, apply intelligent sensing technology and IoT to the operation of AIS, and improve the security of employee system and the effectiveness of AIS. (3) As for enterprise accountants, they should strengthen professional ethics, improve their own binding force, always take integrity as the first criterion, and stick to their principle in the face of illegal temptation in the society. Simultaneously, the enterprise should also establish a reward and punishment system to link the business integrity processing level of the enterprise's financial accounting personnel with the salary, resolutely dismiss the illegal employees, and give corresponding rewards to the employees with excellent performance and those who can correctly handle financial information. (4) Under the rapid development of the information, most of the work of accounting has been done by computers with high accuracy and efficiency. Only by constantly enriching their professional knowledge and practical ability, accountants will not be eliminated by the time. ey should constantly improve their own requirements, strive to become compound talents, and improve their own value.

Conclusion
With the continuous development and improvement of the level of science and technology, the application scope of the IoT intelligent sensing technology is also expanding, from the initial logistics industry to agriculture, construction, and other industries, and now it can still be involved in the enterprise financial accounting information system. rough the application of IoTand intelligent sensors in the enterprise AIS in smart city, the following conclusions can be drawn. (1) After conducting a questionnaire to the accountants of enterprise in smart city, it is found that they do not have a good user experience in the aspects of information system data integration and sharing, data governance, and data operation and management. Data sharing in data integration and sharing receives the worst comments; the evaluation of data quality in data governance performs the worst; the evaluation of metadata management in data operation management refers to the worst. In short, each module needs to continuously strengthen quality evaluation and optimization. (2) e application of IoT technology and intelligent sensors in enterprise AIS can both improve the operation efficiency and reduce the mistakes caused Wireless Communications and Mobile Computing by human operation. (3) After applying the intelligent sensor technology to the enterprise AIS, it can be seen from the financial data of the previous five years that the enterprise's assets, profits, and owner's equity have been significantly improved, and the enterprise's net profit has increased from 112.69 million yuan to 3329.33 million yuan. e owner's equity of the enterprise increased from 2045.68 million yuan to 11177.34 million yuan. e cash flow of the enterprise increased from 1056.91 million yuan to 6892.56 million yuan. (4) Finally, aiming at the existing problems of AIS, corresponding opinions and suggestions are given from the perspectives of government, employees, and enterprises to simultaneously promote the optimization of enterprise AIS.
Due to limited energy, there are certain limitations in data acquisition, resulting in some deviations in the analysis of relevant data. Additionally, intelligent sensing technology has not been discussed in economic investment in the optimization of financial accounting information system of enterprises in smart cities. Subsequently, benefit evaluation can be carried out according to the specific situation, so that this technology can bring certain influence to the relevant management departments, enterprises, or employees.

Data Availability
e data used to support the findings of this study are included within the article.

Conflicts of Interest
e author declares that there are no conflicts of interest.