CN108170414A - A kind of establishment can voice, collaboration and the artificial intelligence of analysis accounting system method - Google Patents
A kind of establishment can voice, collaboration and the artificial intelligence of analysis accounting system method Download PDFInfo
- Publication number
- CN108170414A CN108170414A CN201711316379.7A CN201711316379A CN108170414A CN 108170414 A CN108170414 A CN 108170414A CN 201711316379 A CN201711316379 A CN 201711316379A CN 108170414 A CN108170414 A CN 108170414A
- Authority
- CN
- China
- Prior art keywords
- user
- data
- collaboration
- module
- account
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/20—Software design
- G06F8/24—Object-oriented
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention discloses a kind of establishment can voice, collaboration and the artificial intelligence of analysis accounting system method, step is:New engineering is created, introduces based on the front end frame MUI that JS is developed as Development Framework, front end tool is packaged into the JS methods of exploitation, Native method is called in encapsulation;Setting configuration parameter;Setting includes the function module of phonetic entry, collaboration book keeping operation and account analysis module in Development Framework;The HTML5 pages constructed according to above-mentioned function module are packaged generation APP.The present invention is based on HTML5 realizations, and learning cost is low, and Cross-border congestion management is efficient;Make book keeping operation faster by voice, realizing that more people keep accounts using collaboration book keeping operation operates, on-demand customization account analysis process, and passes through diagrammatic representation, and cache user keeps accounts relevant data to reduce the request number of times to server, reduces alternation losses.The present invention as a kind of establishment can the method for voice, collaboration and the artificial intelligence of analysis accounting system can be widely applied to mobile Internet field.
Description
Technical field
The present invention relates to mobile Internet field, especially a kind of establishment can voice, collaboration and the artificial intelligence of analysis note
The method of account system.
Background technology
The evolution process of mobile application development technique can be divided into three phases:From the WAP of early stage (including WAP1.0 and
WAP2.0) website is to currently a popular native applications (Native Application), then gradually turns to using HTML5 standards as base
The Web App of plinth.
2008, HTML5 standards case was promulgated, another technical solution is provided for mobile application exploitation.2010, apple
After fruit announces that its movement equipment does not support Flash plug-in units, HTML5 standards are even more to rapidly become mobile site to make abundant webpage
The first choice of application.In order to adapt to the requirement of mobile interchange application " rich content, rich interaction, rich experience, cross-platform ", HTML5 compared with
HTML4 is made that and significantly improves.Outstanding behaviours exists:It supports offline access, supports full media content displaying, supports interactive mode
2D/3D image renderings provide abundant API to call the hardware of mobile equipment.This allows HTML5 to realize comparable to Native
The Web App of App effects, moreover, it has more superior safety, cross-platform access.Importantly, Web App are opened
Degree of raising difficult questions is greatly reduced compared with Native App, ease for use higher.H5 Web App are compared to Native App (native applications)
The advantages of:Cross-platform, iteratively faster is persistently delivered, reduces development cost, ecosystem prosperity of increasing income.
The change of Audience consumption custom is affected with gradually universal and mobile terminal the rapid development of internet, to very
Revenue and expenditure is a unclear account for more people, can reach following purpose by book keeping operation:(1), personal or household income and expenditure situation is grasped,
It makes rational planning for consumption and investment.(2), good consumption habit is cultivated.(3), enhancing improves financing to the susceptibility of Personal Finance
It is horizontal.(4), kinsfolk is promoted to live in harmony.(5), record life, social change.(6), facilitate small capital trade or foundation people
Member understands in time manages dynamic.(7), play the role of memorandum.
At present, most book keeping operation APP on the market, are all based on primary exploitation, it is impossible to cross-platform, it is impossible to iteratively faster and hold
It is continuous to deliver, it needs to put into larger development cost and cannot meet user to be not desired to the needs of keeping accounts manually.
In this regard, the Personal Finance assistant system of the C/S frameworks based on Android is provided in the prior art
(CN105243482A), but its technical solution has the following disadvantages:
1st, its App application program is used for Android platform, and the repeated workload in development process is big, and efficiency is low, is unfavorable for
Cross-platform mobile phone accounting system;
2nd, each account may include the information such as the amount of money, classification, time, remarks, and accounting procedure dependence is manually entered with user
Then process is complicated, and efficiency is low;
3rd, each account may relate to multiple users, can not realize collaborative editing of multiple users to an account;
4th, speed is slow during networking inquiry user data, and server load easily generates communication delay when increasing;
In addition to this, in the prior art also only with good grounds seclected time period carry out analysis account technical solution, Yong Hunan
With according to self-demand flexible customization analysing content.
Term is explained:
JavaScript(JS):A kind of literal translation formula script is a kind of regime type, weak type, the language based on prototype
Speech, built-in support type.Its interpreter is referred to as JavaScript engine, is a part for browser, is widely used in client
The script at end is to be used on HTML (application under standard generalized markup language) webpage earliest, for HTML
Webpage increases dynamic function.
WAP:Wireless Application Protocol is a global network communication protocol.It makes mobile Internet have one
Current standard, target be by the abundant information of Internet and advanced business be introduced into the wireless terminals such as mobile phone it
In.
DOM:It is the standard programming interface of the expansible markup language of processing of W3C Organisation recommendations.
MUI:High-performance front end frame.
SDK:Software Development Kit (Software Development Kit).
localStorage:The front end data for not having time restriction stores.
ECharts:The chart library of one pure Javascript.
Invention content
In order to solve the above-mentioned technical problem, the purpose of the present invention is:A kind of compatibility is strong, realizes the base of function iteratively faster
In HTML5 create can phonetic entry, collaboration book keeping operation and analysis account artificial intelligence accounting system method.
The technical solution adopted in the present invention is:A kind of establishment can voice, collaboration and the artificial intelligence of analysis accounting system
Method, include following steps:
New engineering is created, the front end frame MUI developed based on JS is introduced as Development Framework, front end tool is packaged into
Native method is called in the JS methods of exploitation, encapsulation;
Configuration parameter in project profile is set;
The function module of accounting system is set in Development Framework, and the function module includes having voice input module, association
With accounting module and account analysis module;
The HTML5 pages constructed according to the function module of accounting system in Development Framework are packaged generation accounting system
APP files.
Further, the voice input module is used to perform following steps:
The operation of monitoring users triggering book keeping operation when user triggers book keeping operation operation, obtains the input data of user;
When user's input is voice, word is converted speech into;
The word that word input by user or voice input by user are converted into is uploaded to server, and receive server
The upload state of feedback.
Further, the collaboration accounting module is used to perform following steps:When user's operation triggers collaboration accounting module,
The invitation account number of user's input or selection is obtained, message request is sent to invitation account number by server;When server is sent
Message request triggering collaboration accounting module when, collaboration book keeping operation is received according to user's operation and invites and invitation family of acknowledging a debt is compiled
It collects or refusal collaboration book keeping operation is invited.
Further, the account analysis module is used to perform following steps:When user's operation triggers account analysis module,
The querying condition of acquisition user's selection, and sent according to the querying condition that user selects to server and obtain asking for corresponding data
It asks, above-mentioned data is then dynamically loaded into ECharts according to the subtype of user's selection or using the subtype of acquiescence
Chart is shown.
Further, the function module has further included user log-in block, assets module, flowing water module, budget prompting mould
Block and setup module.
Further, the user log-in block is used to perform following steps:
Obtain the user data of the account number cipher logon data of user, mobile phone note verification code data or third-party application;
The data of above-mentioned acquisition are verified;
User is allowed to log in if being proved to be successful, otherwise prompt login failure information.
Further, the assets module is used to perform following steps:
After the operational order for listening to inquiry user account overall information, sent out to server and obtain user account totality
The request of data of information;
If obtaining the success of user account overall information data, by user account overall information data buffer storage to local and show
Show, while listening for the operational order of user;If obtaining user account overall information data failure, error message is prompted.
Further, the flowing water module is used to perform following steps:
After the operational order for listening to inquiry pipelined data, the request for obtaining pipelined data is sent out to server;If it obtains
Pipelined data success is taken, then pipelined data is cached to local and shown, while listening for the operational order of user;If obtain flowing water
Data failure then prompts error message;
After the operational order for listening to modification pipelined data, the modification operation of user is obtained;The flowing water that user is changed
Data are sent to server, terminate flow if sending successfully, if sending failure, prompt error message;The pipelined data
Include the amount of money, classification information, time and remark information.
Further, the budget reminding module is used to perform following steps:
After the operational order for listening to inquiry budget prompting data, sent out to server and obtain asking for budget prompting data
It asks;If obtaining budget reminds data success, budget prompting data buffer storage to local and is shown, while listening for the operation of user
Instruction;If obtaining budget reminds data failure, error message is prompted;
After listening to setting or changing the operational order of budget prompting data, the setting of user or modification operation are obtained;
Data is reminded to be sent to server user setting or modification budget, terminate flow if sending successfully, if sending failure, carry
Show error message.
Further, the setup module is used to perform following steps:
When listen to inquiry user data or account book data operational order after, to server send out obtain user data or
The request of account book data;If obtaining user data or the success of account book data, budget prompting data buffer storage to local and is shown,
While listening for the operational order of user;If obtaining setting user data or account book data failure, error message is prompted;
After the operational order for listening to modification user data or account book data, the modification operation of user is obtained;By user
The user data or account book data of modification are sent to server, terminate flow if sending successfully, if sending failure, prompt mistake
False information.
The method of the present invention advantageous effect is:The present invention is based on HTML5 to realize, a set of code can be packaged into Android,
The systems such as IOS, Windows Phone are laid out based on HTML5 response types, compatible various Pad, solve the problems, such as it is cross-platform, and can and
When respond user feedback, quickly adjust the direction of product, avoid in useless function waste time and efforts, realize lasting hand over
It pays, iteratively faster, repeated workload is small, efficient, and can encapsulate and extend public component, plug-in unit, and front end tool is encapsulated
Into the JS methods of exploitation, Native method is called in encapsulation, and user's learning cost is low;Facilitate accounting procedure by voice book keeping operation fast
Victory, while operated using book keeping operation is cooperateed with to realize that complicated more people keep accounts, account analysis process is customized according to user demand, to analysis
As a result diagrammatic representation is carried out, and cache user keeps accounts relevant data to reduce the request number of times to server, reduces interaction damage
Consumption promotes user experience.
Description of the drawings
Fig. 1 is the step flow chart of the method for the present invention.
Specific embodiment
The specific embodiment of the present invention is described further below in conjunction with the accompanying drawings:
With reference to Fig. 1, a kind of establishment can voice, collaboration and the artificial intelligence of analysis accounting system method, include following
Step:
(1) new engineering is created, the front end frame MUI developed based on JS is introduced as Development Framework, front end tool is sealed
The JS methods of exploitation are dressed up, Native method is called in encapsulation;Such as make user straight voice broadcast, speech recognition, camera etc.
JS was connected to call.
(2) the configuration parameter in project profile is set;
Preferred embodiment is further used as, the configuration parameter includes application message, page entry, icon, opens
Motion picture cartoon, SDK settings and/or module permission etc..
By the manifest.json files in modification project, to set above-mentioned configuration parameter, wherein application message includes
Apply Names, appid, version number, using description etc..
(3) in Development Framework set accounting system function module, the function module include have voice input module,
Cooperate with accounting module and account analysis module;
Preferred embodiment is further used as, the voice input module is used to perform following steps:
The operation of monitoring users triggering book keeping operation when user triggers book keeping operation operation, obtains the input data of user;
When user's input is voice, word is converted speech into;
The word that word input by user or voice input by user are converted into is uploaded to server, and receive server
The upload state of feedback.
The step of voice input module performs specifically can refer to following embodiment:
The operation of monitoring users triggering book keeping operation when user triggers book keeping operation operation, obtains the input data of user;Such as when
When user needs book keeping operation, one account button of note on the page is clicked, by monitoring event (element.addEventListener
(' tap', function () { }))) method for monitoring the button is triggered, beating for MUI called by the call back function of this method
New forms (mui.openWindow ({ })) method is opened to open one account page of note, user can click the amount of money, type or standby
Phonetic entry or word input can be used in the input frame of note, input mode.
Then the Asynchronous Request word that word input by user or voice input by user are converted into encapsulated by MUI
Method (mui.ajax ()) is uploaded to server, and receives the upload state of server feedback, judges to upload success or failure,
If the reason of prompting makes mistake if failure, and terminate flow;Pass through method for closing (plus.webview.close if success
()) one account page of note, and refresh page are closed, while corresponding information is cached by localStorage.
Preferred embodiment is further used as, the collaboration accounting module is used to perform following steps:Work as user's operation
When triggering collaboration accounting module, the invitation account number of user's input or selection is obtained, is sent and invited to invitation account number by server
Information;When the message request triggering collaboration accounting module that server is sent, collaboration book keeping operation is received according to user's operation and is invited
And family of acknowledging a debt to invitation is invited into edlin or refusal collaboration book keeping operation.
The step of collaboration accounting module performs specifically can refer to following embodiment:
When user wants other people is invited to cooperate with book keeping operation, the corresponding button triggering collaboration book keeping operation mould of lower section menu bar is clicked
Block, page loading DOM structure, passes through (document.getElementById (' ') .addEventListener after having loaded
(' tap', function () { })) to bind event to each button, and click the account book management of the page.
When user selection be account number invite when, by window.location.href jump to account number invite the page,
After page loading DOM structure, perform (document.getElementById (' ') .addEventListener (' tap',
Function () { })) it is that send button binds event, the account number of invitee is inputted by user.
Get invitee's account number of user's input or selection, the Asynchronous Request method then encapsulated by MUI
Account number is sent to server by (mui.ajax ()), and server-side can do corresponding operation according to handling result, if it succeeds,
Invitation notification is sent to invited user and is returned the result;If it fails, then terminate flow and prompt error reason.
When user's selection be that third party App is invited when, such as invited using wechat or QQ, wechat or QQ can be called
Interface enter the selection user of wechat or QQ or the page of user group, after user has selected invitee, wechat can be called
Interface sends the invitation page made before to the user, which has powerful connections, and figure and receiving are invited, refusal invites button
Deng.
Preferred embodiment is further used as, when the message request triggering collaboration accounting module that server is sent,
Receive collaboration book keeping operation according to user's operation to invite and to family of acknowledging a debt is invited to invite into edlin or refusal collaboration book keeping operation;At this
Following sub-step is can refer in one specific embodiment of invention:
When invited user point has opened the invitation page, the page can load DOM structure, then pass through
document.getElementById(‘acceptInvitation”).addEventList ener('tap',function
() { }) it is that button binds corresponding event.
After invited user clicks receiving invitation button, the event bound before can be triggered, passes through the asynchronous of MUI encapsulation
Requesting method (mui.ajax ()), is sent to server-side, and after server-side makes respective handling, returned data reports to app, app roots
The accounting system of the user is opened according to the result of return, and the default account of relative users account number is set to cooperate with account book, and add
All data under collaboration account book are carried, and reports to and user invitee is invited to agree to the information invited.If invited user point
It has hit refusal to invite, the event bound before can be triggered, server-side is sent to by Asynchronous Request (ajax), server-side makes phase
After should handling, return information tells that invited user has rejected the invitation of collaboration book keeping operation to user is invited.
Preferred embodiment is further used as, the account analysis module is used to perform following steps:Work as user's operation
When triggering account analysis module, the querying condition of user's selection is obtained, and sent out to server according to the querying condition that user selects
Send the request for obtaining corresponding data, the subtype that is then selected according to user or using acquiescence subtype by above-mentioned data
ECharts charts are dynamically loaded into be shown.
Preferred embodiment is further used as, the querying condition of account analysis mould user's selection in the block includes
Pay type, income type, time interval and year/monthly comparison.
The step of account analysis module performs specifically can refer to following embodiment:
When user wants to examine the accounts analysis, after the setting management for clicking lower section menu bar, page loading DOM structure,
Pass through (document.getElementById (' ') .addEventListener (' tap', function () after having loaded
{ })) to bind event to each button, and the account analysis for clicking the page enters the page.
After loading DOM structure into the account analysis page, bootstrap loading getAllParam () method is performed, is passed through
The Asynchronous Request (ajax) of getAllParam () method is sent to server, is returned after server inquiry database corresponding
Data.
It is returned the result according to what server returned, terminate flow if failure and prompts error message;Pass through if success
The ID of each element gives each element assignment, then passes through the event of binding (document.getElementById
(' searchBtn ') .addEventListener (' tap', function () { })) give inquiry button binding corresponding event,
And to all selection combobox default values.Monitoring users operate, and obtain the querying condition of user's selection, click and look into user
After asking button, by the method for above-mentioned binding, Asynchronous Request (ajax) is sent, and the querying condition of previous step selection is sent
Give server acquisition request corresponding data.
Finally, the subtype selected according to user or the subtype for using acquiescence and the phase from server acquisition
Data are answered, above-mentioned data are dynamically loaded into ECharts charts, chart is shown by the ID of element.
Preferred embodiment is further used as, the function module has further included user log-in block, assets module, stream
Water module, budget reminding module and setup module;
The user log-in block assigns user's operation permission for being verified to user identity after being proved to be successful;
The assets module is used to show the account overall information of user and provides the functional entrance of account book;
The flowing water module is used to show and change the account revenue and expenditure details of user;
The budget reminding module for remind user its expenditure whether excess budget;
The setup module is used to set user information and account information.
Preferred embodiment is further used as, the user log-in block is used to perform following steps:
Obtain the user data of the account number cipher logon data of user, mobile phone note verification code data or third-party application;
The data of above-mentioned acquisition are verified;
User is allowed to log in if being proved to be successful, otherwise prompt login failure information.
The step of user log-in block performs specifically can refer to following embodiment:
If user verifies user identity, user's operation permission is assigned after being proved to be successful to first log into;User
The mode logged in for the first time includes account number cipher login, mobile phone identifying code logs in and third party App verifications log in.
When being logged in using account number cipher, account number input by user, password are stepped on by login () method verification from encapsulation
Record, judges whether to login successfully.
It is clicked when being logged in using SMS, after user's input handset number and obtains identifying code, pass through the getCode from encapsulation
() method sends mobile phone identifying code, and user receives and after input validation code, clicks and log in, pass through call function login () method
Cell-phone number and short message verification code are examined, identifying code is then verified if there is the cell-phone number, is then registered simultaneously if there is no the mobile phone
Verify identifying code.
It is verified after verification as a result, being returned by local cache database cache server if being proved to be successful
Token provides corresponding prompting if authentication failed.
Preferred embodiment is further used as, the assets module is used to perform following steps:
After the operational order for listening to inquiry user account overall information, sent out to server and obtain user account totality
The request of data of information;
If obtaining the success of user account overall information data, by user account overall information data buffer storage to local and show
Show, while listening for the operational order of user;If obtaining user account overall information data failure, error message is prompted.
The step of assets module performs specifically can refer to following embodiment:
First, after user logs in, after user clicks the assets module of lower section menu, all DOM structures have been loaded,
Perform getAllAsset () method from encapsulation;
Then, by the Asynchronous Request (ajax) in getAllAsset (), send parameter to server, server according to
The parameter query database transmitted, returns to corresponding data;
Finally, the data returned according to server terminate flow if failure is inquired and prompt error message, if success
Then the data of return are changed into json character strings by JSON.stringify () and pass through localStorage and are cached to local
Cache database builds page display format;By the ID of each element, to each element assignment, then pass through the event of binding
(document.getElementById('commentList').addEventListener('tap',function()
{ })) give the binding of each account book function button corresponding triggering method, stream is for example typically checked to the operation of account book function module
Water, setting budget are reminded, change setting etc..
Preferred embodiment is further used as, the flowing water module is used to perform following steps:
After the operational order for listening to inquiry pipelined data, the request for obtaining pipelined data is sent out to server;If it obtains
Pipelined data success is taken, then pipelined data is cached to local and shown, while listening for the operational order of user;If obtain flowing water
Data failure then prompts error message;
After the operational order for listening to modification pipelined data, the modification operation of user is obtained;The flowing water that user is changed
Data are sent to server, terminate flow if sending successfully, if sending failure, prompt error message.
The step of assets module performs specifically can refer to following embodiment:
When user click lower section menu flowing water module, after load all DOM structures, perform from encapsulate
GetAllJournal () method;
By the Asynchronous Request (ajax) in getAllJournal (), parameter is sent to server, and server is according to transmitting
Parameter query database, return to corresponding data.Preferred embodiment is further used as, is asked due to being related to server paging
Topic to server so can pass page/size (the current page number/every page of item number) data of acquiescence when loading for the first time.
According to the data that previous step server returns, terminate flow if failure is inquired and prompt error message, if into
Work(, which then changes into the data of return json character strings by JSON.Stringify () and passes through localStorage, is cached to this
Ground cache database builds page display format;Required HTML character strings are spliced by for cycle dynamics, then
Corresponding region is appended to by document.getElementById (" journalContent ") .innerHTML, is passed through
The click event of monitor method ($ (' li a') .on (' click', function () { }) monitoring users.
The pipelined data includes the amount of money, classification information, time and remark information etc..When user passes through according to server
During the bill flowing water list of returned data generation, when by clicking any one flowing water, it can trigger from encapsulating
GoDetails () method, goDetails () can cache the amount of money of this record, classification, the time, standby by localStorage
The information such as note, then jump to the detailed page of flowing water by window.location.href.
After jumping to the detailed page of flowing water, the getDetails () method from encapsulation is performed to obtain the letter of previous step caching
The cache information got, is changed into json objects, by the ID of each element, to each element by breath by JSON.parse ()
Then assignment passes through the event of binding (document.getElementById (' saveBtn ') .addEventListener ('
Tap', function () { })) give save button binding triggering method.When user is after the detailed page of flowing water is modified, point
The triggering method (saveInfo ()) bound just now is triggered when hitting preservation, service is then sent to by asynchronous method (ajax)
Device after server process, can return to the information of success or failure, and flow terminates if success, if it fails, flow terminates simultaneously
Prompt error message.
Preferred embodiment is further used as, the budget reminding module is used to perform following steps:
After the operational order for listening to inquiry budget prompting data, sent out to server and obtain asking for budget prompting data
It asks;If obtaining budget reminds data success, budget prompting data buffer storage to local and is shown, while listening for the operation of user
Instruction;If obtaining budget reminds data failure, error message is prompted;
After listening to setting or changing the operational order of budget prompting data, the setting of user or modification operation are obtained;
Data is reminded to be sent to server user setting or modification budget, terminate flow if sending successfully, if sending failure, carry
Show error message.
The step of budget reminding module performs specifically can refer to following embodiment:
Budget reminding module is triggered after user clicks the budget menu of lower section menu bar, all DOM structures is loaded, holds
GetBudgetInfo () method that row encapsulates certainly;Then it by the Asynchronous Request (ajax) in getBudgetInfo (), sends
Parameter returns to corresponding data to server, server according to the parameter query database transmitted.
According to the data that server returns, terminate flow if failure is inquired and prompt error message, if successfully sentenced
It is disconnected to return to whether json objects are empty, element assignment if it is empty need not be then given, by the ID of each element to each element if having value
Then assignment passes through the event of binding (document.getElementById (' saveBtn ') .addEventListener ('
Tap', function () { })) give save button binding triggering method.
Full page is illustrated by previous step, user can voluntarily select to set or change budget amount and each point
The data such as the item amount of money.
When user preserves the information for setting or changing, can trigger user confirm mui.confirm (' whether hold
Open early warning prompting', function (type) { }), when user's click is no, close prompting;When user, which clicks, is, triggering is different
Step request (ajax) reports to server and has turned on budget prompting, then when the expenditure of some classification of user or total expenditure are more than point
When class budget or master budget, plus.nativeUI.toast (" can be passed through) provide prompt message.
Preferred embodiment is further used as, the setup module is used to perform following steps:
When listen to inquiry user data or account book data operational order after, to server send out obtain user data or
The request of account book data;If obtaining user data or the success of account book data, budget prompting data buffer storage to local and is shown,
While listening for the operational order of user;If obtaining setting user data or account book data failure, error message is prompted;
After the operational order for listening to modification user data or account book data, the modification operation of user is obtained;By user
The user data or account book data of modification are sent to server, terminate flow if sending successfully, if sending failure, prompt mistake
False information.
The step of budget reminding module performs specifically can refer to following embodiment:
When user will set user information or during account book information, the setting menu triggering account setup of lower section menu bar is clicked
Module after loading all DOM structures, performs getAllSetupInfo () method from encapsulation, passes through getAllSetupInfo
Asynchronous Request (ajax) in (), is sent to server, and server returns to corresponding data.
Server returns to corresponding data according to the parameter query database transmitted.
Judged according to the data that server returns, terminate flow if failure and prompt error message, if into
Work(then by the ID of each element, gives each element assignment, then passes through the event of binding (document.getElementById
(' ') .addEventListener (' tap', function () { })) give the binding of each button corresponding event, button corresponds to
Process object for user data or account book data, wherein account book data include account classification management information, account pipe
Manage information, account businessman management information and account book management information etc..
According to the button event that previous step is bound, monitoring users are operated and are accordingly set.Believed with account classification management
For the setting of breath, when user needs to change or adds classification, the account classification management button of setup module is clicked, clicks account
After family Classification Management button, the page jumps to the Classification Management page by window.location.href, then loads DOM,
GetClassifiedInfo () method from encapsulation is performed after the completion of loading, passes through the getClassifiedInfo of this method
The Asynchronous Request (ajax) of () sends to server and asks, and after server is connected to request, inquires data and returns to corresponding number
According to.Before terminate to server return Json data after, by for cycle dynamic be spliced into required HTML character strings, so
Corresponding region, Ran Houtong are appended to by document.getElementById (" newsContent ") .innerHTML afterwards
Cross the click event of monitor method ($ (' li a') .on (' click', function () { }) monitoring users.User needs to change
During top classification, page upper right corner Edit button is clicked, the classification to be changed then is selected, passes through
Window.location.href jumps to the modification page, and after user's modification, the saveInfo () method for clicking binding is come persistently
Change modified data, and return and refresh the Classification Management page.
Preferred embodiment is further used as, in the account overall information of inquiry user, inquiry user in above-mentioned steps
Account revenue and expenditure details, inquire user budget setting and inquiry user user information and account information when, first inquiry is local
Cache database, if being directly acquired in the presence of if, if being not present, then to server transmission data inquiry request, then by server
In the data buffer storage to local cache database of return.
Preferred embodiment is further used as, above-mentioned all steps are used based on the MUI of HTML5 as front end frame
It realizes.
(4) the HTML5 pages constructed according to the function module of accounting system in Development Framework are packaged generation accounting system
APP.
It is specifically described by taking the packing of android system as an example, is further used as preferred embodiment, be packaged generation
The step of APP of accounting system is specially:
Start the eclipse programs with ADT, and import engineering compiling operation;
Feature libraries to be used are copied from SDK catalogues to engineering libs catalogues, in the libs of engineering after the completion of copy
It is shown under catalogue;
Permission, the data of other third party libraries, the packet name of application and version number, Apply Names, the application drawing of application is configured
Mark and startup interface, update application resource, select " Android Application " to start application, compiling fortune after configuration
Apk can be generated after row under bin catalogues.
It is that the preferable of the present invention is implemented to be illustrated, but the invention is not limited to the implementation above
Example, those skilled in the art can also make various equivalents under the premise of without prejudice to spirit of the invention or replace
It changes, these equivalent deformations or replacement are all contained in the application claim limited range.
Claims (10)
1. a kind of establishment can voice, collaboration and the artificial intelligence of analysis accounting system method, which is characterized in that include following
Step:
New engineering is created, introduces based on the front end frame MUI that JS is developed as Development Framework, front end tool is packaged into exploitation
JS methods, encapsulation call Native method;
Configuration parameter in project profile is set;
The function module of accounting system is set in Development Framework, and the function module includes having voice input module, collaboration note
Account module and account analysis module;
The HTML5 pages constructed according to the function module of accounting system in Development Framework are packaged the APP texts of generation accounting system
Part.
2. a kind of establishment according to claim 1 can voice, collaboration and the artificial intelligence of analysis accounting system method,
It is characterized in that:The voice input module is used to perform following steps:
The operation of monitoring users triggering book keeping operation when user triggers book keeping operation operation, obtains the input data of user;
When user's input is voice, word is converted speech into;
The word that word input by user or voice input by user are converted into is uploaded to server, and receive server feedback
Upload state.
3. a kind of establishment according to claim 1 can voice, collaboration and the artificial intelligence of analysis accounting system method,
It is characterized in that:The collaboration accounting module is used to perform following steps:When user's operation triggers collaboration accounting module, obtain and use
Family inputs or the invitation account number of selection, and message request is sent to invitation account number by server;When the invitation that server is sent
During information triggering collaboration accounting module, according to user's operation receive collaboration book keeping operation invite and family of acknowledging a debt to invitation into edlin or
Person refuses collaboration book keeping operation and invites.
4. a kind of establishment according to claim 1 can voice, collaboration and the artificial intelligence of analysis accounting system method,
It is characterized in that:The account analysis module is used to perform following steps:When user's operation triggers account analysis module, obtain and use
The querying condition of family selection, and the request for obtaining corresponding data is sent to server according to the querying condition that user selects, then
According to the subtype of user's selection or above-mentioned data are dynamically loaded into ECharts charts using the subtype of acquiescence to carry out
Display.
5. a kind of establishment according to claim 1 can voice, collaboration and the artificial intelligence of analysis accounting system method,
It is characterized in that:The function module has further included user log-in block, assets module, flowing water module, budget reminding module and has set
Put module.
6. a kind of establishment according to claim 5 can voice, collaboration and the artificial intelligence of analysis accounting system method,
It is characterized in that:The user log-in block is used to perform following steps:
Obtain the user data of the account number cipher logon data of user, mobile phone note verification code data or third-party application;
The data of above-mentioned acquisition are verified;
User is allowed to log in if being proved to be successful, otherwise prompt login failure information.
7. a kind of establishment according to claim 5 can voice, collaboration and the artificial intelligence of analysis accounting system method,
It is characterized in that:The assets module is used to perform following steps:
After the operational order for listening to inquiry user account overall information, sent out to server and obtain user account overall information
Request of data;
If obtaining the success of user account overall information data, by user account overall information data buffer storage to local and show,
While listening for the operational order of user;If obtaining user account overall information data failure, error message is prompted.
8. a kind of establishment according to claim 5 can voice, collaboration and the artificial intelligence of analysis accounting system method,
It is characterized in that:The flowing water module is used to perform following steps:
After the operational order for listening to inquiry pipelined data, the request for obtaining pipelined data is sent out to server;If obtain stream
Pipelined data is then cached to local and shown, while listening for the operational order of user according to success by water number;If obtain pipelined data
Failure, then prompt error message;
After the operational order for listening to modification pipelined data, the modification operation of user is obtained;The pipelined data that user is changed
Server is sent to, terminates flow if sending successfully, if sending failure, prompts error message;The pipelined data includes
There are the amount of money, classification information, time and remark information.
9. a kind of establishment according to claim 5 can voice, collaboration and the artificial intelligence of analysis accounting system method,
It is characterized in that:The budget reminding module is used to perform following steps:
After the operational order for listening to inquiry budget prompting data, the request for obtaining budget and reminding data is sent out to server;
If obtaining budget reminds data success, budget prompting data buffer storage to local and is shown that the operation while listening for user refers to
It enables;If obtaining budget reminds data failure, error message is prompted;
After listening to setting or changing the operational order of budget prompting data, the setting of user or modification operation are obtained;It will use
Family is set or modification budget reminds data to be sent to server, is terminated flow if sending successfully, if sending failure, is prompted mistake
False information.
10. a kind of establishment according to claim 5 can voice, collaboration and the artificial intelligence of analysis accounting system method,
It is characterized in that:The setup module is used to perform following steps:
After the operational order for listening to inquiry user data or account book data, sent out to server and obtain user data or account book
The request of data;If obtaining user data or the success of account book data, budget prompting data buffer storage to local and is shown, simultaneously
The operational order of monitoring users;If obtaining setting user data or account book data failure, error message is prompted;
After the operational order for listening to modification user data or account book data, the modification operation of user is obtained;User is changed
User data or account book data be sent to server, terminate flow if sending successfully, if send failure, prompt wrong letter
Breath.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711316379.7A CN108170414A (en) | 2017-12-12 | 2017-12-12 | A kind of establishment can voice, collaboration and the artificial intelligence of analysis accounting system method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711316379.7A CN108170414A (en) | 2017-12-12 | 2017-12-12 | A kind of establishment can voice, collaboration and the artificial intelligence of analysis accounting system method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108170414A true CN108170414A (en) | 2018-06-15 |
Family
ID=62525137
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711316379.7A Pending CN108170414A (en) | 2017-12-12 | 2017-12-12 | A kind of establishment can voice, collaboration and the artificial intelligence of analysis accounting system method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108170414A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109871198A (en) * | 2019-01-31 | 2019-06-11 | 上海智臻智能网络科技股份有限公司 | A kind of application interaction demand adaptation method and device |
CN110825370A (en) * | 2018-08-08 | 2020-02-21 | 阿里巴巴集团控股有限公司 | Mobile terminal application development method, device and system |
CN115881096A (en) * | 2023-02-22 | 2023-03-31 | 翌飞锐特电子商务(北京)有限公司 | Intelligent account checking method and system |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103093316A (en) * | 2013-01-24 | 2013-05-08 | 广东欧珀移动通信有限公司 | Method and device of bill generation |
CN104765617A (en) * | 2015-05-04 | 2015-07-08 | 北京奇虎科技有限公司 | Stream application function interface distributing method and system realized on basis of HTML5 |
-
2017
- 2017-12-12 CN CN201711316379.7A patent/CN108170414A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103093316A (en) * | 2013-01-24 | 2013-05-08 | 广东欧珀移动通信有限公司 | Method and device of bill generation |
CN104765617A (en) * | 2015-05-04 | 2015-07-08 | 北京奇虎科技有限公司 | Stream application function interface distributing method and system realized on basis of HTML5 |
Non-Patent Citations (2)
Title |
---|
OREAL7: "如何实现多人协同记账(多人记一个账本)", 《HTTPS://JINGYAN.BAIDU.COM/ARTICLE/3065B3B697039FBECEF8A410.HTML》 * |
天风: "聊聊你们用过的最好用的语音记账APP", 《HTTPS://WWW.DOUBAN.COM/GROUP/TOPIC/96755355/》 * |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110825370A (en) * | 2018-08-08 | 2020-02-21 | 阿里巴巴集团控股有限公司 | Mobile terminal application development method, device and system |
CN110825370B (en) * | 2018-08-08 | 2023-04-18 | 阿里巴巴集团控股有限公司 | Mobile terminal application development method, device and system |
CN109871198A (en) * | 2019-01-31 | 2019-06-11 | 上海智臻智能网络科技股份有限公司 | A kind of application interaction demand adaptation method and device |
CN115881096A (en) * | 2023-02-22 | 2023-03-31 | 翌飞锐特电子商务(北京)有限公司 | Intelligent account checking method and system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11943318B2 (en) | Recomposing survey questions for distribution via multiple distribution channels | |
US7941755B2 (en) | Method and apparatus for web page co-browsing | |
US8347322B1 (en) | Social network application programming interface | |
CN108196829A (en) | A kind of artificial intelligence mobile phone accounting system for analyzing account and method | |
CN103942093B (en) | Method for processing business and system | |
CN103853767B (en) | A kind of social circle's sharing method and device based on browser | |
CN101697156B (en) | A kind of method and system of constructing chain web pages | |
US20120173607A1 (en) | Driving a user experience of a web application using rules that establish or change requests based on user behavior | |
CN103119603A (en) | Web-based electronically signed documents | |
CN108319474B (en) | Page information generation method, device and equipment | |
CN110138573B (en) | Conference state prompting method, server, intelligent terminal and storage medium | |
JP2011512571A (en) | System and method for integrating banner advertisement and calling application | |
CN108170414A (en) | A kind of establishment can voice, collaboration and the artificial intelligence of analysis accounting system method | |
CN107771389A (en) | Visual interactive voice response system | |
CN108090156A (en) | A kind of method that book keeping operation artificial intelligence accounting system can be cooperateed with based on HTML5 establishments | |
CN104468635B (en) | The user right step-up authentication method and system of the network platform | |
CN108171403A (en) | A kind of artificial intelligence mobile phone accounting system and method based on phonetic entry | |
CN103970773B (en) | A kind of method for updating pages and device of webpage | |
CN108255469A (en) | A kind of establishment can voice and analysis account artificial intelligence accounting system method | |
CN108255470A (en) | It is a kind of based on HTML5 create can phonetic entry artificial intelligence accounting system method | |
CN108279900A (en) | A method of artificial smart mobile phone accounting system is created based on HTML5 | |
CN108171467A (en) | It is a kind of can multi-person synergy book keeping operation artificial intelligence mobile phone accounting system and method | |
CN108182065A (en) | A kind of establishment can voice and collaboration book keeping operation artificial intelligence accounting system method | |
CN108153524A (en) | A kind of method that the artificial intelligence accounting system of book keeping operation can be analyzed and be cooperateed with to establishment | |
CN108170413A (en) | A kind of method that account artificial intelligence accounting system can be analyzed based on HTML5 establishments |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180615 |
|
RJ01 | Rejection of invention patent application after publication |