WeChat payment charging system for smart campusTechnical Field
The invention relates to the technical field of collection modes, in particular to a WeChat payment charging system for an intelligent campus.
Background
Refers to a method of collecting money items. Such as cash, WeChat, Payment treasures, cheques, promissory notes, commercial drafts, and the like. The consumer has more options at the time of payment.
However, in the existing WeChat payment charging system, the two-dimensional code is scanned by the mobile phone of the consumer, and payment is performed through the two-dimensional code, but if the two-dimensional code is scanned successfully and payment is finished under the condition of poor network, a seller can receive payment only after a long time, which wastes too much time. Therefore, the WeChat payment charging system for the smart campus is provided.
Disclosure of Invention
The invention aims to provide a WeChat payment charging system for a smart campus, which aims to solve the problems in the background technology.
In order to achieve the purpose, the invention provides the following technical scheme: a WeChat payment charging system for a smart campus comprises a cloud server, an information acquisition prompting end, a mobile phone App information acquisition end, an information packaging encryption end, an information sending end, an information receiving end, an information decompression decoding end, an information processing end and an information feedback end, wherein the output end of the information acquisition prompting end is connected with the input end of the mobile phone App information acquisition end, the output end of the mobile phone WeChat information acquisition end is connected with the input end of the information packaging encryption end, the output end of the information packaging encryption end is connected with the input end of the information sending end, the output end of the information sending end is connected with the input end of the cloud server, the output end of the cloud server is connected with the input end of the information receiving end, the output end of the information receiving end is connected with the input end of the information decompression decoding end, and the output end of the information decompression decoding, the output end of the information processing end is connected with the output end of the information feedback end, and the mobile phone WeChat information acquisition end and the information feedback end are matched with each other to operate.
Preferably, the industry name of the cloud server is actually called a computing unit, the so-called computing unit, that is, the server can only be a brain of a person, and is equivalent to a CPU of a common computer, resources in the server are limited, and a user needs to obtain better performance.
Preferably, the information acquisition prompt terminal is constructed on the basis of a two-dimensional code, the two-dimensional code skillfully utilizes the concepts of '0' and '1' bit streams forming the internal logic basis of a computer in code compilation, uses a plurality of geometric forms corresponding to a binary system to represent character numerical information, and automatically reads the information through an image input device or a photoelectric scanning device so as to realize automatic information processing.
Preferably, the mobile phone App information acquisition end is constructed on the basis of mobile phone App WeChat, a camera on the mobile phone is opened through the WeChat on the mobile phone, the WeChat is used for scanning the two-dimensional code on the information prompt end, the content in the two-dimensional code is expressed on the mobile phone through the WeChat, the content expressed on different mobile phones is the same, the information timeliness is improved, and the workload is saved or reduced.
Preferably, the information packaging encryption end performs a process of compressing one or more files (folders) by using compression software, namely packaging, and through the packaging operation, the data size can be effectively reduced, the storage space and the transmission time are saved, the packaged files are encrypted by an elliptic curve encryption technology (ECC), and then are sent by the cloud server part, and the elliptic curve encryption technology (ECC) has the advantages of high safety performance, small calculation amount, high processing speed and low bandwidth requirement.
Preferably, the information sending end translates into a File Transfer Protocol in the form of FTP (File Transfer Protocol), which is another main service on the Internet and allows users to Transfer various files via the Internet, and File FTP (File Transfer Protocol), which is a Protocol (File Transfer Protocol) used on the Internet to Transfer files and is a File Transfer standard established for transferring files to each other on the Internet and defines how to Transfer files on the Internet.
Preferably, the data uploaded to the cloud server by the information receiving end is sent to a distributed database, where data redundancy is a required characteristic, unlike a general centralized database system, the first point is to copy data at required database nodes for improving local applicability, and the second point is to enable the system to continue to be used by operating data copied in other database nodes before a certain database node is repaired if a system error occurs at the certain database node, so as to improve the effectiveness of the system.
Preferably, the decoding and decoding of information decompression will be packed and then decoding decompression will be carried out, the decoding process is a fast algorithm of finite length sequence Discrete Fourier Transform (DFT) through FFT (fast Fourier transform), the basic operation is butterfly algorithm, 1. FFT is carried out on the received DTMF signal, a spectrogram is drawn, and frequency components representing each signal are found out from the FFT, the FFT requires the sequence length N to be 2 to the power E (E is an integer), so N is 28 to 256, each frequency component can be distinguished in the spectrogram because the frequency spectrum resolution F is fs/N is 31.25Hz <73Hz, the amplitude spectrum of the DTMF signal only contains two spectral lines, the horizontal coordinates of the spectral lines are two frequency component points KL and KH of the signal, the spectral leakage is eliminated, the DTMF signal is finite length and is equivalent to adding a rectangular window to the signal with infinite length, and therefore the phenomenon of spectral leakage inevitably occurs in the spectrogram, the signal energy is spread to other spectral line positions, for which a suitable threshold value is chosen to eliminate the less intense spectral lines that appear around the two spectral lines.
Preferably, the information processing terminal compares the decoded information with a distributed database in the cloud server and updates data in the cloud server, the information processing is reception, storage, conversion, transmission and distribution of the information, and with the continuous development of computer science, a computer has developed from an initial computing tool mainly based on "computing" into a computing tool mainly based on information processing and integrating computing and information processing.
Preferably, the data processed by the information feedback end uploaded to the server is sent to the mobile phone App through the module, and the message is sent out through the control system, so that the App on the mobile phone receives the information in the cloud service in a WeChat mode.
Compared with the prior art, the invention has the beneficial effects that:
(1) according to the system, the data information is packaged through the information packaging and encrypting end, because the information is packaged, the capacity of the information is reduced, the time for encrypting the information is shortened, the time for transmitting the information is shortened, and the data transmission speed is improved.
(2) According to the system, data information is encrypted through the information packaging encryption end, data are encrypted through the elliptic curve encryption technology (ECC), the safety during information transmission is improved, the elliptic curve encryption technology (ECC) has the advantages of high safety performance, small calculated amount, high processing speed and low bandwidth requirement, and the time required by encryption is saved while the information safety is improved.
Drawings
FIG. 1 is a schematic diagram of the system of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, the present invention provides a technical solution: a WeChat payment charging system for a smart campus comprises a cloud server, an information acquisition prompting end, a mobile phone App information acquisition end, an information packaging encryption end, an information sending end, an information receiving end, an information decompression decoding end, an information processing end and an information feedback end, wherein the output end of the information acquisition prompting end is connected with the input end of the mobile phone App information acquisition end, the output end of the mobile phone WeChat information acquisition end is connected with the input end of the information packaging encryption end, the output end of the information packaging encryption end is connected with the input end of the information sending end, the output end of the information sending end is connected with the input end of the cloud server, the output end of the cloud server is connected with the input end of the information receiving end, the output end of the information receiving end is connected with the input end of the information decompression decoding end, and the output end of the information decompression decoding, the output end of the information processing end is connected with the output end of the information feedback end, and the mobile phone WeChat information acquisition end and the information feedback end are matched with each other to operate.
The industry name of the cloud server is actually called a computing unit, namely the server can only be the brain of one person, is equivalent to a CPU of a common computer, the resources in the server are limited, and better performance is obtained.
The information acquisition prompt terminal is constructed on the basis of two-dimensional codes, the two-dimensional codes skillfully utilize the concepts of '0' and '1' bit streams forming the internal logic basis of a computer in code programming, use a plurality of geometric shapes corresponding to binary systems to represent character numerical information, and realize automatic information processing by automatic reading of image input equipment or photoelectric scanning equipment.
The mobile phone App information acquisition terminal is constructed on the basis of mobile phone App WeChat, a camera on the mobile phone is opened through the WeChat on the mobile phone, the WeChat is used for scanning the two-dimensional code on the information prompt terminal, the content in the two-dimensional code is expressed on the mobile phone through the WeChat, the content expressed on different mobile phones is the same, the information timeliness is improved, and the workload is saved or reduced.
The information packaging encryption end is used for compressing one or more files (folders) by using compression software, namely packaging, effectively reducing the data size through packaging operation, saving the storage space and the transmission time, encrypting the packaged files by using an elliptic curve encryption technology (ECC), and sending the encrypted files by using the cloud server part, wherein the elliptic curve encryption technology (ECC) has the advantages of high safety performance, small calculated amount, high processing speed and low bandwidth requirement.
The information sending end translates into File Transfer Protocol in FTP (File Transfer Protocol) Chinese, which is another main service on Internet, the service enables users to Transfer various files through Internet, File FTP (File Transfer Protocol) is a Protocol (File Transfer Protocol) for transferring files on Internet, it is a File Transfer standard which is established for transferring files on Internet, and defines how to Transfer files on Internet.
The data uploaded to the cloud server by the information receiving end is sent to the distributed database, data redundancy is a required characteristic in the distributed database, the characteristic is different from that of a common centralized database system, the first point is that data needs to be copied at required database nodes for improving local applicability, and the second point is that if a certain database node has a system error, the system can be continuously used by operating the copied data in other database nodes before the database node is repaired, so that the effectiveness of the system is improved.
The information decompression decoding decompresses the packed DTMF signal, and the decoding process is that 1, FFT (fast Fourier transform) is carried out on the DTMF signal, a spectrogram is drawn, frequency components representing each signal are found out, the sequence length N required in the FFT is the E power of 2 (E is an integer), so N28 is 256, each frequency component can be distinguished in the spectrogram due to the fact that the frequency spectrum resolution F fs/N is 31.25Hz <73Hz, the amplitude spectrum of the DTMF signal only contains two spectral lines, the horizontal coordinates of the spectral lines, namely two frequency component points KL and KH of the signal, eliminate the frequency leakage, and the DTMF signal is finite in length and is equivalent to the situation that a rectangular window is added on the infinite length signal, so the DTMF signal leakage phenomenon necessarily appears in the spectrogram, the signal energy is spread to other spectral line positions, for which a suitable threshold value is chosen to eliminate the less intense spectral lines that appear around the two spectral lines.
The information processing terminal compares the decoded information with a distributed database in the cloud server and updates data in the cloud server, the information processing is reception, storage, conversion, transmission and release of the information, and with the continuous development of computer science, a computer is developed from an initial computing tool which mainly adopts 'computing' into a computing tool which mainly adopts information processing and integrates computing and information processing.
The data processed by the information feedback end uploaded to the server is sent to the mobile phone App through the module, and the message is sent out through the control system, so that the App on the mobile phone receives the information in the cloud service through the WeChat.
The working principle is as follows: the system packs the data information through the information packing and encrypting end, and the volume of the information is reduced because the information is packed, the time for encrypting the information is shortened, the time for transmitting the information is shortened, and the data transmission speed is improved.
The data information is encrypted through the information packaging encryption end, the data is encrypted through the elliptic curve encryption technology (ECC), the safety during information transmission is improved, the elliptic curve encryption technology (ECC) has the advantages of high safety performance, small calculated amount, high processing speed and low bandwidth requirement, the time required by encryption is saved while the information safety is improved,
it is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation. The use of the phrase "comprising one of the elements does not exclude the presence of other like elements in the process, method, article, or apparatus that comprises the element.
The related modules involved in the system are all hardware system modules or functional modules combining computer software programs or protocols with hardware in the prior art, and the computer software programs or the protocols involved in the functional modules are all known in the technology of persons skilled in the art, and are not improvements of the system; the improvement of the system is the interaction relation or the connection relation among all the modules, namely the integral structure of the system is improved, so as to solve the corresponding technical problems to be solved by the system.
Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that changes, modifications, substitutions and alterations can be made in these embodiments without departing from the principles and spirit of the invention, the scope of which is defined in the appended claims and their equivalents.