CN107770377A - A kind of method of the establishment interactive voice mobile phone news client based on HTML5 - Google Patents

A kind of method of the establishment interactive voice mobile phone news client based on HTML5 Download PDF

Info

Publication number
CN107770377A
CN107770377A CN201710977828.6A CN201710977828A CN107770377A CN 107770377 A CN107770377 A CN 107770377A CN 201710977828 A CN201710977828 A CN 201710977828A CN 107770377 A CN107770377 A CN 107770377A
Authority
CN
China
Prior art keywords
news
module
user
html5
mobile phone
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.)
Withdrawn
Application number
CN201710977828.6A
Other languages
Chinese (zh)
Inventor
蔡禹
陈洁
杜超
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Industry Kaiyuan Science And Technology Co Ltd
Original Assignee
Guangdong Industry Kaiyuan Science And Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Guangdong Industry Kaiyuan Science And Technology Co Ltd filed Critical Guangdong Industry Kaiyuan Science And Technology Co Ltd
Priority to CN201710977828.6A priority Critical patent/CN107770377A/en
Publication of CN107770377A publication Critical patent/CN107770377A/en
Withdrawn legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72445User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality for supporting Internet browser applications
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • G06F16/9574Browsing optimisation, e.g. caching or content distillation of access to content, e.g. by caching
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/34Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters 
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/7243User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
    • H04M1/72433User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages for voice messaging, e.g. dictaphones

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Databases & Information Systems (AREA)
  • Human Computer Interaction (AREA)
  • Theoretical Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a kind of method of the establishment interactive voice mobile phone news client based on HTML5, step is:New engineering is created, the front end frame MUI based on JS exploitations is introduced as Development Framework, front end tool is packaged into the JS methods of exploitation, encapsulates and calls Native method;Configuration parameter in project profile is set;The functional module of news client is set in Development Framework;According to the HTML5 pages that news client functionality module construction goes out in Development Framework, the APP files of packing generation news client.The present invention realizes can solve cross-platform problem based on HTML5, and efficiency high, autgmentability are strong, and front end tool is packaged into the JS methods of exploitation, and Native method is called in encapsulation, reduces learning cost;By data cached reduction service request number and alternation losses, Consumer's Experience is lifted by voice remark.The present invention can be widely applied to internet arena as a kind of method of the establishment interactive voice mobile phone news client based on HTML5.

Description

A kind of method of the establishment interactive voice mobile phone news client based on HTML5
Technical field
The present invention relates to internet arena, especially a kind of establishment interactive voice mobile phone news client based on HTML5 Method.
Background technology
The evolution process of Mobile solution development technique, three phases can be divided into:From the WAP of early stage (including WAP1.0 and WAP2.0) website is to currently a popular native applications (Native Application), then progressively turns to using HTML5 standards as base The Web App of plinth.
2008, HTML5 standards case was promulgated, another technical scheme is provided for Mobile solution exploitation.2010, apple After fruit announces that its mobile device 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 than HTML4 is made that and significantly improved.Outstanding behaviours exists:Offline access is supported, full media content displaying is supported, supports interactive mode 2D/3D image renderings, abundant API is provided to call the hardware of mobile device.This allows HTML5 to realize comparable to Native The Web App of App effects, moreover, it has more superior security, cross-platform access.Importantly, Web App are opened Degree of raising difficult questions is greatly reduced than Native App, and ease for use is higher.H5Web App are compared to Native App's (native applications) Advantage:Cross-platform, iteratively faster, persistently deliver, reduce development cost, ecosystem prosperity of increasing income.
With internet gradual popularization and mobile terminal develop rapidly affect audient's Media Exposure custom change, Increasing people wishes to obtain newest news and information whenever and wherever possible by mobile terminal.The fast pace of the modern life causes People can only snatch a moment's leisure from a busy schedule." the tenth national national reading investigation " report display that China News publishing research institute announces, people A length of 16.52 minutes when daily mobile phone is read, the national ratio read by mobile phone is 31.2%.Under new media environment, read The reduction of person's reading time and fragmentation trend, it imply that the coverage that mobile phone is read will be more and more wider.Mobile phone is read not Quick obtaining news information is only capable of, while has agreed with the demand of the convenience of fragmentation epoch reader, fragmentation and initiative.
At present, most news clients on the market, are all based on primary exploitation, it is impossible to cross-platform, it is impossible to iteratively faster With lasting delivery, it is necessary to put into larger development cost.Such as mobile terminal new information and news money are provided in the prior art The speech playing method of news and application (CN106791078A), but its technical scheme has the following disadvantages:
1st, its app application program is used for kinds of platform, and the repeated workload in development process is big, and efficiency is low, be unfavorable for across Platform realizes mobile phone information system;
2nd, for some conventional application scenarios, such as news report is listened to during driving, possible vehicle is in the process of moving When tunnel, because network signal is weak or network signal interruption causes news report to suspend, the audiovisual body of user is caused Test bad;
3rd, information interaction mode of the prior art is inconvenient.
Term is explained:
JavaScript(JS):A kind of literal translation formula script, it 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, it is to be used on HTML (application under standard generalized markup language) webpage earliest, for HTML Webpage increases dynamic function.
WAP:WAP, it is a global network communication protocol.It, which makes to move Internet, one Current standard, its target be by Internet abundant information and advanced business be incorporated into the wireless terminals such as mobile phone it In.
MUI:Closest to the high-performance front end frame of primary App experience.
The content of the invention
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 the method for HTML5 establishment interactive voice mobile phone news client.
The technical solution adopted in the present invention is:A kind of establishment interactive voice mobile phone news client based on HTML5 Method, include following steps:
New engineering is created, the front end frame MUI based on JS exploitations 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;
In Development Framework set news client functional module, the functional module include useful family login module, News list module, news content module, speech processing module, news analysis module, news cache module and news collection mould Block;
According to the HTML5 pages that news client functionality module construction goes out in Development Framework, packing generation news client APP files.
Further, the speech processing module is used to perform following steps:
According to the news information data creation voice of news list module and news content module and speech parameter is set;
Audio file is generated according to speech parameter, and audio file is cached to local.
Further, the user log-in block is used to perform following steps:
Obtain the account number cipher logon data or SMS data of user;
The data of above-mentioned acquisition are verified;
Allow user to log in if being proved to be successful, otherwise prompt login failure information.
Further, the news list module is used to perform following steps:
After detecting that user reads the operational order of news, the request for obtaining news list data is sent to server;
If obtaining the success of news list data, by news list data buffer storage to local and show, while listening for user Clicking operation;If obtaining news list data failure, error message is prompted.
Further, the news list data include news Id, title, summary, browse number, comment number and/or news Time.
Further, the news content module is used to perform following steps:
When listening to the clicking operation of user, news list data are read from local cache and jump to particular news item Content page;
The request for obtaining news content data corresponding to news Id is sent to server;
If obtaining the success of news content data, corresponding news content data are shown;If obtain news content data to lose Lose, then prompt error message.
Further, the news analysis module is used to perform following steps:
When listening to the click input frame operation of user, review pages are jumped to;
The word input information of the comment content of user's input is obtained, or obtains the speech input information of user's input simultaneously It is converted into word input information;
Above-mentioned word is inputted into information and news Id is sent to server, and receives the data storage knot of server return Fruit, comment content is shown if storing successfully, otherwise prompts error message.
Further, the news cache module is used to perform following steps:
Listen to user to click on when browsing the operation of record button, news Id corresponding to user's operation is obtained, according to news Id reads corresponding data cached in local cache.
Further, audio file is generated according to speech parameter in the speech processing module, and audio file is added It is close, then audio file is cached to local.
Further, the news collection module is used to perform following steps:
Listen to user click on check collection button operation when, display collection the page;
Then the clicking operation of monitoring users.
The inventive method beneficial effect is:The present invention realized based on HTML5, a set of code can be packaged into Android, The systems such as IOS, Windows Phone, be laid out based on HTML5 response types, compatible various Pad, solve cross-platform problem, 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 Pay, iteratively faster, repeated workload is small, efficiency high, and can encapsulate and extend public component, plug-in unit, and front end tool is encapsulated It is low into the JS methods of exploitation, encapsulation calling Native method, user's learning cost;The data reduction pair related by caching news It the request number of times of server, can offline be played under without network environment, reduce alternation losses, lift Consumer's Experience;And it can pass through Voice carries out news analysis, makes user comment exchange more convenient.
Brief description of the drawings
Fig. 1 is the step flow chart of the inventive method;
Fig. 2 is the handling process of speech processing module in the inventive method.
Embodiment
The embodiment of the present invention is described further below in conjunction with the accompanying drawings:
A kind of reference picture 1, method of the establishment interactive voice mobile phone news client based on HTML5, includes following step Suddenly:
(1) new engineering is created, the front end frame MUI based on JS exploitations is introduced as Development Framework, front end tool is sealed The JS methods of exploitation are dressed up, Native method is called in encapsulation;
Conventional front end tool can be packaged into the JS methods of exploitation during specific implementation, encapsulate the primary side of conventional calling Method, such as voice broadcast, speech recognition, shooting it is first-class, user directly can be called by JS.
(2) configuration parameter in project profile is set;
Such as application message, chart configuration, startup figure are set by the manifest.json files in modification project The parameter informations such as piece, SDK settings, module authority.
(3) functional module of news client is set in Development Framework, and the functional module includes useful family and logs in mould Block, news list module, news content module, speech processing module, news analysis module, news cache module and news collection Module.
Reference picture 2, is further used as preferred embodiment, and the speech processing module is used to perform following steps:
According to the news information data creation voice of news list module and news content module and speech parameter is set;Example Such as when user click on play news button after, by monitor event (element.addEventListener (' tap', Function () { })) method for monitoring the button is triggered, call JavaScript root by the call back function of this method The value of element (document, getElementsByName (' newContent ') [0] .value) is obtained according to name attributes, To get the news information data for needing to report.The speech play of news information data passes through intelligent interaction technological service platform SDK realize that such as news rumours sound popular on the market, concrete sound creates and parameter setting refers to procedure below:
1st, the example of Activity objects is obtained by plus.android.runtimeMainActivity () method;
2nd, by quoting method (plus.android.importClass), the voice tool class for interrogating rumours sound SDK is quoted (SpeechUtility), speech parameter class (SpeechConstant) and voice realize class (SpeechSynthesizer);
3rd, voice example is created by the createUtility () of voice tool class (SpeechUtility);
4th, the createSynthesizer () for realizing class (SpeechSynthesizer) by voice creates voice.
5th, speech parameter class (SpeechConstant) attribute is passed through:VOICE_NAME, SPEED, VOLUME and voice The arrange parameter method (setParameter) of class (SpeechSynthesizer) is realized to set speaker, word speed respectively, set Put volume.
Audio file is generated according to speech parameter, and audio file is cached to local;Such as according to above-mentioned speaker, language Speed, the parameters such as volume are set, the createSynthesizer () of class (SpeechSynthesizer) reality is realized by voice StartSpeaking () method of example plays voice and generates audio file, then caches to local.
Be further used as preferred embodiment, according to speech parameter generate audio file, and by audio file cache to The step for local, in addition to the audio file of generation is encrypted, such as the toDataURL () for passing through canvas elements The audio file that method gets previous step changes into base64 character strings, by from encapsulation function compileStr () to upper The base64 character strings that one step obtains are encrypted.
Be further used as preferred embodiment, according to speech parameter generate audio file, and by audio file cache to The step for local, it is specially:Detect in local cache whether the audio file of existing corresponding news information data, if depositing Audio file is not being generated then, audio file is otherwise generated according to speech parameter, and audio file is cached to local.
It can judge that the caching whether there is in specific embodiment by localStorage, if it does not, passing through Previous step is obtained base64 files and is built into json objects by Jquery's plus news Id by localStorage JSON.stringify () changes into json character strings and is cached, if it is present terminating flow.
Likewise, when user clicks on and plays news, preferentially searched and cached by localStorage, if it does, directly Connect broadcasting;If being the audio file after encryption in caching, the base64 words by the uncompileStr () of encapsulation encryption Base64 character strings, are changed into audio in the method by the method dataURL2Audio from encapsulation and played by symbol string decryption.
Preferred embodiment is further used as, the user log-in block is used to perform following steps:
Obtain the account number cipher logon data or SMS data of user;
When user first logs into, it can be logged in and can also be logged in by SMS by account number cipher, can also the Tripartite logs in App.
The data of above-mentioned acquisition are verified;
When user is logged in using password account, specific verification mode can be:Account, password are inputted by encapsulating certainly Login () method verification login successfully or failure;
When user is logged in using SMS, specific verification mode can be:Input handset number, click on and obtain checking Code, by sending identifying code, the short message verification code that user's input handset obtains from getCode () method of encapsulation, click is stepped on Record, by calling login () method, cell-phone number and identifying code are verified, identifying code is then verified if there is the cell-phone number, if Then registered in the absence of the mobile phone and verify identifying code.
Allow user to log in if being proved to be successful, the token returned by localStorage buffer services end, otherwise carry Show login failure information.
Preferred embodiment is further used as, the news list module is used to perform following steps:
After detecting that user reads the operational order of news, the request for obtaining news list data is sent to server;
I.e. user clicks news template, after having loaded all DOM structures, performs the getAllNewsList from encapsulation () method;
If obtaining the success of news list data, by news list data buffer storage to local and show, while listening for user Clicking operation;If obtaining news list data failure, error message is prompted;
By the Asynchronous Request (ajax) in getAllNewsList (), send parameter and obtain news list number to service end According to service end returns to corresponding data according to the parameter query database transmitted;Because being related to service end paging problem, The page/size (the current page number/every page of bar number) of acquiescence can be passed when loading for the first time to service end.Then according to return As a result, terminate flow if failure and prompt error message, data are changed into by JSON.parse () if success Json character strings are simultaneously cached to local and page presentation form are built by localStorage, and circulating dynamic by for spells Required HTML character strings are connected into, then pass through document.getElementById (" newsContent ") .innerHTML be appended to corresponding region, then by monitor method ($ (' li a') .on (' click', function () { }) monitoring users clicking operation.
It is further used as preferred embodiment, the news list data include news Id, title, summary, browsed Number, comment number and/or news time.
Preferred embodiment is further used as, the news content module is used to perform following steps:
When listening to the clicking operation of user, news list data are read from local cache and jump to particular news item Content page;Such as when clicking on any news item, goDetails () method from encapsulation can be triggered.goDetails The Id of this news that () method is got by localStorage cachings, title, summary, browse number, comment number, news The information such as time, and the detailed page is jumped to by window.location.href.
The request for obtaining news content data corresponding to news Id is sent to server;Entering the detailed page, waiting complete After the completion of portion Dom loadings, Asynchronous Request (ajax) method of getDetails () method from encapsulation is performed, transmit news Id To service end;
Judged whether to obtain the success of news content data according to server returning result, corresponding news is shown if success Content-data, the HTML character strings of needs are combined into by character, then pass through document.getElementById (" NewsContent ") .innerHTML is appended to corresponding region;If obtaining news content data failure, mistake letter is prompted Breath.
Preferred embodiment is further used as, the news analysis module is used to perform following steps:
When listening to the click input frame operation of user, review pages are jumped to;
When user wants comment detailed to news, the input frame below the detailed page of news, triggering are clicked on GoComment () method, review pages are jumped to by the window.location.href of this method.
The comment content of user's input is obtained, input content is that word inputs information or speech input information, if voice Input information is then translated into word input information;
When user enters review pages, plusReady () the automatic spring soft keyboard of triggering from encapsulation;User inputs After commenting on content, the save button or issue button of the page can be clicked on;Or after user inputs voice remark, phonetic entry is believed Breath is converted into word by speech processing module and inputs information.
Comment content and news ID are sent to server, and receive the data storage result of server return, if storage Successful then display comment content, otherwise prompts error message;
According to the operation of previous step, comment content can be got by JQuery $ (' #textareaStr') .val (), Then comment content and news ID are sent to by asynchronous method (ajax) by service end, then service end is stored to data accordingly Database and returning result, if it fails, then terminate flow and provide miscue, the basis if success Window.location.href is jumped at this record in the comment area below the detailed page of news.
Preferred embodiment is further used as, the news cache module is used to perform following steps:
Listen to user to click on when browsing the operation of record button, news Id corresponding to user's operation is obtained, according to news Id reads corresponding data cached in local cache;
When user wants to check which browsed news, then pass through the record button that browses of click function module, client End can be gone to search whether the caching be present according to localStorage, if it does not exist, then terminating;If passing through in the presence of if LocalStorage gets the caching, and the caching is changed into Json object by JSON.parse (), then circulated by for Travel through the object and construct required html character strings, then pass through document.getElementById (" NewsContent ") .innerHTML is appended to corresponding region, then by monitor method ($ (' li a') .on (' Click', function () { }) monitoring users clicking operation.
Be further used as preferred embodiment, the news cache module can also be used to setting periodic cleaning to cache when Between or set caching size.
Preferred embodiment is further used as, the news collection module is used to perform following steps:
Listen to user click on check collection button operation when, display collection the page;
Then the clicking operation of monitoring users;
Such as user wants to check when collecting which news, my the collection button by clicking on functions of modules trigger into Enter and collect the page, trigger the Asynchronous Request (ajax) of getCollectionList () method, can transmit user's to service end Token information, service end is according to the token information inquiries database of user and returning result, if it fails, terminating flow and carrying Show error message, if it succeeds, the data returned by for searching loops service end construct the HTML character strings of needs, Corresponding position is appended to by document.getElementById (" newsContent ") .innerHTML, then passed through The clicking operation of monitor method ($ (' li a') .on (' click', function () { }) monitoring users.
Preferred embodiment is further used as, first detection user is before the token information of user is transmitted to service end It is no to be in logging status.If user is not logged on, user is prompted first to log in;If user is logged, obtains user and step on The token information cached during record.
(4) according to the HTML5 pages that news client functionality module construction goes out in Development Framework, packing generation news client The APP files at end.
It is further used as preferred embodiment, is specially the step of the APK file of packing generation news client:
Start the eclipse programs with ADT, and import engineering compiling operation;
The feature storehouses to be used are copied from SDK catalogues to engineering libs catalogues, in the libs of engineering after the completion of copy Shown under catalogue;
Configure authority, the data of other third party libraries, the bag name of application and version number, Apply Names, the application drawing of application Mark and startup interface, renewal application resource, " Android Application " start application, in bin mesh after compilation run for selection Apk can be generated under record.
Above is the preferable implementation to the present invention is illustrated, but the invention is not limited to the implementation Example, those skilled in the art can also make a variety of equivalents on the premise of without prejudice to spirit of the invention or replace Change, these equivalent deformations or replacement are all contained in the application claim limited range.

Claims (10)

  1. A kind of 1. method of the establishment interactive voice mobile phone news client based on HTML5, it is characterised in that include following step Suddenly:
    New engineering is created, the front end frame MUI based on JS exploitations is introduced as Development Framework, front end tool is packaged into exploitation JS methods, encapsulation call Native method;
    Configuration parameter in project profile is set;
    The functional module of news client is set in Development Framework, and the functional module includes useful family login module, news List block, news content module, speech processing module, news analysis module, news cache module and news collection module;
    According to the HTML5 pages that news client functionality module construction goes out in Development Framework, the APP of packing generation news client File.
  2. 2. a kind of method of establishment interactive voice mobile phone news client based on HTML5 according to claim 1, it is special Sign is:The speech processing module is used to perform following steps:
    According to the news information data creation voice of news list module and news content module and speech parameter is set;
    Audio file is generated according to speech parameter, and audio file is cached to local.
  3. 3. a kind of method of establishment interactive voice mobile phone news client based on HTML5 according to claim 1, it is special Sign is:The user log-in block is used to perform following steps:
    Obtain the account number cipher logon data or SMS data of user;
    The data of above-mentioned acquisition are verified;
    Allow user to log in if being proved to be successful, otherwise prompt login failure information.
  4. 4. a kind of method of establishment interactive voice mobile phone news client based on HTML5 according to claim 1 or 2, It is characterized in that:The news list module is used to perform following steps:
    After detecting that user reads the operational order of news, the request for obtaining news list data is sent to server;
    If obtaining the success of news list data, by news list data buffer storage to local and show, while listening for the point of user Hit operation;If obtaining news list data failure, error message is prompted.
  5. 5. a kind of method of establishment interactive voice mobile phone news client based on HTML5 according to claim 4, it is special Sign is:The news list data include news Id, title, summary, browse number, comment number and/or news time.
  6. 6. a kind of method of establishment interactive voice mobile phone news client based on HTML5 according to claim 5, it is special Sign is:The news content module is used to perform following steps:
    When listening to the clicking operation of user, news list data are read from local cache and jump to particular news item content The page;
    The request for obtaining news content data corresponding to news Id is sent to server;
    If obtaining the success of news content data, corresponding news content data are shown;If obtaining news content data failure, Prompt error message.
  7. 7. a kind of method of establishment interactive voice mobile phone news client based on HTML5 according to claim 5, it is special Sign is:The news analysis module is used to perform following steps:
    When listening to the click input frame operation of user, review pages are jumped to;
    The word input information of the comment content of user's input is obtained, or obtains speech input information and the conversion of user's input Information is inputted for word;
    Above-mentioned word is inputted into information and news Id is sent to server, and receives the data storage result of server return, if Store and successfully then show comment content, otherwise prompt error message.
  8. 8. a kind of method of establishment interactive voice mobile phone news client based on HTML5 according to claim 5, it is special Sign is:The news cache module is used to perform following steps:
    User is listened to click on when browsing the operation of record button, obtain user's operation corresponding to news Id, existed according to news Id Read in local cache corresponding data cached.
  9. 9. a kind of method of establishment interactive voice mobile phone news client based on HTML5 according to claim 8, it is special Sign is:Audio file is generated according to speech parameter in the speech processing module, and audio file is encrypted, then will Audio file is cached to local.
  10. 10. a kind of method of establishment interactive voice mobile phone news client based on HTML5 according to claim 1, its It is characterised by:The news collection module is used to perform following steps:
    Listen to user click on check collection button operation when, display collection the page;
    Then the clicking operation of monitoring users.
CN201710977828.6A 2017-10-17 2017-10-17 A kind of method of the establishment interactive voice mobile phone news client based on HTML5 Withdrawn CN107770377A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710977828.6A CN107770377A (en) 2017-10-17 2017-10-17 A kind of method of the establishment interactive voice mobile phone news client based on HTML5

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710977828.6A CN107770377A (en) 2017-10-17 2017-10-17 A kind of method of the establishment interactive voice mobile phone news client based on HTML5

Publications (1)

Publication Number Publication Date
CN107770377A true CN107770377A (en) 2018-03-06

Family

ID=61269674

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710977828.6A Withdrawn CN107770377A (en) 2017-10-17 2017-10-17 A kind of method of the establishment interactive voice mobile phone news client based on HTML5

Country Status (1)

Country Link
CN (1) CN107770377A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108777620A (en) * 2018-05-31 2018-11-09 深圳壹账通智能科技有限公司 Data transmission method, device, mobile terminal and storage medium
CN109710303A (en) * 2018-12-26 2019-05-03 苏州思必驰信息科技有限公司 The multi version parallel developing method and system of interactive voice product
CN111679828A (en) * 2020-05-25 2020-09-18 泰康保险集团股份有限公司 Data processing method and device, electronic equipment and storage medium

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108777620A (en) * 2018-05-31 2018-11-09 深圳壹账通智能科技有限公司 Data transmission method, device, mobile terminal and storage medium
CN109710303A (en) * 2018-12-26 2019-05-03 苏州思必驰信息科技有限公司 The multi version parallel developing method and system of interactive voice product
CN111679828A (en) * 2020-05-25 2020-09-18 泰康保险集团股份有限公司 Data processing method and device, electronic equipment and storage medium
CN111679828B (en) * 2020-05-25 2023-08-15 泰康保险集团股份有限公司 Data processing method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN104765617B (en) Based on the HTML5 stream application functional interface distribution method realized and system
US8595186B1 (en) System and method for building and delivering mobile widgets
JP2020194567A (en) Methods and systems for web content generation
CN103345421B (en) Application program method for pushing and device
CN106897215A (en) A kind of method gathered based on WebView webpages loading performance and user behavior flow data
US20200357007A1 (en) Page data acquisition method, apparatus, server, electronic device and computer readable medium
CN103838558B (en) Website build a station system and method, access website method and webpage adaptation system
US8826297B2 (en) Creating web services from an existing web site
JP6467554B2 (en) Message transmission method, message processing method, and terminal
US20180131779A1 (en) Recording And Triggering Web And Native Mobile Application Events With Mapped Data Fields
CN101697156A (en) Method and system for constructing chain web pages
CN108196829A (en) A kind of artificial intelligence mobile phone accounting system for analyzing account and method
KR20140111265A (en) Method and apparatus for providing web pages
CN107770377A (en) A kind of method of the establishment interactive voice mobile phone news client based on HTML5
CN106487662B (en) Information sharing method and device
US11556454B2 (en) Immersive web-based simulator for digital assistant-based applications
CN104881774A (en) Method and apparatus for automatically establishing schedule
CN112328342B (en) To-do item processing method and device based on online document
JP6877343B2 (en) Handling unstructured messages
CN112256990A (en) Image processing method and device and computer readable storage medium
CN111538645B (en) Data visualization method and related equipment
WO2022127743A1 (en) Content display method and terminal device
CN108090156A (en) A kind of method that book keeping operation artificial intelligence accounting system can be cooperateed with based on HTML5 establishments
CN113792208A (en) Picture interaction method, device, equipment, medium and program product based on webpage
WO2014001744A1 (en) Interactive system

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
WW01 Invention patent application withdrawn after publication

Application publication date: 20180306

WW01 Invention patent application withdrawn after publication