CN108121640A - A kind of method and system for the operation data of acquisition application automatically - Google Patents

A kind of method and system for the operation data of acquisition application automatically Download PDF

Info

Publication number
CN108121640A
CN108121640A CN201711487108.8A CN201711487108A CN108121640A CN 108121640 A CN108121640 A CN 108121640A CN 201711487108 A CN201711487108 A CN 201711487108A CN 108121640 A CN108121640 A CN 108121640A
Authority
CN
China
Prior art keywords
application
data
storage
west
talk
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.)
Granted
Application number
CN201711487108.8A
Other languages
Chinese (zh)
Other versions
CN108121640B (en
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.)
Beijing Qihoo Technology Co Ltd
Original Assignee
Beijing Qihoo 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 Beijing Qihoo Technology Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201711487108.8A priority Critical patent/CN108121640B/en
Publication of CN108121640A publication Critical patent/CN108121640A/en
Application granted granted Critical
Publication of CN108121640B publication Critical patent/CN108121640B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3003Monitoring arrangements specially adapted to the computing system or computing system component being monitored
    • G06F11/3017Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system is implementing multitasking
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3051Monitoring arrangements for monitoring the configuration of the computing system or of the computing system component, e.g. monitoring the presence of processing resources, peripherals, I/O links, software programs
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3089Monitoring arrangements determined by the means or processing involved in sensing the monitored data, e.g. interfaces, connectors, sensors, probes, agents

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • Quality & Reliability (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Mathematical Physics (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The invention discloses a kind of for obtaining the method for the operation data of application automatically, the described method includes:The state each applied in multiple applications in monitoring users equipment when the startup for receiving pending application is asked, obtains the application identities and digital signature of the pending application;The application identities are matched with multiple data item in pre-stored configuration file;It is determining that the provider for determining the pending application according to the application identities identifies there are during matched data item, the digital signature is being parsed to check provider's mark, so as to carry out the verification to the pending application;When the pending application passes through verification, start to obtain the acquisition service of the operation data of the pending application;And it is described obtain service and determined and the pending application is relevant obtains rule according to the application identities, and the operation data of the pending application are obtained based on the rule that obtains.

Description

A kind of method and system for the operation data of acquisition application automatically
Technical field
The present invention relates to technical field of data processing, and more particularly, to a kind of fortune for acquisition application automatically Method, system and the mobile terminal of row data.
Background technology
Under current technical conditions, it is a kind of common operation that record screen is carried out to the application of operation.Screen recording is general It is used in and preserves Video chat record, game application, audio plays and live streaming is using data content in the process of running.It should Screen recording during with operation is a kind of approach and a kind of computer for intercepting dynamic picture or word and audio with skill Art.User carries out video record processing by screen recording technology in application operation to screen, when sharing application operation on the screen The operation processing of progress.
By record screen technology can by it is interested application operationally carry out record screen handle, by screen remain for Oneself can help people preferably to go to retain the content that screen is showed using viewing.It at present, can be real by some softwares Now record screen function, record screen technology is basic, and everybody can use.
The mode of existing record screen can be directed to indicated region in form and carry out record screen operation.Mobile phone system at present System carries record screen function, and the record screen function that user is carried by cell phone system realizes the record screen operation to screen.Then, it is existing Technology is all to carry out screen record screen operation by manually triggering, and this record screen mode, complicated for operation, efficiency is low, poor user experience. It can realize that automatic record screen is realized in the application to operation there is presently no technology.
Therefore, it is necessary to a kind of technologies, and the operation data technique of application is obtained automatically to realize.
The content of the invention
It is how automatic to solve the present invention provides a kind of for obtaining the method and system of the operation data of application automatically The problem of obtaining the operation data of application.
To solve the above-mentioned problems, a kind of method for the operation data of acquisition application automatically, the method bag are provided It includes:
The state each applied in multiple applications in monitoring users equipment is asked in the startup for receiving pending application When, the application identities and digital signature of the acquisition pending application;
The application identities are matched with multiple data item in pre-stored configuration file;
Determining that the provider for determining the pending application according to the application identities marks there are during matched data item Know, the digital signature is parsed to check provider's mark, so as to carry out the verification to the pending application;
When the pending application passes through verification, start to obtain the acquisition of the operation data of the pending application Service;And
It is described to obtain service and determined and the pending application is relevant obtains rule, and base according to the application identities The operation data of the pending application are obtained in the acquisition rule.
Preferably, wherein the type applied includes game application, video playing application, audio plays application and live streaming should With.
Preferably, the application identities include Apply Names and/or installation kit title, and the digital signature is by answering The E-seal by certification provided with provider.
Preferably, the user equipment pre-sets and stores the configuration file, and its according to user's input Middle data item is the application identities of the application for the acquisition for carrying out operation data.
Preferably, wherein the provider's mark for determining the pending application according to the application identities includes:By described in It is associated with the pending application using provider to inquire about that the application identities of pending application are sent to certificate server Provider mark.
Preferably, wherein being parsed to check the provider and identify to include to the digital signature:To the number Signature is parsed to extract provider's mark described in the digital signature, by the provider described in the digital signature It identifies compared with the provider's mark received from certificate server.
Preferably, when provider's mark described in the digital signature is identified with the provider received from certificate server When identical, determine that the pending application passes through verification.
Preferably, wherein the acquisition service is determined according to the application identities and the pending relevant acquisition of application Rule includes:It is described obtain service rule base is retrieved according to the application identities, and according to retrieval result determine with The pending application is relevant to obtain rule.
Preferably, the operation data are the screen video data for the user equipment recorded, and obtain rule and include It is at least one in herein below:Time span, capacity limit, frame per second and bit rate.
Preferably, definite with after the pending relevant acquisition rule of application, further including the acquisition service pre- It fixes time and the operation data of the pending application is obtained based on the acquisition rule after expiring.
Preferably, it is described to obtain service when the state of the pending application is switched to running background from front stage operation Pause obtains the operation data.
Preferably, it is described to obtain service when the state of the pending application is switched to front stage operation from running background Start to obtain the operation data.
Preferably, it is each using distribution basis storage region in multiple applications of the acquisition of operation data to carry out And dynamic storage zone, wherein the basis storage region runs data for storing basis associated with each application, and And the dynamic storage zone is used to store with each applying associated additional operation information data.
Preferably, it is described to obtain service root when the residual capacity of the basic storage region of the pending application is zero Determine whether according to the pre-set storage rule of user or the operating status for obtaining service based on subscriber equipment to be described Pending application distributes dynamic storage zone.
Preferably, when the residual capacity of the dynamic storage zone of the pending application is zero, the acquisition service will It pending is stored with described using associated new operation data with coverage mode into the basic storage region.
Preferably, when the residual capacity of the dynamic storage zone of the pending application is zero, the acquisition service will Pending cover type storage is carried out in the dynamic storage zone using associated new operation data with described.
Preferably, further include to the pending application this operation end time predict, when determine from work as The size of acquired operation data is less than or equal to extension in the preceding time to the period of the end time of this operation During threshold value, it is determined as the pending application distribution dynamic storage zone.
Preferably, wherein being determined according to the historical statistical data of the end of run time to the pending application described The end time of this operation of pending application.
Preferably, further include to the pending application this operation end time predict, when determine from work as The size of acquired operation data is more than expanded threshold value simultaneously in the preceding time to the period of the end time of this operation And during less than acceptable threshold, it is determined as the pending application distribution dynamic storage zone and described obtain is promoted to service basis The frame per second of reduction and/or bit rate obtain the operation data.
Preferably, further include and pre-set storage information is parsed, to determine to store the operation data And with the basic storage region of basic memory capacity.
Preferably, further include and determine to carry out the operation data in the basic storage region according to dynamic configuration file The size of each basic unit of storage in multiple basic units of storage during fragmented storage.
Preferably, further include, the acquisition service uses phase to each segmentation in multiple segmentations of the operation data Same or different frame per second and/or bit rate carry out segmentation recording, and are each segmented corresponding with multiple basic units of storage Basic unit of storage is associated.
Preferably, the acquisition service can carry out content recognition to acquired operation data, specific basic when determining The content of partition running data in storage unit be with it is described it is pending using unrelated data when, delete the partition running Data.
Preferably, the acquisition service can carry out content recognition to acquired operation data, specific basic when determining When the content of partition running data in storage unit can be converted to the pending application relevant frame data, delete The partition running data.
Preferably, the content progress data compression for obtaining service to being stored in being arbitrarily segmented in multiple segmentations.
Preferably, the display area for being additionally included in user equipment creates suspension display window, and the suspension display window is used In playing the acquired operation data of service are obtained by described.
Based on another aspect of the present invention, a kind of system for the operation data of acquisition application automatically, the system are provided System includes:
Monitoring unit, the state each applied in multiple applications in monitoring users equipment, is receiving pending application When starting request, the application identities and digital signature of the pending application are obtained;
Matching unit matches the application identities with multiple data item in pre-stored configuration file;
Authentication unit is determining, there are during matched data item, the pending application to be determined according to the application identities Provider's mark, parsed to check the provider to the digital signature and identified, so as to carry out to described pending The verification of application;
Start unit when the pending application passes through verification, starts to obtain the operation of the pending application The acquisition service of data;And
Acquiring unit, the acquisition service is determined according to the application identities and relevant obtain of pending application is advised Then, and based on the rule that obtains the operation data of the pending application are obtained.
Preferably, wherein the type applied includes game application, video playing application, audio plays application and live streaming should With.
Preferably, the application identities include Apply Names and/or installation kit title, and the digital signature is by answering The E-seal by certification provided with provider.
Preferably, including:Dispensing unit, the user equipment pre-set and stored according to user's input described in match somebody with somebody File is put, and wherein data item is the application identities of the application for the acquisition for carrying out operation data.
Preferably, the authentication unit is additionally operable to:The application identities of the pending application are sent to certificate server With inquire about with it is described pending using associated provider's mark using provider.
Preferably, the authentication unit is additionally operable to:The digital signature is parsed to extract in the digital signature Provider's mark of record marks provider's mark described in the digital signature with the provider received from certificate server Knowledge is compared.
Preferably, the authentication unit is additionally operable to:When provider's mark described in the digital signature from certification with taking When provider's mark that business device receives is identical, determine that the pending application passes through verification.
Preferably, the acquiring unit is additionally operable to:The acquisition service examines rule base according to the application identities Rope, and determined and the pending relevant acquisition rule of application according to retrieval result.
Preferably, the operation data are the screen video data for the user equipment recorded, and obtain rule and include It is at least one in herein below:Time span, capacity limit, frame per second and bit rate.
Preferably, the acquiring unit is additionally operable to:It is determining with after the pending relevant acquisition rule of application, also wrapping It includes described obtain and the operation data of the pending application is obtained based on the acquisition rule after service expires in the predetermined time.
Preferably, the acquiring unit is additionally operable to:When the state of the pending application is switched to backstage from front stage operation It is described to obtain the service pause acquisition operation data during operation.
Preferably, the acquiring unit is additionally operable to:When the state of the pending application is switched to foreground from running background During operation, the acquisition service starts to obtain the operation data.
Preferably, storage unit is further included:To carry out each application in multiple applications of the acquisition of operation data Distribution basis storage region and dynamic storage zone, wherein the basis storage region is associated with each applying for storing Basis operation data, and the dynamic storage zone is used to store with each applying associated additional operation information data.
Preferably, the storage unit is additionally operable to:When the residual capacity of the basic storage region of the pending application is It is described to obtain the pre-set storage rule of service based on subscriber or the operation shape for obtaining service based on subscriber equipment when zero State determines whether to distribute dynamic storage zone for the pending application.
Preferably, the storage unit is additionally operable to:When the residual capacity of the dynamic storage zone of the pending application is It is described to obtain service and pending be stored with described using associated new operation data with coverage mode to the base when zero In plinth storage region.
Preferably, the storage unit is additionally operable to:When the residual capacity of the dynamic storage zone of the pending application is When zero, it is described obtain service by with it is described it is pending using associated new operation data in the dynamic storage zone into Row cover type stores.
Preferably, the storage unit is additionally operable to:The end time of this operation of the pending application is carried out pre- It surveys, it is small from current time to the size of operation data acquired in the period of the end time of this operation when determining When expanded threshold value, it is determined as the pending application distribution dynamic storage zone.
Preferably, the storage unit is additionally operable to:It is united according to the history of the end of run time to the pending application Count to determine end time of this operation of the pending application.
Preferably, the storage unit is additionally operable to:The end time of this operation of the pending application is carried out pre- It surveys, it is big from current time to the size of operation data acquired in the period of the end time of this operation when determining In expanded threshold value and during less than acceptable threshold, it is determined as the pending application distribution dynamic storage zone and promotes described The service of acquisition obtains the operation data according to the frame per second and/or bit rate of reduction.
Preferably, storage unit is further included:Pre-set storage information is parsed, it is described to determine to store Run data and with the basic storage region of basic memory capacity.
Preferably, storage unit is further included:It is determined according to dynamic configuration file in the basic storage region to the fortune The size of each basic unit of storage in multiple basic units of storage during row data progress fragmented storage.
Preferably, the acquiring unit is additionally operable to:It is described to obtain service to every in multiple segmentations of the operation data A segmentation carries out segmentation recording, and each segmentation and multiple basic storages using identical or different frame per second and/or bit rate Corresponding basic unit of storage is associated in unit.
Preferably, the acquiring unit is additionally operable to:The acquisition service can carry out content to acquired operation data Identification, when determine specific basic unit of storage in partition running data content be with it is described pending using unrelated data When, delete the partition running data.
Preferably, the acquiring unit is additionally operable to:The acquisition service can carry out content to acquired operation data Identification, when the content for determining the partition running data in specific basic unit of storage can be converted to it is described pending using phase During the frame data of pass, the partition running data are deleted.
Preferably, the acquiring unit is additionally operable to:Described obtain is serviced in being stored in being arbitrarily segmented in multiple segmentations Hold and carry out data compression.
Preferably, broadcast unit is further included:Suspension display window is created in the display area of user equipment, described suspend shows Show window for play by it is described obtain service acquired in operation data.
Based on another aspect of the present invention, a kind of mobile terminal is provided, including or for perform described in above-mentioned any one For automatically obtain application operation data system.
The method and system for the automatic operation data for obtaining application that technical solution of the present invention provides, is set by monitoring users The state each applied in standby interior multiple applications when receiving the startup request of pending application, obtains pending application first Application identities and digital signature.Technical solution of the present invention is tested by the application identities to pending application and digital signature Card, to determine whether pending apply is to need to carry out the automatic application for obtaining the operation data applied, for passing through verification Pending application starts to obtain the acquisition service of the operation data of pending application, and answering according to pending application The acquisition rule of pending application is determined with mark, based on the operation data for obtaining the pending application of Rule.For not having By the pending application of verification, do not start the acquisition request for obtaining operation data.Technical solution of the present invention is realized to application The automatic acquisition of data is run, improves the efficiency of application operation data acquisition, and it is easy to operate.Technical solution of the present invention is real The verification of the application to obtain operation data is showed, has avoided the operation data for obtaining unwanted application, save The resource of system.
Description of the drawings
By reference to the following drawings, exemplary embodiments of the present invention can be more fully understood by:
Fig. 1 is the flow for the method for the operation data of acquisition application automatically according to the preferred embodiment for the present invention Figure;
Fig. 2 is the storage region for being used to store the automatic operation data for obtaining application according to the preferred embodiment for the present invention Distribute schematic diagram;
Fig. 3 is the knot that basic storage region is divided into multiple basic units of storage according to the preferred embodiment for the present invention Structure schematic diagram;
Fig. 4 is the structure for the system of the operation data of acquisition application automatically according to the preferred embodiment for the present invention Figure;
Fig. 5 is to obtain the flow of the method for operation data based on memory capacity according to the preferred embodiment for the present invention Figure;
Fig. 6 is to obtain the schematic diagram of operation data based on memory capacity according to the preferred embodiment for the present invention;
Fig. 7 is to be shown according to the preferred embodiment for the present invention based on memory capacity to obtain the structure of the system of operation data It is intended to;
Fig. 8 is the stream that the method for customization operation data is obtained according to fiducial time according to the preferred embodiment for the present invention Cheng Tu;
Fig. 9 is the schematic diagram by coefficient of dynamics adjustment time section according to the preferred embodiment for the present invention;
Figure 10 is the system that customization operation data are obtained according to fiducial time according to the preferred embodiment for the present invention Structure diagram;
Figure 11 is the stream according to the method that dynamic content presentation is carried out based on video data of the preferred embodiment for the present invention Cheng Tu;
Figure 12 is as carrying out the network of dynamic content presentation according to the video data of the preferred embodiment for the present invention Recommending data schematic diagram;And
Figure 13 is the knot according to the system that dynamic content presentation is carried out based on video data of the preferred embodiment for the present invention Structure schematic diagram.
Specific embodiment
Exemplary embodiments of the present invention are introduced referring now to attached drawing, however, the present invention can use many different shapes Formula is implemented, and is not limited to the embodiment described herein, and to provide these embodiments be to disclose at large and fully The present invention, and fully convey the scope of the present invention to person of ordinary skill in the field.Show for what is be illustrated in the accompanying drawings Term in example property embodiment is not limitation of the invention.In the accompanying drawings, identical cells/elements use identical attached Icon is remembered.
Unless otherwise indicated, term used herein has person of ordinary skill in the field (including scientific and technical terminology) It is common to understand meaning.Further it will be understood that with the term that usually used dictionary limits, be appreciated that and its The linguistic context of association area has consistent meaning, and is not construed as Utopian or overly formal meaning.
Fig. 1 is a kind of stream for the method for the operation data of acquisition application automatically according to the preferred embodiment for the present invention Cheng Tu.The method for the automatic operation data for obtaining application that embodiment of the present invention provides, by multiple in monitoring users equipment The state each applied in when receiving the startup request of pending application, obtains the application mark of pending application first Knowledge and digital signature.Embodiment of the present invention is verified by the application identities to pending application and digital signature, with true Whether fixed pending apply is the automatic application for obtaining the operation data applied of needs progress, for being answered by the pending of verification With, start to obtain the acquisition service of the operation data of pending application, and it is true according to the application identities of pending application The acquisition rule of fixed pending application, based on the operation data for obtaining the pending application of Rule.For not over verification Pending application, do not start obtain operation data acquisition request.The pending application of embodiment of the present invention can be trip Play application, such as 360 game or video playing application, audio play application and live streaming application.The application is made with 360 game For pending application, screen recording is operationally carried out to 360 game and is illustrated as the operation data obtained.Such as Shown in Fig. 1, method 100 is since step 101.
Preferably, in step 101:The state each applied in multiple applications in monitoring users equipment is waited to locate receiving Ought to startup request when, obtain the application identities and digital signature of pending application.Preferably, application identities include application Title and/or installation kit title, and digital signature is the E-seal by certification provided by application provider.The application In, application identities can be Apply Names or installation kit title, such as 360 game talk on the journey to wests, application identities be talk on the journey to west or Talk on the journey to west installation kit.But application pretends to be the application of talk on the journey to west or talk on the journey to west installation kit, this Shen by renaming in order to prevent Please further obtain the E-seal that game provider provides to talk on the journey to west game.The application uses digital signature technology, with Pending application is verified in realization.Wherein, digital signature technology can ensure the integrality of application, and be also a kind of body Part proves, prevents from applying and be pretended to be by other application.If the digital signature of provider is held in talk on the journey to west application, because digital signature It cannot be changed, thus it is guaranteed that the authenticity of talk on the journey to west application identity.
Preferably, the type applied in the application includes game application, video playing is applied, audio plays application and straight Broadcast application.The pending application of embodiment of the present invention can be game application, such as 360 game talk on the journey to west;Or video Play the fast video of application, such as 360;Audio plays application;Live streaming application, such as 360 Beijing time.
Preferably, in step 102:By multiple data item progress in application identities and pre-stored configuration file Match somebody with somebody.Preferably, user equipment pre-sets and stores configuration file according to user's input, and wherein data item is needs Carry out the application identities of the application of the acquisition of operation data.In the application, user equipment is pre-set simultaneously according to user's input And storage configuration file, by application identities, as multiple data item in talk on the journey to west and preconfigured configuration file carry out Match somebody with somebody, with determine talk on the journey to west application application identities whether in configuration file exist can matched data item, work as presence When, illustrate that talk on the journey to west application possesses automatic obtain and runs data, in the application, it is automatic that talk on the journey to west game application possesses acquisition Carry out the permission of screen recording.Alternatively, as seen the application identities of game repeatedly, it can not find that there are matched numbers in configuration file According to item, therefore, see that game does not possess repeatedly and obtain the automatic permission for carrying out screen recording.
Preferably, the application determines that provider's mark of pending application includes according to application identities:By pending application Application identities be sent to certificate server and identified with inquiring about with pending using the associated provider using provider.This In application, stored by the application identities of pending application and with pending identified using the associated provider using provider Into certificate server, pending application is inquired about to corresponding by certificate server and answered by providing the application identities of itself It is identified with the provider of provider.Application identities or provider's mark can be character string, number or by character string and number The mark mixed.
Preferably, in step 103:It is determining, there are during matched data item, pending application to be determined according to application identities Provider's mark, parsed to check provider's mark to digital signature, so as to carry out the verification to pending application.It is excellent Selection of land, wherein being parsed to check provider and identify to digital signature to include:Digital signature is parsed to extract number Provider's mark described in signature, by provider's mark described in digital signature and the provider from certificate server reception Mark is compared.Preferably, when provider's mark described in digital signature is marked with the provider received from certificate server It is sensible simultaneously, determine that pending application passes through verification.The application is obtained and remembered in digital signature by being parsed to digital signature Provider's mark of load, the provider parsed in digital signature is identified, with being looked into from certificate server according to application identities The mark of the correspondence provider ask is compared.It is provided when provider's mark described in digital signature with certificate server When provider's mark is consistent, determine that pending application passes through verification.Pending application runs data to have permission automatic obtain, i.e., Allow the application for carrying out automatic screen recording, such as 360 talk on the journey to west game applications.If as the provider described in digital signature When mark and inconsistent provider's mark that certificate server provides, then application, which is likely to be, has forged application identities or provider Mark, the application are not allowed to carry out automatic screen recording.The application by allow to carry out the application of operation data acquisition into Performing check avoids the automatic operation data for obtaining the application without running data acquisition permission, causes the waste of system resource.
Preferably, in step 104:When pending application passes through verification, start to obtain the operation of pending application The acquisition service of data.The application verifies to pending application, such as application identities and digital signature to talk on the journey to west It is verified, after talk on the journey to west is by verification, the application starts to obtain the screen record of talk on the journey to west application operationally Uniform business.
Preferably, in step 105:Service is obtained to be determined to apply relevant acquisition rule with pending according to application identities, And obtain the operation data of pending application based on rule is obtained.Preferably, wherein acquisition service is true according to application identities It is fixed to include with the relevant acquisition rule of pending application:The service of acquisition retrieves rule base according to application identities, and root It is determined and the relevant acquisition rule of pending application according to retrieval result.Preferably, data are run as the user equipment recorded Screen video data, and rule is obtained including at least one in herein below:Time span, capacity limit, frame per second and ratio Special rate.In the application, obtain service and determine the relevant acquisition rule of pending application according to application identities.Such as obtain service according to The application identities of talk on the journey to west are retrieved using application identities in rule base, are determined according to retrieval result and talk on the journey to west The screen video data recording of application is relevant to obtain rule, such as the acquisition rule for the screen video data recording that talk on the journey to west is applied It is then:Time span is 10 minutes, capacity limit 2G, frame per second:16 (fps), bit rate 360 (bps) or including other screens Curtain records relevant rule.
Preferably, determining with after the relevant acquisition rule of pending application, further including acquisition service in phase predetermined time After full the operation data of pending application are obtained based on rule is obtained.In the application, the acquisition rule of pending application are being determined After then, the service of acquisition regular obtains the operation data of pending application according to obtaining after can also expiring in the predetermined time.I.e. After the acquisition rule of talk on the journey to west game is determined, after the talk on the journey to west game running time reaches 5 seconds phases predetermined time, obtain Service, which starts to play to big talk, carries out screen recording.Wherein, phase predetermined time is presets, and can be 1 second, 2 seconds, 5 seconds, and 10 Second or other predetermined times.
Preferably, when the state of pending application is switched to running background from front stage operation, the service pause of acquisition obtains Run data.In the application, when the state of pending application is switched to running background from front stage operation, such as when user is playing greatly When talking about Journey to the West game, user connects phone, starts the call of a period of time, and talk on the journey to west game at this time can be switched to backstage and transport Row when talk on the journey to west is played in running background, need not carry out screen recording.Therefore, the application automatic pause screen recording, To avoid unwanted on-screen data is recorded, the resource of system is occupied.
Preferably, when the state of pending application is switched to front stage operation from running background, the service of acquisition starts to obtain Run data.In the application, when user disconnects from talking state, talk on the journey to west game is switched to front stage operation from running background When, user starts to continue to run with game, needs to carry out screen recording again at this time, and the application, which can realize, to be automatically begun to from from the background The talk on the journey to west game that operation is switched to front stage operation carries out screen recording.
Preferably, the application is to carry out running each depositing using distribution basis in multiple applications of the acquisition of data Storage area domain and dynamic storage zone, wherein basic storage region runs data for storing basis associated with each application, And dynamic storage zone is for storage with each applying associated additional operation information data.The application is to need to carry out operation number According to acquisition multiple applications in each using distribution basis storage region and dynamic storage zone, wherein region use is deposited on basis In storing with each running data using associated basis, dynamic storage zone is associated attached with each applying for storage Add operation data.In playing such as talk on the journey to west, user needs to record 8 minutes under normal circumstances, therefore is talk on the journey to west game point Basic storage region with 1G capacity further, since running game is uncertain, there may come a time when that talk on the journey to west game can be extended Screen recording, such as may proceed to record again 2 minutes, therefore, the dynamic storage zone of 300M capacity matched somebody with somebody for talk on the journey to west game point. Or 360 fast Video Applications, under normal circumstances user need to record 15 minutes, therefore be the base of 360 fast video distribution 1.5G capacity Plinth storage region there may come a time when that the screen recording of 360 fast videos can be extended, can such as be further continued for recording 3 minutes, be 360 fast therefore The dynamic storage zone of video distribution 400M capacity.Wherein, the capacity of dynamic storage zone is capable of the actual screen of pending application Curtain recording demand is adjusted, and demand is obtained to meet the additional operation information data of pending application.Pending apply is being transported During screen recording during row, the data first recorded are stored in basic storage region, when basic storage region is filled with, then will below The data deposit dynamic storage zone of recording.
Preferably, when the residual capacity of the basic storage region of pending application is zero, it is pre- to obtain service based on subscriber The storage rule or the operating status of acquisition service based on subscriber equipment first set is dynamic to determine whether to distribute for pending application State storage region.In the application, when the residual capacity of the basic storage region of pending application is zero, as when talk on the journey to west When the capacity of basic storage region 1G is stored full, acquisition service based on subscriber, which is pre-set, to be determined whether to swim for talk on the journey to west Play distribution dynamic storage zone if the storage rule of talk on the journey to west is screen recording 10 minutes, has currently completed talk on the journey to west trip The screen recording of play 8 minutes, the actual recording time of talk on the journey to west game are also less than the recording time of 10 minutes defined, work as basis When residual capacity is not present of storage region obtains the dynamic storage zone that 300M is matched somebody with somebody in service for talk on the journey to west game point again, makes The screen recording that talk on the journey to west game is obtained when can complete game running according to rule is obtained.The application, when pending application When the residual capacity of basic storage region is zero, it can also be judged by the operating status to user equipment, it is determined whether Dynamic storage zone is distributed for pending application.Such as when the screen recording data of talk on the journey to west game reach 1G, but equipment fortune The memory space of row residue 80M can not be that talk on the journey to west game continue to distribute dynamic storage zone, therefore, will not be again Pending application distributes dynamic storage zone.Or when the screen recording data of talk on the journey to west game reach 1G, but equipment operation The memory space of 20G is there remains, user equipment has sufficient memory space to distribute dynamic storage zone for pending application, obtains The dynamic storage zone of 800M is matched somebody with somebody in service for talk on the journey to west game point again, and talk on the journey to west, which is played, continues the record of on-screen data System.
Preferably, when the residual capacity of the dynamic storage zone of pending application is zero, obtain service will with it is pending It is stored using associated new operation data with coverage mode into basic storage region.In the application, when pending application The residual capacity of dynamic storage zone be zero, the screen recording data played such as talk on the journey to west are by the dynamic area of distribution When domain is filled with, the on-screen data for being stored in basic storage region such as recorded before is deposited compared to the dynamic that is stored in recorded below The importance of the on-screen data in storage area domain is low, when dynamic storage zone has been filled with and needing to continue screen recording, obtains Take service by talk on the journey to west using associated new screen recording data storage to basic storage region, basic storage region is deposited The on-screen data that the data of storage are newly recorded covers.
Preferably, when the residual capacity of the dynamic storage zone of pending application is zero, obtain service will with it is pending Cover type storage is carried out in dynamic storage zone using associated new operation data.In the application, when pending application The residual capacity of dynamic storage zone be zero, the screen recording data played such as talk on the journey to west are by the dynamic area of distribution When domain is filled with, the on-screen data for being stored in basic storage region such as recorded before is deposited compared to the dynamic that is stored in recorded below The importance of the on-screen data in storage area domain is high, when dynamic storage zone has been filled with and needing to continue screen recording, obtains Take service by talk on the journey to west using associated new screen recording data storage to dynamic storage zone, dynamic storage zone is deposited The on-screen data that the data of storage are newly recorded covers.
Preferably, further include to pending application this operation end time predict, when determine from it is current when Between to operation data acquired in the period of the end time of this operation size less than or equal to expanded threshold value when, really It is set to pending application distribution dynamic storage zone.Preferably, wherein going through according to the end of run time to pending application History statistics come determine pending application this operation end time.In the application, to the operation knot of pending application The beam time is counted, and log history statistics, in pending application operationally, is determined according to historical statistical data The pending end time using this operation.If talk on the journey to west is played, the historical statistical data record each run time is 22: 00 to 22:30, by historical statistical data, the run time that can predict talk on the journey to west game is 22:00 to 22:30 points of 30 Clock.The application from current time to the size of operation data acquired in the period of this end time run to carrying out Assessment, if current time is 22:25,22 from current time to end time:During 30 period of 5 minutes, the operation of acquisition The size of data is about 700M, and 700M sizes and equipment can be extended to the maximum of capacity, i.e. expanded threshold value is compared, such as Expanded threshold value is 2G, and talk on the journey to west game running carries out the 700M's of screen recording needs in estimated 5 minutes terminated Capacity less than the capacity of expanded threshold value 2G, is determined as talk on the journey to west game point with dynamic storage zone.Or when such as expanded threshold value is During 500M, talk on the journey to west game running carries out the capacity of the 700M of screen recording needs in estimated 5 minutes terminated, greatly In the capacity of expanded threshold value 500M, the capacity that equipment can extend can not match somebody with somebody screen recording data for talk on the journey to west game point again Memory space determines can not to be that talk on the journey to west game point matches somebody with somebody dynamic storage zone.
Preferably, further include to pending application this operation end time predict, when determine from it is current when Between to the sizes of operation data acquired in the period of the end time of this operation be more than expanded threshold value and less than appearance Perhaps during threshold value, be determined as pending application distribution dynamic storage zone and promoting obtain service according to the frame per second of reduction and/or Bit rate obtains operation data.In the application, the run time such as to talk on the journey to west game prediction also 15 minutes, 5 minutes The capacity of the 2.5G of screen recording needs is carried out in time, equipment can extend the maximum of capacity, i.e., carried out with expanded threshold value Compare, if expanded threshold value is 2G, equipment residue memory capacity, i.e., minimum acceptable threshold is 5G, and screen record is carried out in 5 minutes The capacity of the 2.5G needed is made, the expanded threshold value more than 2G and the minimum acceptable threshold 5G for being less than equipment, the application are big talk The screen recording distribution dynamic of Journey to the West game deposits region, also, the acquisition service of the screen recording of talk on the journey to west game is reduced Frame per second is such as adjusted to 18 (fps) by the frame per second and/or bit rate of recording from 25 (fps), and bit rate is adjusted to from 400 (bps) 320 (bps), to reduce the data of the screen recording of talk on the journey to west game.
Preferably, the application, which further includes, parses pre-set storage information, to determine for storage running number According to and with the basic storage region of basic memory capacity.In the application, pre-set storage information is parsed, The time of screen recording, the frame per second recorded, bit rate are carried out according to pending application, the data of screen recording storage information are held Amount is parsed, such as to talk on the journey to west game 10 minutes screen recordings of progress, by frame per second 25 (fps), bit rate from 380 (bps), It is 1.5G to parse talk on the journey to west game screen and record the capacity needed, therefore, the basis storage of 1.5G is distributed for talk on the journey to west Region.
Preferably, the application is further included determines to divide operation data in basic storage region according to dynamic configuration file The size of each basic unit of storage in multiple basic units of storage during section storage.Preferably, application further includes, and obtains service Segmentation recording is carried out using identical or different frame per second and/or bit rate to each segmentation in running multiple segmentations of data, And being each segmented basic unit of storage corresponding with multiple basic units of storage is associated.It is right for convenience in the application The operation data that pending application obtains are handled, and by the way of fragmented storage, are placed the data in multiple after segmentation In basic unit of storage.The basic storage region of 1G is such as divided into 100M, the segmentation of 100M, 200M, 200M, 200M ..., Wherein, the frame per second of screen recording and bit rate can be identical or different in every section of corresponding basic unit of storage , and establish incidence relation of each segmentation with corresponding basic unit of storage.
Preferably, content recognition can be carried out to acquired operation data by obtaining service, when definite specific basic storage The content of partition running data in unit be with it is pending using unrelated data when, delete partition running data.The application In, the operation data of acquisition are identified by obtaining service, i.e., the screen recording number played to talk on the journey to west in the application According to content be identified, when finding in basic unit of storage, screen recording data and the talk on the journey to west game of the first segmentation are transported Capable data are unrelated, are such as ad data, then delete the screen recording data of the first segmentation.
Preferably, content recognition can be carried out to acquired operation data by obtaining service, when definite specific basic storage When the content of partition running data in unit can be converted to pending application relevant frame data, partition running is deleted Data.In the application, the operation data of acquisition are identified by obtaining service, such as the screen recording to talk on the journey to west game Data carry out content recognition, if it is determined that the screen of the basic unit of storage storage of specific basic unit of storage, such as the 5th segmentation Data recording does not carry out the talk on the journey to west record screen of screen recording data during any operation, i.e. basic unit of storage storage for game Data can be converted to frame data, therefore, delete the screen recording data of the basic unit of storage storage of the 5th segmentation.
Preferably, obtain service and data compression is carried out to the content stored in multiple arbitrary segmentations of segmentation.In the application, lead to It crosses the service of acquisition and data compression is carried out to the content stored in any one segmentation in multiple segmentations, such as talk on the journey to west is played The record screen data being stored in the second segmentation are compressed processing, to save the memory space of data.
Preferably, the display area for being additionally included in user equipment creates suspension display window, and suspension display window is used to broadcast Put the operation data acquired by obtaining service.In the application, the display that suspends is created by display area in a user device Window will obtain the operation data of service acquisition, i.e. the data of screen recording are shown in suspended window, are realized screen Enroll the synchronous displaying of data.
Fig. 2 is the storage region for being used to store the automatic operation data for obtaining application according to the preferred embodiment for the present invention Distribute schematic diagram.As shown in Fig. 2, the application is each application distribution base in the multiple applications for carry out operation data acquisition Plinth storage region 201 and dynamic storage zone 202, wherein basis deposit region 201 for store with each using associated base Plinth runs data, and dynamic storage zone 202 is for storage with each applying associated additional operation information data.As talk on the journey to west is swum In play, user needs to record 8 minutes under normal circumstances, therefore matches somebody with somebody the basic storage region of 1G capacity for talk on the journey to west game point 201, further, since running game is uncertain, it there may come a time when that the screen recording of talk on the journey to west game can be extended, such as may proceed to It records again 2 minutes, therefore, the dynamic storage zone 202 of 300M capacity is matched somebody with somebody for talk on the journey to west game point.Wherein, dynamic area The actual screen recording demand that the capacity in domain is capable of pending application is adjusted, to meet the additional operation number of pending application According to the demand of acquisition.It is pending apply when being run screen recording when, the data first recorded are stored in basic storage region, Dynamic storage zone is stored in when basic storage region is filled with, then by the data recorded below.When basic storage region 201 and move When the record screen data stored in state storage region 202 all do not have residual capacity, but also need to continue pending application During screen recording, the importance journey of the record screen data stored in region 201 and dynamic storage zone 202 is deposited to stored basis Sequence is judged that the data importance as stored in basic storage region 201 is low, and the on-screen data for continuing to record is deposited basis Stored data carry out cover type processing in storage area domain 201;Or the data importance stored in dynamic storage zone 202 is low, It will continue the on-screen data recorded and stored data in dynamic storage zone 202 be subjected to cover type processing.
Fig. 3 is the knot that basic storage region is divided into multiple basic units of storage according to the preferred embodiment for the present invention Structure schematic diagram.As shown in figure 3, the operation data obtained for convenience to pending application in the application are handled, using base Plinth storage region is segmented, and by the way of fragmented storage, is placed the data in multiple basic units of storage after segmentation. The basic storage region of 1G is such as divided into the first segmentation basic unit of storage 301 of 100M, the second segmentation of 100M is deposited substantially Storage unit 302, the 3rd segmentation basic unit of storage 303 of 100M, the 4th segmentation basic unit of storage 304 of 200M, 200M's 5th segmentation basic unit of storage 305, the segmentation of the 6th segmentation basic unit of storage 306 ... of 200M.It is swum in talk on the journey to west Play operation start before, due to fluctuation of service, the capacity of basic unit of storage 301,302 and 303 is divided into 100M, convenient for pair Unstable data are handled.When talk on the journey to west game running for a period of time after, application operation relatively stablize, list will be stored substantially The capacity of member 304,305 and 306 is divided into 200M.In the later stage of screen recording, data are opposite and unstable, by basic unit of storage 307 and 308 capacity is divided into 100M.Wherein, in every section of corresponding basic unit of storage screen recording frame per second and bit rate It can be identical or different, and establish incidence relation of each segmentation with corresponding basic unit of storage.This In application, when frame data can be converted to by such as finding the record screen data of the first segmentation 301 memory storage of basic unit of storage, delete The record screen data of first segmentation 301 memory storage of basic unit of storage.As found 302 memory storage of the second segmentation basic unit of storage When record screen data are the data unrelated with talk on the journey to west game application operation data, the second segmentation basic unit of storage 302 is deleted The record screen data of memory storage.The application can also be serviced by obtaining, and the first segmentation basic unit of storage 301 to the 8th is segmented The data stored in any segmentation or multiple segmentations in basic unit of storage 308 are compressed processing.
Fig. 4 is to be shown according to the preferred embodiment for the present invention for obtaining the structure of the system of the operation data of application automatically It is intended to.The system for the automatic operation data for obtaining application that embodiment of the present invention provides, is set by monitoring unit monitoring users The state each applied in standby interior multiple applications when receiving the startup request of pending application, obtains pending application first Application identities and digital signature.Embodiment of the present invention signs the application identities of pending application and number by authentication unit Name is verified, to determine whether pending apply is to need to carry out the automatic application for obtaining the operation data applied, for logical The pending application of verification is crossed, starts to obtain the acquisition service of the operation data of pending application by start unit, lead to The acquisition rule that acquiring unit determines pending application according to the application identities of pending application is crossed, is treated based on Rule is obtained Handle the operation data of application.For the pending application not over verification, do not start the acquisition request for obtaining operation data. The pending application of embodiment of the present invention can be game application, and such as 360 game or video playing application, audio play Using and live streaming application.The application operationally carries out screen record using 360 game as pending application, to 360 game The operation data for being made as obtaining are illustrated.As shown in figure 4, system 400 includes:
Monitoring unit 401, the state each applied in multiple applications in monitoring users equipment, is receiving pending application Startup request when, obtain the application identities and digital signature of pending application.Preferably, application identities include Apply Names And/or installation kit title, and digital signature is the E-seal by certification provided by application provider.In the application, Application identities can be Apply Names or installation kit title, such as 360 game talk on the journey to wests, and application identities are talk on the journey to west or big Talk about Journey to the West installation kit.But application pretends to be the application of talk on the journey to west game or talk on the journey to west installation kit by renaming in order to prevent, this Application further obtains the E-seal that game provider provides to talk on the journey to west game.The application uses digital signature technology, Pending application is verified with realizing.Wherein, digital signature technology can ensure the integrality of application, and be also one kind Proof of identification is prevented from applying and pretended to be by other application.If the digital signature of provider is held in talk on the journey to west application, because number label Name cannot be changed, thus it is guaranteed that the authenticity of talk on the journey to west application identity.
Preferably, the type applied in the application includes game application, video playing is applied, audio plays application and straight Broadcast application.The pending application of embodiment of the present invention can be game application, such as 360 game talk on the journey to west;Or video Play the fast video of application, such as 360;Audio plays application;Live streaming application, such as 360 Beijing time.
Matching unit 402 matches application identities with multiple data item in pre-stored configuration file.It is preferred that Ground, the application include dispensing unit, configuration file are pre-set and stored according to user's input for user equipment, and Wherein data item is the application identities of the application for the acquisition for carrying out operation data.In the application, user equipment is according to user Input pre-sets and stores configuration file, by application identities, in talk on the journey to west and preconfigured configuration file Multiple data item are matched, to determine whether presence can match the application identities of the application of talk on the journey to west in configuration file Data item, when it is present, illustrate talk on the journey to west application possess it is automatic obtain operation data, in the application, talk on the journey to west game The automatic permission for carrying out screen recording is obtained using possessing.Alternatively, the application identities as seen game repeatedly, are looked in configuration file Less than there are matched data item, therefore, see that game does not possess repeatedly and obtain the automatic permission for carrying out screen recording.
Preferentially, authentication unit 403 is additionally operable to:The application identities of pending application are sent to certificate server to inquire about It is identified with pending using the associated provider using provider.In the application, by the application identities of pending application and It is stored with pending using associated using provider's mark of provider into certificate server, pending application is by carrying For the application identities of itself, inquired about to the corresponding provider using provider and identified by certificate server.Application identities or Provider's mark can be character string, number or the mark mixed by character string and number.
Authentication unit 403 is determining, there are during matched data item, the offer of pending application to be determined according to application identities Side's mark parses digital signature to check provider's mark, so as to carry out the verification to pending application.Preferably, Wherein digital signature is parsed to check provider and identify to include:Digital signature is parsed to extract in digital signature Record provider mark, by described in digital signature provider mark with from certificate server receive provider identify into Row compares.Preferably, when provider's mark described in digital signature is identical with the provider's mark received from certificate server When, determine that pending application passes through verification.The application obtains carrying described in digital signature by being parsed to digital signature Supplier identifies, and the provider parsed in digital signature is identified, with being inquired according to application identities from certificate server The mark of corresponding provider is compared.As the provider that provider's mark described in digital signature is provided with certificate server When identifying consistent, determine that pending application passes through verification.Pending application for have permission it is automatic obtain operation data, that is, allow into The application that row automatic screen is recorded, such as 360 talk on the journey to west game applications.If when described in digital signature provider mark with When provider's mark that certificate server provides is inconsistent, then application, which is likely to be, has forged application identities or provider's mark, The application is not allowed to carry out automatic screen recording.The application is by examining the application for allowing to carry out operation data acquisition It tests, avoids the automatic operation data for obtaining the application without running data acquisition permission, cause the waste of system resource.
Start unit 404 when pending application passes through verification, starts to obtain the operation data of pending application Obtain service.The application is verified to pending application, and such as the application identities and digital signature of talk on the journey to west are tested Card, after talk on the journey to west is by verification, the application starts to obtain the screen recording service of talk on the journey to west application operationally.
Acquiring unit 405, the service that obtains determine to apply relevant acquisition rule, and base with pending according to application identities The operation data of pending application are obtained in obtaining rule.Preferably, service is obtained to carry out rule base according to application identities Retrieval, and determined and the relevant acquisition rule of pending application according to retrieval result.Preferably, operation data are recorded The screen video data of user equipment, and rule is obtained including at least one in herein below:Time span, capacity limit System, frame per second and bit rate.In the application, obtain service and determine the relevant acquisition rule of pending application according to application identities.Such as Application identities of the service according to talk on the journey to west are obtained, are retrieved using application identities in rule base, it is true according to retrieval result The relevant screen video data for obtaining rule, being applied such as talk on the journey to west of screen video data recording of fixed and talk on the journey to west application The acquisition rule of recording is:Time span is 10 minutes, capacity limit 2G, frame per second:16 (fps), bit rate 360 (bps) or Person includes the relevant rule of other screen recordings.
Preferably, acquiring unit 405 is additionally operable to:It is determining with after the relevant acquisition rule of pending application, further including and obtaining Service is taken to obtain the operation data of pending application based on obtaining rule after expiring in the predetermined time.In the application, determining After the acquisition rule of pending application, the service of acquisition is pending to obtain according to rule is obtained after can also expiring in the predetermined time The operation data of application.I.e. after the acquisition rule of talk on the journey to west game is determined, the talk on the journey to west game running time reaches pre- It fixes time after 5 seconds phases, the service of acquisition, which starts to play to big talk, carries out screen recording.Wherein, phase predetermined time, can to preset Think 1 second, 2 seconds, 5 seconds, 10 seconds or other predetermined times.
Preferably, acquiring unit 405 is additionally operable to:When the state of pending application is switched to running background from front stage operation When, the service pause of acquisition obtains operation data.In the application, transported when the state of pending application is switched to backstage from front stage operation During row, such as when user is when playing talk on the journey to west game, user connects phone, starts the call of a period of time, at this time talk on the journey to west Game can be switched to running background, when talk on the journey to west is played in running background, need not carry out screen recording.Therefore, this Shen Please automatic pause screen recording, to avoid unwanted on-screen data is recorded, occupy the resource of system.
Preferably, acquiring unit 405 is additionally operable to:When the state of pending application is switched to front stage operation from running background When, the service of acquisition starts to obtain operation data.In the application, when user disconnects from talking state, talk on the journey to west game is from from the background When operation is switched to front stage operation, user starts to continue to run with game, needs to carry out screen recording again at this time, the application can be real It now automatically begins to play to the talk on the journey to west for being switched to front stage operation from running background and carries out screen recording.
Preferably, the application further includes storage unit:It is every in multiple applications of the acquisition of operation data to carry out A application distribution basis storage region and dynamic storage zone, wherein basic storage region is associated with each application for storing Basis operation data, and dynamic storage zone for store with each using associated additional operation information data.The application To carry out each applying distribution basis storage region and dynamic storage zone in multiple applications of the acquisition of operation data, Wherein basis deposit region for store with each application it is associated basis run data, dynamic storage zone for store and often A associated additional operation information data of application.In playing such as talk on the journey to west, user needs recording 8 minutes under normal circumstances, therefore Match somebody with somebody the basic storage region of 1G capacity for talk on the journey to west game point, further, since running game is uncertain, there may come a time when meeting Extend the screen recording of talk on the journey to west game, such as may proceed to record again 2 minutes, be that talk on the journey to west game point is held with 300M therefore The dynamic storage zone of amount.Or 360 fast Video Applications, under normal circumstances user need to record 15 minutes, therefore be 360 fast videos The basic storage region of 1.5G capacity is distributed, there may come a time when that the screen recording of 360 fast videos can be extended, can such as be further continued for recording 3 Minute, it is the dynamic storage zone of 360 fast video distribution 400M capacity therefore.Wherein, the capacity of dynamic storage zone can be treated The actual screen of processing application is recorded demand and is adjusted, and demand is obtained to meet the additional operation information data of pending application.It treats When the screen recording when being run is applied in processing, the data first recorded are stored in basic storage region, when basic memory block When domain is filled with, then by the data recorded below be stored in dynamic storage zone.
Preferably, storage unit is additionally operable to:When the residual capacity of the basic storage region of pending application is zero, obtain The pre-set storage rule of service based on subscriber obtains the operating status of service based on subscriber equipment to determine whether to treat Processing application distribution dynamic storage zone.In the application, when the residual capacity of the basic storage region of pending application is zero, Such as when the capacity of the basic storage region 1G of talk on the journey to west is stored full, the pre-set storage of service based on subscriber is obtained Rule determines whether to be talk on the journey to west game point with dynamic storage zone, currently complete such as talk on the journey to west screen recording 10 minutes The screen recording played into talk on the journey to west 8 minutes, the actual recording time of talk on the journey to west game are also less than the record of 10 minutes defined Time processed, when basic storage region is when being not present residual capacity, the service that obtains is that talk on the journey to west game point is dynamic with 300M again State storage region so that talk on the journey to west game can complete screen recording during game running.The application, when pending application When the residual capacity of basic storage region is zero, it can also be judged by the operating status to user equipment, it is determined whether Dynamic storage zone is distributed for pending application.Such as when the screen recording data of talk on the journey to west game reach 1G, but equipment fortune The memory space of row residue 80M can not be that talk on the journey to west game continue to distribute dynamic storage zone, therefore, will not be again Pending application distributes dynamic storage zone.Or when the screen recording data of talk on the journey to west game reach 1G, but equipment operation The memory space of 20G is there remains, user equipment has sufficient memory space to distribute dynamic storage zone for pending application, obtains The dynamic storage zone of 800M is matched somebody with somebody in service for talk on the journey to west game point again, and talk on the journey to west, which is played, continues the record of on-screen data System.
Preferably, storage unit is additionally operable to:When the residual capacity of the dynamic storage zone of pending application is zero, obtain Service will be stored with coverage mode into basic storage region with pending using associated new operation data.The application In, when the residual capacity of the dynamic storage zone of pending application is zero, the screen recording data played such as talk on the journey to west incited somebody to action When the dynamic storage zone of distribution is filled with, the on-screen data for being stored in basic storage region of such as recording before is compared to be recorded below The importance of the on-screen data for being stored in dynamic storage zone of system is low, when dynamic storage zone has been filled with and need to continue into During row screen recording, service is obtained by talk on the journey to west using associated new screen recording data storage to basic memory block Domain, the on-screen data that the data of basic storage region storage are newly recorded cover.
Preferably, storage unit is additionally operable to:When the residual capacity of the dynamic storage zone of pending application is zero, obtain Service will carry out cover type storage using associated new operation data with pending in dynamic storage zone.The application In, when the residual capacity of the dynamic storage zone of pending application is zero, the screen recording data played such as talk on the journey to west incited somebody to action When the dynamic storage zone of distribution is filled with, the on-screen data for being stored in basic storage region of such as recording before is compared to be recorded below The importance of the on-screen data for being stored in dynamic storage zone of system is high, when dynamic storage zone has been filled with and need to continue into During row screen recording, service is obtained by talk on the journey to west using associated new screen recording data storage to dynamic area Domain, the on-screen data that the data of dynamic storage zone storage are newly recorded cover.
Preferably, storage unit is additionally operable to:The end time of this operation of pending application is predicted, when definite It is less than or equal to extension from current time to the size of operation data acquired in the period of this end time run During threshold value, it is determined as pending application distribution dynamic storage zone.Preferably, wherein according to the end of run to pending application The historical statistical data of time come determine pending application this operation end time.In the application, to pending application The end of run time counted, and log history statistics, in pending application operationally, according to historical statistics number According to come determine it is pending using this operation end time.If talk on the journey to west is played, historical statistical data record each run Time is 22:00 to 22:30, by historical statistical data, the run time that can predict talk on the journey to west game is 22:00 to 22: 30 minutes of 30.The application is to from current time to operation data acquired in the period of this end time run Size is assessed, if current time is 22:25,22 from current time to end time:During 30 period of 5 minutes, obtain And expanded threshold value the size of the operation data taken is about 700M, and 700M sizes and equipment can be extended to the maximum of capacity, i.e., It is compared, if expanded threshold value is 2G, talk on the journey to west game running carries out screen recording in estimated 5 minutes terminated to be needed The capacity of the 700M wanted less than the capacity of expanded threshold value 2G, is determined as talk on the journey to west game point with dynamic storage zone.It or ought be such as When expanded threshold value is 500M, talk on the journey to west game running carries out screen recording needs in estimated 5 minutes terminated The capacity of 700M, more than the capacity of expanded threshold value 500M, the capacity that equipment can extend can not match somebody with somebody for talk on the journey to west game point again The memory space of screen recording data determines can not to be that talk on the journey to west game point matches somebody with somebody dynamic storage zone.
Preferably, storage unit is additionally operable to:The end time of this operation of pending application is predicted, when definite It is more than expanded threshold value simultaneously from current time to the size of operation data acquired in the period of this end time run And during less than acceptable threshold, it is determined as pending application distribution dynamic storage zone and promotes to obtain frame of the service according to reduction Rate and/or bit rate obtain operation data.In the application, when such as also having the operation of 15 minutes to talk on the journey to west game prediction Between, the capacity of the 2.5G of screen recording needs is carried out in 5 minutes, equipment can extend the maximum of capacity, i.e., with extension Threshold value is compared, and if expanded threshold value is 2G, equipment residue memory capacity, i.e., minimum acceptable threshold is 5G, 5 minutes it is interior into The capacity for the 2.5G that row screen recording needs, expanded threshold value more than 2G and less than the minimum acceptable threshold 5G of equipment, this Shen Please be that the screen recording distribution dynamic that talk on the journey to west is played deposits region, also, the acquisition of the screen recording to talk on the journey to west game Service reduces the frame per second recorded and/or bit rate, and frame per second such as is adjusted to 18 (fps) from 25 (fps), and bit rate is from 400 (bps) 320 (bps) are adjusted to, to reduce the data of the screen recording of talk on the journey to west game.
Preferably, the application further includes storage unit:Pre-set storage information is parsed, is deposited with determining Accumulating row data and with the basic storage region of basic memory capacity.In the application, to pre-set storage information It is parsed, the time of screen recording, the frame per second recorded, bit rate is carried out according to pending application, screen recording is stored and is believed The data capacity of breath is parsed, and such as playing to talk on the journey to west carries out 10 minutes screen recordings, by frame per second 25 (fps), bit rate From 380 (bps), it is 1.5G to parse talk on the journey to west game screen and record the capacity needed, therefore, 1.5G is distributed for talk on the journey to west Basic storage region.
Preferably, storage unit is further included:According to dynamic configuration file determine in basic storage region to operation data into The size of each basic unit of storage in multiple basic units of storage during row fragmented storage.Preferably, obtained in the application single Member 405 is additionally operable to:Obtain each segmentation in multiple segmentations of the service to running data using identical or different frame per second and/or Bit rate carries out segmentation recording, and each segmentation basic unit of storage corresponding with multiple basic units of storage is associated. In the application, the operation data obtained for convenience to pending application are handled, by the way of fragmented storage, by data In the multiple basic units of storage of storage after segmentation.The basic storage region of 1G is such as divided into 100M, 100M, 200M, The segmentation of 200M, 200M ..., wherein, the frame per second of screen recording and bit rate can be in every section of corresponding basic unit of storage It is identical or different, and establish incidence relation of each segmentation with corresponding basic unit of storage.
Preferably, acquiring unit 405 is additionally operable to:The service of acquisition can carry out content recognition to acquired operation data, When determine specific basic unit of storage in partition running data content be with it is pending using unrelated data when, delete point Duan Yunhang data.In the application, the operation data of acquisition are identified by obtaining service, i.e., to talk on the journey to west in the application The content of the screen recording data of game is identified, when finding in basic unit of storage, the screen recording data of the first segmentation It is unrelated with the data of talk on the journey to west game running, it is such as ad data, then deletes the screen recording data of the first segmentation.
Preferably, acquiring unit 405 is additionally operable to:The service of acquisition can carry out content recognition to acquired operation data, When the content for determining the partition running data in specific basic unit of storage can be converted to and the pending relevant single frames of application During data, partition running data are deleted.In the application, the operation data of acquisition are identified by obtaining service, such as to big The screen recording data for talking about Journey to the West game carry out content recognition, if it is determined that the base of specific basic unit of storage, such as the 5th segmentation The screen recording data of this storage unit storage do not carry out screen recording data during any operation for game, i.e., basic storage is single The talk on the journey to west record screen data of member storage, can be converted to frame data, therefore, the basic unit of storage for deleting the 5th segmentation is deposited The screen recording data of storage.
Preferably, acquiring unit 405 is additionally operable to:Service is obtained to carry out the content stored in being arbitrarily segmented in multiple segmentations Data compression.In the application, data are carried out to the content stored in any one segmentation in multiple segmentations by obtaining service The record screen data that talk on the journey to west game is stored in the second segmentation are such as compressed processing, to save the storage of data by compression Space.
Preferably, the application further includes broadcast unit:Suspension display window is created in the display area of user equipment, is suspended Display window services acquired operation data for playing by obtaining.In the application, pass through viewing area in a user device Domain creates suspension display window, will obtain the operation data of service acquisition, i.e. the data of screen recording are shown in suspended window Show, realize synchronous the showing of screen admission data.
Based on another embodiment of the present invention, a kind of mobile terminal is provided, including or for perform above-mentioned automatic acquisition The system of the operation data of application.
Fig. 5 is to obtain the flow of the method for operation data based on memory capacity according to the preferred embodiment for the present invention Figure.Embodiment of the present invention provide it is a kind of based on memory capacity come obtain operation data method, by user equipment Start and the loading of system service completion is responded, run to obtain the operation data of the pending application of user equipment Obtain service.Embodiment of the present invention parses pre-set storage information, obtains the capacity of storage information, determines to use In storage running data and with the basic storage region of basic memory capacity.Embodiment of the present invention is according to dynamic configuration It is each deposited substantially in multiple basic units of storage when file determines to carry out fragmented storage to operation data in basic storage region The size of storage unit, and further determine that the storage that dynamic memory is carried out when the basic memory capacity of basic storage region is used up Rule.Embodiment of the present invention is monitored in real time by the remaining memory capacity to basic storage region, when monitoring residue When memory capacity is less than threshold value, storage warming-up exercise associated with dynamic memory, and basis storage are carried out according to storage rule Dynamic memory is carried out according to storage rule when capacity is used up.Embodiments of the present invention, realizing can be by the operation number of acquisition According to distribution basic unit of storage, and when basic unit of storage capacity is used up, can will be run according to storage rule data into Mobile state stores.In the application, user equipment can be mobile phone, IPD, automobile data recorder etc..As shown in figure 5, method 500 is from step Start at rapid 501.
Preferably, in step 501:Loading in response to startup and the system service of user equipment is completed, and runs to obtain Take the acquisition service of the operation data of user equipment.Preferably, in response to the startup of user equipment, chip guide function is from read-only Memory reads bootstrap and by boot program loads into memory.Preferably, by boot program loads to depositing at random After in reservoir, bootstrap initializes the required storehouse of operation kernel program and hardware device.Preferably, initial After change, kernel program is run, kernel program sets caching, sets protected storage, sets list of schedules and load driver, And loading system service.In the application, when power supply is pressed, chip guide function starts from predefined read only memory ROM Start to read bootstrap and bootload program is into memory, then perform.When bootstrap is loaded into random storage After in device, bootstrap initializes the storehouse and hardware device of operation kernel program needs, after initialization, operation Kernel program sets caching by kernel program, sets protected storage, setting list of schedules and load driver and loading System service.In the application, the loading completion of startup and the system service of user equipment is responded, operation is used for obtaining The acquisition service of the operation data of family equipment.In the application, after user equipment such as mobile phone open, the acquisition clothes for the data that bring into operation Business, the application are illustrated with carrying out screen recording to mobile phone, when mobile phone starts and has loaded the function of system service Afterwards, serviced by obtaining, the screen of mobile phone is recorded.
Preferably, in step 502:Pre-set storage information is parsed, to determine for storage running data And with the basic storage region of basic memory capacity.Preferably, user equipment is deposited according to user's input to pre-set Store up information and in the user equipment memory storage storage information.Preferably, storage information includes:The starting point of basic storage region Location and basic memory capacity.In the application, storage information is pre-set by user's input, storage information is set including user The standby initial address of data storage and basis memory capacity after carrying out screen recording, such as the storage information by data storage are set For:Video memory space, 5G capacity.The application determines to store screen recording according to the storage information after parsing for user The capacity of the basic storage region of data is 5G.
Preferably, in step 503:It determines to be segmented operation data in basic storage region according to dynamic configuration file The size of each basic unit of storage in multiple basic units of storage during storage, and determine to deposit when the basis of basic storage region Storage capacity carries out the storage rule of dynamic memory when using up.In the application, for convenience to the operation number of pending application acquisition According to being handled, by the way of fragmented storage, by the multiple basic units of storage of the data storage of screen recording after segmentation In.The basic storage region of 1G is such as divided into 100M, the segmentation of 100M, 200M, 200M, 200M ..., wherein, every section of correspondence Basic unit of storage in screen recording frame per second and bit rate can be identical or different, and establish every A incidence relation being segmented with corresponding basic unit of storage.Preferably, when pending application basic storage region residue When capacity is zero, obtains the pre-set storage rule of service based on subscriber or obtain the operating status of service based on subscriber equipment To determine whether to distribute dynamic storage zone for pending application.
Preferably, the definite storage rule bag that dynamic memory is carried out when the basic memory capacity of basic storage region is used up It includes:When the basic memory capacity of basic storage region is used up, dynamic storage zone is set in a user device, wherein dynamically depositing Storage area domain is for storage additional operation information data associated with user equipment.In the application, when the basic memory block of user equipment When the residual capacity in domain is zero, such as when the capacity of the basic storage region 5G of user equipment is stored full, service root is obtained Determine whether to distribute dynamic storage zone for user equipment according to the pre-set storage rule of user, as the screen of user equipment is recorded The acquisition rule of system is screen recording 10 minutes, currently the screen recording of complete user equipment 8 minutes, the reality of user device screen Border recording time is also less than the recording time of 10 minutes obtained defined in rule, when basic storage region is held there is no remaining During amount, obtain service and distribute the dynamic storage zone of 300M again for the screen recording of user equipment so that user equipment can be by According to the screen recording obtained when rule completes user equipment operation.The application, when pending application basic storage region it is surplus When covolume amount is zero, it can also be judged by the operating status to user equipment, it is determined whether distributed for pending application Dynamic storage zone.Such as when the screen recording data of user equipment have reached 5G, but the storage sky of equipment operation only residue 200M Between, it can not be that user equipment continues to distribute dynamic storage zone, therefore, dynamic area will not have been distributed again for pending application Domain.Or when the screen recording data of user equipment have reached 5G, but equipment operation there remains the memory space of 20G, user equipment There is sufficient memory space to distribute dynamic storage zone for pending application, it is again the screen recording point of user equipment to obtain service Dynamic storage zone with 800M, user equipment continue the recording of on-screen data.
Preferably, set before dynamic storage zone and further include in a user device:Determine the remaining storage of user equipment Capacity is more than expanded threshold value.In the application, set in a user device before dynamic storage zone, it is necessary to be needed to dynamic area The expanded threshold value to be used is compared with the remaining memory capacity of user equipment, such as when it is 2G to need expanded threshold value, user The remaining memory capacity of equipment is 10G, therefore can set dynamic storage zone.Or when it is 2G to need expanded threshold value, user The remaining memory capacity of equipment is 1G, therefore can not set dynamic storage zone.
Preferably, service is obtained to be determined to run the dynamic storage zone of data according to the storage rule of dynamic memory, And dynamic storage zone is initialized.Preferably, dynamic storage zone is initialized and basic memory capacity When using up, obtain service and store acquired new operation data into dynamic storage zone.In the application, service root is obtained It determines to record the dynamic storage zone for shielding data for storage device according to dynamic memory rule, dynamic storage zone is used for when basis is deposited Storage area domain storage data quantity has expired, then when continuing screen recording to user equipment, the data of screen recording is stored in dynamic In state storage region, the application can also in advance initialize dynamic storage zone, such as by the capacity of dynamic storage zone It is determined as 1G.
Preferably, in step 504:The remaining memory capacity of basic storage region is monitored in real time, when residue stores When capacity is less than threshold value, storage warming-up exercise associated with dynamic memory is carried out according to storage rule, and when basis storage Dynamic memory is carried out according to storage rule when capacity is used up.In the application, the remaining memory capacity of basic storage region is carried out Monitoring in real time, when the residual capacity of the basic storage region of user equipment is less than threshold value, the basis storage such as when user equipment The residual capacity of the capacity of region 5G be less than threshold value when, obtain the pre-set storage rule of service based on subscriber determine whether for User equipment distributes dynamic storage zone, such as the screen recording 10 minutes of user equipment, has currently completed the screen of user equipment It records 8 minutes, the actual recording time of user equipment is also less than the recording time of 10 minutes defined, when remaining for basic storage region When covolume amount is less than threshold value, the dynamic storage zone that service distributes 300M for user equipment again is obtained so that user equipment can Screen recording is completed according to storage rule.The application, when the residual capacity of the basic storage region of pending application is less than threshold value When, it can also be judged by the operating status to user equipment, it is determined whether distribute dynamic storage zone for user equipment. Such as when the screen recording data of user equipment have reached 5G, but the memory space of equipment operation only residue 800M, can not be use Family equipment continues to distribute dynamic storage zone, therefore, will not distribute dynamic storage zone again for pending application.Or when user sets Standby screen recording data have reached 5G, but equipment operation there remains the memory space of 20G, and user equipment has sufficient storage sky Between for user equipment screen recording distribute dynamic storage zone, obtain service again for user equipment distribute 800M dynamic memory Region, user equipment continue the recording of on-screen data.
Preferably, when the residual capacity of dynamic storage zone is zero, obtaining service will be associated with user equipment new Operation data with coverage mode store into basic storage region.In the application, when the dynamic storage zone of user equipment Residual capacity is zero, when the dynamic storage zone of distribution is filled with such as the screen recording data of user equipment, is such as recorded before The on-screen data for being stored in basic storage region compare the on-screen data that is stored in dynamic storage zone recorded below Importance is low, when dynamic storage zone has been filled with and needing to continue screen recording, obtains service by user equipment phase The screen that associated new screen recording data storage is newly recorded to basic storage region, the data that basic storage region stores Data are covered.
Preferably, when the residual capacity of dynamic storage zone is zero, service is obtained by new fortune associated with user Row data carry out cover type storage in dynamic storage zone.In the application, when the residue of the dynamic storage zone of user equipment Capacity is zero, when the dynamic storage zone of distribution is filled with such as the screen recording data of user equipment, the guarantor of recording as before The on-screen data of existence foundation storage region is important compared to the on-screen data for being stored in dynamic storage zone recorded below Property it is high, when dynamic storage zone has been filled with and needing to continue screen recording, user equipment is associated by the service of acquisition New screen recording data storage to dynamic storage zone, on-screen data that the data of dynamic storage zone storage are newly recorded It is covered.
Preferably, set before dynamic storage zone and further include in a user device:To user equipment this operation End time is predicted, when definite from current time to operation number acquired in the period of this end time run According to size be less than or equal to expanded threshold value when, determine distribution dynamic storage zone.Preferably, wherein according to user equipment The historical statistical data of end of run time come determine user equipment this operation end time.In the application, to user The end of run time of equipment is counted, and log history statistics, according to historical statistics in user equipment operationally Data come determine user equipment this operation end time.As the user equipment historical statistical data record each run time is 22:00 to 22:30, by historical statistical data, the run time that can predict user equipment is 22:00 to 22:30 minutes of 30. The application from current time to the size of operation data acquired in the period of this end time run to commenting Estimate, if current time is 22:25,22 from current time to end time:During 30 period of 5 minutes, the operation number of acquisition According to size be about 700M, 700M sizes and equipment can be extended to the maximum of capacity, i.e. expanded threshold value is compared, such as expansion Exhibition threshold value is 2G, and user equipment operates in 5 minutes of estimated end the capacity for the 700M for carrying out screen recording needs, small In the capacity of expanded threshold value 2G, the screen recording for being determined as user equipment distributes dynamic storage zone.Or when such as expanded threshold value is During 500M, user equipment operates in 5 minutes of estimated end the capacity for the 700M for carrying out screen recording needs, more than expansion The capacity of threshold value 500M is opened up, the storage that the capacity that equipment can extend can not distribute screen recording data for user equipment again is empty Between, determine can not to be that user equipment distributes dynamic storage zone.
Preferably, the application further includes acquisition and services the relevant acquisition rule of definite and user equipment, and is based on acquisition Rule obtains the operation data of user equipment.Preferably, determined and the relevant acquisition rule of user equipment wherein obtaining service Including:The service of acquisition, which is read, pre-set to be obtained regular configuration file and is determined and user according to regular configuration file is obtained It is device-dependent to obtain rule.Preferably, it is the screen video data for the user equipment recorded to run data, and obtains rule Then include at least one in herein below:Time span, capacity limit, frame per second and bit rate.In the application, user equipment screen The acquisition rule that curtain is recorded, as the acquisition rule of the screen video data recording of user equipment is:Time span is 30 minutes, is held Amount is limited to 5G, frame per second:16 (fps), bit rate 360 (bps) or including the relevant rule of other screen recordings.
Preferably, determining with after the relevant acquisition rule of user equipment, further including acquisition service and expiring in the predetermined time Afterwards the operation data of user equipment are obtained based on rule is obtained.In the application, after the acquisition rule of user equipment is determined, obtain After taking service and can also expiring in the predetermined time operation data of user equipment are obtained according to rule is obtained.I.e. definite handy After the acquisition rule of family equipment, after user equipment run time reaches 30 minutes phases predetermined time, the service of acquisition starts to user Equipment carries out screen recording.Wherein, phase predetermined time is presets, and can be 1 second, 2 seconds, 5 seconds, 10 seconds or other are predetermined Time.
Preferably, user equipment according to user's input come set or change dynamic configuration file or server according to The operating statistic data of family equipment set or change dynamic configuration file.Preferably the application further includes, and obtains service basis Each segmentation in multiple segmentations of the dynamic configuration file to running data using identical or different frame per second and/or bit rate into Row segmentation is recorded, and each segmentation basic unit of storage corresponding with multiple basic units of storage is associated.In the application, User equipment sets or changes the operating statistic of dynamic configuration file or server according to user equipment according to user's input Data set or change dynamic configuration file.In the application, the operation data that pending application obtains are carried out for convenience Processing by the way of fragmented storage, is placed the data in multiple basic units of storage after segmentation.Such as the basis of 1G is deposited Storage area domain is divided into 100M, the segmentation of 100M, 200M, 200M, 200M ..., wherein, in every section of corresponding basic unit of storage The frame per second and bit rate of screen recording can be identical or different, and establish each segmentation and corresponding base The incidence relation of this storage unit.
Preferably, content recognition can be carried out to acquired operation data by obtaining service, when definite specific basic storage When the content of partition running data in unit is the data unrelated with the operation of user equipment, partition running data are deleted.This In application, the operation data of acquisition are identified by obtaining service, i.e. the screen recording number to user equipment in the application According to content be identified, when finding in basic unit of storage, screen recording data and the user equipment operation of the first segmentation Data are unrelated, are such as ad data, then delete the screen recording data of the first segmentation.
Preferably, content recognition can be carried out to acquired operation data by obtaining service, when definite specific basic storage When the content of partition running data in unit can be converted to frame data relevant with user equipment, partition running number is deleted According to.In the application, the operation data of acquisition are identified by obtaining service, such as to the screen recording data of user equipment into Row content recognition, if it is determined that the screen recording number of the basic unit of storage storage of specific basic unit of storage, such as the 5th segmentation According to the user equipment record screen number of screen recording data when not carrying out any operation for user equipment, i.e. basic unit of storage storage According to, frame data can be converted to, therefore, the screen recording data of the basic unit of storage storage of the 5th segmentation of deletion.Yin Ben In application, user equipment start begins to carry out screen recording, therefore, when user equipment does not carry out any operation, i.e. screen When not changing substantially, this part data recording is deleted.
Preferably, obtain service and data compression is carried out to the content stored in being arbitrarily segmented in multiple segmentations.In the application, Data compression is carried out to the content stored in any one segmentation in multiple segmentations by obtaining service, such as records user equipment The record screen data that screen data are stored in the second segmentation are compressed processing, to save the memory space of data.
Preferably, set before dynamic storage zone and further include in a user device:To user equipment this operation End time is predicted, when definite from current time to operation number acquired in the period of this end time run According to size be more than expanded threshold value and during less than acceptable threshold, be determined as user equipment distribution and dynamic storage zone and promote It obtains service and operation data is obtained according to the frame per second and/or bit rate of reduction.In the application, such as user equipment is run and is predicted The run time of also 15 minutes, the capacity of the interior 2.5G for carrying out screen recording needs of 5 minutes, equipment can extend capacity Maximum, i.e., compared with expanded threshold value, as expanded threshold value be 2G, equipment residue memory capacity, i.e., minimum acceptable threshold For 5G, the capacity of the 2.5G of screen recording needs is carried out in 5 minutes, the expanded threshold value more than 2G and less than equipment most Small acceptable threshold 5G, the application deposits region for the screen recording distribution dynamic of user equipment, also, the screen of user equipment is recorded The acquisition service of system reduces the frame per second recorded and/or bit rate, and frame per second such as is adjusted to 18 (fps) from 25 (fps), bit rate from 400 (bps) are adjusted to 320 (bps), to reduce the data of the screen recording of user equipment.
Preferably, the display area for being additionally included in user equipment creates suspension display window, and suspension display window is used to broadcast Put the operation data acquired by obtaining service.In the application, the display that suspends is created by display area in a user device Window will obtain the operation data of service acquisition, i.e. the data of screen recording are shown in suspended window, are realized screen Enroll the synchronous displaying of data.
Fig. 6 is to obtain the schematic diagram of operation data based on memory capacity according to the preferred embodiment for the present invention.Such as Fig. 6 It is shown, work as user equipment, after the completion of such as mobile phone or automobile data recorder starting up and system service load, the application opens automatically It is dynamic to obtain service, obtain the screen recording data of mobile phone or automobile data recorder.The application is deposited the screen recording data of mobile phone Storage area is divided into basic storage region and dynamic storage zone, wherein, the basis of basic storage region memory mobile phone screen recording is deposited Capacity is stored up, mobile phone on-screen data is recorded to limit as and wants 30 minutes, corresponding 5G memory capacity can be stored within 30 minutes Basic storage region.As, it is necessary to extend the recording to mobile phone screen in 5 minutes, the data gene basis for extending recording is deposited after 30 minutes Storage area domain has been expired, and will distribute dynamic storage zone, for storing the recording for the mobile phone screen for extending 5 minutes.The application In, it, may be without any operation before mobile phone power-on, recording mobile phone on-screen data is not of practical significance at this time.Therefore, Record screen carries out after could be provided as the starting-up delay time, that is, the recording of the screen of mobile phone is carried out after postponing 1 minute or 2 minutes, with Record as far as possible it is necessary to on-screen data, save the resource of system.
Fig. 7 is to be shown according to the preferred embodiment for the present invention based on memory capacity to obtain the structure of the system of operation data It is intended to.Embodiment of the present invention provide it is a kind of based on memory capacity come obtain operation data system, utilize initialization unit The loading completion of startup and the system service of user equipment is responded, runs to obtain the pending application of user equipment Operation data acquisition service.Embodiment of the present invention parses pre-set storage information using resolution unit, The capacity of storage information is obtained, determines basic storage region for storage running data and that there is basic memory capacity. The unit of memory allocation of embodiment of the present invention determines to carry out operation data in basic storage region according to dynamic configuration file The size of each basic unit of storage in multiple basic units of storage during fragmented storage, and further determine that when basic memory block The storage rule of dynamic memory is carried out when the basic memory capacity in domain is used up.Embodiment of the present invention passes through storage control unit pair The remaining memory capacity of basic storage region is monitored in real time, when monitoring that remaining memory capacity is less than threshold value, according to depositing Storage rule carries out associated with dynamic memory storage warming-up exercise, and when basis memory capacity is used up carries out according to storage rule Dynamic memory.Embodiments of the present invention, basic unit of storage can be distributed by the operation data of acquisition by realizing, and work as base When this storage unit capacity is used up, it can will run data according to storage rule and carry out dynamic memory.In the application, user equipment Can be mobile phone, IPD, automobile data recorder etc..As shown in fig. 7, system 700 includes:
Initialization unit 701, the loading in response to startup and the system service of user equipment are completed, and operation is used for obtaining The acquisition service of the operation data of family equipment.Preferably, initialization unit 701 is additionally operable to:In response to the startup of user equipment, draw It leads chip functions and reads bootstrap and by boot program loads into memory from read-only memory.Preferably, initialization is single Member 701 is additionally operable to:After by boot program loads into random access memory, bootstrap is to running the required heap of kernel program Stack and hardware device are initialized.Preferably, initialization unit 701 is additionally operable to:After initialization, kernel program is run, it is interior Core program sets caching, sets protected storage, sets list of schedules and load driver, and loading system service.This In application, when power supply is pressed, chip guide function start to read since predefined read only memory ROM bootstrap and Then bootload program is performed into memory.After bootstrap is loaded into random access memory, bootstrap is to operation The storehouse and hardware device that kernel program needs are initialized, and after initialization, are run kernel program, are passed through kernel program Caching is set, protected storage is set, list of schedules and load driver and loading system service are set.It is right in the application The loading completion of startup and the system service of user equipment is responded, and runs to obtain obtaining for the operation data of user equipment Take service.In the application, after user equipment such as mobile phone open, the acquisition service for the data that bring into operation, the application with to mobile phone into Row screen recording is illustrated, and after mobile phone starts and has loaded the function of system service, is serviced by obtaining, opponent The screen of machine is recorded.
Resolution unit 702, to it is pre-set storage information parse, with determine it is for storage running data and Basic storage region with basic memory capacity.Preferably, system further includes setting unit:User equipment is inputted according to user To pre-set storage information and store information in user equipment memory storage.Preferably, storage information includes:Basic memory block The initial address in domain and basic memory capacity.In the application, storage information is pre-set by user's input, stores information The initial address and basic memory capacity stored including data after user equipment progress screen recording, such as depositing data storage Storage information is arranged to:Video memory space, 5G capacity.The application determines to deposit according to the storage information after parsing for user The capacity for storing up the basic storage region of screen recording data is 5G.
Preferably, unit of memory allocation 703 is additionally operable to:When the basic memory capacity of basic storage region is used up, with Dynamic storage zone is set in the equipment of family, and wherein dynamic storage zone is for storage additional operation number associated with user equipment According to.In the application, when the residual capacity of the basic storage region of user equipment is zero, such as work as the basic memory block of user equipment When the capacity of domain 5G is stored full, obtains the pre-set storage rule of service based on subscriber and determine whether for user equipment point It is screen recording 10 minutes with dynamic storage zone, such as the acquisition rule of the screen recording of user equipment, currently complete user sets Standby screen recording 8 minutes, the actual recording time of user device screen are also less than the record of 10 minutes obtained defined in rule Time processed, when basic storage region is when being not present residual capacity, it is again the screen recording distribution of user equipment to obtain service The dynamic storage zone of 300M so that screen recording when user equipment can complete user equipment operation according to rule is obtained. The application when the residual capacity of the basic storage region of pending application is zero, can also pass through the operation to user equipment State is judged, it is determined whether distributes dynamic storage zone for pending application.Such as when the screen recording data of user equipment 5G has been reached, but equipment runs the memory space of only residue 200M, can not be that user equipment continue to distribute dynamic storage zone, Therefore, dynamic storage zone will not be distributed for pending application again.Or when the screen recording data of user equipment have reached 5G, still Equipment runs the memory space that there remains 20G, and user equipment has sufficient memory space to distribute dynamic memory for pending application Region obtains service and distributes the dynamic storage zone of 800M again for the screen recording of user equipment, and user equipment continues to shield The recording of curtain data.
Preferably, unit of memory allocation 703 is additionally operable to:Before setting dynamic storage zone in a user device, determine to use The remaining memory capacity of family equipment is more than expanded threshold value.In the application, before dynamic storage zone is set in a user device, need The expanded threshold value used is needed to dynamic area compared with the remaining memory capacity of user equipment, such as when needing to extend When threshold value is 2G, the remaining memory capacity of user equipment is 10G, therefore can set dynamic storage zone.Or it ought need to extend When threshold value is 2G, the remaining memory capacity of user equipment is 1G, therefore can not set dynamic storage zone.
Unit of memory allocation 703 determines to be segmented operation data in basic storage region according to dynamic configuration file The size of each basic unit of storage in multiple basic units of storage during storage, and determine to deposit when the basis of basic storage region Storage capacity carries out the storage rule of dynamic memory when using up.In the application, for convenience to the operation number of pending application acquisition According to being handled, by the way of fragmented storage, by the multiple basic units of storage of the data storage of screen recording after segmentation In.The basic storage region of 1G is such as divided into 100M, the segmentation of 100M, 200M, 200M, 200M ..., wherein, every section of correspondence Basic unit of storage in screen recording frame per second and bit rate can be identical or different, and establish every A incidence relation being segmented with corresponding basic unit of storage.Preferably, when pending application basic storage region residue When capacity is zero, obtains the pre-set storage rule of service based on subscriber or obtain the operating status of service based on subscriber equipment To determine whether to distribute dynamic storage zone for pending application.
Preferably, unit of memory allocation is additionally operable to:The service of acquisition determines to run according to the storage rule of dynamic memory The dynamic storage zone of data, and dynamic storage zone is initialized.Preferably, dynamic storage zone is carried out initial Change and when basic memory capacity is used up, obtain service and store acquired new operation data into dynamic storage zone. In the application, the service that obtains determines to record the dynamic storage zone of screen data, dynamic for storage device according to dynamic memory rule When storage region when basic storage region storage data quantity for having expired, then having continued screen recording to user equipment, it will shield The data that curtain is recorded are stored in dynamic storage zone, and the application can also in advance initialize dynamic storage zone, such as The capacity of dynamic storage zone is determined as 1G.
Storage control unit 704 monitors the remaining memory capacity of basic storage region in real time, when residue storage is held When amount is less than threshold value, storage warming-up exercise associated with dynamic memory is carried out according to storage rule, and storage is held when basis Dynamic memory is carried out according to storage rule when amount is used up.In the application, the remaining memory capacity of basic storage region is carried out real When monitor, when user equipment basic storage region residual capacity be less than threshold value when, such as work as user equipment basic memory block When the residual capacity of the capacity of domain 5G is less than threshold value, obtains the pre-set storage rule of service based on subscriber and determine whether Dynamic storage zone is distributed for user equipment, such as the screen recording 10 minutes of user equipment, has currently completed the screen of user equipment Curtain is recorded 8 minutes, and the actual recording time of user equipment is also less than the recording time of 10 minutes defined, when basic storage region When residual capacity is less than threshold value, the dynamic storage zone that service distributes 300M for user equipment again is obtained so that user equipment energy It is enough to complete screen recording according to storage rule.The application, when the residual capacity of the basic storage region of pending application is less than threshold During value, it can also be judged by the operating status to user equipment, it is determined whether distribute dynamic area for user equipment Domain.Such as when the screen recording data of user equipment have reached 5G, but the memory space of equipment operation only residue 800M, can not be User equipment continues to distribute dynamic storage zone, therefore, will not distribute dynamic storage zone again for pending application.Or work as user The screen recording data of equipment have reached 5G, but equipment operation there remains the memory space of 20G, and user equipment has sufficient storage Dynamic storage zone is distributed in space for the screen recording of user equipment, and the dynamic that the service that obtains distributes 800M for user equipment again is deposited Storage area domain, user equipment continue the recording of on-screen data.
Preferably, storage control unit 704 is additionally operable to:When the residual capacity of dynamic storage zone is zero, service is obtained New operation data associated with user equipment are stored with coverage mode into basic storage region.In the application, when with The residual capacity of the dynamic storage zone of family equipment is zero, if the screen recording data of user equipment are by the dynamic memory of distribution When region is filled with, the on-screen data for being stored in basic storage region such as recorded before is stored in dynamic compared to what is recorded below The importance of the on-screen data of storage region is low, when dynamic storage zone has been filled with and needing to continue screen recording, Service is obtained by the associated new screen recording data storage of user equipment to basic storage region, basic storage region storage The on-screen data newly recorded of data cover.
Preferably, storage control unit 704 is additionally operable to:When the residual capacity of dynamic storage zone is zero, service is obtained New operation data associated with user are subjected to cover type storage in dynamic storage zone.In the application, when user sets The residual capacity of standby dynamic storage zone is zero, if the screen recording data of user equipment are by the dynamic storage zone of distribution When being filled with, the on-screen data for being stored in basic storage region such as recorded before is stored in dynamic memory compared to what is recorded below The importance of the on-screen data in region is high, when dynamic storage zone has been filled with and needing to continue screen recording, obtains The number that service stores the associated new screen recording data storage of user equipment to dynamic storage zone, dynamic storage zone It is covered according to the on-screen data newly recorded.
Preferably, storage control unit 704 is additionally operable to:Before setting dynamic storage zone in a user device, to user The end time of this operation of equipment is predicted, when definite from current time to the period of this end time run When the size of interior acquired operation data is less than or equal to expanded threshold value, distribution dynamic storage zone is determined.Preferably, wherein This end time run of user equipment is determined according to the historical statistical data of the end of run time to user equipment. In the application, the end of run time of user equipment is counted, and log history statistics, it is being run in user equipment When, according to historical statistical data come determine user equipment this run end time.As user equipment historical statistical data is remembered It is 22 to record each run time:00 to 22:30, by historical statistical data, the run time that can predict user equipment is 22:00 To 22:30 minutes of 30.The application is to from current time to operation acquired in the period of this end time run The size of data is assessed, if current time is 22:25,22 from current time to end time:30 period of 5 minutes When, the size of the operation data of acquisition is about 700M, and 700M sizes and equipment can be extended to the maximum of capacity, that is, extend threshold Value is compared, and if expanded threshold value is 2G, user equipment operates in 5 minutes of estimated end and carries out screen recording needs 700M capacity, less than the capacity of expanded threshold value 2G, be determined as the screen recording distribution dynamic storage zone of user equipment.Or When such as expanded threshold value is 500M, user equipment operates in 5 minutes of estimated end and carries out screen recording needs The capacity of 700M, more than the capacity of expanded threshold value 500M, the capacity that equipment can extend can not distribute screen for user equipment again The memory space of data recording determines can not to be that user equipment distributes dynamic storage zone.
Preferably, acquiring unit is further included:It obtains and services the relevant acquisition rule of definite and user equipment, and be based on obtaining Rule is taken to obtain the operation data of user equipment.Preferably, determine to advise with relevant obtain of user equipment wherein obtaining service Then include:The service of acquisition reads the regular configuration file of pre-set acquisition and determines and use according to regular configuration file is obtained Family is device-dependent to obtain rule.Preferably, it is the screen video data for the user equipment recorded to run data, and is obtained Rule includes at least one in herein below:Time span, capacity limit, frame per second and bit rate.In the application, user equipment The acquisition rule of screen recording, as the acquisition rule of the screen video data recording of user equipment is:Time span is 30 minutes, Capacity limit is 5G, frame per second:16 (fps), bit rate 360 (bps) or including the relevant rule of other screen recordings.
Preferably, acquiring unit is additionally operable to:It is determining with after the relevant acquisition rule of user equipment, further including acquisition service After expiring in the predetermined time operation data of user equipment are obtained based on rule is obtained.In the application, in definite user equipment Acquisition rule after, the service of acquisition regular obtains the operation number of user equipment according to obtaining after can also expiring in the predetermined time According to.I.e. after the acquisition rule of user equipment is determined, after user equipment run time reaches 30 minutes phases predetermined time, obtain Service starts to carry out screen recording to user equipment.Wherein, phase predetermined time is presets, and can be 1 second, 2 seconds, 5 seconds, and 10 Second or other predetermined times.
Preferably, unit of memory allocation is additionally operable to:User equipment sets or changes dynamic configuration text according to user's input Part or server set or change dynamic configuration file according to the operating statistic data of user equipment.Preferably the application, It further includes, obtains service being each segmented using identical or different in multiple segmentations of the dynamic configuration file to running data Frame per second and/or bit rate carry out segmentation recording, and be each segmented and corresponding in multiple basic units of storage store substantially Unit is associated.In the application, user equipment sets or changes dynamic configuration file or server root according to user's input Dynamic configuration file is set or changes according to the operating statistic data of user equipment.In the application, answer for convenience pending It is handled with the operation data of acquisition, by the way of fragmented storage, places the data in multiple basic storages after segmentation In unit.The basic storage region of 1G is such as divided into 100M, the segmentation of 100M, 200M, 200M, 200M ..., wherein, every section The frame per second of screen recording and bit rate can be identical or different in corresponding basic unit of storage, and build Vertical each incidence relation being segmented with corresponding basic unit of storage.
Preferably, acquiring unit is further included:The service of acquisition can carry out content recognition to acquired operation data, when true When the content of partition running data in fixed specific basic unit of storage is the data unrelated with the operation of user equipment, deletes and divide Duan Yunhang data.In the application, the operation data of acquisition are identified by obtaining service, i.e., to user equipment in the application The contents of screen recording data be identified, when finding in basic unit of storage, the screen recording data of the first segmentation are with using The data of family equipment operation are unrelated, are such as ad data, then delete the screen recording data of the first segmentation.
Preferably, acquiring unit is further included:The service of acquisition can carry out content recognition to acquired operation data, when true When the content of partition running data in fixed specific basic unit of storage can be converted to frame data relevant with user equipment, Delete partition running data.In the application, the operation data of acquisition are identified by obtaining service, as to user equipment Screen recording data carry out content recognition, if it is determined that specific basic unit of storage, the basic unit of storage of such as the 5th segmentation are deposited The screen recording data of storage do not carry out screen recording data during any operation for user equipment, i.e. basic unit of storage stores User equipment record screen data, can be converted to frame data, therefore, delete the screen of the basic unit of storage storage of the 5th segmentation Data recording.Because in the application, user equipment start begins to carry out screen recording, therefore, is not carried out in user equipment any During operation, i.e., when screen does not change substantially, delete this part data recording.
Preferably, acquiring unit is further included:Service is obtained to the content that stores in being arbitrarily segmented in multiple segmentations into line number According to compression.In the application, data pressure is carried out to the content stored in any one segmentation in multiple segmentations by obtaining service The record screen data that user equipment record screen data are stored in the second segmentation are such as compressed processing, to save depositing for data by contracting Store up space.
Preferably, acquiring unit is additionally operable to:Before setting dynamic storage zone in a user device, to the sheet of user equipment The end time of secondary operation is predicted, when definite from current time to acquired in the period of this end time run Operation data size be more than expanded threshold value and less than acceptable threshold when, be determined as user equipment distribution dynamic storage zone And promote to obtain to service and operation data are obtained according to the frame per second and/or bit rate of reduction.In the application, such as to user equipment Operation prediction also has the run time of 15 minutes, and the capacity of the 2.5G of screen recording needs, equipment institute energy are carried out in 5 minutes The maximum of capacity is extended, i.e., compared with expanded threshold value, if expanded threshold value is 2G, equipment residue memory capacity is that is, minimum Acceptable threshold is 5G, and the capacity of the 2.5G of screen recording needs is carried out in 5 minutes, the expanded threshold value more than 2G and is less than The minimum acceptable threshold 5G of equipment, the application deposit region for the screen recording distribution dynamic of user equipment, also, to user equipment Screen recording acquisition service reduce record frame per second and/or bit rate, frame per second is such as adjusted to 18 (fps) from 25 (fps)
, bit rate is adjusted to 320 (bps) from 400 (bps), to reduce the data of the screen recording of user equipment.
Preferably, system further includes broadcast unit:Suspension display window is created in the display area of user equipment, is suspended aobvious Show window for play by obtain service acquired in operation data.In the application, pass through display area in a user device It creating suspension display window, the operation data of service acquisition will be obtained, i.e. the data of screen recording are shown in suspended window, It realizes synchronous the showing of screen admission data.
Based on another embodiment of the present invention, a kind of mobile terminal is provided, is based on described above including or for perform Memory capacity come obtain operation data system.
Fig. 8 is the stream that the method for customization operation data is obtained according to fiducial time according to the preferred embodiment for the present invention Cheng Tu.Embodiment of the present invention provides a kind of method that customization operation data are obtained according to fiducial time, and the application is by connecing The trigger request for the acquisition service narrowed to being used to obtain operation data, parses pre-set storage information, according to To storing the analysis result of information, the basic storage region for storage running data is determined.The application is by storing basis The residual capacity in region is judged, when the residual capacity in basic storage region is more than pre-set threshold value, represents base Plinth storage region also has appropriate memory space, therefore starts the service of acquisition, and promotes to obtain to service and carry out running background.This In application, determined and current application is relevant obtains rule by obtaining service, and application is obtained based on rule is obtained Basis operation data.It is fixed to obtain that the application can generate the time section including fiducial time in the display area of user equipment System operation data suspension control, by be directed to suspension control input control generate coefficient of dynamics, wherein coefficient of dynamics for pair Time section is adjusted to generate the time section being adjusted, and the application is transported according to the time section being adjusted from basis Selection customizes the data content for running data for forming in row data.The pending application of the application can be game application, As 360 game or video playing application, audio play application and live streaming application.The application is transported using 360 game as acquisition The application of row data operationally carries out screen recording to 360 game and is illustrated as the operation data obtained.Such as figure Shown in 8, method 800 is since step 801 place.
Preferably, in step 801:When receiving for for obtaining the trigger request of acquisition service of operation data, Pre-set storage information is parsed, to determine the basic storage region for storage running data.Preferably, user Equipment stores information and in the storage information of user equipment memory storage according to user's input to pre-set.Preferably, store Information includes:The initial address of basic storage region and basic memory capacity.In the application, to pre-set storage information It is parsed, the time of screen recording, the frame per second recorded, bit rate is carried out according to application, to the number of screen recording storage information It is parsed according to capacity, such as playing to talk on the journey to west carries out 10 minutes screen recordings, and by frame per second 25 (fps), bit rate is from 380 (bps), it is 1.5G to parse talk on the journey to west game screen and record the capacity needed, therefore, the base of 1.5G is distributed for talk on the journey to west Plinth storage region.In the application, storage information includes the initial address of storage region and default basic memory capacity.It is preferred that Ground, wherein the type of currently running application includes game application, video playing application, audio plays application and live streaming should With.The application of the application can be game application, such as 360 game talk on the journey to west;Or video playing application, such as 360 it is fast Video;Audio plays application;Live streaming application, such as 360 Beijing time.
Preferably, the application is further included when the basic memory capacity of basic storage region is used up, and is set in a user device Dynamic storage zone is put, wherein dynamic storage zone is for storage and the associated additional operation information data of currently running application. The application is each applying distribution basis storage region and work as base in the multiple applications for the acquisition for carrying out operation data When the basic memory capacity of plinth storage region is used up, dynamic storage zone is set in a user device, region use is deposited on wherein basis In storing with each running data using associated basis, dynamic storage zone is associated attached with each applying for storage Add operation data.In playing such as talk on the journey to west, user needs to record 8 minutes under normal circumstances, therefore is talk on the journey to west game point Basic storage region with 1G capacity further, since running game is uncertain, there may come a time when that talk on the journey to west game can be extended Screen recording, such as may proceed to record again 2 minutes, therefore, the dynamic storage zone of 300M capacity matched somebody with somebody for talk on the journey to west game point. Or 360 fast Video Applications, under normal circumstances user need to record 15 minutes, therefore be the base of 360 fast video distribution 1.5G capacity Plinth storage region there may come a time when that the screen recording of 360 fast videos can be extended, can such as be further continued for recording 3 minutes, be 360 fast therefore The dynamic storage zone of video distribution 400M capacity.Wherein, the capacity of dynamic storage zone is capable of the actual screen of pending application Curtain recording demand is adjusted, and demand is obtained to meet the additional operation information data of pending application.Applying for the application is carrying out During screen recording during operation, the data first recorded are stored in basic storage region, when basic storage region is filled with, then will after The data deposit dynamic storage zone that face is recorded.
Preferably, set before dynamic storage zone and further include in a user device:Determine the remaining storage of user equipment Capacity is more than expanded threshold value.In the application, such as there are the run time of 15 minutes, 5 minutes to talk on the journey to west game prediction The capacity of the interior 2.5G for carrying out screen recording needs, equipment can extend the maximum of capacity, i.e., compared with expanded threshold value, If expanded threshold value is 2.5G, equipment residue memory capacity, i.e., minimum acceptable threshold is 5G, therefore the expanded threshold value of 2G and is less than The remaining memory capacity 5G of equipment, the application deposit region for the screen recording distribution dynamic of talk on the journey to west game, also, to big talk The acquisition service of the screen recording of Journey to the West game reduces the frame per second recorded and/or bit rate, is such as adjusted to frame per second from 25 (fps) 18 (fps), bit rate are adjusted to 320 (bps) from 400 (bps), to reduce the data of the screen recording of talk on the journey to west game.
Preferably, when the residual capacity of dynamic storage zone is zero, the service of acquisition will be related to currently running application The new operation data of connection are stored with coverage mode into basic storage region.In the application, when the dynamic storage zone of application Residual capacity be zero, as talk on the journey to west play screen recording data the dynamic storage zone of distribution is filled with when, such as it The on-screen data for being stored in basic storage region of preceding recording compares the screen for being stored in dynamic storage zone recorded below The importance of data is low, and when dynamic storage zone has been filled with and needing to continue screen recording, the service of acquisition will big talk For Journey to the West using associated new screen recording data storage to basic storage region, the data that basic storage region stores are new The on-screen data of recording is covered.
Preferably, when the residual capacity of dynamic storage zone is zero, the service of acquisition will be with currently running association New operation data cover type storage is carried out in dynamic storage zone.In the application, when the dynamic memory of pending application The residual capacity in region is zero, when the dynamic storage zone of distribution is filled with such as the screen recording data of talk on the journey to west game, The on-screen data for being stored in basic storage region recorded as before is stored in dynamic storage zone compared to what is recorded below The importance of on-screen data is high, and when dynamic storage zone has been filled with and needing to continue screen recording, the service of acquisition will Talk on the journey to west is using associated new screen recording data storage to dynamic storage zone, the data of dynamic storage zone storage The on-screen data newly recorded covers.
Preferably, set before dynamic storage zone and further include in a user device:To this of currently running application The end time of operation predicted, when determining from current time to acquired in the period of this end time run When running the size of data less than or equal to expanded threshold value, distribution dynamic storage zone is determined.Preferably, wherein according to current The historical statistical data of the end of run time of the application of operation come determine currently running application this operation at the end of Between.Preferably, wherein determining the knot of this operation of application according to the historical statistical data of the end of run time to application The beam time.In the application, the end of run time of application is counted, and log history statistics, in pending application Operationally, the end time using this operation is determined according to historical statistical data.If talk on the journey to west is played, historical statistics The data record each run time is 22:00 to 22:30, by historical statistical data, it can predict the operation of talk on the journey to west game Time is 22:00 to 22:30 minutes of 30.The application is to from current time to institute in the period of this end time run The size of the operation data of acquisition is assessed, if current time is 22:25,22 from current time to end time:5 points of 30 During the period of clock, the size of the operation data of acquisition is about 700M, and 700M sizes and equipment can be extended to the maximum of capacity Value, i.e., expanded threshold value is compared, and if expanded threshold value is 2G, talk on the journey to west game running is in estimated 5 minutes terminated The capacity of the 700M of screen recording needs is carried out, less than the capacity of expanded threshold value 2G, is determined as talk on the journey to west game point with dynamic Storage region.Or when such as expanded threshold value is 500M, talk on the journey to west game running is shielded in estimated 5 minutes terminated Curtain records the capacity of the 700M needed, and more than the capacity of expanded threshold value 500M, the capacity that equipment can extend can not be again big talk Journey to the West game point matches somebody with somebody the memory space of screen recording data, determines can not to be that talk on the journey to west game point matches somebody with somebody dynamic storage zone.
Preferably, set before dynamic storage zone and further include in a user device:To this of currently running application The end time of operation predicted, when determining from current time to acquired in the period of this end time run When running the size of data more than expanded threshold value and being less than acceptable threshold, it is determined as user equipment distribution dynamic storage zone simultaneously And promote to obtain to service and operation data are obtained according to the frame per second and/or bit rate of reduction.In the application, such as talk on the journey to west is swum Play prediction also has the run time of 15 minutes, and the capacity of the 2.5G of screen recording needs is carried out in 5 minutes, and equipment can expand The maximum of capacity is opened up, i.e., compared with expanded threshold value, if expanded threshold value is 2G, equipment residue memory capacity is that is, minimum to hold Perhaps threshold value is 5G, and the capacity of the 2.5G of screen recording needs is carried out in 5 minutes, the expanded threshold value more than 2G and less than setting Standby minimum acceptable threshold 5G, the application deposit region for the screen recording distribution dynamic of talk on the journey to west game, also, to big talk west The acquisition service of the screen recording of game reduces the frame per second recorded and/or bit rate, and frame per second such as is adjusted to 18 from 25 (fps) (fps), bit rate is adjusted to 320 (bps) from 400 (bps), to reduce the data of the screen recording of talk on the journey to west game.
Preferably, method is further included determines to be segmented operation data in basic storage region according to dynamic configuration file The size of each basic unit of storage in multiple basic units of storage during storage.Preferably, application further includes, and obtains service pair The each segmentation run in multiple segmentations of data carries out segmentation recording using identical or different frame per second and/or bit rate, and And each segmentation basic unit of storage corresponding with multiple basic units of storage is associated.It is corresponding for convenience in the application It is handled with the operation data of acquisition, by the way of fragmented storage, places the data in multiple basic storages after segmentation In unit.The basic storage region of 1G is such as divided into 100M, the segmentation of 100M, 200M, 200M, 200M ..., wherein, every section The frame per second of screen recording and bit rate can be identical or different in corresponding basic unit of storage, and build Vertical each incidence relation being segmented with corresponding basic unit of storage.
Preferably, in step 802:In the case where the remaining memory capacity for determining basic storage region is more than threshold value, open Dynamic obtain services and acquisition service is promoted to carry out running background.In the application, the remaining storage of basic storage region is being determined When capacity is more than threshold value, equipment can store the screen recording data of acquisition, and the application starts the service of acquisition, and promotes to obtain Service is being run from the background.
Preferably, in step 803:The service of acquisition, which determines, and currently running application is relevant obtains rule, such as code check, ratio Special rate etc., and based on rule is obtained data are run to obtain the basis of application.Preferably, wherein acquisition service is definite and current The relevant rule that obtains of the application of operation includes:Service is obtained to carry out rule base according to the application identities of currently running application Retrieval, and determined and the relevant acquisition rule of currently running application according to retrieval result.Preferably, data are run to be recorded The screen video data of the user equipment of system, and rule is obtained including at least one in herein below:Time span, capacity Limitation, frame per second and bit rate.In the application, the service that obtains determines to obtain rule using relevant according to application identities.As obtained Service is retrieved using application identities in rule base according to the application identities of talk on the journey to west, according to retrieval result determine with The relevant screen video data recording for obtaining rule, being applied such as talk on the journey to west of screen video data recording of talk on the journey to west application Acquisition rule be:Time span is 10 minutes, capacity limit 2G, frame per second:16 (fps), bit rate 360 (bps) or bag Include the relevant rule of other screen recordings.
Preferably, determine with currently running application is relevant obtain rule after, further include acquisition service in pre- timing Between expire after obtain the operation data of currently running application based on obtaining rule.In the application, the acquisition of application is being determined After rule, the service of acquisition regular obtains the operation data of pending application according to obtaining after can also expiring in the predetermined time. I.e. after the acquisition rule of talk on the journey to west game is determined, after the talk on the journey to west game running time reaches 5 seconds phases predetermined time, obtain Service is taken to start progress screen recording of playing to big talk.Wherein, phase predetermined time is presets, and can be 1 second, 2 seconds, 5 seconds, 10 seconds or other predetermined times.
Preferably, when the state of currently running application is switched to running background from front stage operation, service pause is obtained Obtain operation data.In the application, when the state of application is switched to running background from front stage operation, such as when user is playing big talk When Journey to the West is played, user connects phone, starts the call of a period of time, and talk on the journey to west game at this time can be switched to running background, When talk on the journey to west is played in running background, screen recording need not be carried out.Therefore, the application automatic pause screen recording, with It avoids recording unwanted on-screen data, occupies the resource of system.
Preferably, when the state of currently running application is switched to front stage operation from running background, the service of acquisition starts Obtain operation data.In the application, when user disconnects from talking state, talk on the journey to west game is switched to foreground fortune from running background During row, user starts to continue to run with game, needs to carry out screen recording again at this time, and the application, which can realize, to be automatically begun to from rear The talk on the journey to west game that platform operation is switched to front stage operation carries out screen recording.
Preferably, the application further includes, and obtains being each segmented using identical in multiple segmentations of the service to running data Or different frame per second and/or bit rate carry out segmentation recording, and each it is segmented base corresponding with multiple basic units of storage This storage unit is associated.In the application, the operation data obtained for convenience to application are handled, and are recorded using segmentation Mode, and the data recorded after segmentation are stored in multiple basic units of storage.Such as the basic storage region of 1G is divided into The segmentation of 100M, 100M, 200M, 200M, 200M ..., wherein, the frame of screen recording in every section of corresponding basic unit of storage Rate and bit rate can be identical or different, and establish each segmentation and corresponding basic unit of storage Incidence relation.
Preferably, content recognition can be carried out to acquired operation data by obtaining service, when definite specific basic storage When the content of partition running data in unit is with being run in user equipment using unrelated data, partition running number is deleted According to.In the application, the operation data of acquisition are identified by obtaining service, i.e., the screen played to talk on the journey to west in the application The content of curtain data recording is identified, and when finding in basic unit of storage, the screen recording data and big talk of the first segmentation are western It is unrelated to swim the data of game running, is such as ad data, then deletes the screen recording data of the first segmentation.
Preferably, content recognition can be carried out to acquired operation data by obtaining service, when definite specific basic storage When the content of partition running data in unit can be converted to frame data relevant with the application that is run in user equipment, delete Except partition running data.In the application, the operation data of acquisition are identified by obtaining service, are such as played to talk on the journey to west Screen recording data carry out content recognition, if it is determined that specific basic unit of storage, such as the 5th segmentation basic unit of storage The screen recording data of storage do not carry out screen recording data during any operation for game, i.e., basic unit of storage storage is big Journey to the West record screen data are talked about, frame data can be converted to, therefore, delete the screen record of the basic unit of storage storage of the 5th segmentation Data processed.
Preferably, obtain service and data compression is carried out to the content stored in being arbitrarily segmented in multiple segmentations.In the application, Data compression is carried out to the content stored in any one segmentation in multiple segmentations by obtaining service, such as swims talk on the journey to west The record screen data being stored in the second segmentation of playing are compressed processing, to save the memory space of data.
Preferably, in step 804:In the display area of user equipment, generation is used for according to the time zone for including fiducial time Section customizes the suspension control of operation data to obtain.Preferably, suspension control can be suspended in the display for the application being currently running The top at interface, and the control that suspends can be presented with the transparency set by user.In the application, benchmark can be passed through The time section of timing definition runs data come customization when obtaining time section.As talk on the journey to west game is at runtime 10:When 00, generation fiducial time is 5 minutes, defines time section as first 5 minutes of current run time and latter 5 minutes, i.e., 9: 55 to 10:After 05;The fiducial time or 2 minutes of the application generation, the time section of the application can also be defined as working as First 2 minutes and latter 2 minutes of preceding run time;Or the fiducial time of the application generation is 30 seconds, i.e., time section is current fortune First 30 seconds or 30 seconds latter of row time.Time in the application, using the suspension control of device display area, when generation includes benchmark Between time section.
Preferably, wherein setting the default value of fiducial time and the initial value of time section by obtaining to service, and user The default value of fiducial time and the initial value of time section can be changed.Preferably, coefficient of dynamics is increased time quantum, and Time section is adjusted based on coefficient of dynamics with the time section that generation is adjusted to include:By time section and dynamical system Number sums to generate the time section being adjusted.Preferably, time section is using fiducial time as symmetrical centre or asymmetric The period at center.Preferably, further include suspension control the time section being adjusted is carried out according to the input of user along when Countershaft is moved forward or rearward.In the application, fiducial time and time section could be provided as default value or user according to obtaining The actual demand of screen data is enrolled, the initial value of default value and time section to fiducial time is modified.Such as talk on the journey to west It is 3 minutes to give tacit consent to fiducial time, and time section is first 3 minutes and latter 3 minutes using current run time, and the application utilizes dynamic Time section and coefficient of dynamics are summed to generate the time section being adjusted by state coefficient as increased time quantum.As moved State coefficient is 2 minutes, and the time section of the application is revised as first 5 minutes using current run time and latter 5 minutes.The application In, it is symmetrical period or the period of center of asymmetry fiducial time that time section, which can be,.If fiducial time is 3 points Clock, time section are first 3 minutes and latter 3 minutes using current run time;Or fiducial time is 3 minutes, time section is Using first 4 minutes and latter 2 minutes of current run time.The application can utilize the control that suspends, including left and right dragging or up and down Dragging, makes time section be moved forward or rearward along time shaft.
Preferably, in step 805:Coefficient of dynamics is generated according to the input control for suspension control, based on dynamical system It is several time section to be adjusted to generate the time section being adjusted, it is run according to the time section being adjusted from basis Selection customizes the data content for running data for forming in data.Preferably, according to the time section being adjusted from basis Selection includes for forming the data content of customization operation data in operation data:Basis is run in data and is adjusted The associated operation data slot of time section forms the data content of customization operation data.In the application, pass through suspension control Input control generate coefficient of dynamics, such as be that talk on the journey to west application obtains operation data to generate coefficient of dynamics be 2 minutes, former base It it is 3 minutes between punctual, the time section after being adjusted is, talk on the journey to west game needs the time section for carrying out screen recording to be First 5 minutes and latter 5 minutes of current run time, the current run time for the operation data that the application plays talk on the journey to west The screen recording data of first 5 minutes and latter 5 minutes run data content as customization.Or the application adjusts time section It is whole, it is adjusted to first 6 minutes and latter 4 points that talk on the journey to west game needs the time section of progress screen recording for current run time Clock, first 6 minutes of the current run time for the operation data that the application plays talk on the journey to west and the screen recording number of latter 4 minutes According to as customization operation data content.
Fig. 9 is the schematic diagram by coefficient of dynamics adjustment time section according to the preferred embodiment for the present invention.Big talk west When swimming game running, the basis operation of screen recording of the service 901 in running background, acquisition talk on the journey to west game running is obtained Data, in the application, to save memory space, basis operation data can be stored in basic storage region and dynamic storage zone In, when the screen recording data that basic storage region and dynamic storage zone store have expired, the on-screen data of rear recording is covered Cover previously stored data recording.Screen recording data before when the current operation of talk on the journey to west game user needs crawl When, the application is by setting fiducial time and time section initial value, such as when it is 5 minutes to set fiducial time, time section It is for 5 minutes before the current operation of application and currently running 5 minutes latter.5 minutes screens before when the application can obtain current operation The acquisition of 5 minutes on-screen datas after when the acquisition of data recording and current operation, i.e. the application, which realizes, plays to talk on the journey to west The acquisition of the data content of the customization operation data of screen recording.Figure 90 2 is the suspension control of generation coefficient of dynamics, and the application is led to Adjustment suspension control is crossed, such as the control key of middle triangle, when control key moves to left, coefficient of dynamics is reduced, when control key moves to right, Coefficient of dynamics increases.
Figure 10 is the system that customization operation data are obtained according to fiducial time according to the preferred embodiment for the present invention Structure diagram.Embodiment of the present invention provides a kind of system that customization operation data are obtained according to fiducial time, the application By receiving the trigger request for being directed to and being serviced for the acquisition of acquisition operation data, pre-set storage information is solved Analysis according to the analysis result to storing information, determines the basic storage region for storage running data.The startup list of the application Member is judged by the residual capacity to basic storage region, is pre-set when the residual capacity in basic storage region is more than Threshold value when, represent that basic storage region also has appropriate memory space, therefore start the service of acquisition, and promote to obtain and service Carry out running background.In the application, by obtaining, service is definite and current application is relevant obtains rule, and base to acquiring unit The basis operation data of application are obtained in obtaining rule.The generation unit of the application can give birth in the display area of user equipment The suspension control of customization operation data is obtained into the time section including fiducial time, by being directed to suspension control input control Coefficient of dynamics is generated, wherein coefficient of dynamics is used to that time section to be adjusted to generate the time section being adjusted, this Shen The data content for selecting to form customization operation data in data is please run from basis according to the time section being adjusted.This The pending application of application can be game application, and such as 360 game or video playing are applied, audio plays application and straight Broadcast application.The application operationally carries out screen recording work using 360 game as the application for obtaining operation data, to 360 game It is illustrated for the operation data of acquisition.As shown in Figure 10, system 1000 includes:
Unit of memory allocation 1001, when receiving for for obtaining the trigger request of acquisition service of operation data, Pre-set storage information is parsed, to determine the basic storage region for storage running data.Preferably, system Further include storage unit:User equipment pre-sets storage information and is stored in user equipment memory storage according to user's input Information.Preferably, storage information includes:The initial address of basic storage region and basic memory capacity.In the application, to pre- The storage information first set is parsed, and the time of screen recording, the frame per second recorded, bit rate is carried out according to application, to screen The data capacity of recording and storing information is parsed, and such as playing to talk on the journey to west carries out 10 minutes screen recordings, by frame per second 25 (fps), bit rate is from 380 (bps), and it is 1.5G to parse talk on the journey to west game screen and record the capacity needed, therefore, for big talk Journey to the West distributes the basic storage region of 1.5G.In the application, storage information includes the initial address of storage region and default base Plinth memory capacity.Preferably, wherein the type of currently running application includes game application, video playing application, audio broadcasting Using and live streaming application.The application of the application can be game application, such as 360 game talk on the journey to west;Or video playing Using such as 360 fast video;Audio plays application;Live streaming application, such as 360 Beijing time.
Preferably, wherein the type of currently running application includes game application, video playing application, audio broadcasting application And live streaming application.The pending application of the application can be game application, such as 360 game or video playing application, audio Play application and live streaming application.
Preferably, the system unit of memory allocation is additionally operable to:When the basic memory capacity of basic storage region is used up, Dynamic storage zone is set in user equipment, and wherein dynamic storage zone is associated attached with currently running application for storing Add operation data.The application is each using distribution basis memory block in the multiple applications for the acquisition for carrying out operation data Domain and when the basic memory capacity of basic storage region is used up, sets dynamic storage zone, wherein base in a user device Plinth deposit region for store with each application it is associated basis run data, dynamic storage zone for store with each apply Associated additional operation information data.In playing such as talk on the journey to west, user needs to record 8 minutes under normal circumstances, therefore is big talk Journey to the West game point matches somebody with somebody the basic storage region of 1G capacity, further, since running game is uncertain, there may come a time when to extend big The screen recording of Journey to the West game is talked about, such as may proceed to record again 2 minutes, be talk on the journey to west game point dynamic with 300M capacity therefore State storage region.Or 360 fast Video Applications, under normal circumstances user need to record 15 minutes, therefore be 360 fast video distributions The basic storage region of 1.5G capacity there may come a time when that the screen recording of 360 fast videos can be extended, and can such as be further continued for recording 3 minutes, Therefore, it is the dynamic storage zone of 360 fast video distribution 400M capacity.Wherein, the capacity of dynamic storage zone can be pending The actual screen of application is recorded demand and is adjusted, and demand is obtained to meet the additional operation information data of pending application.The application The screen recording applied when being run when, the data first recorded are stored in basic storage region, when basic storage region When being filled with, then by the data recorded below be stored in dynamic storage zone.
Preferably, unit of memory allocation is additionally operable to:Before dynamic storage zone is set in a user device, determine that user sets Standby remaining memory capacity is more than expanded threshold value.In the application, when such as also having the operation of 15 minutes to talk on the journey to west game prediction Between, the capacity of the 2.5G of screen recording needs is carried out in 5 minutes, equipment can extend the maximum of capacity, i.e., with extension Threshold value is compared, and if expanded threshold value is 2.5G, equipment residue memory capacity, i.e., minimum acceptable threshold is 5G, therefore the expansion of 2G Open up threshold value and less than the remaining memory capacity 5G of equipment, the application deposits area for the screen recording distribution dynamic of talk on the journey to west game Domain, also, the frame per second recorded and/or bit rate are reduced to the acquisition service of the screen recording of talk on the journey to west game, such as by frame per second 18 (fps) are adjusted to from 25 (fps), bit rate is adjusted to 320 (bps) from 400 (bps), to reduce the screen of talk on the journey to west game The data that curtain is recorded.
Preferably, storage unit is further included:When the residual capacity of dynamic storage zone is zero, obtain service will with it is current Operation is stored with coverage mode into basic storage region using associated new operation data.In the application, work as application The residual capacity of dynamic storage zone be zero, the screen recording data played such as talk on the journey to west are by the dynamic area of distribution When domain is filled with, the on-screen data for being stored in basic storage region such as recorded before is deposited compared to the dynamic that is stored in recorded below The importance of the on-screen data in storage area domain is low, when dynamic storage zone has been filled with and needing to continue screen recording, obtains Take service by talk on the journey to west using associated new screen recording data storage to basic storage region, basic storage region is deposited The on-screen data that the data of storage are newly recorded covers.
Preferably, storage unit is further included:When the residual capacity of dynamic storage zone is zero, obtain service will with it is current The new operation data of the association of operation carry out cover type storage in dynamic storage zone.In the application, when pending The residual capacity of the dynamic storage zone of application is zero, and the screen recording data as talk on the journey to west is played have deposited the dynamic of distribution When storage area domain is filled with, such as on-screen data for being stored in basic storage region of recording before is dynamic compared to being stored in for being recorded below The importance of the on-screen data of state storage region is high, when dynamic storage zone has been filled with and needs to continue screen recording When, service is obtained by talk on the journey to west using associated new screen recording data storage to dynamic storage zone, dynamic memory The on-screen data that the data of region storage are newly recorded covers.
Preferably, unit of memory allocation is additionally operable to:Before setting dynamic storage zone in a user device, to currently running Application this operation end time predicted, when determine from current time to the time of this end time run When the size of acquired operation data is less than or equal to expanded threshold value in section, distribution dynamic storage zone is determined.Preferably, deposit Storage allocation unit is additionally operable to:Current fortune is determined according to the historical statistical data of the end of run time to currently running application The end time of this operation of capable application.In the application, the end of run time of application is counted, and log history Statistics in pending application operationally, the end time using this operation is determined according to historical statistical data.Such as Talk on the journey to west is played, and the historical statistical data record each run time is 22:00 to 22:30, it, can be pre- by historical statistical data The run time for surveying talk on the journey to west game is 22:00 to 22:30 minutes of 30.The application from current time to this to running The size of acquired operation data is assessed in the period of end time, if current time is 22:25, from current time To the end time 22:During 30 period of 5 minutes, the size of the operation data of acquisition is about 700M, by 700M sizes with setting The standby maximum that can extend capacity, i.e. expanded threshold value are compared, and if expanded threshold value is 2G, talk on the journey to west game running is pre- The capacity for the 700M that screen recording needs are carried out in 5 minutes terminated is counted, less than the capacity of expanded threshold value 2G, is determined as big It talks about Journey to the West game point and matches somebody with somebody dynamic storage zone.Or when such as expanded threshold value is 500M, talk on the journey to west game running terminates estimated 5 minutes in carry out screen recording needs 700M capacity, more than the capacity of expanded threshold value 500M, equipment can extend Capacity can not again for talk on the journey to west game point match somebody with somebody screen recording data memory space, determine can not be talk on the journey to west game point With dynamic storage zone.
Preferably, unit of memory allocation is additionally operable to:The end time of this operation of currently running application is carried out pre- It surveys, is more than expansion from current time to the size of operation data acquired in the period of this end time run when definite When opening up threshold value and being less than acceptable threshold, it is determined as user equipment distribution dynamic storage zone and promotes to obtain service according to drop Low frame per second and/or bit rate obtain operation data.In the application, such as there is the fortune of 15 minutes to talk on the journey to west game prediction The row time carries out the capacity of the 2.5G of screen recording needs in 5 minutes, and equipment can extend the maximum of capacity, i.e., with Expanded threshold value is compared, and if expanded threshold value is 2G, equipment residue memory capacity, i.e., minimum acceptable threshold is 5G, 5 minutes The capacity of the interior 2.5G for carrying out screen recording needs, expanded threshold value more than 2G and less than the minimum acceptable threshold 5G of equipment, The application deposits region for the screen recording distribution dynamic of talk on the journey to west game, also, to the screen recording of talk on the journey to west game The service of acquisition reduces the frame per second recorded and/or bit rate, and frame per second such as is adjusted to 18 (fps) from 25 (fps), and bit rate is from 400 (bps) 320 (bps) are adjusted to, to reduce the data of the screen recording of talk on the journey to west game.
In the application, unit of memory allocation is additionally operable to:It is determined according to dynamic configuration file in basic storage region to operation The size of each basic unit of storage in multiple basic units of storage during data progress fragmented storage.Preferably, application is also wrapped Include, obtain each segmentation in multiple segmentations of the service to running data using identical or different frame per second and/or bit rate into Row segmentation is recorded, and each segmentation basic unit of storage corresponding with multiple basic units of storage is associated.In the application, The operation data obtained for convenience to application are handled, by the way of fragmented storage, after placing the data in segmentation In multiple basic units of storage.The basic storage region of 1G is such as divided into 100M, point of 100M, 200M, 200M, 200M ... Section, wherein, the frame per second of screen recording and bit rate can be identical or not in every section of corresponding basic unit of storage With, and establish incidence relation of each segmentation with corresponding basic unit of storage.
Start unit 1002, in the case where the remaining memory capacity for determining basic storage region is more than threshold value, startup obtains It takes and services and promote to obtain service progress running background.In the application, the remaining memory capacity of basic storage region is being determined During more than threshold value, equipment can store the screen recording data of acquisition, and the application starts the service of acquisition, and promote to obtain and service It is being run from the background.
Acquiring unit 1003, the service of acquisition, which determines, and currently running application is relevant obtains rule, such as code check, bit rate Deng, and based on rule is obtained data are run to obtain the basis of application.Preferably, acquiring unit is additionally operable to:Obtain service root Rule base is retrieved according to the application identities of currently running application, and determines to answer with currently running according to retrieval result Rule is obtained with relevant.Preferably, it is the screen video data for the user equipment recorded to run data, and obtains rule Including at least one in herein below:Time span, capacity limit, frame per second and bit rate.In the application, service basis is obtained Application identities determine to obtain rule using relevant.Application identities of the service according to talk on the journey to west are such as obtained, utilize application identities It is retrieved in rule base, the relevant acquisition of screen video data recording for determining to apply with talk on the journey to west according to retrieval result Rule, as the acquisition rule for the screen video data recording that talk on the journey to west is applied is:Time span is 10 minutes, and capacity limit is 2G, frame per second:16 (fps), bit rate 360 (bps) or including the relevant rule of other screen recordings.
Preferably, acquiring unit is additionally operable to:It is determining with after the relevant acquisition rule of currently running application, further including and obtaining Service is taken to obtain the operation data of currently running application based on obtaining rule after expiring in the predetermined time.In the application, After the acquisition rule for determining application, the service of acquisition obtains pending answer according to rule is obtained after can also expiring in the predetermined time Operation data.I.e. after the acquisition rule of talk on the journey to west game is determined, the talk on the journey to west game running time reaches predetermined After 5 seconds phases time, the service of acquisition, which starts to play to big talk, carries out screen recording.Wherein, phase predetermined time is presets, can be with For 1 second, 2 seconds, 5 seconds, 10 seconds or other predetermined times.
Preferably, acquiring unit is additionally operable to:When the state of currently running application is switched to running background from front stage operation When, the service pause of acquisition obtains operation data.In the application, when the state of application is switched to running background from front stage operation, Such as when user is when playing talk on the journey to west game, user connects phone, starts the call of a period of time, the meeting of talk on the journey to west game at this time Running background is switched to, when talk on the journey to west is played in running background, screen recording need not be carried out.Therefore, the application is automatic Suspend screen recording, to avoid unwanted on-screen data is recorded, occupy the resource of system.
Preferably, acquiring unit is additionally operable to:When the state of currently running application is switched to front stage operation from running background When, the service of acquisition starts to obtain operation data.In the application, when user disconnects from talking state, talk on the journey to west game is from from the background When operation is switched to front stage operation, user starts to continue to run with game, needs to carry out screen recording again at this time, the application can be real It now automatically begins to play to the talk on the journey to west for being switched to front stage operation from running background and carries out screen recording.
Preferably, acquiring unit is additionally operable to:The each segmentation obtained in multiple segmentations of the service to running data uses phase Same or different frame per second and/or bit rate carry out segmentation recording, and are each segmented corresponding with multiple basic units of storage Basic unit of storage is associated.In the application, the operation data obtained for convenience to application are handled, and are recorded using segmentation Mode, and the data recorded after segmentation are stored in multiple basic units of storage.Such as the basic storage region of 1G is divided For 100M, the segmentation of 100M, 200M, 200M, 200M ..., wherein, screen recording in every section of corresponding basic unit of storage Frame per second and bit rate can be identical or different, and establish each segmentation and corresponding basic unit of storage Incidence relation.
Preferably, acquiring unit is additionally operable to:The service of acquisition can carry out content recognition to acquired operation data, when true When the content of partition running data in fixed specific basic unit of storage is with being run in user equipment using unrelated data, Delete partition running data.In the application, the operation data of acquisition are identified by obtaining service, i.e., to big in the application The content of screen recording data of words Journey to the West game is identified, and when finding in basic unit of storage, the screen of the first segmentation is recorded Data processed are unrelated with the data of talk on the journey to west game running, are such as ad data, then delete the screen recording data of the first segmentation.
Preferably, acquiring unit is additionally operable to:The service of acquisition can carry out content recognition to acquired operation data, when true The content of partition running data in fixed specific basic unit of storage can be converted to related to the application run in user equipment Frame data when, delete partition running data.In the application, the operation data of acquisition are identified by obtaining service, Content recognition such as is carried out to the screen recording data of talk on the journey to west game, if it is determined that specific basic unit of storage, such as the 5th point The screen recording data of the basic unit of storage storage of section do not carry out screen recording data during any operation for game, i.e., basic The talk on the journey to west record screen data of storage unit storage, can be converted to frame data, therefore, delete the basic storage of the 5th segmentation The screen recording data of unit storage.
Preferably, acquiring unit is additionally operable to:Service is obtained to the content that stores in being arbitrarily segmented in multiple segmentations into line number According to compression.In the application, data pressure is carried out to the content stored in any one segmentation in multiple segmentations by obtaining service The record screen data that talk on the journey to west game is stored in the second segmentation are such as compressed processing by contracting, to save the storage of data sky Between.
Control unit 1004, the display area of user equipment generation be used for according to the time section including fiducial time come Obtain the suspension control of customization operation data.Preferably, suspension control can be suspended in the display interface for the application being currently running Top, and the control that suspends can be presented with the transparency set by user.In the application, fiducial time can be passed through The time section of definition runs data come customization when obtaining time section.If talk on the journey to west game is 10 at runtime:00 When, generation fiducial time is 5 minutes, defines time section as first 5 minutes of current run time and latter 5 minutes, i.e., 9:55 to 10:After 05;The fiducial time or 2 minutes of the application generation, the time section of the application can also be defined as currently transporting First 2 minutes and latter 2 minutes of row time;Or the fiducial time of the application generation is 30 seconds, i.e., when time section is currently runs Between first 30 seconds or 30 seconds latter.Time in the application, using the suspension control of device display area, generation includes fiducial time Time section.
Preferably, wherein setting the default value of fiducial time and the initial value of time section by obtaining to service, and user The default value of fiducial time and the initial value of time section can be changed.Preferably, coefficient of dynamics is increased time quantum, and Time section is adjusted based on coefficient of dynamics with the time section that generation is adjusted to include:By time section and dynamical system Number sums to generate the time section being adjusted.Preferably, time section is using fiducial time as symmetrical centre or asymmetric The period at center.Preferably, further include suspension control the time section being adjusted is carried out according to the input of user along when Countershaft is moved forward or rearward.In the application, fiducial time and time section could be provided as default value or user according to obtaining The actual demand of screen data is enrolled, the initial value of default value and time section to fiducial time is modified.Such as talk on the journey to west It is 3 minutes to give tacit consent to fiducial time, and time section is first 3 minutes and latter 3 minutes using current run time, and the application utilizes dynamic Time section and coefficient of dynamics are summed to generate the time section being adjusted by state coefficient as increased time quantum.As moved State coefficient is 2 minutes, and the time section of the application is revised as first 5 minutes using current run time and latter 5 minutes.The application In, it is symmetrical period or the period of center of asymmetry fiducial time that time section, which can be,.If fiducial time is 3 points Clock, time section are first 3 minutes and latter 3 minutes using current run time;Or fiducial time is 3 minutes, time section is Using first 4 minutes and latter 2 minutes of current run time.The application can utilize the control that suspends, including left and right dragging or up and down Dragging, makes time section be moved forward or rearward along time shaft.
Customization units 1005 generate coefficient of dynamics, based on coefficient of dynamics pair according to the input control for suspension control Time section is adjusted to generate the time section being adjusted, and data are run from basis according to the time section being adjusted Middle selection customizes the data content of operation data for forming.Preferably, customization units are additionally operable to:By basis run data in The associated operation data slot of time section being adjusted forms the data content of customization operation data.In the application, lead to The input control of suspension control is crossed to generate coefficient of dynamics, is such as that talk on the journey to west application acquisition operation data generation coefficient of dynamics is 2 minutes, former fiducial time was 3 minutes, and the time section after being adjusted is that talk on the journey to west game needs to carry out screen recording Time section for first 5 minutes of current run time and latter 5 minutes, the operation data that the application plays talk on the journey to west it is current First 5 minutes of run time and the screen recording data of latter 5 minutes run data content as customization.Or the application is to the time Section is adjusted, and the time section that being adjusted to talk on the journey to west game needs to carry out screen recording is preceding the 6 of current run time Minute and latter 4 minutes, first 6 minutes and latter 4 minutes of the current run time for the operation data that the application plays talk on the journey to west Screen recording data, as customization run data content.
Based on embodiments of the present invention, a kind of mobile terminal is provided, it is above-mentioned according to fiducial time including or for perform To obtain the system of customization operation data.
Figure 11 is the stream according to the method that dynamic content presentation is carried out based on video data of the preferred embodiment for the present invention Cheng Tu.The method that dynamic content presentation is carried out based on video data that embodiment of the present invention provides, by logical in response to receiving The presentation request that video data is presented into Mobile state is crossed, determines to need the network site presented into Mobile state according to request is presented, The application creates data link associated with target subregion in basic storage region according to network site, and for number has been established According to the target subregion of link, storage mark is set.The application starts the acquisition service for obtaining video data, when definite target In the case that region does not store any data, service will be obtained using pre-set acquisition rule to obtain video data and profit Acquired video data is stored into target subregion with storage mark.The application is directed to video counts in response to receiving It being indicated according to the generation of acquisition, data are presented in the dynamic for generating to carry out dynamic content presentation based on acquired video data, Dynamic is presented data and is transmitted to network site, carry out dynamic content presentation by the application according to data link.Embodiment party of the present invention The application of formula can be game application, and such as 360 game or video playing application, audio play application and live streaming application.This Application operationally carries out 360 game screen recording as the operation data obtained using 360 game as pending application It is illustrated.As shown in figure 11, method 1100 is since step 1101 place.
Preferably, in step 1101:The presentation for carrying out dynamic content presentation by video data in response to receiving is asked, root It determines to need the network site for carrying out dynamic content presentation according to request is presented.Preferably, request is presented includes:It sends and request is presented Requesting party and need carry out dynamic content presentation network site.In the application, when 360 game (such as talk on the journey to west) are wished When one section of screen recording data of game running are presented by network, dynamic content can be carried out by video data to received The presentation request of presentation is responded.The presentation request of the application includes the requesting party of request is presented.Requesting party for example can be, The website of data content, the APP etc. of communication class can be presented.
Preferably, wherein using video data as carrying out the network comment data of dynamic content presentation.The application In, the screen recording data of talk on the journey to west game running can be utilized as carrying out the network comment number of dynamic content presentation According to.For example, user and is passed through video by being recorded to obtain video data to screen when running talk on the journey to west and playing Data publication carries out the dynamic evaluation of talk on the journey to west game to network.
Preferably, wherein using video data as carrying out the network recommendation data of dynamic content presentation.The application In, when the on-screen data of talk on the journey to west game running can be as recommending data, when can utilize talk on the journey to west game running Screen recording data as carrying out the video data of dynamic content presentation.For example, the screen played by talk on the journey to west Data recording, and record is shielded into data publication to network, carry out the recommendation of talk on the journey to west game.Potential user is by watching what is recommended The content of game running is understood more intuitively in talk on the journey to west screen recording data, helps to attract potential user deeper into ground Understand the game.
Preferably, in step 1102:Being created according to network site can be related to target subregion in basic storage region The data link of connection, and storage mark is set for target subregion.It preferably, wherein can be with storage according to network site establishment The associated data link of target subregion includes in region:It is created for the target subregion in basic storage region and is directed toward network The data link of position, and for target subregion set storage mark after will need carry out dynamic content presentation network position Put place's display storage mark.In the application, being created according to the network site that presents of the video data of screen recording needs can be with The associated data link of target subregion in basic storage region, and created for the target subregion in basic storage region The data link of network site is directed toward, and will need to carry out dynamic content presentation after storage mark is set for target subregion Network site at show storage mark.In the application, talk on the journey to west game is needed into the network site presented, such as game promotion Platform, by game promotion platform data link associated with target subregion in basic storage region in user equipment, and Screen recording when the target subregion is created the data link for being directed toward game promotion platform and run for storage talk on the journey to west The target subregion of data sets storage mark, if storage is identified as " talk on the journey to west upgrade version ", is presented in game promotion platform During talk on the journey to west record screen data, the storage mark of display " talk on the journey to west upgrade version ".
Preferably, in step 1103:Startup is not deposited for obtaining the acquisition service of video data in definite target subregion In the case of storing up any data, service is obtained using pre-set acquisition rule to obtain video data and utilize storage mark Acquired video data is stored into target subregion.Preferably, advised wherein obtaining service and reading pre-set obtain Then configuration file and regular configuration file determines and user equipment is relevant pre-set obtains rule according to obtaining.It is preferred that Ground, video data are the screen video data for the user equipment recorded, and obtain regular include in herein below at least One:Time span, capacity limit, frame per second and bit rate.The application starts to obtain talk on the journey to west screen recording data Service is obtained, in the case where determining that the target subregion for storing record screen data does not store any data, the service of acquisition utilizes pre- The acquisition rule first set is arrived the video data storage of acquisition using storage mark to obtain the record screen data of talk on the journey to west In target subregion.In the application, the service that obtains determines to obtain rule using relevant according to application identities.The application is according to pre- The configuration file first set determines and the relevant acquisition rule of the screen video data recording of talk on the journey to west application, such as talk on the journey to west The acquisition rule of the screen video data recording of application is:Time span is 10 minutes, capacity limit 2G, frame per second:16 (fps), bit rate 360 (bps) or including the relevant rule of other screen recordings.
Preferably, determining with after the relevant pre-set acquisition rule of user equipment, further including acquisition service pre- It fixes time and obtains video data based on rule is obtained after expiring.In the application, after the acquisition rule of pending application is determined, The service of acquisition regular obtains the operation data of pending application according to obtaining after can also expiring in the predetermined time.Determining After the acquisition rule of good talk on the journey to west game, after the talk on the journey to west game running time reaches 5 seconds phases predetermined time, the service of acquisition is opened Begin to play to big talk and carry out screen recording.Wherein, phase predetermined time is presets, can be 1 second, 2 seconds, 5 seconds, 10 seconds or its His predetermined time.
Preferably, further include when the basic memory capacity of basic storage region is used up, dynamic is set in a user device Storage region, wherein dynamic storage zone are used to store auxiliary video data.The application is to carry out the acquisition of operation data Application distribution basis storage region and dynamic storage zone, wherein basis deposit region for store with each apply it is associated Basis operation data, dynamic storage zone is for storage with each applying associated additional operation information data.As talk on the journey to west is swum In play, user needs to record 8 minutes under normal circumstances, therefore matches somebody with somebody the basic storage region of 1G capacity for talk on the journey to west game point, Further, since running game is uncertain, it there may come a time when that the screen recording of talk on the journey to west game can be extended, such as may proceed to record again Therefore system 2 minutes, the dynamic storage zone of 300M capacity is matched somebody with somebody for talk on the journey to west game point.Or 360 fast Video Applications, general feelings User needs to record 15 minutes under condition, therefore is the basic storage region of 360 fast video distribution 1.5G capacity, there may come a time when to prolong The screen recording of long 360 fast videos can such as be further continued for recording 3 minutes, be the dynamic of 360 fast video distribution 400M capacity therefore Storage region.Wherein, the capacity of dynamic storage zone is capable of the actual screen of pending application and records demand and be adjusted, with full The additional operation information data of the pending application of foot obtains demand.It is pending apply when being run screen recording when, will first record The basic storage region of data deposit of system, dynamic memory is stored in when basic storage region is filled with, then by the data recorded below Region.
Preferably, set before dynamic storage zone and further include in a user device:Determine the remaining storage of user equipment Capacity is more than expanded threshold value.In the application, set in a user device before dynamic storage zone, it is necessary to be needed to dynamic area The expanded threshold value to be used is compared with the remaining memory capacity of user equipment, such as when it is 2G to need expanded threshold value, user The remaining memory capacity of equipment is 10G, therefore can set dynamic storage zone.Or when it is 2G to need expanded threshold value, user The remaining memory capacity of equipment is 1G, therefore can not set dynamic storage zone.
Preferably, when the residual capacity of dynamic storage zone is zero, service is obtained by new video data with the side of covering Formula is stored into basic storage region.It is such as big when the residual capacity of the dynamic storage zone of pending application is zero in the application When the dynamic storage zone of distribution is filled with by the screen recording data of words Journey to the West game, the basis that is stored in such as recorded before is deposited The importance that the on-screen data in storage area domain compares the on-screen data for being stored in dynamic storage zone recorded below is low, when dynamic When storage region has been filled with and when needing to continue screen recording, obtain service and talk on the journey to west is applied into associated new screen To basic storage region, the on-screen data that the data of basic storage region storage are newly recorded covers the storage of curtain data recording.
Preferably, when the residual capacity of dynamic storage zone is zero, the service of acquisition is dynamically depositing new video data Cover type storage is carried out in storage area domain.It is such as big when the residual capacity of the dynamic storage zone of pending application is zero in the application When the dynamic storage zone of distribution is filled with by the screen recording data of words Journey to the West game, the basis that is stored in such as recorded before is deposited The importance that the on-screen data in storage area domain compares the on-screen data for being stored in dynamic storage zone recorded below is high, when dynamic When storage region has been filled with and when needing to continue screen recording, obtain service and talk on the journey to west is applied into associated new screen To dynamic storage zone, the on-screen data that the data of dynamic storage zone storage are newly recorded covers the storage of curtain data recording.
Preferably, set before dynamic storage zone and further include in a user device:It is pair associated with video data should This operation end time predicted, when determine from current time to the period of this end time run in When the size of acquired operation data is less than or equal to expanded threshold value, distribution dynamic storage zone is determined.Preferably, wherein root It is answered according to the historical statistical data of the end of run time to the associated application of video data to determine that video data is associated The end time of this operation.In the application, the end of run time of pending application is counted, and log history Statistics in pending application operationally, the pending end using this operation is determined according to historical statistical data Time.If talk on the journey to west is played, the historical statistical data record each run time is 22:00 to 22:30, by historical statistics number According to the run time that can predict talk on the journey to west game is 22:00 to 22:30 minutes of 30.The application to from current time to The size of acquired operation data is assessed in the period of the end time of this operation, if current time is 22:25, 22 from current time to end time:During 30 period of 5 minutes, the size of the operation data of acquisition is about 700M, will 700M sizes and equipment can extend the maximum of capacity, i.e. expanded threshold value is compared, if expanded threshold value is 2G, talk on the journey to west Game running carries out the capacity of the 700M of screen recording needs in estimated 5 minutes terminated, less than expanded threshold value 2G's Capacity is determined as talk on the journey to west game point with dynamic storage zone.Or when such as expanded threshold value is 500M, talk on the journey to west game fortune Row carries out the capacity of the 700M of screen recording needs in estimated 5 minutes terminated, more than the capacity of expanded threshold value 500M, The capacity that equipment can extend can not match somebody with somebody the memory space of screen recording data for talk on the journey to west game point again, determine can not to be big It talks about Journey to the West game point and matches somebody with somebody dynamic storage zone.
Preferably, set before dynamic storage zone and further include in a user device:To the associated application of video data This operation end time predicted, when determine from current time to institute in the period of this end time run When the size of the operation data of acquisition is more than expanded threshold value and is less than acceptable threshold, it is determined as user equipment distribution dynamic memory Region and promote to obtain service video data obtained according to the frame per second and/or bit rate of reduction.In the application, such as to big talk Journey to the West game prediction also has the run time of 15 minutes, and the capacity of the 2.5G of screen recording needs, equipment are carried out in 5 minutes The maximum of capacity can be extended, i.e., compared with expanded threshold value, as expanded threshold value be 2G, equipment residue memory capacity, i.e., Minimum acceptable threshold is 5G, and the capacity of the 2.5G of screen recording needs is carried out in 5 minutes, the expanded threshold value more than 2G and Less than the minimum acceptable threshold 5G of equipment, the application deposits region for the screen recording distribution dynamic of talk on the journey to west game, also, right The acquisition service of the screen recording of talk on the journey to west game reduces the frame per second recorded and/or bit rate, such as adjusts frame per second from 25 (fps) Whole is 18 (fps), and bit rate is adjusted to 320 (bps) from 400 (bps), to reduce the number of the screen recording of talk on the journey to west game According to.
Preferably, further include and determined to carry out fragmented storage to operation data in basic storage region according to dynamic configuration file When multiple subregions in per sub-regions size.Preferably, application further includes, and obtains multiple points serviced to running data Each segmentation in section carries out segmentation recording using identical or different frame per second and/or bit rate, and each segmentation with it is multiple Corresponding basic unit of storage is associated in basic unit of storage.In the application, for convenience to the fortune of pending application acquisition Row data are handled, and by the way of fragmented storage, are placed the data in multiple basic units of storage after segmentation.As incited somebody to action The basic storage region of 1G is divided into 100M, the segmentation of 100M, 200M, 200M, 200M ..., wherein, every section is corresponding basic The frame per second of screen recording and bit rate can be identical or different in storage unit, and establish each segmentation With the incidence relation of corresponding basic unit of storage.
Preferably, further include, obtain service to different video data using identical or different frame per second and/or bit rate into Row is recorded, and each video data subregion corresponding with multiple subregions is associated.In the application, service is obtained to not Recorded with video data using identical or different frame per second and/or bit rate, wherein the setting of frame per second and/or bit rate with Record on-screen data importance it is related to the size of memory space residual capacity, in the application, each video data with it is multiple Corresponding subregion is associated in subregion.
Preferably, content recognition can be carried out to acquired video data by obtaining service, when in definite particular sub-area Video data be with being run in user equipment using unrelated data when, delete video data.In the application, pass through acquisition The operation data of acquisition are identified in service, i.e., the content for the screen recording data played to talk on the journey to west in the application carries out Identification, when finding in basic unit of storage, the screen recording data of the first subregion and the data of talk on the journey to west game running without It closes, is such as ad data, then deletes the screen recording data of the first subregion.
Preferably, content recognition can be carried out to acquired video data by obtaining service, when in definite particular sub-area Video data when can be converted to frame data relevant with the application that is run in user equipment, delete video data.This Shen Please in, by obtain service the operation data of acquisition are identified, such as to talk on the journey to west game screen recording data progress Content recognition, if it is determined that specific basic unit of storage, the screen recording number that such as basic unit of storage of the 5th subregion stores According to screen recording data when not carrying out any operation for game, i.e. data are shielded in the talk on the journey to west record of basic unit of storage storage, Frame data can be converted to, therefore, deletes the screen recording data of the basic unit of storage storage of the 5th subregion.
Preferably, obtain service and data compression is carried out to the video data stored in arbitrary subregion in multiple subregions. In the application, data compression is carried out to the content stored in any one subregion in multiple segmentations by obtaining service, such as The record screen data that talk on the journey to west game is stored in the second subregion are compressed processing, to save the memory space of data.
Preferably, in step 1104:The generation that video data acquisition is directed in response to receiving indicates, based on acquired Video data generate for carry out dynamic content presentation dynamic present data.In the application, the talk on the journey to west of acquisition is swum Data are presented in the screen recording data of play, the dynamic for generating to carry out dynamic content presentation.
Preferably, in step 1105:Dynamic is presented by data according to data link and be transmitted to network site, with into Mobile state Content is presented.The dynamic of the talk on the journey to west of generation according to data link, is presented data and is transmitted to network site by the application, with Dynamic content presentation is carried out, i.e. the screen recording content of talk on the journey to west is presented in network site into Mobile state.
Figure 12 is as carrying out the network of dynamic content presentation according to the video data of the preferred embodiment for the present invention Recommending data schematic diagram.As shown in figure 12, it is in talk on the journey to west game promotion by talk on the journey to west game running screen recording data Platform carries out the schematic diagram of network recommendation data.In talk on the journey to west game promotion platform 1201,1202,1203 are presented for user To the screen recording data of the game promotion platform.The application carries out talk on the journey to west screen recording video data in response to receiving The presentation request that dynamic content is presented determines to need the network site for carrying out dynamic content presentation, such as this Shen according to request is presented Please the network site that presents of dynamic content for talk on the journey to west game promotion platform, the network site of the platform is created can be with trip The associated data connection of target subregion in basic storage region in the user equipment of play, and storage is set for target subregion Mark such as " the talk on the journey to west upgraded version " and " the excellent game of talk on the journey to west invites you to come " of the application, is identified as storage.This Shen The on-screen data that please start " talk on the journey to west upgraded version " or " the excellent game of talk on the journey to west invites you to come " is recorded, corresponding to obtain Video data, and by " talk on the journey to west upgraded version " screen recording data storage to basic storage region for target sub-district Domain and will " talk on the journey to west it is excellent game invite you come " screen recording data storage to basic storage region for target sub-district Domain.Data are presented in the dynamic that the application generates " talk on the journey to west upgraded version " and " the excellent game of talk on the journey to west invites you to come ", and will The dynamic of " talk on the journey to west upgraded version " and " the excellent game of talk on the journey to west invites you to come " is presented data and is transmitted to talk on the journey to west game Extension Software Platform carries out dynamic content presentation.
Figure 13 is the knot according to the system that dynamic content presentation is carried out based on video data of the preferred embodiment for the present invention Structure schematic diagram.The system that dynamic content presentation is carried out based on video data that embodiment of the present invention provides, passes through response unit It is asked in response to receiving by video data into the presentation that Mobile state is presented, determines to need to present into Mobile state according to request is presented Network site, the link unit of the application creates associated with target subregion in the storage region of basis according to network site Data link, and storage mark is set for the target subregion of data link has been established.The acquiring unit of the application, which starts, to be obtained The acquisition service of video data in the case that definite target subregion does not store any data, will obtain service using in advance The acquisition rule of setting stores mark by acquired video data storage to target subregion to obtain video data and utilize In.The generation that the generation unit of the application is directed to video data acquisition in response to receiving indicates, based on acquired video Data are presented for carrying out the dynamic of dynamic content presentation in data generation, and the display unit of the application, will be dynamic according to data link State is presented data and is transmitted to network site, carries out dynamic content presentation.The application of embodiment of the present invention can be game application, As 360 game or video playing application, audio play application and live streaming application.The application plays using 360 as pending Application, to 360 game operationally carry out screen recording as acquisition operation data be illustrated.Such as Figure 13 institutes Show, system 1300 includes:
Response unit 1301, in response to receive by video data carry out dynamic content presentation presentation request, according in Now request determines to need the network site for carrying out dynamic content presentation.Preferably, request is presented includes:It sends and asking for request is presented The side of asking and the network site for needing to carry out dynamic content presentation.In the application, when 360 game (such as talk on the journey to west) are wished to pass through When one section of screen recording data of game running are presented in network, dynamic content presentation can be carried out by video data to received Presentation request responded.The presentation request of the application includes the requesting party of request is presented.Requesting party for example can be, can The website of presentation data content, APP of communication class etc..
Preferably, wherein using video data as carrying out the network comment data of dynamic content presentation.The application In, the screen recording data of talk on the journey to west game running can be utilized as carrying out the network comment number of dynamic content presentation According to.For example, user and is passed through video by being recorded to obtain video data to screen when running talk on the journey to west and playing Data publication carries out the dynamic evaluation of talk on the journey to west game to network.
Preferably, wherein using video data as carrying out the network recommendation data of dynamic content presentation.The application In, when the on-screen data of talk on the journey to west game running can be as recommending data, when can utilize talk on the journey to west game running Screen recording data as carrying out the video data of dynamic content presentation.For example, the screen played by talk on the journey to west Data recording, and record is shielded into data publication to network, carry out the recommendation of talk on the journey to west game.Potential user is by watching what is recommended The content of game running is understood more intuitively in talk on the journey to west screen recording data, helps to attract potential user deeper into ground Understand the game.
Link unit 1302, being created according to network site being capable of number associated with target subregion in basic storage region According to link, and for target subregion, storage mark is set.Preferably, link unit is additionally operable to:For the mesh in basic storage region It marks subregion and creates the data link for being directed toward network site, and will need to carry out after storage mark is set for target subregion Storage mark is shown at the network site that dynamic content is presented.In the application, need to present according to the video data of screen recording Network site create can data link associated with target subregion in basic storage region, and be basic memory block Target subregion in domain creates the data link for being directed toward network site, and will after storage mark is set for target subregion It needs to carry out showing storage mark at the network site of dynamic content presentation.In the application, talk on the journey to west game is needed to present Network site, such as game promotion platform, by target subregion in basic storage region in game promotion platform and user equipment Associated data link, and the target subregion is created and is directed toward the data link of game promotion platform and to store The target subregion of screen recording data sets storage mark when talk on the journey to west is run, and as storage is identified as, " talk on the journey to west upgrades Version ", when talk on the journey to west record screen data are presented in game promotion platform, the storage mark of display " talk on the journey to west upgrade version ".
Acquiring unit 1303 starts to obtain the acquisition service of video data, does not store and appoints in definite target subregion In the case of what data, service is obtained using pre-set acquisition rule to obtain video data and utilize storage mark by institute The video data of acquisition is stored into target subregion.Preferably, acquiring unit is additionally operable to:Service reading is wherein obtained to set in advance It the acquisition rule configuration file put and is determined and user equipment is relevant pre-set obtains according to regular configuration file is obtained Take rule.Preferably, video data is the screen video data for the user equipment recorded, and obtains rule including following interior It is at least one in appearance:Time span, capacity limit, frame per second and bit rate.The application starts to obtain talk on the journey to west screen The acquisition service of data recording in the case where the target subregion for determining storage record screen data does not store any data, obtains Service obtains the record screen data of talk on the journey to west using pre-set acquisition rule, and utilizes storage mark by the video of acquisition Data are stored into target subregion.In the application, the service that obtains determines to obtain rule using relevant according to application identities.This Application determines the relevant acquisition rule of the screen video data recording applied with talk on the journey to west according to pre-set configuration file, The acquisition rule of screen video data recording as talk on the journey to west is applied is:Time span is 10 minutes, capacity limit 2G, frame Rate:16 (fps), bit rate 360 (bps) or including the relevant rule of other screen recordings.
Preferably, acquiring unit is additionally operable to:It is determining with after the relevant pre-set acquisition rule of user equipment, also wrapping It includes and obtains video data based on rule is obtained after acquisition service expires in the predetermined time.In the application, pending answer is being determined After acquisition rule, the service of acquisition regular obtains the fortune of pending application according to obtaining after can also expiring in the predetermined time Row data.I.e. after the acquisition rule of talk on the journey to west game is determined, the talk on the journey to west game running time reaches phase predetermined time 5 After second, the service of acquisition, which starts to play to big talk, carries out screen recording.Wherein, phase predetermined time is presets, and can be 1 second, and 2 Second, 5 seconds, 10 seconds or other predetermined times.
Preferably, storage unit is further included:When the basic memory capacity of basic storage region is used up, in a user device Dynamic storage zone is set, and wherein dynamic storage zone is used to store auxiliary video data.The application is to need to carry out operation number According to acquisition application distribution basis storage region and dynamic storage zone, wherein basis deposit region for store with each apply Associated basis operation data, dynamic storage zone is for storage with each applying associated additional operation information data.As greatly It talks about in Journey to the West game, user needs to record 8 minutes under normal circumstances, therefore is deposited for basis of the talk on the journey to west game point with 1G capacity Storage area domain further, since running game is uncertain, there may come a time when that the screen recording of talk on the journey to west game, such as meeting can be extended Continuation is recorded 2 minutes again, therefore, the dynamic storage zone of 300M capacity is matched somebody with somebody for talk on the journey to west game point.Or 360 fast video should With user needs to record 15 minutes under normal circumstances, therefore is the basic storage region of 360 fast video distribution 1.5G capacity, has When may extend the screen recordings of 360 fast videos, can such as be further continued for recording 3 minutes, be 360 fast video distribution 400M therefore The dynamic storage zone of capacity.Wherein, the capacity of dynamic storage zone be capable of pending application actual screen record demand into Row adjustment obtains demand to meet the additional operation information data of pending application.The pending screen record applied when being run When processed, the data first recorded are stored in basic storage region, are deposited when basic storage region is filled with, then by the data recorded below Enter dynamic storage zone.
Preferably, storage unit is additionally operable to:Before dynamic storage zone is set in a user device, user equipment is determined Remaining memory capacity is more than expanded threshold value.In the application, set in a user device before dynamic storage zone, it is necessary to dynamic The expanded threshold value that memory block needs to use is 2G such as when needing expanded threshold value compared with the remaining memory capacity of user equipment When, the remaining memory capacity of user equipment is 10G, therefore can set dynamic storage zone.Or it is 2G that ought need expanded threshold value When, the remaining memory capacity of user equipment is 1G, therefore can not set dynamic storage zone.
Preferably, storage unit is additionally operable to:When the residual capacity of dynamic storage zone is zero, the service of acquisition regards new Frequency coverage mode storage according to this is into basic storage region.In the application, when pending application dynamic storage zone it is surplus Covolume amount is zero, when the dynamic storage zone of distribution is filled with such as the screen recording data of talk on the journey to west game, is such as recorded before The on-screen data for being stored in basic storage region of system compares the on-screen data for being stored in dynamic storage zone recorded below Importance it is low, when dynamic storage zone has been filled with and needing to continue screen recording, obtain service by talk on the journey to west Using associated new screen recording data storage to basic storage region, the data of basic storage region storage are newly recorded On-screen data covered.
Preferably, storage unit is additionally operable to:When the residual capacity of dynamic storage zone is zero, the service of acquisition regards new Frequency is according to the progress cover type storage in dynamic storage zone.In the application, when pending application dynamic storage zone it is surplus Covolume amount is zero, when the dynamic storage zone of distribution is filled with such as the screen recording data of talk on the journey to west game, is such as recorded before The on-screen data for being stored in basic storage region of system compares the on-screen data for being stored in dynamic storage zone recorded below Importance it is high, when dynamic storage zone has been filled with and needing to continue screen recording, obtain service by talk on the journey to west Using associated new screen recording data storage to dynamic storage zone, the data of dynamic storage zone storage are newly recorded On-screen data covered.
Preferably, storage unit is additionally operable to:In a user device set dynamic storage zone before, pair with video data phase The end time of this operation of associated application is predicted, when definite from current time to this end time run When the size of acquired operation data is less than or equal to expanded threshold value in period, distribution dynamic storage zone is determined.It is preferred that Ground, wherein determining video data phase according to the historical statistical data of the end of run time to the associated application of video data The end time of this operation of associated application.In the application, the end of run time of pending application is counted, and Log history statistics in pending application operationally, this fortune of pending application is determined according to historical statistical data The capable end time.If talk on the journey to west is played, the historical statistical data record each run time is 22:00 to 22:30, by history Statistics, the run time that can predict talk on the journey to west game are 22:00 to 22:30 minutes of 30.The application is to from current The size of acquired operation data is assessed in time to the period of this end time run, as current time is 22:25,22 from current time to end time:During 30 period of 5 minutes, the size of the operation data of acquisition is about 700M sizes and equipment can be extended the maximum of capacity by 700M, i.e. expanded threshold value is compared, if expanded threshold value is 2G, Talk on the journey to west game running carries out the capacity of the 700M of screen recording needs in estimated 5 minutes terminated, less than extension The capacity of threshold value 2G is determined as talk on the journey to west game point with dynamic storage zone.Or when such as expanded threshold value is 500M, big talk west The capacity that game running carries out the 700M of screen recording needs in estimated 5 minutes terminated is swum, more than expanded threshold value The capacity of 500M, the capacity that equipment can extend can not match somebody with somebody the memory space of screen recording data for talk on the journey to west game point again, Determine can not to be that talk on the journey to west game point matches somebody with somebody dynamic storage zone.
Preferably, storage unit is additionally operable to:It is related to video data before dynamic storage zone is set in a user device The application of connection this operation end time predicted, when determine from current time to this end time run when Between the sizes of operation data acquired in section be more than expanded threshold value and during less than acceptable threshold, be determined as user equipment and distribute Dynamic storage zone and promote to obtain service video data obtained according to the frame per second and/or bit rate of reduction.In the application, Such as there is the run time of 15 minutes to talk on the journey to west game prediction, carry out the 2.5G's of screen recording needs in 5 minutes Capacity, equipment can extend the maximum of capacity, i.e., compared with expanded threshold value, if expanded threshold value is 2G, equipment residue is deposited Capacity is stored up, i.e., minimum acceptable threshold is 5G, and the capacity of the 2.5G of screen recording needs, the expansion more than 2G are carried out in 5 minutes Open up threshold value and less than the minimum acceptable threshold 5G of equipment, the application deposits area for the screen recording distribution dynamic of talk on the journey to west game Domain, also, the frame per second recorded and/or bit rate are reduced to the acquisition service of the screen recording of talk on the journey to west game, such as by frame per second 18 (fps) are adjusted to from 25 (fps), bit rate is adjusted to 320 (bps) from 400 (bps), to reduce the screen of talk on the journey to west game The data that curtain is recorded.
Preferably, system further includes storage unit:It is determined according to dynamic configuration file in basic storage region to running number According to the size per sub-regions in multiple subregions when carrying out fragmented storage.Preferably, application further includes, and obtains service to fortune Each segmentation in multiple segmentations of row data carries out segmentation recording using identical or different frame per second and/or bit rate, and Each segmentation basic unit of storage corresponding with multiple basic units of storage is associated.In the application, place is treated for convenience It ought to be handled with the operation data of acquisition, by the way of fragmented storage, be placed the data in multiple basic after segmentation In storage unit.The basic storage region of 1G is such as divided into 100M, the segmentation of 100M, 200M, 200M, 200M ..., wherein, The frame per second of screen recording and bit rate can be identical or different in every section of corresponding basic unit of storage, and And establish incidence relation of each segmentation with corresponding basic unit of storage.
Preferably, acquiring unit is additionally operable to:Obtain service to different video data using identical or different frame per second and/or Bit rate is recorded, and each video data subregion corresponding with multiple subregions is associated.In the application, obtain Different video data are recorded in service using identical or different frame per second and/or bit rate, wherein frame per second and/or bit rate Setting with record on-screen data importance and memory space residual capacity size it is related, in the application, each video counts It is associated according to subregion corresponding with multiple subregions.
Preferably, acquiring unit is additionally operable to:The service of acquisition can carry out content recognition to acquired video data, when true When the video data determined in particular sub-area is with being run in user equipment using unrelated data, video data is deleted.This In application, the operation data of acquisition are identified by obtaining service, i.e., the screen that talk on the journey to west in the application is played are recorded The content of data processed is identified, when finding in basic unit of storage, the screen recording data and talk on the journey to west of the first subregion The data of game running are unrelated, are such as ad data, then delete the screen recording data of the first subregion.
Preferably, acquiring unit is additionally operable to:The service of acquisition can carry out content recognition to acquired video data, when true When frame data relevant with the application that is run in user equipment can be converted to by determining the video data in particular sub-area, delete Video data.In the application, the operation data of acquisition are identified by obtaining service, such as the screen to talk on the journey to west game Data recording carries out content recognition, if it is determined that specific basic unit of storage, such as basic unit of storage of the 5th subregion store Screen recording data of screen recording data when not carrying out any operation for game, i.e. the big talk of basic unit of storage storage is western Trip record screen data, can be converted to frame data, therefore, delete the screen recording of the basic unit of storage storage of the 5th subregion Data.
Preferably, acquiring unit is additionally operable to:Obtain the video counts serviced to being stored in arbitrary subregion in multiple subregions According to progress data compression.In the application, by obtaining the content serviced to being stored in any one subregion in multiple segmentations Data compression is carried out, the record screen data that talk on the journey to west game is stored in the second subregion are such as compressed processing, to save The memory space of data.
Generation unit 1304, the generation that video data acquisition is directed in response to receiving indicates, is regarded based on acquired Data are presented for carrying out the dynamic of dynamic content presentation according to generation in frequency.In the application, the talk on the journey to west of acquisition is played Data are presented in screen recording data, the dynamic for generating to carry out dynamic content presentation.
Dynamic is presented data according to data link and is transmitted to network site, to carry out dynamic content by display unit 1305 It presents.The dynamic of the talk on the journey to west of generation according to data link, is presented data and is transmitted to network site, to carry out by the application Dynamic content is presented, i.e., the screen recording content of talk on the journey to west is presented in network site into Mobile state.
Another embodiment of the present invention provides a kind of mobile terminal, and video counts are based on as above-mentioned including or for perform According to the system for carrying out dynamic content presentation.
The present invention is described by reference to a small amount of embodiment.However, it is known in those skilled in the art, as What subsidiary Patent right requirement was limited, except the present invention other embodiments disclosed above equally fall the present invention's In the range of.
Normally, all terms used in the claims are all solved according to them in the common meaning of technical field It releases, unless in addition clearly being defined wherein.All references " one/described/be somebody's turn to do [device, component etc.] " are all opened ground At least one example being construed in described device, component etc., unless otherwise expressly specified.Any method disclosed herein Step need not all be run with disclosed accurate order, unless explicitly stated otherwise.

Claims (10)

1. it is a kind of for obtaining the method for the operation data of application automatically, the described method includes:
The state each applied in multiple applications in monitoring users equipment when the startup for receiving pending application is asked, obtains Take the application identities and digital signature of the pending application;
The application identities are matched with multiple data item in pre-stored configuration file;
Determining that the provider for determining the pending application according to the application identities identifies there are during matched data item, The digital signature is parsed to check provider's mark, so as to carry out the verification to the pending application;
When the pending application passes through verification, start to obtain the acquisition clothes of the operation data of the pending application Business;And
It is described to obtain service and determined and the pending application is relevant obtains rule according to the application identities, and based on institute Acquisition rule is stated to obtain the operation data of the pending application.
2. according to the method described in claim 1, the type wherein applied includes game application, video playing is applied, audio is broadcast Put application and live streaming application.
3. according to the method described in claim 1, the application identities include Apply Names and/or installation kit title, and institute It is the E-seal by certification provided by application provider to state digital signature.
4. according to the method described in claim 1, described in the user equipment pre-sets and stores according to user's input Configuration file, and wherein data item is the application identities of the application for the acquisition for carrying out operation data.
5. according to the method described in claim 4, the provider of the pending application is wherein determined according to the application identities Mark includes:It is related to the pending application to inquire about that the application identities of the pending application are sent to certificate server The provider using provider of connection identifies.
6. it is a kind of for obtaining the system of the operation data of application automatically, the system comprises:
Monitoring unit, the state each applied in multiple applications in monitoring users equipment, is receiving the startup of pending application During request, the application identities and digital signature of the pending application are obtained;
Matching unit matches the application identities with multiple data item in pre-stored configuration file;
Authentication unit is determining, there are during matched data item, carrying for the pending application to be determined according to the application identities Supplier identifies, and the digital signature is parsed to check provider's mark, so as to carry out to the pending application Verification;
Start unit when the pending application passes through verification, starts to obtain the operation data of the pending application Acquisition service;And
Acquiring unit, it is described obtain service according to the application identities determine with it is described it is pending application it is relevant obtain rule, And the operation data of the pending application are obtained based on the acquisition rule.
7. system according to claim 6, wherein the type applied includes game application, video playing is applied, audio is broadcast Put application and live streaming application.
8. system according to claim 6, the application identities include Apply Names and/or installation kit title, and institute It is the E-seal by certification provided by application provider to state digital signature.
9. system according to claim 6, including:Dispensing unit, the user equipment are set in advance according to user's input It puts and stores the configuration file, and wherein data item is the application mark of the application for the acquisition for carrying out operation data Know.
10. system according to claim 9, the authentication unit is additionally operable to:By the application identities of the pending application It is sent to certificate server and pending is identified with inquiring about with described using the associated provider using provider.
CN201711487108.8A 2017-12-29 2017-12-29 Method and system for automatically acquiring running data of application Active CN108121640B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711487108.8A CN108121640B (en) 2017-12-29 2017-12-29 Method and system for automatically acquiring running data of application

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711487108.8A CN108121640B (en) 2017-12-29 2017-12-29 Method and system for automatically acquiring running data of application

Publications (2)

Publication Number Publication Date
CN108121640A true CN108121640A (en) 2018-06-05
CN108121640B CN108121640B (en) 2021-08-24

Family

ID=62232552

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711487108.8A Active CN108121640B (en) 2017-12-29 2017-12-29 Method and system for automatically acquiring running data of application

Country Status (1)

Country Link
CN (1) CN108121640B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112543348A (en) * 2020-11-27 2021-03-23 深圳市慧为智能科技股份有限公司 Remote screen recording method, device, equipment and computer readable storage medium
CN113190459A (en) * 2021-05-24 2021-07-30 曙光信息产业(北京)有限公司 Program operation detection method and device, heterogeneous electronic equipment and readable storage medium
US20210286695A1 (en) * 2018-09-20 2021-09-16 Siemens Ltd., China System-state monitoring method and device and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050021971A1 (en) * 2003-07-23 2005-01-27 Microsoft Corporation Application identification and license enforcement
CN103685138A (en) * 2012-08-30 2014-03-26 卓望数码技术(深圳)有限公司 Method and system for authenticating application software of Android platform on mobile internet
CN106055239A (en) * 2016-06-02 2016-10-26 北京金山安全软件有限公司 Screen recording method and device
CN106155907A (en) * 2016-07-04 2016-11-23 厦门美图移动科技有限公司 A kind of automated testing method, device and computing device
CN106375696A (en) * 2016-09-30 2017-02-01 腾讯科技(深圳)有限公司 Screen recording method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050021971A1 (en) * 2003-07-23 2005-01-27 Microsoft Corporation Application identification and license enforcement
CN103685138A (en) * 2012-08-30 2014-03-26 卓望数码技术(深圳)有限公司 Method and system for authenticating application software of Android platform on mobile internet
CN106055239A (en) * 2016-06-02 2016-10-26 北京金山安全软件有限公司 Screen recording method and device
CN106155907A (en) * 2016-07-04 2016-11-23 厦门美图移动科技有限公司 A kind of automated testing method, device and computing device
CN106375696A (en) * 2016-09-30 2017-02-01 腾讯科技(深圳)有限公司 Screen recording method and device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20210286695A1 (en) * 2018-09-20 2021-09-16 Siemens Ltd., China System-state monitoring method and device and storage medium
CN112543348A (en) * 2020-11-27 2021-03-23 深圳市慧为智能科技股份有限公司 Remote screen recording method, device, equipment and computer readable storage medium
CN113190459A (en) * 2021-05-24 2021-07-30 曙光信息产业(北京)有限公司 Program operation detection method and device, heterogeneous electronic equipment and readable storage medium

Also Published As

Publication number Publication date
CN108121640B (en) 2021-08-24

Similar Documents

Publication Publication Date Title
CN106487781B (en) Resource data processing method, device and system based on live broadcast
US9686329B2 (en) Method and apparatus for displaying webcast rooms
CN108228477A (en) It is a kind of that the method and system of operation data are obtained based on memory capacity
CN110333947B (en) Method, device, equipment and medium for loading subcontracting resources of game application
CN109274982B (en) Video carousel method and device, computer equipment and storage medium
WO2014183427A1 (en) Method and apparatus for displaying webcast rooms
US20080313230A1 (en) System and method for managing evolving user preferences
CN108121640A (en) A kind of method and system for the operation data of acquisition application automatically
CN115004672B (en) Information pushing method, device, server and storage medium
CN112672179B (en) Method, device and equipment for live game
CN108900924A (en) The method and apparatus of commending friends in direct broadcasting room
CN108108294A (en) A kind of method and system that customization operation data are obtained according to fiducial time
EP2411951A2 (en) Platform or user sensitive advertising
CN109685538B (en) Resource acquisition information processing method and device and electronic equipment
CN112766945A (en) Virtual resource allocation processing method, device, equipment and storage medium
TW200946192A (en) Game server
CN109618176A (en) A kind of processing method of live broadcast service, equipment and storage medium
CN110602543A (en) Method and apparatus for displaying material, storage medium, and electronic apparatus
CN110708571A (en) Video clip playing control method and related product
CN108600850A (en) Video sharing method, client, server and storage medium
CN108174245A (en) A kind of method and system that dynamic content presentation is carried out based on video data
JP2004145538A (en) Content distributing system, content distributing method, and its recording medium and program
KR101401961B1 (en) System for sharing augmented reality contents and method thereof
CN105872634A (en) Video data sharing method and device
JP5160439B2 (en) A method for providing an interactive menu to a terminal coupled to a communication network upon request

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
GR01 Patent grant
GR01 Patent grant