CN109828846A - Processing method for GStream error of QML video playing - Google Patents
Processing method for GStream error of QML video playing Download PDFInfo
- Publication number
- CN109828846A CN109828846A CN201711177839.2A CN201711177839A CN109828846A CN 109828846 A CN109828846 A CN 109828846A CN 201711177839 A CN201711177839 A CN 201711177839A CN 109828846 A CN109828846 A CN 109828846A
- Authority
- CN
- China
- Prior art keywords
- page
- pages
- switching
- qml
- video playing
- 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
- 238000003672 processing method Methods 0.000 title claims description 11
- 230000036316 preload Effects 0.000 claims abstract description 23
- 238000000034 method Methods 0.000 claims abstract description 11
- 238000009877 rendering Methods 0.000 abstract description 3
- 230000001960 triggered effect Effects 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 3
- 230000006399 behavior Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
Aiming at the problem of program crash caused by serious GStream errors in video playing under a QML frame, the method for processing the GStream errors in QML video playing is realized, a preloading cache mechanism is utilized to preload common pages for subsequent switching of video playing pages, and page switching is managed by adopting a page preloading linked list, so that the GStream errors caused by overlaying and rendering of the video playing pages and the common pages are avoided, and technical obstacles are eliminated for the multimedia application of QML.
Description
Technical field
The present invention relates to the processing methods more particularly to a kind of QML video playing of a kind of collapse of QML video reproduction program
The processing method of GStream mistake.
Background technique
QML video playing is the important technology that QML technology is applied to mobile interchange MultiMedia Field, mobile interchange
It is confined to the resolution ratio of hand-held intelligent equipment, often focuses on the switching between the presentation and multi-page of multi-page, and as the page
In a ring, the video playing page is also required to switch over ordinary pages, due to the video playing page in a particular manner into
Row rendering when being superimposed other pages not loaded on it, will lead to the Rendering errors namely video playing of the two video memory rank
When the page switches to ordinary pages, it may appear that the mistake of serious GStream leads to QML application crash.Therefore, how
Eliminating the GStream mistake that occurs into ordinary pages handoff procedure of the video playing page is that QML multimedia application be should give and be examined
The problem considered and solved.
Summary of the invention
Evade video page the technical problem to be solved in the present invention is to provide one kind and causes GStream to ordinary pages switching
Mistake, so that it is guaranteed that the method for QML program stable operation.
In order to solve the above-mentioned technical problem, the processing method of QML video playing GStream mistake of the invention, for page
It is related to the case where video page switches to ordinary pages in the handoff procedure of face, it is necessary to first carry out at preloading to ordinary pages
Reason, it is ensured that ordinary pages are already present among memory before video page initialization.
The processing method of QML video playing GStream mistake of the invention includes the following steps:
1) information for initializing all pages, is stored in page management chained list;
2) judge the handoff procedure of the page, marking the ordinary pages from video page switching is to preload the page, Qi Tapu
The logical page is the non-preloading page;
3) according to label as a result, preloading ordinary pages, are stored in the page and preload in chained list;
4) actual pages handoff procedure traverses page management chained list, judges whether the page of subsequent switching is to preload the page;
5) data for preloading the page preload in chained list from the page to be taken out, and page switching is carried out;
6) the non-preloading page is then temporarily loaded into memory, carries out page switching.
The beneficial effects of the present invention are: realizing a kind of processing method of QML video playing GStream mistake, solve by regarding
There is the problem of GStream mistake leads to program crashing when switching towards ordinary pages in frequency broadcast page, is that QML is led in mobile interchange
The multimedia application technology for eliminating obstacle in domain.The present invention can be used as independent QML video jukebox software and use, and also can be used as centre
Part is common in the various software systems for being related to the QML video playing page and ordinary pages switching.
Detailed description of the invention
Fig. 1 is the structure chart that page management chained list and the page of the invention preload chained list.
Fig. 2 is the processing method flow chart of QML video playing GStream mistake of the invention.
Fig. 3 is that the present invention is applied to advertising bus system scheme implementation example figure.
Specific embodiment
The preferred embodiment that the invention will now be described in detail with reference to the accompanying drawings.
As shown in Figure 1, the structure chart of page management chained list of the invention: page management chained list 101 is for managing all pages
The information in face, wherein 6 ordinary pages information of storage, including ordinary pages 1, ordinary pages 2 103, video page 104,
Ordinary pages 3 105, ordinary pages 4 106, ordinary pages 5 107, it is actual that the storage order of each page does not represent its
Transfer sequence, such as ordinary pages 1 can be switched to ordinary pages 4 106, and video page 104 can be switched to common page
Face 3 109 and ordinary pages 5 110, since ordinary pages 3 109 and ordinary pages 5 110 are the switching mesh of video page 104
Mark, in page management chained list 101, ordinary pages 3 109 and ordinary pages 5 110 are marked as preloading the page, and other
Ordinary pages be then labeled as the non-preloading page.
The page of the invention preloads the structure chart of chained list: page preloaded list 108 needs to preload page for managing
The data in face, wherein the ordinary pages data after 2 preloadings of storage, including ordinary pages 3 109, ordinary pages 5 110.
In actual pages switching, page management chained list 101 is for providing the information whether page preloads, and the page is pre-
It loads chained list 108 and the page data preloaded is provided.
As shown in Fig. 2, specific step is as follows for the processing method of QML video playing GStream mistake of the invention:
Step 201: bring into operation program;
Step 202: carrying out page management, the information of all pages is all stored into page management chained list 214, including common page
Face and video page;
Step 203: traversal page management chained list 214 judges whether the page therein needs to preload;
Step 204: if ordinary pages occur after video page, namely are directly switch to ordinary pages from video page,
Then the ordinary pages need to preload;
Step 205: the ordinary pages preloaded for needs are marked as preloading the page in page management chained list 214;
Step 206: preloading ordinary pages, the storage of its data is preloaded in chained list 215 to the page;
Step 207: entering page switching state, cut including the page caused by the automatic page switching and user's operation inside program
It changes;
Step 208: if ordinary pages switching and video page onrelevant, which does not need to preload, in the page
It is marked as the non-preloading page in management chained list 214, is directly entered page switching state;
Step 209: traversal page management chained list 214, according to its mark page info judge page switching behavior whether be
Ordinary pages are switched to from video page;
Step 210: being switched to ordinary pages if it is from video page, then carry out the page and preload switching;
Step 211: the traversal page preloads chained list 215, is taken out the data of the to be switched ordinary pages of preloading, carries out page
Face switching;
Step 212: being switched to ordinary pages if not from video page, then carry out ordinary pages switching;
Step 213: temporarily loading the data of to be switched ordinary pages, carry out page switching.
As shown in figure 3, the present invention is as follows applied to the implementation of advertising bus system scheme:
The advertising bus system scheme is deployed on bus, releasing advertisements and public transport relevant information is used for, wherein regarding
Frequency plays the page 301, is used for playing video advertisement, shows riding information and current time of day;Take pictures the page 302, for into
Row is taken pictures and photo processing operation, which is triggered by user's operation switches;The traffic information inquiry page 303, for inquiring this
The traffic relevant information of vehicle, such as transfer train number, which is triggered by user's operation switches;It calls out the stops the page 304, for reporting automatically
It stands, which automatically switches in bus arrival, is triggered by program interior positioning system;The transfer sequence of the page is as follows: view
Frequency plays the page 301 and is switched to the page 302 of taking pictures, and the video playing page 301 is switched to the traffic information inquiry page 303, takes pictures
The page 302 is switched to the page 304 of calling out the stops;When program initialization, the video playing page 301, the page 302 of taking pictures, traffic information is looked into
It askes the page 303 and the page 304 of calling out the stops is added to page management chained list, wherein the take pictures page 302 and the traffic information inquiry page 303
Labeled as the page is preloaded, the video playing page 301 and the page 304 of calling out the stops preload page of taking pictures labeled as the non-preloading page
Face 302 and the traffic information inquiry page 303, the page data deposit page after preloading preload chained list;It is triggered and is clapped by user
According to operation, the video playing page 301 is switched to the page 302 of taking pictures, and traverses page management chained list, and the page 302 of taking pictures is marked as
The page is preloaded, then traverses the page and preloads chained list, be taken out the page data of taking pictures of preloading, carry out page switching;By
User triggers inquiry operation, and the video playing page 301 is switched to the traffic information inquiry page 303, traverses page management chained list, hands over
Communication breath query page 303 is marked as preloading the page, then traverses the page and preload chained list, be taken out the traffic of preloading
Information query page data carry out page switching;It is automatically reported the bus stop and is operated by system trigger, the page 302 of taking pictures is switched to page of calling out the stops
Face 304 traverses page management chained list, and the page 304 of calling out the stops is marked as the non-preloading page, loads page number of calling out the stops from interim
According to progress page switching.
Claims (2)
1. a kind of processing method of QML video playing GStream mistake, it is characterised in that: for involved in page switching process
The case where switching to video page to ordinary pages, it is necessary to preload process first be carried out to ordinary pages, it is ensured that ordinary pages exist
It is already present among memory before video page initialization.
2. a kind of processing method of QML video playing GStream mistake, which is characterized in that include the following steps:
1) information for initializing all pages, is stored in page management chained list;
2) judge the handoff procedure of the page, marking the ordinary pages from video page switching is to preload the page, Qi Tapu
The logical page is the non-preloading page;
3) according to label as a result, preloading ordinary pages, are stored in the page and preload in chained list;
4) actual pages handoff procedure traverses page management chained list, judges whether the page of subsequent switching is to preload the page;
5) data for preloading the page preload in chained list from the page to be taken out, and page switching is carried out;
6) the non-preloading page is then temporarily loaded into memory, carries out page switching.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711177839.2A CN109828846A (en) | 2017-11-23 | 2017-11-23 | Processing method for GStream error of QML video playing |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711177839.2A CN109828846A (en) | 2017-11-23 | 2017-11-23 | Processing method for GStream error of QML video playing |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109828846A true CN109828846A (en) | 2019-05-31 |
Family
ID=66858204
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711177839.2A Pending CN109828846A (en) | 2017-11-23 | 2017-11-23 | Processing method for GStream error of QML video playing |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109828846A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112399229A (en) * | 2019-08-19 | 2021-02-23 | 北京嗨动视觉科技有限公司 | Video stream playing method, device and system and storage medium |
CN116841686A (en) * | 2023-08-29 | 2023-10-03 | 荣耀终端有限公司 | Application page display method |
CN116841686B (en) * | 2023-08-29 | 2024-05-31 | 荣耀终端有限公司 | Application page display method |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2006350956A (en) * | 2005-06-20 | 2006-12-28 | Fuji Xerox Co Ltd | Information processor and program |
CN103618936A (en) * | 2013-12-16 | 2014-03-05 | 乐视致新电子科技(天津)有限公司 | Smart television, as well as method and device for pre-downloading link pages in browser of smart television |
CN104731974A (en) * | 2015-04-13 | 2015-06-24 | 上海新炬网络信息技术有限公司 | Dynamic page loading method based on big data stream type calculation |
-
2017
- 2017-11-23 CN CN201711177839.2A patent/CN109828846A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2006350956A (en) * | 2005-06-20 | 2006-12-28 | Fuji Xerox Co Ltd | Information processor and program |
CN103618936A (en) * | 2013-12-16 | 2014-03-05 | 乐视致新电子科技(天津)有限公司 | Smart television, as well as method and device for pre-downloading link pages in browser of smart television |
CN104731974A (en) * | 2015-04-13 | 2015-06-24 | 上海新炬网络信息技术有限公司 | Dynamic page loading method based on big data stream type calculation |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112399229A (en) * | 2019-08-19 | 2021-02-23 | 北京嗨动视觉科技有限公司 | Video stream playing method, device and system and storage medium |
CN116841686A (en) * | 2023-08-29 | 2023-10-03 | 荣耀终端有限公司 | Application page display method |
CN116841686B (en) * | 2023-08-29 | 2024-05-31 | 荣耀终端有限公司 | Application page display method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6855573B2 (en) | How to update the location area of the user terminal, access network entity, user terminal and core network entity | |
US8798599B2 (en) | Content identification and retrieval based on device component proximity | |
ES2699406T3 (en) | Apparatus and procedures for recovering / downloading content in a communication device | |
US8738884B2 (en) | Efficient loading of data into memory of a computing system | |
US20110239142A1 (en) | Method and apparatus for providing content over multiple displays | |
US20090024559A1 (en) | Context based media content presentation | |
CN104065979A (en) | Method for dynamically displaying information related with video content and system thereof | |
WO2020063101A1 (en) | Method and apparatus for pushing video content object, and electronic device | |
CN102967315A (en) | Navigation map improvement method and device | |
CA2861067A1 (en) | Multimedia file support for media capture device position and location timed metadata | |
US6943825B2 (en) | Method and apparatus for associating multimedia information with location information | |
US8468154B2 (en) | Distribution system for data items | |
CN108810578A (en) | Advertisement cut-in method and system applied to user terminal | |
DE102016206513B4 (en) | Methods and apparatus for selecting a function of an infotainment system of a motor vehicle | |
TWI462045B (en) | Pushing message system for multiple system platforms | |
CN109241480A (en) | page display method and device | |
US20100262493A1 (en) | Adaptive soft key functionality for display devices | |
CN109828846A (en) | Processing method for GStream error of QML video playing | |
CN108876782A (en) | Recall video creation method and relevant apparatus | |
CN111083506B (en) | Management system based on 5G intelligent terminal | |
CN106557555A (en) | media playing method and device | |
CN107911541A (en) | A kind of multi-cam switching application method and device based on android system | |
US20170171333A1 (en) | Method and electronic device for information pushing | |
CN109088757B (en) | Service providing method, device and system | |
KR20150019141A (en) | Method and system of verifying traffic accident |
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 | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20190531 |
|
WD01 | Invention patent application deemed withdrawn after publication |