CN108174245B - Method and system for presenting dynamic content based on video data - Google Patents

Method and system for presenting dynamic content based on video data Download PDF

Info

Publication number
CN108174245B
CN108174245B CN201711479199.0A CN201711479199A CN108174245B CN 108174245 B CN108174245 B CN 108174245B CN 201711479199 A CN201711479199 A CN 201711479199A CN 108174245 B CN108174245 B CN 108174245B
Authority
CN
China
Prior art keywords
data
application
storage area
video data
dynamic
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.)
Active
Application number
CN201711479199.0A
Other languages
Chinese (zh)
Other versions
CN108174245A (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.)
3600 Technology Group Co., Ltd
Original Assignee
3600 Technology Group 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 3600 Technology Group Co Ltd filed Critical 3600 Technology Group Co Ltd
Priority to CN201711479199.0A priority Critical patent/CN108174245B/en
Publication of CN108174245A publication Critical patent/CN108174245A/en
Application granted granted Critical
Publication of CN108174245B publication Critical patent/CN108174245B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/239Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests
    • H04N21/2393Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests involving handling client requests
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/442Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
    • H04N21/4424Monitoring of the internal components or processes of the client device, e.g. CPU or memory load, processing speed, timer, counter or percentage of the hard disk space used
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/443OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB
    • H04N21/4435Memory management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/83Generation or processing of protective or descriptive data associated with content; Content structuring
    • H04N21/845Structuring of content, e.g. decomposing content into time segments
    • H04N21/8456Structuring of content, e.g. decomposing content into time segments by decomposing the content in the time domain, e.g. in time segments

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Software Systems (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Databases & Information Systems (AREA)
  • Television Signal Processing For Recording (AREA)

Abstract

The invention discloses a method for presenting dynamic content based on video data, which comprises the following steps: responding to a presentation request for carrying out dynamic content presentation through video data, and determining a network position needing to carry out dynamic content presentation according to the presentation request; creating a data link which can be associated with a target sub-region in a basic storage region according to the network position, and setting a storage identifier for the target sub-region; starting an acquisition service for acquiring video data, acquiring the video data by the acquisition service by using a preset acquisition rule and storing the acquired video data into a target sub-region by using a storage identifier under the condition that the target sub-region is determined not to store any data; in response to receiving a generation instruction for video data acquisition, generating dynamic presentation data for dynamic content presentation based on the acquired video data; and transmitting the dynamic presentation data to the network location for dynamic content presentation according to the data link.

Description

Method and system for presenting dynamic content based on video data
Technical Field
The present invention relates to the field of data processing technologies, and in particular, to a method and a system for performing dynamic content presentation based on video data.
Background
Under the current technical conditions, it is a common operation to record a screen of a running application. Screen recording is typically used to save data content during the operation of video chat recordings, gaming applications, audio playback, and live applications. The screen recording during the application operation is a way to intercept dynamic pictures or characters and audio, and is also a computer application technology. And the user carries out video recording processing on the screen during the running of the application and shares the operation processing carried out on the screen during the running of the application through a screen recording technology.
Through the screen recording technology, interested applications can be recorded during operation, the screen is reserved for being used and watched by people, and the content displayed by the screen can be better reserved for people. At present, the screen recording function can be realized through some software, and the screen recording technology can be used by basic people.
The existing screen recording mode can perform screen recording operation aiming at the area indicated in the window. At present, a mobile phone system has a screen recording function, and a user realizes screen recording operation on a screen through the screen recording function of the mobile phone system. Then, in the prior art, screen recording operation is performed through manual triggering, recorded screen data are directly stored, if a video needs to be shared in a network, the video can be only completed through a mode of manually uploading the video data, and no technology exists at present for displaying the recorded screen data through uploading a network link address.
Therefore, a technique is needed to implement a technique for dynamic content presentation based on video data.
Disclosure of Invention
The technical scheme of the invention provides a method and a system for presenting dynamic content based on video data, which aim to solve the problem of how to present dynamic content to the video data.
In order to solve the above problem, there is provided a method for dynamic content presentation based on video data, the method comprising:
responding to a presentation request for carrying out dynamic content presentation through video data, and determining a network position needing to carry out dynamic content presentation according to the presentation request;
creating a data link which can be associated with a target sub-region in a basic storage region according to the network position, and setting a storage identifier for the target sub-region;
starting an acquisition service for acquiring the video data, wherein the acquisition service acquires the video data by using a preset acquisition rule and stores the acquired video data into the target sub-area by using the storage identifier under the condition that the target sub-area is determined not to store any data;
in response to receiving a generation instruction for video data acquisition, generating dynamic presentation data for dynamic content presentation based on the acquired video data; and
and transmitting the dynamic presentation data to the network location according to the data link for dynamic content presentation.
Preferably, video data is utilized therein as the network commentary data for dynamic content presentation.
Preferably, video data is utilized therein as network recommendation data for dynamic content presentation.
Preferably, the presentation request comprises: a requestor that sends a rendering request and a network location where dynamic content rendering is needed.
Preferably, wherein creating a data link that can be associated with a target sub-region in the base storage area based on the network location comprises: and creating a data link pointing to the network position for a target sub-area in the storage area, and displaying the storage identification at the network position where dynamic content presentation is required after the storage identification is set for the target sub-area.
Preferably, the acquisition service reads a preset acquisition rule profile and determines a preset acquisition rule related to the user equipment according to the acquisition rule profile.
Preferably, the video data is recorded screen video data of a user equipment, and the acquisition rule includes at least one of: length of time, capacity limit, frame rate, and bit rate.
Preferably, after determining a preset acquisition rule related to the user equipment, the method further comprises the acquisition service acquiring the video data based on the acquisition rule after a predetermined time expires.
Preferably, the method further comprises setting a dynamic storage area in the user equipment when the basic storage capacity of the basic storage area is exhausted, wherein the dynamic storage area is used for storing additional video data.
Preferably, before setting the dynamic storage area in the user equipment, the method further comprises: determining that a remaining storage capacity of the user equipment is greater than an expansion threshold.
Preferably, when the remaining capacity of the dynamic storage area is zero, the acquisition service stores new video data in the base storage area in an overlay manner.
Preferably, when the remaining capacity of the dynamic storage area is zero, the acquisition service performs overlay storage of new video data in the dynamic storage area.
Preferably, before setting the dynamic storage area in the user equipment, the method further comprises: and predicting the end time of the current operation of the application associated with the video data, and determining to allocate a dynamic storage area when the size of the acquired operation data in the time period from the current time to the end time of the current operation is less than or equal to an expansion threshold.
Preferably, the end time of the current running of the application associated with the video data is determined according to historical statistical data of the running end time of the application associated with the video data.
Preferably, before setting the dynamic storage area in the user equipment, the method further comprises: predicting an end time of a current run of an application associated with the video data, when it is determined that a size of the acquired run data within a time period from a current time to the end time of the current run is greater than an expansion threshold and less than an allowable threshold, determining to allocate a dynamic storage area for the user equipment and causing the acquisition service to acquire the video data according to a reduced frame rate and/or bit rate.
Preferably, the method further comprises determining the size of each sub-region in the plurality of sub-regions when the operating data is stored in the base storage region in a segmented manner according to a dynamic configuration file.
Preferably, the acquiring service records different video data using the same or different frame rates and/or bit rates, and each video data is associated with a corresponding sub-area of the plurality of sub-areas.
Preferably, the acquisition service is capable of performing content recognition on the acquired video data, and deleting the video data in a specific subarea when the video data is determined to be data unrelated to an application running in the user equipment.
Preferably, the acquisition service is capable of performing content recognition on the acquired video data, and deleting the video data when it is determined that the video data in a specific sub-region can be converted into single frame data related to an application running in the user equipment.
Preferably, the acquisition service performs data compression on video data stored in any of the plurality of sub-areas.
According to another aspect of the present invention, there is provided a system for dynamic content presentation based on video data, the system comprising:
the response unit is used for responding to a presentation request for presenting the dynamic content through the video data and determining a network position needing to present the dynamic content according to the presentation request;
the link unit is used for creating a data link which can be associated with a target sub-region in a basic storage region according to the network position and setting a storage identifier for the target sub-region;
the acquisition unit is used for starting an acquisition service for acquiring the video data, and under the condition that the target sub-area is determined not to store any data, the acquisition service acquires the video data by using a preset acquisition rule and stores the acquired video data into the target sub-area by using the storage identifier;
a generation unit that generates dynamic presentation data for performing dynamic content presentation based on the acquired video data in response to receiving a generation instruction for video data acquisition; and
and the presentation unit transmits the dynamic presentation data to the network position according to the data link so as to present dynamic content.
Preferably, video data is utilized therein as the network commentary data for dynamic content presentation.
Preferably, video data is utilized therein as network recommendation data for dynamic content presentation.
Preferably, the presentation request comprises: a requestor that sends a rendering request and a network location where dynamic content rendering is needed.
Preferably, the linking unit is further configured to: and creating a data link pointing to the network position for the target sub-area in the basic storage area, and displaying the storage identification at the network position where dynamic content presentation is required after the storage identification is set for the target sub-area.
Preferably, the obtaining unit is further configured to, wherein the obtaining service reads a preset obtaining rule profile and determines a preset obtaining rule related to the user equipment according to the obtaining rule profile.
Preferably, the video data is recorded screen video data of a user equipment, and the acquisition rule includes at least one of: length of time, capacity limit, frame rate, and bit rate.
Preferably, the obtaining unit is further configured to: after determining a preset acquisition rule related to the user equipment, the method further comprises the acquisition service acquiring the video data based on the acquisition rule after a preset time expires.
Preferably, the device further comprises a storage unit: when the basic storage capacity of the basic storage area is exhausted, a dynamic storage area is set in the user equipment, wherein the dynamic storage area is used for storing additional video data.
Preferably, the storage unit is further configured to: determining that a remaining storage capacity of a user equipment is greater than an expansion threshold before setting a dynamic storage area in the user equipment.
Preferably, the storage unit is further configured to: when the remaining capacity of the dynamic storage area is zero, the acquisition service stores new video data in the base storage area in an overlay manner.
Preferably, the storage unit is further configured to: and when the residual capacity of the dynamic storage area is zero, the acquisition service performs overlay storage on new video data in the dynamic storage area.
Preferably, the storage unit is further configured to: the method comprises the steps of predicting the end time of the current operation of an application related to video data before setting a dynamic storage area in user equipment, and determining to allocate the dynamic storage area when the size of operation data acquired in a time period from the current time to the end time of the current operation is less than or equal to an expansion threshold.
Preferably, the storage unit is further configured to: wherein the end time of the current running of the application associated with the video data is determined according to historical statistical data of the running end time of the application associated with the video data.
Preferably, the storage unit is further configured to: predicting an end time of a current run of an application associated with the video data before setting a dynamic storage area in a user equipment, determining to allocate the dynamic storage area for the user equipment and causing the acquisition service to acquire the video data according to a reduced frame rate and/or bit rate when determining that a size of acquired run data in a time period from a current time to the end time of the current run is greater than an expansion threshold and less than an allowable threshold.
Preferably, the device further comprises a storage unit: and determining the size of each sub-area in the plurality of sub-areas when the operating data is stored in the basic storage area in a segmented manner according to the dynamic configuration file.
Preferably, the obtaining unit is further configured to: the acquisition service records different video data using the same or different frame rates and/or bit rates, and each video data is associated with a respective sub-region of a plurality of sub-regions.
Preferably, the obtaining unit is further configured to: the acquisition service is capable of performing content recognition on the acquired video data, and deleting the video data in a specific subarea when the video data is determined to be data unrelated to an application running in the user equipment.
Preferably, the obtaining unit is further configured to: the acquisition service is capable of performing content recognition on the acquired video data, and deleting the video data when it is determined that the video data in a particular sub-region can be converted into single frame data related to an application running in the user equipment.
Preferably, the obtaining unit is further configured to: the acquisition service performs data compression on video data stored in any of the plurality of sub-regions.
According to another aspect of the present invention, there is provided a mobile terminal comprising or adapted to perform a system for dynamic content presentation based on video data as described above.
According to the method and the system for presenting the dynamic content based on the video data, provided by the technical scheme of the invention, the network position needing to be dynamically presented is determined according to the presentation request by responding to the presentation request for receiving the dynamic presentation through the video data. The technical scheme of the invention starts an acquisition service for acquiring the video data, and when the situation that the target sub-area does not store any data is determined, the acquisition service acquires the video data by using a preset acquisition rule and stores the acquired video data into the target sub-area by using the storage identifier. The technical scheme of the invention responds to the received generation instruction aiming at the video data acquisition, and generates the dynamic presentation data for carrying out dynamic content presentation based on the acquired video data. The technical scheme of the invention solves the problem that the efficiency is low because the video data needs to be uploaded manually in the prior art for displaying the video data.
Drawings
A more complete understanding of exemplary embodiments of the present invention may be had by reference to the following drawings in which:
FIG. 1 is a flow chart of a method for dynamic content presentation based on video data in accordance with a preferred embodiment of the present invention;
FIG. 2 is a diagram illustrating video data as network recommendation data for dynamic content presentation in accordance with a preferred embodiment of the present invention;
FIG. 3 is a block diagram of a system for dynamic content presentation based on video data in accordance with a preferred embodiment of the present invention;
FIG. 4 is a flow chart of a method for automatically obtaining operational data for an application in accordance with a preferred embodiment of the present invention;
FIG. 5 is a schematic diagram of a storage area allocation for storing run data of an auto-acquire application, according to a preferred embodiment of the present invention;
FIG. 6 is a schematic diagram of a basic memory cell structure for partitioning a basic memory area into a plurality of basic memory cells according to a preferred embodiment of the present invention;
FIG. 7 is a block diagram of a system for automatically obtaining operational data for an application, in accordance with a preferred embodiment of the present invention;
FIG. 8 is a flow chart of a method of obtaining operational data based on storage capacity in accordance with a preferred embodiment of the present invention;
FIG. 9 is a schematic illustration of obtaining operational data based on storage capacity in accordance with a preferred embodiment of the present invention;
FIG. 10 is a block diagram of a system for obtaining operational data based on storage capacity in accordance with a preferred embodiment of the present invention;
FIG. 11 is a flow chart of a method for obtaining customized operational data based on a base time in accordance with a preferred embodiment of the present invention;
FIG. 12 is a diagram illustrating time segments adjusted by dynamic coefficients according to a preferred embodiment of the present invention;
fig. 13 is a schematic structural diagram of a system for acquiring customized operation data according to a reference time according to a preferred embodiment of the present invention.
Detailed Description
Fig. 1 is a flowchart of a method for dynamic content presentation based on video data according to a preferred embodiment of the present invention. According to the method for presenting dynamic content based on video data, provided by the embodiment of the invention, by responding to the presentation request for receiving the dynamic presentation through the video data and determining the network position needing to be dynamically presented according to the presentation request, the data link associated with the target sub-area in the basic storage area is created according to the network position, and the storage identifier is set for the target sub-area with the established data link. The method and the device start an acquisition service for acquiring the video data, and when the situation that the target sub-area does not store any data is determined, the acquisition service acquires the video data by using a preset acquisition rule and stores the acquired video data into the target sub-area by using a storage identifier. The method and the device for displaying the dynamic content respond to the fact that a generation instruction aiming at video data acquisition is received, dynamic display data used for displaying the dynamic content are generated based on the acquired video data, and the dynamic display data are transmitted to a network position according to data links to display the dynamic content. The application of the embodiment of the present invention may be a game application, such as 360 games, or a video playing application, an audio playing application, and a live playing application. The application takes the 360-degree game as the application to be processed, and the 360-degree game is subjected to screen recording during running to serve as the acquired running data for example. As shown in fig. 1, method 100 begins at step 101.
Preferably, in step 101: in response to receiving a presentation request for dynamic content presentation via video data, a network location requiring dynamic content presentation is determined from the presentation request. Preferably, the presentation request comprises: a requestor that sends a rendering request and a network location where dynamic content rendering is needed. In the present application, when a 360 game (e.g., western language game) wishes to present a screen recording of the game play over a network, a presentation request for dynamic content presentation via video data is received. The presence request of the present application includes a requestor of the presence request. The requesting party may be, for example, a website capable of presenting data content, a messaging APP, or the like.
Preferably, video data is utilized therein as the network commentary data for dynamic content presentation. In the application, the screen recording data of the running of the Chinese western game can be used as the network comment data for dynamic content presentation. For example, the user obtains video data by recording a screen while running a western game for a mobile phone, and performs dynamic evaluation of the western game for a mobile phone by distributing the video data to the network.
Preferably, video data is utilized therein as network recommendation data for dynamic content presentation. In the application, when the screen data of the operation of the western mobile game of the mobile phone can be used as the recommendation data, the screen recording data of the operation of the western mobile game of the mobile phone can be used as the video data for displaying the dynamic content. For example, data is recorded through a screen of a western mobile game of the mobile phone, and the recorded screen data is issued to the network, so that recommendation of the western mobile game of the mobile phone is performed. Potential users can more intuitively know the running content of the game by watching the recommended western-style telephone screen recorded data, and the potential users can be attracted to know the game more deeply.
Preferably, at step 102: and creating a data link which can be associated with the target sub-area in the basic storage area according to the network position, and setting a storage identifier for the target sub-area. Preferably, wherein creating a data link that can be associated with a target sub-region in the storage area based on the network location comprises: and creating a data link pointing to the network position for the target sub-area in the basic storage area, and displaying the storage identification at the network position where dynamic content presentation is needed after setting the storage identification for the target sub-area. In the method and the device, a data link which can be associated with a target sub-area in a basic storage area is created according to a network position to be presented by video data recorded on a screen, a data link pointing to the network position is created for the target sub-area in the basic storage area, and a storage identifier is displayed at the network position to be subjected to dynamic content presentation after the storage identifier is set for the target sub-area. In the application, network positions to be presented by a western mobile phone game, such as a game promotion platform, are subjected to data link of the game promotion platform and a target subregion in a basic storage area of user equipment, a data link pointing to the game promotion platform is created for the target subregion, and a storage identifier is set for the target subregion storing screen recording data during western mobile phone game running, and when the game promotion platform presents the screen recording data of western mobile phone game, the storage identifier of the "western mobile phone game updated version" is displayed.
Preferably, in step 103: and starting an acquisition service for acquiring the video data, and in the case that the target sub-area is determined not to store any data, acquiring the video data by the acquisition service by using a preset acquisition rule and storing the acquired video data into the target sub-area by using a storage identifier. Preferably, the acquisition service reads a preset acquisition rule profile and determines a preset acquisition rule related to the user equipment according to the acquisition rule profile. Preferably, the video data is recorded screen video data of the user equipment, and the acquisition rule includes at least one of: length of time, capacity limit, frame rate, and bit rate. According to the method and the device, an obtaining service for obtaining the recorded data of the screen of the western mobile phone is started, under the condition that the target sub-area for storing the recorded data is determined not to store any data, the obtaining service obtains the recorded data of the screen of the western mobile phone by using a preset obtaining rule, and stores the obtained video data into the target sub-area by using a storage identifier. In the present application, the acquisition service determines the acquisition rule related to the application according to the application identifier. The method and the device determine the acquisition rule related to the screen video data recording of the western Atlantic application according to the preset configuration file, and if the acquisition rule related to the screen video data recording of the western Atlantic application is as follows: time length 10 minutes, capacity limit 2G, frame rate: 16(fps), bit rate 360(bps), or other screen recording related rules.
Preferably, after determining the preset acquisition rule related to the user equipment, the method further comprises the acquisition service acquiring the video data based on the acquisition rule after the predetermined time expires. In the application, after the obtaining rule of the application to be processed is determined, the obtaining service may further obtain the running data of the application to be processed according to the obtaining rule after the predetermined time expires. Namely, after the acquisition rule of the grand phone western-game is determined and the running time of the grand phone western-game reaches the preset time interval of 5 seconds, the acquisition service starts to record the screen of the grand phone game. The predetermined time period is preset and may be 1 second, 2 seconds, 5 seconds, 10 seconds or other predetermined time.
Preferably, the method further comprises setting a dynamic storage area in the user equipment when the basic storage capacity of the basic storage area is exhausted, wherein the dynamic storage area is used for storing the additional video data. The method comprises the steps of allocating a basic storage area and a dynamic storage area for the applications needing to acquire the running data, wherein the basic storage area is used for storing basic running data associated with each application, and the dynamic storage area is used for storing additional running data associated with each application. For example, in the western language game, a user generally needs to record for 8 minutes, so a basic storage area with a capacity of 1G is allocated for the western language game, and in addition, due to uncertainty of running the game, screen recording of the western language game may be prolonged sometimes, for example, the screen recording continues for 2 minutes, so a dynamic storage area with a capacity of 300M is allocated for the western language game. Or 360 video applications, typically requiring 15 minutes of recording, the user allocates a base storage area of 1.5G capacity for 360 video, and sometimes may extend the screen recording of 360 video, e.g., continue recording for another 3 minutes, thus allocating a dynamic storage area of 400M capacity for 360 video. The capacity of the dynamic storage area can be adjusted according to the actual screen recording requirement of the application to be processed, so that the additional running data acquisition requirement of the application to be processed is met. When the application to be processed carries out screen recording during operation, the data recorded firstly is stored in the basic storage area, and when the basic storage area is full, the data recorded later is stored in the dynamic storage area.
Preferably, before setting the dynamic storage area in the user equipment, the method further comprises: determining that the remaining storage capacity of the user equipment is greater than an expansion threshold. In the application, before the dynamic storage area is set in the user equipment, the expansion threshold value needed by the dynamic storage area needs to be compared with the remaining storage capacity of the user equipment, for example, when the expansion threshold value is required to be 2G, the remaining storage capacity of the user equipment is 10G, so that the dynamic storage area can be set. Or when the expansion threshold is required to be 2G, the residual storage capacity of the user equipment is 1G, so that the dynamic storage area cannot be set.
Preferably, the acquisition service stores the new video data in the base storage area in an overlay manner when the remaining capacity of the dynamic storage area is zero. In the application, when the residual capacity of the dynamic storage area of the application to be processed is zero, for example, when the allocated dynamic storage area is full of screen recording data of a western mobile phone game, the importance of the screen data recorded in the basic storage area before compared with the screen data recorded in the dynamic storage area after is low, when the dynamic storage area is full and the screen recording needs to be continued, the acquisition service stores new screen recording data associated with the western mobile phone application in the basic storage area, and the data stored in the basic storage area is covered by the newly recorded screen data.
Preferably, when the remaining capacity of the dynamic storage area is zero, the acquisition service performs overlay storage of new video data in the dynamic storage area. In the application, when the residual capacity of the dynamic storage area of the application to be processed is zero, for example, when the allocated dynamic storage area is full of screen recording data of a western mobile phone game, the importance of the screen data recorded in the basic storage area before compared with the screen data recorded in the dynamic storage area after is higher, when the dynamic storage area is full and the screen recording needs to be continued, the acquisition service stores new screen recording data associated with the western mobile phone application in the dynamic storage area, and the data stored in the dynamic storage area is covered by the newly recorded screen data.
Preferably, before setting the dynamic storage area in the user equipment, the method further comprises: and predicting the end time of the current operation of the application associated with the video data, and determining to allocate the dynamic storage area when the size of the acquired operation data in the time period from the current time to the end time of the current operation is less than or equal to the expansion threshold. Preferably, the end time of the current run of the application associated with the video data is determined according to historical statistical data of the run end time of the application associated with the video data. In the application, the running end time of the application to be processed is counted, historical statistical data is recorded, and the running end time of the application to be processed is determined according to the historical statistical data when the application to be processed runs. For example, the western-style game of the Chinese language has the historical statistical data record that the running time of each game is 22:00 to 22:30, and the running time of the western-style game of the Chinese language can be predicted to be 30 minutes from 22:00 to 22:30 according to the historical statistical data. The method comprises the steps of evaluating the size of operation data acquired in a time period from the current time to the end time of the current operation, if the current time is 22:25, and if the time period is 5 minutes from the current time to the end time 22:30, the size of the acquired operation data is about 700M, comparing the size of 700M with the maximum value of the expandable capacity of equipment, namely an expansion threshold, and if the expansion threshold is 2G, determining that a dynamic storage area is allocated to the Atlantic game, wherein the 700M capacity required by screen recording of the Atlantic game in the estimated end 5 minutes is smaller than the capacity of the expansion threshold 2G. Or when the expansion threshold is 500M, the capacity of 700M required for screen recording within 5 minutes of expected ending of the western-style mobile game is larger than the capacity of 500M, the capacity which can be expanded by the equipment can not allocate the storage space of screen recording data for the western-style mobile game any more, and the situation that a dynamic storage area can not be allocated for the western-style mobile game is determined.
Preferably, before setting the dynamic storage area in the user equipment, the method further comprises: predicting an end time of the current run of the application associated with the video data, determining to allocate a dynamic storage area for the user equipment and causing the acquisition service to acquire the video data according to the reduced frame rate and/or bit rate when it is determined that a size of the acquired run data within a time period from the current time to the end time of the current run is greater than an expansion threshold and less than an allowable threshold. In the application, for example, the running time of 15 minutes, the capacity of 2.5G required for screen recording within 5 minutes, the maximum value of the capacity which can be expanded by the device, i.e. the expansion threshold is 2G, the remaining storage capacity of the device, i.e. the minimum allowable threshold is 5G, the capacity of 2.5G required for screen recording within 5 minutes, the expansion threshold being greater than 2G and less than the minimum allowable threshold of 5G of the device, the application allocates a dynamic memory area for screen recording of a western mobile game, and, the acquisition service for screen recordings of a grand game reduces the frame rate and/or bit rate of the recordings, for example, the frame rate is adjusted from 25(fps) to 18(fps), and the bit rate is adjusted from 400(bps) to 320(bps), so as to reduce the screen recorded data of the western game of the mobile phone.
Preferably, the method further comprises determining the size of each sub-area in the plurality of sub-areas when the running data is stored in the base storage area in a segmented manner according to the dynamic configuration file. Preferably, the application further comprises the acquisition service performing segment recording using the same or different frame rate and/or bit rate for each of a plurality of segments of the operational data, and each segment is associated with a respective one of the plurality of elemental storage units. In the application, in order to conveniently process the running data acquired by the application to be processed, a segmented storage mode is adopted, and the data is stored in a plurality of segmented basic storage units. For example, the basic storage area of 1G is divided into 100M, 200M … … segments, where the frame rate and bit rate of screen recording in the corresponding basic storage unit of each segment may be the same or different, and an association relationship between each segment and the corresponding basic storage unit is established.
Preferably, the acquisition service records different video data using the same or different frame rates and/or bit rates, and each video data is associated with a respective sub-region of the plurality of sub-regions. In the present application, the acquisition service records different video data using the same or different frame rates and/or bit rates, where the setting of the frame rate and/or bit rate is related to the importance of recording screen data and the size of the remaining capacity of the storage space, and in the present application, each video data is associated with a corresponding sub-area of the plurality of sub-areas.
Preferably, the acquisition service is capable of performing content recognition on the acquired video data, and deleting the video data when it is determined that the video data in a specific sub-region is data unrelated to an application running in the user equipment. In the method, the acquired running data is identified through the acquisition service, namely the content of the screen recording data of the grand telephone western-game in the method is identified, when the screen recording data of the first sub-area is found to be irrelevant to the running data of the grand telephone western-game in the basic storage unit, and if the screen recording data is advertisement data, the screen recording data of the first sub-area is deleted.
Preferably, the acquisition service is capable of performing content recognition on the acquired video data, and deleting the video data when it is determined that the video data in a specific sub-region can be converted into single frame data related to an application running in the user equipment. In the application, the acquired running data is identified through the acquisition service, for example, content identification is performed on screen recorded data of a western mobile phone game, and if it is determined that the screen recorded data stored in a specific basic storage unit, for example, a basic storage unit of a fifth sub-area is screen recorded data when no operation is performed on the game, that is, screen recorded data of the western mobile phone game stored in the basic storage unit can be converted into single-frame data, so that the screen recorded data stored in the basic storage unit of the fifth sub-area is deleted.
Preferably, the acquisition service performs data compression on the video data stored in any of the plurality of sub-areas. In the application, the content stored in any one subregion of the segments is subjected to data compression through the acquisition service, for example, screen recording data of a western mobile game stored in a second subregion is subjected to compression processing, so that the storage space of the data is saved.
Preferably, at step 104: in response to receiving a generation indication for video data acquisition, dynamic presentation data for dynamic content presentation is generated based on the acquired video data. In the application, the acquired screen of the mobile game in western language is recorded to generate dynamic presentation data for presenting dynamic contents.
Preferably, at step 105: dynamic presentation data is transmitted to the network location for dynamic content presentation based on the data link. According to the method and the device, the generated dynamic presentation data of the western mobile phone is transmitted to the network position according to the data link so as to present dynamic content, namely the screen recorded content of the western mobile phone is dynamically presented in the network position.
Fig. 2 is a schematic diagram of video data as network recommendation data for dynamic content presentation according to a preferred embodiment of the present invention. As shown in fig. 2, the schematic diagram is a schematic diagram of network recommendation data performed on the data recorded on the mobile game running screen of the western mobile phone on the popularization platform of the western mobile phone game. In the grand game promotion platform 201, 202, 203 present the user with screen recorded data to the game promotion platform. The method comprises the steps of responding to a presentation request for receiving video data recorded by a western mobile phone screen to perform dynamic content presentation, determining a network position needing dynamic content presentation according to the presentation request, establishing data connection capable of being associated with a target subregion in a basic storage area in user equipment of a game according to the network position of the dynamic content presentation, and setting storage identifiers for the target subregion, wherein the network position is a western mobile phone game promotion platform, and the storage identifiers are 'western mobile phone game upgrade version' and 'wonderful game of western mobile phone game invite' in the application. The method starts screen data recording of a 'grand Chinese western game upgrade version' or 'grand Chinese western game wonderful game invite you' to acquire corresponding video data, stores screen recording data of the 'grand Chinese western game upgrade version' into a target sub-area corresponding to a basic storage area, and stores screen recording data of the 'grand Chinese western game wonderful game invite you' into the target sub-area corresponding to the basic storage area. The method generates dynamic presentation data of a 'grand Chinese western game upgrade version' and 'grand Chinese western game wonderful game invites you', and transmits the dynamic presentation data of the 'grand Chinese western game upgrade version' and 'grand Chinese western game wonderful game invites you' to a grand Chinese western game promotion platform to perform dynamic content presentation.
Fig. 3 is a schematic structural diagram of a system for dynamic content presentation based on video data according to a preferred embodiment of the present invention. According to the system for presenting dynamic content based on video data, which is provided by the embodiment of the invention, the response unit responds to the presentation request for receiving the dynamic presentation through the video data, the network position needing to be dynamically presented is determined according to the presentation request, the link unit of the application establishes the data link associated with the target sub-area in the basic storage area according to the network position, and sets the storage identifier for the target sub-area with the established data link. The method comprises the steps that an acquisition unit starts an acquisition service for acquiring video data, and when the target sub-area is determined not to store any data, the acquisition service acquires the video data by using a preset acquisition rule and stores the acquired video data in the target sub-area by using a storage identifier. The generation unit generates dynamic presentation data for presenting dynamic content based on the acquired video data in response to receiving a generation instruction for video data acquisition, and the presentation unit transmits the dynamic presentation data to a network location for presenting the dynamic content according to the data link. The application of the embodiment of the present invention may be a game application, such as 360 games, or a video playing application, an audio playing application, and a live playing application. The application takes the 360-degree game as the application to be processed, and the 360-degree game is subjected to screen recording during running to serve as the acquired running data for example. As shown in fig. 3, the system 300 includes:
the responding unit 301, in response to receiving a presentation request for dynamic content presentation through video data, determines a network location where dynamic content presentation is required according to the presentation request. Preferably, the presentation request comprises: a requestor that sends a rendering request and a network location where dynamic content rendering is needed. In the present application, when a 360 game (e.g., western language game) wishes to present a screen recording of the game play over a network, a presentation request for dynamic content presentation via video data is received. The presence request of the present application includes a requestor of the presence request. The requesting party may be, for example, a website capable of presenting data content, a messaging APP, or the like.
Preferably, video data is utilized therein as the network commentary data for dynamic content presentation. In the application, the screen recording data of the running of the Chinese western game can be used as the network comment data for dynamic content presentation. For example, the user obtains video data by recording a screen while running a western game for a mobile phone, and performs dynamic evaluation of the western game for a mobile phone by distributing the video data to the network.
Preferably, video data is utilized therein as network recommendation data for dynamic content presentation. In the application, when the screen data of the operation of the western mobile game of the mobile phone can be used as the recommendation data, the screen recording data of the operation of the western mobile game of the mobile phone can be used as the video data for displaying the dynamic content. For example, data is recorded through a screen of a western mobile game of the mobile phone, and the recorded screen data is issued to the network, so that recommendation of the western mobile game of the mobile phone is performed. Potential users can more intuitively know the running content of the game by watching the recommended western-style telephone screen recorded data, and the potential users can be attracted to know the game more deeply.
And a linking unit 302 for creating a data link capable of being associated with the target sub-area in the base storage area according to the network position and setting a storage identifier for the target sub-area. Preferably, the linking unit is further configured to: and creating a data link pointing to the network position for the target sub-area in the basic storage area, and displaying the storage identification at the network position where dynamic content presentation is needed after setting the storage identification for the target sub-area. In the method and the device, a data link which can be associated with a target sub-area in a basic storage area is created according to a network position to be presented by video data recorded on a screen, a data link pointing to the network position is created for the target sub-area in the basic storage area, and a storage identifier is displayed at the network position to be subjected to dynamic content presentation after the storage identifier is set for the target sub-area. In the application, network positions to be presented by a western mobile phone game, such as a game promotion platform, are subjected to data link of the game promotion platform and a target subregion in a basic storage area of user equipment, a data link pointing to the game promotion platform is created for the target subregion, and a storage identifier is set for the target subregion storing screen recording data during western mobile phone game running, and when the game promotion platform presents the screen recording data of western mobile phone game, the storage identifier of the "western mobile phone game updated version" is displayed.
The acquiring unit 303 starts an acquiring service for acquiring video data, and in a case where it is determined that the target sub-area does not store any data, the acquiring service acquires the video data using an acquiring rule set in advance and stores the acquired video data into the target sub-area using a storage identifier. Preferably, the obtaining unit is further configured wherein the obtaining service reads a preset obtaining rule profile and determines a preset obtaining rule related to the user equipment according to the obtaining rule profile. Preferably, the video data is recorded screen video data of the user equipment, and the acquisition rule includes at least one of: length of time, capacity limit, frame rate, and bit rate. According to the method and the device, an obtaining service for obtaining the recorded data of the screen of the western mobile phone is started, under the condition that the target sub-area for storing the recorded data is determined not to store any data, the obtaining service obtains the recorded data of the screen of the western mobile phone by using a preset obtaining rule, and stores the obtained video data into the target sub-area by using a storage identifier. In the present application, the acquisition service determines the acquisition rule related to the application according to the application identifier. The method and the device determine the acquisition rule related to the screen video data recording of the western Atlantic application according to the preset configuration file, and if the acquisition rule related to the screen video data recording of the western Atlantic application is as follows: time length 10 minutes, capacity limit 2G, frame rate: 16(fps), bit rate 360(bps), or other screen recording related rules.
Preferably, the obtaining unit is further configured to: after determining the preset acquisition rule related to the user equipment, the method further comprises the step that the acquisition service acquires the video data based on the acquisition rule after the preset time expires. In the application, after the obtaining rule of the application to be processed is determined, the obtaining service may further obtain the running data of the application to be processed according to the obtaining rule after the predetermined time expires. Namely, after the acquisition rule of the grand phone western-game is determined and the running time of the grand phone western-game reaches the preset time interval of 5 seconds, the acquisition service starts to record the screen of the grand phone game. The predetermined time period is preset and may be 1 second, 2 seconds, 5 seconds, 10 seconds or other predetermined time.
Preferably, the device further comprises a storage unit: when the basic storage capacity of the basic storage area is exhausted, a dynamic storage area is set in the user equipment, wherein the dynamic storage area is used for storing the additional video data. The method comprises the steps of allocating a basic storage area and a dynamic storage area for the applications needing to acquire the running data, wherein the basic storage area is used for storing basic running data associated with each application, and the dynamic storage area is used for storing additional running data associated with each application. For example, in the western language game, a user generally needs to record for 8 minutes, so a basic storage area with a capacity of 1G is allocated for the western language game, and in addition, due to uncertainty of running the game, screen recording of the western language game may be prolonged sometimes, for example, the screen recording continues for 2 minutes, so a dynamic storage area with a capacity of 300M is allocated for the western language game. Or 360 video applications, typically requiring 15 minutes of recording, the user allocates a base storage area of 1.5G capacity for 360 video, and sometimes may extend the screen recording of 360 video, e.g., continue recording for another 3 minutes, thus allocating a dynamic storage area of 400M capacity for 360 video. The capacity of the dynamic storage area can be adjusted according to the actual screen recording requirement of the application to be processed, so that the additional running data acquisition requirement of the application to be processed is met. When the application to be processed carries out screen recording during operation, the data recorded firstly is stored in the basic storage area, and when the basic storage area is full, the data recorded later is stored in the dynamic storage area.
Preferably, the storage unit is further configured to: determining that a remaining storage capacity of the user equipment is greater than an expansion threshold before setting the dynamic storage area in the user equipment. In the application, before the dynamic storage area is set in the user equipment, the expansion threshold value needed by the dynamic storage area needs to be compared with the remaining storage capacity of the user equipment, for example, when the expansion threshold value is required to be 2G, the remaining storage capacity of the user equipment is 10G, so that the dynamic storage area can be set. Or when the expansion threshold is required to be 2G, the residual storage capacity of the user equipment is 1G, so that the dynamic storage area cannot be set.
Preferably, the storage unit is further configured to: when the remaining capacity of the dynamic storage area is zero, the acquisition service stores the new video data in the base storage area in an overlay manner. In the application, when the residual capacity of the dynamic storage area of the application to be processed is zero, for example, when the allocated dynamic storage area is full of screen recording data of a western mobile phone game, the importance of the screen data recorded in the basic storage area before compared with the screen data recorded in the dynamic storage area after is low, when the dynamic storage area is full and the screen recording needs to be continued, the acquisition service stores new screen recording data associated with the western mobile phone application in the basic storage area, and the data stored in the basic storage area is covered by the newly recorded screen data.
Preferably, the storage unit is further configured to: when the remaining capacity of the dynamic storage area is zero, the acquisition service performs overlay storage of new video data in the dynamic storage area. In the application, when the residual capacity of the dynamic storage area of the application to be processed is zero, for example, when the allocated dynamic storage area is full of screen recording data of a western mobile phone game, the importance of the screen data recorded in the basic storage area before compared with the screen data recorded in the dynamic storage area after is higher, when the dynamic storage area is full and the screen recording needs to be continued, the acquisition service stores new screen recording data associated with the western mobile phone application in the dynamic storage area, and the data stored in the dynamic storage area is covered by the newly recorded screen data.
Preferably, the storage unit is further configured to: before a dynamic storage area is set in user equipment, the end time of the current operation of an application associated with video data is predicted, and when the size of operation data acquired in a time period from the current time to the end time of the current operation is determined to be smaller than or equal to an expansion threshold, the dynamic storage area is determined to be allocated. Preferably, the end time of the current run of the application associated with the video data is determined according to historical statistical data of the run end time of the application associated with the video data. In the application, the running end time of the application to be processed is counted, historical statistical data is recorded, and the running end time of the application to be processed is determined according to the historical statistical data when the application to be processed runs. For example, the western-style game of the Chinese language has the historical statistical data record that the running time of each game is 22:00 to 22:30, and the running time of the western-style game of the Chinese language can be predicted to be 30 minutes from 22:00 to 22:30 according to the historical statistical data. The method comprises the steps of evaluating the size of operation data acquired in a time period from the current time to the end time of the current operation, if the current time is 22:25, and if the time period is 5 minutes from the current time to the end time 22:30, the size of the acquired operation data is about 700M, comparing the size of 700M with the maximum value of the expandable capacity of equipment, namely an expansion threshold, and if the expansion threshold is 2G, determining that a dynamic storage area is allocated to the Atlantic game, wherein the 700M capacity required by screen recording of the Atlantic game in the estimated end 5 minutes is smaller than the capacity of the expansion threshold 2G. Or when the expansion threshold is 500M, the capacity of 700M required for screen recording within 5 minutes of expected ending of the western-style mobile game is larger than the capacity of 500M, the capacity which can be expanded by the equipment can not allocate the storage space of screen recording data for the western-style mobile game any more, and the situation that a dynamic storage area can not be allocated for the western-style mobile game is determined.
Preferably, the storage unit is further configured to: before setting a dynamic storage area in the user equipment, predicting the end time of the current operation of the application associated with the video data, and when determining that the size of the acquired operation data in the time period from the current time to the end time of the current operation is larger than an expansion threshold and smaller than an allowable threshold, determining to allocate the dynamic storage area for the user equipment and prompting the acquisition service to acquire the video data according to the reduced frame rate and/or bit rate. In the application, for example, the running time of 15 minutes, the capacity of 2.5G required for screen recording within 5 minutes, the maximum value of the capacity which can be expanded by the device, i.e. the expansion threshold is 2G, the remaining storage capacity of the device, i.e. the minimum allowable threshold is 5G, the capacity of 2.5G required for screen recording within 5 minutes, the expansion threshold being greater than 2G and less than the minimum allowable threshold of 5G of the device, the application allocates a dynamic memory area for screen recording of a western mobile game, and, the acquisition service for screen recordings of a grand game reduces the frame rate and/or bit rate of the recordings, for example, the frame rate is adjusted from 25(fps) to 18(fps), and the bit rate is adjusted from 400(bps) to 320(bps), so as to reduce the screen recorded data of the western game of the mobile phone.
Preferably, the system further comprises a storage unit: and determining the size of each sub-area in the plurality of sub-areas when the operating data is stored in the basic storage area in a segmented manner according to the dynamic configuration file. Preferably, the application further comprises the acquisition service performing segment recording using the same or different frame rate and/or bit rate for each of a plurality of segments of the operational data, and each segment is associated with a respective one of the plurality of elemental storage units. In the application, in order to conveniently process the running data acquired by the application to be processed, a segmented storage mode is adopted, and the data is stored in a plurality of segmented basic storage units. For example, the basic storage area of 1G is divided into 100M, 200M … … segments, where the frame rate and bit rate of screen recording in the corresponding basic storage unit of each segment may be the same or different, and an association relationship between each segment and the corresponding basic storage unit is established.
Preferably, the obtaining unit is further configured to: the acquisition service records different video data using the same or different frame rates and/or bit rates, and each video data is associated with a respective sub-region of the plurality of sub-regions. In the present application, the acquisition service records different video data using the same or different frame rates and/or bit rates, where the setting of the frame rate and/or bit rate is related to the importance of recording screen data and the size of the remaining capacity of the storage space, and in the present application, each video data is associated with a corresponding sub-area of the plurality of sub-areas.
Preferably, the obtaining unit is further configured to: the acquisition service is capable of performing content recognition on the acquired video data, and deleting the video data when it is determined that the video data in a specific sub-region is data unrelated to an application running in the user equipment. In the method, the acquired running data is identified through the acquisition service, namely the content of the screen recording data of the grand telephone western-game in the method is identified, when the screen recording data of the first sub-area is found to be irrelevant to the running data of the grand telephone western-game in the basic storage unit, and if the screen recording data is advertisement data, the screen recording data of the first sub-area is deleted.
Preferably, the obtaining unit is further configured to: the acquisition service is capable of performing content recognition on the acquired video data, and deleting the video data when it is determined that the video data in a specific sub-region can be converted into single frame data related to an application running in the user equipment. In the application, the acquired running data is identified through the acquisition service, for example, content identification is performed on screen recorded data of a western mobile phone game, and if it is determined that the screen recorded data stored in a specific basic storage unit, for example, a basic storage unit of a fifth sub-area is screen recorded data when no operation is performed on the game, that is, screen recorded data of the western mobile phone game stored in the basic storage unit can be converted into single-frame data, so that the screen recorded data stored in the basic storage unit of the fifth sub-area is deleted.
Preferably, the obtaining unit is further configured to: the acquisition service performs data compression on video data stored in any of the plurality of sub-regions. In the application, the content stored in any one subregion of the segments is subjected to data compression through the acquisition service, for example, screen recording data of a western mobile game stored in a second subregion is subjected to compression processing, so that the storage space of the data is saved.
A generation unit 304, in response to receiving a generation instruction for video data acquisition, generates dynamic presentation data for dynamic content presentation based on the acquired video data. In the application, the acquired screen of the mobile game in western language is recorded to generate dynamic presentation data for presenting dynamic contents.
The rendering unit 305 transmits the dynamic rendering data to a network location for dynamic content rendering according to the data link. According to the method and the device, the generated dynamic presentation data of the western mobile phone is transmitted to the network position according to the data link so as to present dynamic content, namely the screen recorded content of the western mobile phone is dynamically presented in the network position.
In another embodiment of the present invention, a mobile terminal is provided, which includes or is used for executing the system for dynamic content presentation based on video data.
Fig. 4 is a flowchart of a method for automatically acquiring operation data of an application according to a preferred embodiment of the present invention. According to the method for automatically acquiring the running data of the application, which is provided by the embodiment of the invention, the application identifier and the digital signature of the application to be processed are firstly acquired when the starting request of the application to be processed is received by monitoring the state of each application in a plurality of applications in user equipment. The method and the device for acquiring the running data of the application to be processed start the acquiring service for acquiring the running data of the application to be processed for the application to be processed passing the verification, determine the acquiring rule of the application to be processed according to the application identification of the application to be processed, and acquire the running data of the application to be processed based on the acquiring rule. And for the application to be processed which does not pass the verification, not starting an acquisition request for acquiring the running data. The application to be processed in the embodiment of the present invention may be a game application, such as 360 games, or a video playing application, an audio playing application, and a live playing application. The application takes the 360-degree game as the application to be processed, and the 360-degree game is subjected to screen recording during running to serve as the acquired running data for example. As shown in fig. 4, method 400 begins at step 401.
Preferably, in step 401: monitoring the state of each application in a plurality of applications in user equipment, and acquiring an application identifier and a digital signature of the application to be processed when a starting request of the application to be processed is received. Preferably, the application identification comprises an application name and/or an installation package name, and the digital signature is an authenticated electronic seal provided by the application provider. In the application, the application identifier may be an application name or an installation package name, such as a 360 game western game, and the application identifier is a western game of the mobile phone or an installation package of the western game of the mobile phone. However, in order to prevent the application from impersonating the application of western grand speech or the western grand speech installation package by renaming, the electronic seal provided by the game provider for western grand speech games is further obtained. The application uses a digital signature technology to verify the application to be processed. The digital signature technology can guarantee the integrity of the application and is also an identification to prevent the application from being impersonated by other applications. For example, if the western grand application holds the digital signature of the provider, the authenticity of the identity of the western grand application is guaranteed because the digital signature cannot be modified.
Preferably, the types of applications in the present application include game applications, video playback applications, audio playback applications, and live broadcast applications. The pending application of embodiments of the present invention may be a gaming application, such as 360 game, western game; or a video playback application, such as 360's fast video; an audio playback application; live applications, such as 360 Beijing hours.
Preferably, at step 402: and matching the application identification with a plurality of data items in a pre-stored configuration file. Preferably, the user device presets and stores the configuration file according to a user input, and wherein the data item is an application identification of an application for which the acquisition of the running data is required. In the method, the user equipment presets and stores the configuration file according to user input, and matches the application identification, such as the western mobile phone with a plurality of data items in the pre-configured configuration file to determine whether the application identification of the western mobile phone application has the data items which can be matched in the configuration file, and when the application identification of the western mobile phone application exists, the western mobile phone application is proved to have the authority of automatically acquiring running data. Or, if the application identifier of the continuous watching game is identified, the matched data item can not be found in the configuration file, so that the continuous watching game does not have the authority of acquiring the automatic screen recording.
Preferably, the determining, according to the application identifier, the provider identifier of the application to be processed includes: the application identification of the application to be processed is sent to an authentication server to query the provider identification of the application provider associated with the application to be processed. In the application, the application identifier of the application to be processed and the provider identifier of the application provider associated with the application to be processed are stored in the authentication server, and the application to be processed provides the application identifier of the application to be processed and inquires the provider identifier of the corresponding application provider through the authentication server. The application identifier or provider identifier may be a character string, a number, or a mixture of a character string and a number.
Preferably, in step 403: and when the matched data item is determined to exist, determining a provider identifier of the application to be processed according to the application identifier, and analyzing the digital signature to check the provider identifier, so as to verify the application to be processed. Preferably, wherein parsing the digital signature to verify the provider identification comprises: the digital signature is parsed to extract the provider identification recited in the digital signature, which is compared to the provider identification received from the authentication server. Preferably, when the provider identifier described in the digital signature is the same as the provider identifier received from the authentication server, it is determined that the pending application is verified. The method comprises the steps of analyzing the digital signature to obtain the provider identification recorded in the digital signature, and comparing the provider identification analyzed from the digital signature with the corresponding provider identification inquired from the authentication server according to the application identification. And when the provider identification recorded in the digital signature is consistent with the provider identification provided by the authentication server, determining that the application to be processed passes the verification. The application to be processed is an application which has the authority to automatically acquire running data, namely, the application which allows automatic screen recording, such as a 360-Athletic game application. If the provider identifier described in the digital signature is not identical to the provider identifier provided by the authentication server, the application may falsify the application identifier or the provider identifier, and the application is not allowed to perform automatic screen recording. According to the method and the device, the application which allows the operation data to be acquired is checked, so that the problem that the operation data of the application without the operation data acquisition permission is automatically acquired, and the waste of system resources is caused is avoided.
Preferably, at step 404: and when the application to be processed passes the verification, starting an acquisition service for acquiring the running data of the application to be processed. According to the method and the device, the application to be processed is verified, if the application identification and the digital signature of the western mobile phone are verified, and after the western mobile phone passes the verification, the screen recording service for acquiring the western mobile phone application in operation is started.
Preferably, at step 405: the acquisition service determines an acquisition rule related to the application to be processed according to the application identifier, and acquires the running data of the application to be processed based on the acquisition rule. Preferably, the determining, by the obtaining service, the obtaining rule related to the application to be processed according to the application identifier includes: the acquisition service retrieves the rule base according to the application identifier and determines an acquisition rule related to the application to be processed according to a retrieval result. Preferably, the operation data is recorded screen video data of the user equipment, and the acquisition rule includes at least one of: length of time, capacity limit, frame rate, and bit rate. In the application, the obtaining service determines the obtaining rule related to the application to be processed according to the application identifier. If the obtaining service searches in the rule base by using the application identifier according to the application identifier of the western mobile phone, and determines the obtaining rule related to the screen video data recording of the western mobile phone application according to the searching result, for example, the obtaining rule of the screen video data recording of the western mobile phone application is as follows: time length 10 minutes, capacity limit 2G, frame rate: 16(fps), bit rate 360(bps), or other screen recording related rules.
Preferably, after determining the acquisition rule related to the application to be processed, the method further comprises the step of acquiring the running data of the application to be processed based on the acquisition rule after the preset time expires. In the application, after the obtaining rule of the application to be processed is determined, the obtaining service may further obtain the running data of the application to be processed according to the obtaining rule after the predetermined time expires. Namely, after the acquisition rule of the grand phone western-game is determined and the running time of the grand phone western-game reaches the preset time interval of 5 seconds, the acquisition service starts to record the screen of the grand phone game. The predetermined time period is preset and may be 1 second, 2 seconds, 5 seconds, 10 seconds or other predetermined time.
Preferably, when the state of the application to be processed is switched from the foreground operation to the background operation, the acquisition service suspends acquiring the operation data. In the application, when the state of the application to be processed is switched from foreground operation to background operation, for example, when a user plays a western mobile phone game, the user connects a telephone and starts a period of conversation, the western mobile phone game can be switched to background operation, and when the western mobile phone game runs at the background, a screen does not need to be recorded. Therefore, the screen recording is automatically suspended, so that the situation that unnecessary screen data are recorded and the resources of the system are occupied is avoided.
Preferably, when the state of the application to be processed is switched from background operation to foreground operation, the obtaining service starts to obtain the operation data. In the method, when the user is disconnected from the call state, the mobile phone western-style game is switched from the background operation to the foreground operation, the user starts to continue to operate the mobile phone, and at the moment, the screen is required to be recorded.
Preferably, the present application allocates a base storage area and a dynamic storage area for each of a plurality of applications that require the acquisition of the operation data, wherein the base storage area is used for storing the base operation data associated with each application, and the dynamic storage area is used for storing the additional operation data associated with each application. The method and the device for obtaining the running data allocate a basic storage area and a dynamic storage area for each application in a plurality of applications needing to obtain the running data, wherein the basic storage area is used for storing basic running data associated with each application, and the dynamic storage area is used for storing additional running data associated with each application. For example, in the western language game, a user generally needs to record for 8 minutes, so a basic storage area with a capacity of 1G is allocated for the western language game, and in addition, due to uncertainty of running the game, screen recording of the western language game may be prolonged sometimes, for example, the screen recording continues for 2 minutes, so a dynamic storage area with a capacity of 300M is allocated for the western language game. Or 360 video applications, typically requiring 15 minutes of recording, the user allocates a base storage area of 1.5G capacity for 360 video, and sometimes may extend the screen recording of 360 video, e.g., continue recording for another 3 minutes, thus allocating a dynamic storage area of 400M capacity for 360 video. The capacity of the dynamic storage area can be adjusted according to the actual screen recording requirement of the application to be processed, so that the additional running data acquisition requirement of the application to be processed is met. When the application to be processed carries out screen recording during operation, the data recorded firstly is stored in the basic storage area, and when the basic storage area is full, the data recorded later is stored in the dynamic storage area.
Preferably, when the remaining capacity of the basic storage area of the application to be processed is zero, the obtaining service determines whether to allocate a dynamic storage area for the application to be processed according to a storage rule preset by a user or according to an operating state of the user equipment. In the application, when the residual capacity of the basic storage area of the application to be processed is zero, for example, when the capacity of the basic storage area 1G of the western mobile phone is fully stored, the obtaining service determines whether to allocate a dynamic storage area for the western mobile phone game according to the preset setting of the user, for example, the storage rule of the western mobile phone is that a screen is recorded for 10 minutes, the screen of the western mobile phone game is recorded for 8 minutes, the actual recording time of the western mobile phone game is less than the defined recording time of 10 minutes, and when the residual capacity does not exist in the basic storage area, the obtaining service allocates a 300M dynamic storage area for the western mobile phone game again, so that the western mobile phone game can complete the screen recording during the game operation according to the obtaining rule. According to the method and the device, when the residual capacity of the basic storage area of the application to be processed is zero, whether the dynamic storage area is allocated to the application to be processed or not can be determined by judging the running state of the user equipment. If the screen recording data of the western mobile game of the greater voice reaches 1G, but the device only runs for 80M of storage space, the dynamic storage area can not be continuously allocated to the western mobile game of the greater voice, and therefore, the dynamic storage area can not be allocated to the application to be processed any more. Or when the screen recording data of the western-style mobile game of the mobile phone reaches 1G, but 20G of storage space is left in the running of the equipment, the user equipment has enough storage space to allocate a dynamic storage area for the application to be processed, the acquisition service allocates a dynamic storage area of 800M for the western-style mobile game of the mobile phone, and the western-style mobile game of the mobile phone continues to record the screen data.
Preferably, the acquisition service stores new running data associated with the application to be processed in the base storage area in an overlay manner when the remaining capacity of the dynamic storage area of the application to be processed is zero. In the application, when the residual capacity of the dynamic storage area of the application to be processed is zero, for example, when the allocated dynamic storage area is full of screen recording data of a western mobile phone game, the importance of the screen data recorded in the basic storage area before compared with the screen data recorded in the dynamic storage area after is low, when the dynamic storage area is full and the screen recording needs to be continued, the acquisition service stores new screen recording data associated with the western mobile phone application in the basic storage area, and the data stored in the basic storage area is covered by the newly recorded screen data.
Preferably, when the remaining capacity of the dynamic storage area of the application to be processed is zero, the acquisition service performs overlay storage of new running data associated with the application to be processed in the dynamic storage area. In the application, when the residual capacity of the dynamic storage area of the application to be processed is zero, for example, when the allocated dynamic storage area is full of screen recording data of a western mobile phone game, the importance of the screen data recorded in the basic storage area before compared with the screen data recorded in the dynamic storage area after is higher, when the dynamic storage area is full and the screen recording needs to be continued, the acquisition service stores new screen recording data associated with the western mobile phone application in the dynamic storage area, and the data stored in the dynamic storage area is covered by the newly recorded screen data.
Preferably, the method further includes predicting the end time of the current operation of the application to be processed, and determining to allocate a dynamic storage area to the application to be processed when the size of the operation data acquired in the time period from the current time to the end time of the current operation is determined to be less than or equal to the expansion threshold. Preferably, the end time of the current running of the application to be processed is determined according to historical statistical data of the running end time of the application to be processed. In the application, the running end time of the application to be processed is counted, historical statistical data is recorded, and the running end time of the application to be processed is determined according to the historical statistical data when the application to be processed runs. For example, the western-style game of the Chinese language has the historical statistical data record that the running time of each game is 22:00 to 22:30, and the running time of the western-style game of the Chinese language can be predicted to be 30 minutes from 22:00 to 22:30 according to the historical statistical data. The method comprises the steps of evaluating the size of operation data acquired in a time period from the current time to the end time of the current operation, if the current time is 22:25, and if the time period is 5 minutes from the current time to the end time 22:30, the size of the acquired operation data is about 700M, comparing the size of 700M with the maximum value of the expandable capacity of equipment, namely an expansion threshold, and if the expansion threshold is 2G, determining that a dynamic storage area is allocated to the Atlantic game, wherein the 700M capacity required by screen recording of the Atlantic game in the estimated end 5 minutes is smaller than the capacity of the expansion threshold 2G. Or when the expansion threshold is 500M, the capacity of 700M required for screen recording within 5 minutes of expected ending of the western-style mobile game is larger than the capacity of 500M, the capacity which can be expanded by the equipment can not allocate the storage space of screen recording data for the western-style mobile game any more, and the situation that a dynamic storage area can not be allocated for the western-style mobile game is determined.
Preferably, the method further comprises predicting the end time of the current operation of the application to be processed, and when the size of the acquired operation data in the time period from the current time to the end time of the current operation is determined to be larger than the expansion threshold and smaller than the allowable threshold, determining to allocate a dynamic storage area for the application to be processed and causing the acquisition service to acquire the operation data according to the reduced frame rate and/or bit rate. In the application, for example, the running time of 15 minutes, the capacity of 2.5G required for screen recording within 5 minutes, the maximum value of the capacity which can be expanded by the device, i.e. the expansion threshold is 2G, the remaining storage capacity of the device, i.e. the minimum allowable threshold is 5G, the capacity of 2.5G required for screen recording within 5 minutes, the expansion threshold being greater than 2G and less than the minimum allowable threshold of 5G of the device, the application allocates a dynamic memory area for screen recording of a western mobile game, and, the acquisition service for screen recordings of a grand game reduces the frame rate and/or bit rate of the recordings, for example, the frame rate is adjusted from 25(fps) to 18(fps), and the bit rate is adjusted from 400(bps) to 320(bps), so as to reduce the screen recorded data of the western game of the mobile phone.
Preferably, the method further includes parsing preset storage information to determine a basic storage area for storing the operation data and having a basic storage capacity. In the application, preset storage information is analyzed, the data capacity of the screen recording storage information is analyzed according to the screen recording time, the recording frame rate and the bit rate of the application to be processed, for example, the screen recording for 10 minutes in the western mobile phone game is performed, the capacity required by the screen recording for the western mobile phone game is analyzed to be 1.5G according to the frame rate of 25(fps) and the bit rate of 380(bps), and therefore, a 1.5G basic storage area is allocated for the western mobile phone game.
Preferably, the method further includes determining a size of each basic storage unit in the plurality of basic storage units when the running data is stored in the basic storage area in a segmented manner according to the dynamic configuration file. Preferably, the application further comprises the acquisition service performing segment recording using the same or different frame rate and/or bit rate for each of a plurality of segments of the operational data, and each segment is associated with a respective one of the plurality of elemental storage units. In the application, in order to conveniently process the running data acquired by the application to be processed, a segmented storage mode is adopted, and the data is stored in a plurality of segmented basic storage units. For example, the basic storage area of 1G is divided into 100M, 200M … … segments, where the frame rate and bit rate of screen recording in the corresponding basic storage unit of each segment may be the same or different, and an association relationship between each segment and the corresponding basic storage unit is established.
Preferably, the acquiring service is capable of performing content identification on the acquired running data, and deleting the segment running data when the content of the segment running data in the specific basic storage unit is determined to be data unrelated to the application to be processed. In the method, the acquired running data is identified through the acquisition service, namely the content of the screen recording data of the grand telephone western-game in the method is identified, when the screen recording data of the first segment is found to be irrelevant to the running data of the grand telephone western-game in the basic storage unit, and if the screen recording data of the first segment is advertisement data, the screen recording data of the first segment is deleted.
Preferably, the acquisition service is capable of performing content identification on the acquired running data, and deleting the segmented running data when it is determined that the content of the segmented running data in the specific basic storage unit can be converted into single frame data related to the application to be processed. In the application, the acquired running data is identified through the acquisition service, for example, content identification is performed on screen recorded data of a western mobile phone game, if it is determined that the screen recorded data stored in a specific basic storage unit, for example, a fifth segmented basic storage unit is screen recorded data when no operation is performed on the game, that is, the screen recorded data of the western mobile phone game stored in the basic storage unit can be converted into single frame data, and therefore, the screen recorded data stored in the fifth segmented basic storage unit is deleted.
Preferably, the acquisition service performs data compression on the content stored in any of the plurality of segments. In the application, the content stored in any one of the plurality of segments is subjected to data compression through the acquisition service, for example, screen recording data of a mobile phone western game stored in the second segment is subjected to compression processing, so that the storage space of the data is saved.
Preferably, the method further comprises creating a floating display window in a display area of the user equipment, wherein the floating display window is used for playing the operation data acquired by the acquisition service. According to the method and the device, the suspension display window is established in the display area of the user equipment, the operation data acquired by the acquisition service, namely the data recorded by the screen, are displayed in the suspension window, and the synchronous display of the screen recorded data is realized.
FIG. 5 is a schematic diagram of allocation of storage areas for storing operating data of an automatically acquired application according to a preferred embodiment of the present invention. As shown in fig. 5, the present application allocates a base storage area 501 and a dynamic storage area 502 for each application in a plurality of applications that require operation data acquisition, where the base storage area 501 is used to store base operation data associated with each application, and the dynamic storage area 502 is used to store additional operation data associated with each application. For example, in the western language game, the user generally needs to record for 8 minutes, so a basic storage area 501 with a capacity of 1G is allocated for the western language game, and in addition, due to uncertainty of running the game, the screen recording of the western language game may be prolonged sometimes, for example, the screen recording continues for another 2 minutes, so a dynamic storage area 502 with a capacity of 300M is allocated for the western language game. The capacity of the dynamic storage area can be adjusted according to the actual screen recording requirement of the application to be processed, so that the additional running data acquisition requirement of the application to be processed is met. When the application to be processed carries out screen recording during operation, the data recorded firstly is stored in the basic storage area, and when the basic storage area is full, the data recorded later is stored in the dynamic storage area. When the screen recording data stored in the basic storage area 501 and the dynamic storage area 502 have no residual capacity, but the screen recording of the application to be processed is required to be continued, judging the importance programs of the screen recording data stored in the basic storage area 501 and the dynamic storage area 502, if the importance of the data stored in the basic storage area 501 is low, performing overlay processing on the data stored in the basic storage area 501 by the screen data which is continuously recorded; or the importance of the data stored in the dynamic storage area 502 is low, the screen data to be recorded continuously performs overlay processing on the data stored in the dynamic storage area 502.
Fig. 6 is a schematic diagram illustrating a structure of dividing a basic memory area into a plurality of basic memory cells according to a preferred embodiment of the present invention. As shown in fig. 6, in the present application, in order to facilitate processing of the running data obtained by the application to be processed, a basic storage area is used for segmentation, and a segmented storage manner is used to store the data in a plurality of segmented basic storage units. For example, the basic memory area of 1G is divided into 100M of the first segment basic memory unit 601, 100M of the second segment basic memory unit 602, 100M of the third segment basic memory unit 603, 200M of the fourth segment basic memory unit 604, 200M of the fifth segment basic memory unit 605, and 200M of the sixth segment basic memory unit 606 … …. Before the operation of the grand game is started, the capacity of the basic memory units 601, 602, and 603 is divided into 100M due to the instability of the operation, which facilitates the handling of unstable data. When the grand game is running for a while, the application runs relatively stably, and the capacity of the basic storage units 604, 605 and 606 is divided into 200M. At the end of the screen recording, the data is relatively unstable, dividing the capacity of the basic storage units 607 and 608 into 100M. The frame rate and the bit rate of the screen recording in the corresponding basic storage unit of each segment may be the same or different, and the association relationship between each segment and the corresponding basic storage unit is established. In the present application, if it is found that the screen recording data stored in the first segment basic storage unit 601 can be converted into single frame data, the screen recording data stored in the first segment basic storage unit 601 is deleted. If the screen recording data stored in the second segment basic storage unit 602 is found to be data unrelated to the running data of the mobile game application, the screen recording data stored in the second segment basic storage unit 602 is deleted. The present application may also perform compression processing on data stored in any one or more segments of the first segment basic storage unit 601 to the eighth segment basic storage unit 608 by obtaining a service.
Fig. 7 is a schematic configuration diagram of a system for automatically acquiring operation data of an application according to a preferred embodiment of the present invention. According to the system for automatically acquiring the running data of the application, which is provided by the embodiment of the invention, the monitoring unit monitors the state of each application in a plurality of applications in the user equipment, and when a starting request of the application to be processed is received, the application identifier and the digital signature of the application to be processed are firstly acquired. The embodiment of the invention verifies the application identifier and the digital signature of the application to be processed through the verification unit to determine whether the application to be processed is the application needing to automatically acquire the running data of the application, starts the acquisition service for acquiring the running data of the application to be processed through the starting unit for the application to be processed passing the verification, determines the acquisition rule of the application to be processed according to the application identifier of the application to be processed through the acquisition unit, and acquires the running data of the application to be processed based on the acquisition rule. And for the application to be processed which does not pass the verification, not starting an acquisition request for acquiring the running data. The application to be processed in the embodiment of the present invention may be a game application, such as 360 games, or a video playing application, an audio playing application, and a live playing application. The application takes the 360-degree game as the application to be processed, and the 360-degree game is subjected to screen recording during running to serve as the acquired running data for example. As shown in fig. 7, the system 700 includes:
the monitoring unit 701 monitors a state of each application in a plurality of applications in the user equipment, and obtains an application identifier and a digital signature of the application to be processed when a start request of the application to be processed is received. Preferably, the application identification comprises an application name and/or an installation package name, and the digital signature is an authenticated electronic seal provided by the application provider. In the application, the application identifier may be an application name or an installation package name, such as a 360 game western game, and the application identifier is a western game of the mobile phone or an installation package of the western game of the mobile phone. However, in order to prevent the application from pretending to be the application of the western mobile game of the Chinese or the western mobile installation package of the Chinese by renumbering, the electronic seal provided by the game provider for the western mobile game of the Chinese is further obtained. The application uses a digital signature technology to verify the application to be processed. The digital signature technology can guarantee the integrity of the application and is also an identification to prevent the application from being impersonated by other applications. For example, if the western grand application holds the digital signature of the provider, the authenticity of the identity of the western grand application is guaranteed because the digital signature cannot be modified.
Preferably, the types of applications in the present application include game applications, video playback applications, audio playback applications, and live broadcast applications. The pending application of embodiments of the present invention may be a gaming application, such as 360 game, western game; or a video playback application, such as 360's fast video; an audio playback application; live applications, such as 360 Beijing hours.
The matching unit 702 matches the application identifier with a plurality of data items in a pre-stored configuration file. Preferably, the application includes a configuration unit, configured to preset and store a configuration file according to a user input by a user device, and the data item is an application identifier of an application that needs to perform the acquisition of the running data. In the method, the user equipment presets and stores the configuration file according to user input, and matches the application identification, such as the western mobile phone with a plurality of data items in the pre-configured configuration file to determine whether the application identification of the western mobile phone application has the data items which can be matched in the configuration file, and when the application identification of the western mobile phone application exists, the western mobile phone application is proved to have the authority of automatically acquiring running data. Or, if the application identifier of the continuous watching game is identified, the matched data item can not be found in the configuration file, so that the continuous watching game does not have the authority of acquiring the automatic screen recording.
Preferably, the verification unit 703 is further configured to: the application identification of the application to be processed is sent to an authentication server to query the provider identification of the application provider associated with the application to be processed. In the application, the application identifier of the application to be processed and the provider identifier of the application provider associated with the application to be processed are stored in the authentication server, and the application to be processed provides the application identifier of the application to be processed and inquires the provider identifier of the corresponding application provider through the authentication server. The application identifier or provider identifier may be a character string, a number, or a mixture of a character string and a number.
The verification unit 703 determines the provider identifier of the application to be processed according to the application identifier when it is determined that there is a matching data item, and analyzes the digital signature to check the provider identifier, thereby performing verification on the application to be processed. Preferably, wherein parsing the digital signature to verify the provider identification comprises: the digital signature is parsed to extract the provider identification recited in the digital signature, which is compared to the provider identification received from the authentication server. Preferably, when the provider identifier described in the digital signature is the same as the provider identifier received from the authentication server, it is determined that the pending application is verified. The method comprises the steps of analyzing the digital signature to obtain the provider identification recorded in the digital signature, and comparing the provider identification analyzed from the digital signature with the corresponding provider identification inquired from the authentication server according to the application identification. And when the provider identification recorded in the digital signature is consistent with the provider identification provided by the authentication server, determining that the application to be processed passes the verification. The application to be processed is an application which has the authority to automatically acquire running data, namely, the application which allows automatic screen recording, such as a 360-Athletic game application. If the provider identifier described in the digital signature is not identical to the provider identifier provided by the authentication server, the application may falsify the application identifier or the provider identifier, and the application is not allowed to perform automatic screen recording. According to the method and the device, the application which allows the operation data to be acquired is checked, so that the problem that the operation data of the application without the operation data acquisition permission is automatically acquired, and the waste of system resources is caused is avoided.
The starting unit 704 starts an acquisition service for acquiring the running data of the application to be processed when the application to be processed passes the verification. According to the method and the device, the application to be processed is verified, if the application identification and the digital signature of the western mobile phone are verified, and after the western mobile phone passes the verification, the screen recording service for acquiring the western mobile phone application in operation is started.
The obtaining unit 705 determines, by the obtaining service, an obtaining rule related to the application to be processed according to the application identifier, and obtains the operation data of the application to be processed based on the obtaining rule. Preferably, the obtaining service searches the rule base according to the application identifier, and determines the obtaining rule related to the application to be processed according to the search result. Preferably, the operation data is recorded screen video data of the user equipment, and the acquisition rule includes at least one of: length of time, capacity limit, frame rate, and bit rate. In the application, the obtaining service determines the obtaining rule related to the application to be processed according to the application identifier. If the obtaining service searches in the rule base by using the application identifier according to the application identifier of the western mobile phone, and determines the obtaining rule related to the screen video data recording of the western mobile phone application according to the searching result, for example, the obtaining rule of the screen video data recording of the western mobile phone application is as follows: time length 10 minutes, capacity limit 2G, frame rate: 16(fps), bit rate 360(bps), or other screen recording related rules.
Preferably, the obtaining unit 705 is further configured to: after determining the acquisition rule related to the application to be processed, the method further comprises the step that the acquisition service acquires the running data of the application to be processed based on the acquisition rule after the preset time expires. In the application, after the obtaining rule of the application to be processed is determined, the obtaining service may further obtain the running data of the application to be processed according to the obtaining rule after the predetermined time expires. Namely, after the acquisition rule of the grand phone western-game is determined and the running time of the grand phone western-game reaches the preset time interval of 5 seconds, the acquisition service starts to record the screen of the grand phone game. The predetermined time period is preset and may be 1 second, 2 seconds, 5 seconds, 10 seconds or other predetermined time.
Preferably, the obtaining unit 705 is further configured to: and when the state of the application to be processed is switched from foreground operation to background operation, the acquisition service suspends the acquisition of the operation data. In the application, when the state of the application to be processed is switched from foreground operation to background operation, for example, when a user plays a western mobile phone game, the user connects a telephone and starts a period of conversation, the western mobile phone game can be switched to background operation, and when the western mobile phone game runs at the background, a screen does not need to be recorded. Therefore, the screen recording is automatically suspended, so that the situation that unnecessary screen data are recorded and the resources of the system are occupied is avoided.
Preferably, the obtaining unit 705 is further configured to: when the state of the application to be processed is switched from background operation to foreground operation, the acquisition service starts to acquire the operation data. In the method, when the user is disconnected from the call state, the mobile phone western-style game is switched from the background operation to the foreground operation, the user starts to continue to operate the mobile phone, and at the moment, the screen is required to be recorded.
Preferably, the present application further comprises a storage unit: a base storage area and a dynamic storage area are allocated to each of a plurality of applications requiring the acquisition of the operation data, wherein the base storage area is used for storing base operation data associated with each application, and the dynamic storage area is used for storing additional operation data associated with each application. The method and the device for obtaining the running data allocate a basic storage area and a dynamic storage area for each application in a plurality of applications needing to obtain the running data, wherein the basic storage area is used for storing basic running data associated with each application, and the dynamic storage area is used for storing additional running data associated with each application. For example, in the western language game, a user generally needs to record for 8 minutes, so a basic storage area with a capacity of 1G is allocated for the western language game, and in addition, due to uncertainty of running the game, screen recording of the western language game may be prolonged sometimes, for example, the screen recording continues for 2 minutes, so a dynamic storage area with a capacity of 300M is allocated for the western language game. Or 360 video applications, typically requiring 15 minutes of recording, the user allocates a base storage area of 1.5G capacity for 360 video, and sometimes may extend the screen recording of 360 video, e.g., continue recording for another 3 minutes, thus allocating a dynamic storage area of 400M capacity for 360 video. The capacity of the dynamic storage area can be adjusted according to the actual screen recording requirement of the application to be processed, so that the additional running data acquisition requirement of the application to be processed is met. When the application to be processed carries out screen recording during operation, the data recorded firstly is stored in the basic storage area, and when the basic storage area is full, the data recorded later is stored in the dynamic storage area.
Preferably, the storage unit is further configured to: when the residual capacity of the basic storage area of the application to be processed is zero, the acquisition service determines whether to allocate a dynamic storage area to the application to be processed according to a storage rule preset by a user or according to the running state of user equipment. In the application, when the remaining capacity of the basic storage area of the application to be processed is zero, for example, when the capacity of the basic storage area 1G of the western mobile phone is fully stored, the obtaining service determines whether to allocate a dynamic storage area for the western mobile phone game according to a storage rule preset by a user, for example, a western mobile phone screen is recorded for 10 minutes, a western mobile phone game screen is recorded for 8 minutes, the actual recording time of the western mobile phone game is less than the defined recording time of 10 minutes, and when the remaining capacity does not exist in the basic storage area, the obtaining service allocates a 300M dynamic storage area for the western mobile phone game again, so that the western mobile phone game can complete the screen recording during game operation. According to the method and the device, when the residual capacity of the basic storage area of the application to be processed is zero, whether the dynamic storage area is allocated to the application to be processed or not can be determined by judging the running state of the user equipment. If the screen recording data of the western mobile game of the greater voice reaches 1G, but the device only runs for 80M of storage space, the dynamic storage area can not be continuously allocated to the western mobile game of the greater voice, and therefore, the dynamic storage area can not be allocated to the application to be processed any more. Or when the screen recording data of the western-style mobile game of the mobile phone reaches 1G, but 20G of storage space is left in the running of the equipment, the user equipment has enough storage space to allocate a dynamic storage area for the application to be processed, the acquisition service allocates a dynamic storage area of 800M for the western-style mobile game of the mobile phone, and the western-style mobile game of the mobile phone continues to record the screen data.
Preferably, the storage unit is further configured to: when the remaining capacity of the dynamic storage area of the application to be processed is zero, the acquisition service stores new run data associated with the application to be processed in an overlay manner into the base storage area. In the application, when the residual capacity of the dynamic storage area of the application to be processed is zero, for example, when the allocated dynamic storage area is full of screen recording data of a western mobile phone game, the importance of the screen data recorded in the basic storage area before compared with the screen data recorded in the dynamic storage area after is low, when the dynamic storage area is full and the screen recording needs to be continued, the acquisition service stores new screen recording data associated with the western mobile phone application in the basic storage area, and the data stored in the basic storage area is covered by the newly recorded screen data.
Preferably, the storage unit is further configured to: when the residual capacity of the dynamic storage area of the application to be processed is zero, the acquisition service performs overlay storage on new running data associated with the application to be processed in the dynamic storage area. In the application, when the residual capacity of the dynamic storage area of the application to be processed is zero, for example, when the allocated dynamic storage area is full of screen recording data of a western mobile phone game, the importance of the screen data recorded in the basic storage area before compared with the screen data recorded in the dynamic storage area after is higher, when the dynamic storage area is full and the screen recording needs to be continued, the acquisition service stores new screen recording data associated with the western mobile phone application in the dynamic storage area, and the data stored in the dynamic storage area is covered by the newly recorded screen data.
Preferably, the storage unit is further configured to: and predicting the end time of the current operation of the application to be processed, and determining to allocate a dynamic storage area for the application to be processed when the size of the acquired operation data in the time period from the current time to the end time of the current operation is less than or equal to an expansion threshold. Preferably, the end time of the current running of the application to be processed is determined according to historical statistical data of the running end time of the application to be processed. In the application, the running end time of the application to be processed is counted, historical statistical data is recorded, and the running end time of the application to be processed is determined according to the historical statistical data when the application to be processed runs. For example, the western-style game of the Chinese language has the historical statistical data record that the running time of each game is 22:00 to 22:30, and the running time of the western-style game of the Chinese language can be predicted to be 30 minutes from 22:00 to 22:30 according to the historical statistical data. The method comprises the steps of evaluating the size of operation data acquired in a time period from the current time to the end time of the current operation, if the current time is 22:25, and if the time period is 5 minutes from the current time to the end time 22:30, the size of the acquired operation data is about 700M, comparing the size of 700M with the maximum value of the expandable capacity of equipment, namely with an expansion threshold, if the expansion threshold is 2G, determining that the 700M capacity required by screen recording of the western-style game in the estimated end 5 minutes is less than the capacity of the expansion threshold 2G, and determining that a dynamic storage area is allocated to the western-style game. Or when the expansion threshold is 500M, the capacity of 700M required for screen recording within 5 minutes of expected ending of the western-style mobile game is larger than the capacity of 500M, the capacity which can be expanded by the equipment can not allocate the storage space of screen recording data for the western-style mobile game any more, and the situation that a dynamic storage area can not be allocated for the western-style mobile game is determined.
Preferably, the storage unit is further configured to: predicting the end time of the current operation of the application to be processed, and when determining that the size of the acquired operation data in the time period from the current time to the end time of the current operation is greater than the expansion threshold and less than the allowable threshold, determining to allocate a dynamic storage area for the application to be processed and causing the acquisition service to acquire the operation data according to the reduced frame rate and/or bit rate. In the application, for example, the running time of 15 minutes, the capacity of 2.5G required for screen recording within 5 minutes, the maximum value of the capacity which can be expanded by the device, i.e. the expansion threshold is 2G, the remaining storage capacity of the device, i.e. the minimum allowable threshold is 5G, the capacity of 2.5G required for screen recording within 5 minutes, the expansion threshold being greater than 2G and less than the minimum allowable threshold of 5G of the device, the application allocates a dynamic memory area for screen recording of a western mobile game, and, the acquisition service for screen recordings of a grand game reduces the frame rate and/or bit rate of the recordings, for example, the frame rate is adjusted from 25(fps) to 18(fps), and the bit rate is adjusted from 400(bps) to 320(bps), so as to reduce the screen recorded data of the western game of the mobile phone.
Preferably, the present application further comprises a storage unit: the preset storage information is parsed to determine a basic storage area for storing the operation data and having a basic storage capacity. In the application, preset storage information is analyzed, the data capacity of the screen recording storage information is analyzed according to the screen recording time, the recording frame rate and the bit rate of the application to be processed, for example, the screen recording for 10 minutes in the western mobile phone game is performed, the capacity required by the screen recording for the western mobile phone game is analyzed to be 1.5G according to the frame rate of 25(fps) and the bit rate of 380(bps), and therefore, a 1.5G basic storage area is allocated for the western mobile phone game.
Preferably, the device further comprises a storage unit: and determining the size of each basic storage unit in the plurality of basic storage units when the operating data is stored in the basic storage area in a segmented manner according to the dynamic configuration file. Preferably, the obtaining unit 405 in this application is further configured to: the acquisition service performs segment recording using the same or different frame rate and/or bit rate for each of a plurality of segments of the operational data, and each segment is associated with a respective one of a plurality of elemental storage units. In the application, in order to conveniently process the running data acquired by the application to be processed, a segmented storage mode is adopted, and the data is stored in a plurality of segmented basic storage units. For example, the basic storage area of 1G is divided into 100M, 200M … … segments, where the frame rate and bit rate of screen recording in the corresponding basic storage unit of each segment may be the same or different, and an association relationship between each segment and the corresponding basic storage unit is established.
Preferably, the obtaining unit 705 is further configured to: the acquisition service can perform content identification on the acquired running data, and delete the segmented running data when the content of the segmented running data in the specific basic storage unit is determined to be data irrelevant to the application to be processed. In the method, the acquired running data is identified through the acquisition service, namely the content of the screen recording data of the grand telephone western-game in the method is identified, when the screen recording data of the first segment is found to be irrelevant to the running data of the grand telephone western-game in the basic storage unit, and if the screen recording data of the first segment is advertisement data, the screen recording data of the first segment is deleted.
Preferably, the obtaining unit 705 is further configured to: the acquisition service can perform content identification on the acquired running data, and delete the segmented running data when the content of the segmented running data in a specific basic storage unit is determined to be capable of being converted into single-frame data related to the application to be processed. In the application, the acquired running data is identified through the acquisition service, for example, content identification is performed on screen recorded data of a western mobile phone game, if it is determined that the screen recorded data stored in a specific basic storage unit, for example, a fifth segmented basic storage unit is screen recorded data when no operation is performed on the game, that is, the screen recorded data of the western mobile phone game stored in the basic storage unit can be converted into single frame data, and therefore, the screen recorded data stored in the fifth segmented basic storage unit is deleted.
Preferably, the obtaining unit 705 is further configured to: the acquisition service performs data compression on content stored in any of the plurality of segments. In the application, the content stored in any one of the plurality of segments is subjected to data compression through the acquisition service, for example, screen recording data of a mobile phone western game stored in the second segment is subjected to compression processing, so that the storage space of the data is saved.
Preferably, the present application further comprises a playback unit: and creating a floating display window in a display area of the user equipment, wherein the floating display window is used for playing the operation data acquired by the acquisition service. According to the method and the device, the suspension display window is established in the display area of the user equipment, the operation data acquired by the acquisition service, namely the data recorded by the screen, are displayed in the suspension window, and the synchronous display of the screen recorded data is realized.
According to another embodiment of the present invention, a mobile terminal is provided, which includes or is used for executing the system for automatically acquiring the running data of the application.
FIG. 8 is a flow chart of a method of obtaining operational data based on storage capacity in accordance with a preferred embodiment of the present invention. According to the method for acquiring the running data based on the storage capacity, which is provided by the embodiment of the invention, the acquisition service for acquiring the running data of the application to be processed of the user equipment is operated by responding to the starting of the user equipment and the loading completion of the system service. The embodiment of the invention analyzes the preset storage information, acquires the capacity of the storage information, and determines a basic storage area which is used for storing the operation data and has the basic storage capacity. The method and the device for the dynamic storage of the operating data determine the size of each basic storage unit in a plurality of basic storage units when the operating data is stored in a segmented mode in the basic storage area according to the dynamic configuration file, and further determine the storage rule for the dynamic storage when the basic storage capacity of the basic storage area is used up. According to the embodiment of the invention, the residual storage capacity of the basic storage area is monitored in real time, when the residual storage capacity is monitored to be lower than the threshold value, the storage preparation action associated with dynamic storage is carried out according to the storage rule, and dynamic storage is carried out according to the storage rule when the basic storage capacity is used up. The embodiment of the invention realizes that the basic storage unit can be allocated according to the acquired operation data, and when the capacity of the basic storage unit is used up, the operation data can be dynamically stored according to the storage rule. In the application, the user equipment can be a mobile phone, an IPD, an automobile data recorder and the like. As shown in fig. 8, method 800 begins at step 801.
Preferably, at step 801: and responding to the starting of the user equipment and the loading completion of the system service, and running an acquisition service for acquiring the running data of the user equipment. Preferably, in response to the user device booting, the boot chip function reads the boot program from the read only memory and loads the boot program into the memory. Preferably, after the boot program is loaded into the random access memory, the boot program initializes the stack and hardware devices required to run the kernel program. Preferably, after initialization, a kernel program is run, which sets up the cache, sets up the protected memory, sets up the plan list, and loads the drivers, and loads the system services. In this application, when power is pressed, the boot chip function starts reading the boot program from the predefined ROM and loading the boot program into the memory, and then executes. After the bootstrap program is loaded into the random access memory, the bootstrap program initializes the stack and the hardware equipment required by the running of the kernel program, and after the initialization is finished, the kernel program is run, and the cache, the protected memory, the plan list and the system service are set and loaded through the kernel program. In the present application, an acquisition service for acquiring operation data of the user equipment is run in response to the completion of the start of the user equipment and the loading of the system service. In the application, after the user equipment such as a mobile phone is opened, the data acquisition service starts to be operated, the application exemplifies screen recording of the mobile phone, and after the mobile phone is started and the function of the system service is loaded, the screen of the mobile phone is recorded through the acquisition service.
Preferably, at step 802: the preset storage information is parsed to determine a basic storage area for storing the operation data and having a basic storage capacity. Preferably, the user device sets the storage information in advance according to the user input and stores the storage information in the user device. Preferably, storing the information comprises: the starting address of the base memory region and the base memory capacity. In the application, the storage information is preset through user input, and the storage information comprises an initial address and basic storage capacity of data storage after screen recording is performed by user equipment, for example, the storage information of the data storage is set as: video storage space, 5G capacity. According to the method and the device, the capacity of a basic storage area for storing screen recording data is determined to be 5G for a user according to the analyzed storage information.
Preferably, at step 803: and determining the size of each basic storage unit in the plurality of basic storage units when the operating data is stored in the basic storage area in a segmented manner according to the dynamic configuration file, and determining a storage rule for dynamic storage when the basic storage capacity of the basic storage area is used up. In the application, in order to conveniently process the running data acquired by the application to be processed, a segmented storage mode is adopted, and the data recorded on the screen are stored in a plurality of segmented basic storage units. For example, the basic storage area of 1G is divided into 100M, 200M … … segments, where the frame rate and bit rate of screen recording in the corresponding basic storage unit of each segment may be the same or different, and an association relationship between each segment and the corresponding basic storage unit is established. Preferably, when the remaining capacity of the basic storage area of the application to be processed is zero, the obtaining service determines whether to allocate a dynamic storage area for the application to be processed according to a storage rule preset by a user or according to an operating state of the user equipment.
Preferably, the determining the storage rule for dynamic storage when the base storage capacity of the base storage area is exhausted comprises: when the basic storage capacity of the basic storage area is exhausted, a dynamic storage area is set in the user equipment, wherein the dynamic storage area is used for storing additional operation data associated with the user equipment. In the application, when the remaining capacity of the basic storage area of the user equipment is zero, for example, when the capacity of the basic storage area 5G of the user equipment is fully stored, the acquisition service determines whether to allocate a dynamic storage area for the user equipment according to a storage rule preset by a user, for example, the acquisition rule for screen recording of the user equipment is screen recording for 10 minutes, the current screen recording of the user equipment is finished for 8 minutes, the actual recording time of the screen of the user equipment is less than the recording time of 10 minutes defined in the acquisition rule, and when the remaining capacity does not exist in the basic storage area, the acquisition service allocates a 300M dynamic storage area for the screen recording of the user equipment, so that the user equipment can complete screen recording during operation of the user equipment according to the acquisition rule. According to the method and the device, when the residual capacity of the basic storage area of the application to be processed is zero, whether the dynamic storage area is allocated to the application to be processed or not can be determined by judging the running state of the user equipment. If the screen recording data of the user equipment reaches 5G, but the equipment only has 200M of storage space left in operation, the dynamic storage area cannot be allocated to the user equipment, and therefore, the dynamic storage area cannot be allocated to the application to be processed any more. Or when the screen recording data of the user equipment reaches 5G, but 20G of storage space is left in the operation of the equipment, the user equipment has sufficient storage space to allocate a dynamic storage area for the application to be processed, the acquisition service allocates an 800M dynamic storage area for the screen recording of the user equipment, and the user equipment continues to record the screen data.
Preferably, before setting the dynamic storage area in the user equipment, the method further comprises: determining that the remaining storage capacity of the user equipment is greater than an expansion threshold. In the application, before the dynamic storage area is set in the user equipment, the expansion threshold value needed by the dynamic storage area needs to be compared with the remaining storage capacity of the user equipment, for example, when the expansion threshold value is required to be 2G, the remaining storage capacity of the user equipment is 10G, so that the dynamic storage area can be set. Or when the expansion threshold is required to be 2G, the residual storage capacity of the user equipment is 1G, so that the dynamic storage area cannot be set.
Preferably, the acquisition service determines a dynamic storage area for running data according to a storage rule of the dynamic storage, and initializes the dynamic storage area. Preferably, the acquisition service stores the acquired new operation data in the dynamic storage area when the dynamic storage area is initialized and the base storage capacity is exhausted. In the application, the acquisition service determines a dynamic storage area for storing screen recording data of the device according to a dynamic storage rule, the dynamic storage area is used for storing the screen recording data in the dynamic storage area when the amount of the data stored in the basic storage area is full and the user equipment continues to record the screen, and the dynamic storage area can also be initialized in advance, for example, the capacity of the dynamic storage area is determined to be 1G.
Preferably, at step 804: the method includes monitoring the remaining storage capacity of the base storage area in real time, performing a storage preparation action associated with dynamic storage according to a storage rule when the remaining storage capacity is below a threshold, and performing dynamic storage according to the storage rule when the base storage capacity is exhausted. In the application, the residual storage capacity of the basic storage area is monitored in real time, when the residual capacity of the basic storage area of the user equipment is lower than a threshold value, for example, when the residual capacity of the basic storage area 5G of the user equipment is lower than the threshold value, the acquisition service determines whether to allocate a dynamic storage area to the user equipment according to a storage rule preset by a user, for example, when a screen of the user equipment is recorded for 10 minutes, the screen of the user equipment is recorded for 8 minutes, and the actual recording time of the user equipment is less than the defined recording time of 10 minutes, and when the residual capacity of the basic storage area is lower than the threshold value, the acquisition service allocates a 300M dynamic storage area to the user equipment again, so that the user equipment can complete screen recording according to the storage rule. According to the method and the device, when the residual capacity of the basic storage area of the application to be processed is lower than the threshold value, whether the dynamic storage area is allocated to the user equipment or not can be determined by judging the running state of the user equipment. If the screen recording data of the user equipment reaches 5G, but the equipment only has 800M of storage space left in operation, the dynamic storage area cannot be allocated to the user equipment, and therefore, the dynamic storage area cannot be allocated to the application to be processed any more. Or when the screen recording data of the user equipment reaches 5G, but 20G of storage space is left in the operation of the equipment, the user equipment has sufficient storage space to allocate a dynamic storage area for the screen recording of the user equipment, the acquisition service allocates an 800M dynamic storage area for the user equipment, and the user equipment continues to record the screen data.
Preferably, the acquisition service stores new operational data associated with the user equipment in the base storage area in an overlay manner when the remaining capacity of the dynamic storage area is zero. In the application, when the remaining capacity of the dynamic storage area of the user equipment is zero, for example, when the screen recording data of the user equipment fills up the allocated dynamic storage area, the importance of the screen data stored in the basic storage area recorded before is lower than that of the screen data stored in the dynamic storage area recorded later, when the dynamic storage area is full and the screen recording needs to be continued, the acquisition service stores the new screen recording data associated with the user equipment into the basic storage area, and the data stored in the basic storage area is covered by the newly recorded screen data.
Preferably, the acquisition service overwrites new operational data associated with the user in the dynamic storage area when the remaining capacity of the dynamic storage area is zero. In the application, when the remaining capacity of the dynamic storage area of the user equipment is zero, for example, when the screen recording data of the user equipment fills up the allocated dynamic storage area, the importance of the screen data stored in the basic storage area recorded before is higher than that of the screen data stored in the dynamic storage area recorded later, when the dynamic storage area is full and the screen recording needs to be continued, the acquisition service stores the new screen recording data associated with the user equipment into the dynamic storage area, and the data stored in the dynamic storage area is covered by the newly recorded screen data.
Preferably, before setting the dynamic storage area in the user equipment, the method further comprises: and predicting the end time of the current operation of the user equipment, and determining to allocate a dynamic storage area when the size of the operation data acquired in the time period from the current time to the end time of the current operation is less than or equal to an expansion threshold. Preferably, the end time of the current operation of the user equipment is determined according to historical statistical data of the operation end time of the user equipment. In the method, the running end time of the user equipment is counted, historical statistical data are recorded, and the running end time of the user equipment is determined according to the historical statistical data when the user equipment runs. For example, the historical statistical data of the user equipment records the running time of 22:00 to 22:30 each time, and according to the historical statistical data, the running time of the user equipment can be predicted to be 30 minutes of 22:00 to 22: 30. The method comprises the steps of evaluating the size of operation data acquired in a time period from the current time to the end time of the current operation, if the current time is 22:25, and if the time period is 5 minutes from the current time to the end time 22:30, the size of the acquired operation data is about 700M, comparing the size of 700M with the maximum value of the expandable capacity of the equipment, namely an expansion threshold, if the expansion threshold is 2G, the 700M capacity required by the user equipment for screen recording within the expected end 5 minutes is smaller than the capacity of the expansion threshold 2G, and determining to allocate a dynamic storage area for the screen recording of the user equipment. Or when the expansion threshold is 500M, the capacity of 700M required for the user equipment to operate and perform screen recording within the expected ending time of 5 minutes is larger than the capacity of the expansion threshold 500M, the capacity which can be expanded by the equipment cannot allocate the storage space of screen recording data to the user equipment any more, and it is determined that the dynamic storage area cannot be allocated to the user equipment.
Preferably, the method further comprises the acquisition service determining an acquisition rule related to the user equipment and acquiring the operation data of the user equipment based on the acquisition rule. Preferably, wherein the obtaining service determines an obtaining rule related to the user equipment comprises: the acquisition service reads a preset acquisition rule profile and determines an acquisition rule associated with the user equipment according to the acquisition rule profile. Preferably, the operation data is recorded screen video data of the user equipment, and the acquisition rule includes at least one of: length of time, capacity limit, frame rate, and bit rate. In this application, the rule for acquiring screen recording of the user equipment, for example, the rule for acquiring screen video data recording of the user equipment is as follows: time length 30 minutes, capacity limit 5G, frame rate: 16(fps), bit rate 360(bps), or other screen recording related rules.
Preferably, after determining the acquisition rule related to the user equipment, the method further comprises the acquisition service acquiring the operation data of the user equipment based on the acquisition rule after the predetermined time expires. In the application, after the acquisition rule of the user equipment is determined, the acquisition service may further acquire the operation data of the user equipment according to the acquisition rule after a predetermined time expires. That is, after the acquisition rule of the user equipment is determined and the running time of the user equipment reaches the preset time period of 30 minutes, the acquisition service starts to record the screen of the user equipment. The predetermined time period is preset and may be 1 second, 2 seconds, 5 seconds, 10 seconds or other predetermined time.
Preferably, the user device sets or modifies the dynamic profile according to user input, or the server sets or modifies the dynamic profile according to operational statistics of the user device. Preferably, the method further includes the step of the acquisition service performing segment recording on each of a plurality of segments of the operating data according to the dynamic configuration file, using the same or different frame rate and/or bit rate, and each segment is associated with a corresponding basic storage unit of the plurality of basic storage units. In the present application, the user device sets or modifies the dynamic profile according to user input, or the server sets or modifies the dynamic profile according to operation statistics of the user device. In the application, in order to conveniently process the running data acquired by the application to be processed, a segmented storage mode is adopted, and the data is stored in a plurality of segmented basic storage units. For example, the basic storage area of 1G is divided into 100M, 200M … … segments, where the frame rate and bit rate of screen recording in the corresponding basic storage unit of each segment may be the same or different, and an association relationship between each segment and the corresponding basic storage unit is established.
Preferably, the acquiring service is capable of performing content identification on the acquired operation data, and deleting the segment operation data when it is determined that the content of the segment operation data in the specific basic storage unit is data irrelevant to the operation of the user equipment. In the application, the acquired running data is identified through the acquisition service, namely the content of the screen recording data of the user equipment in the application is identified, when the screen recording data of the first segment is found to be irrelevant to the running data of the user equipment in the basic storage unit, and if the screen recording data of the first segment is advertisement data, the screen recording data of the first segment is deleted.
Preferably, the acquisition service is capable of performing content recognition on the acquired execution data, and deleting the fragmented execution data when it is determined that the content of the fragmented execution data in the specific basic storage unit can be converted into single frame data related to the user equipment. In the application, the acquired running data is identified through the acquisition service, for example, content identification is performed on screen recording data of the user equipment, and if it is determined that the screen recording data stored in a specific basic storage unit, for example, a fifth-segment basic storage unit, is screen recording data when the user equipment does not perform any operation, that is, screen recording data of the user equipment stored in the basic storage unit can be converted into single-frame data, so that the screen recording data stored in the fifth-segment basic storage unit is deleted. In the application, the screen recording is started when the user equipment is started, so that the part of recorded data is deleted when the user equipment does not perform any operation, namely the screen is basically not changed.
Preferably, the acquisition service performs data compression on the content stored in any of the plurality of segments. In the application, data compression is performed on the content stored in any one of the plurality of segments through the acquisition service, for example, screen recording data of the user equipment is stored in a second segment and is compressed, so that the storage space of the data is saved.
Preferably, before setting the dynamic storage area in the user equipment, the method further comprises: predicting the end time of the current operation of the user equipment, and when determining that the size of the acquired operation data in the time period from the current time to the end time of the current operation is larger than the expansion threshold and smaller than the allowable threshold, determining to allocate a dynamic storage area for the user equipment and prompting the acquisition service to acquire the operation data according to the reduced frame rate and/or bit rate. In the application, if the operation time of the user equipment is predicted to be 15 minutes, the capacity of 2.5G required for screen recording within 5 minutes, the maximum value of the capacity which can be expanded by the equipment is compared with an expansion threshold value, for example, the expansion threshold value is 2G, the residual storage capacity of the equipment is 5G, the capacity of 2.5G required for screen recording within 5 minutes, the expansion threshold value is greater than 2G and less than 5G of the minimum allowable threshold value of the equipment, a dynamic storage area is allocated for screen recording of the user equipment, and the frame rate and/or the bit rate of the recording is reduced for an acquisition service of the screen recording of the user equipment, for example, the frame rate is adjusted from 25(fps) to 18(fps), and the bit rate is adjusted from 400(bps) to 320(bps) so as to reduce the data of the screen recording of the user equipment.
Preferably, the method further comprises creating a floating display window in a display area of the user equipment, wherein the floating display window is used for playing the operation data acquired by the acquisition service. According to the method and the device, the suspension display window is established in the display area of the user equipment, the operation data acquired by the acquisition service, namely the data recorded by the screen, are displayed in the suspension window, and the synchronous display of the screen recorded data is realized.
Fig. 9 is a schematic diagram of acquiring operation data based on storage capacity according to a preferred embodiment of the present invention. As shown in fig. 9, when the user equipment, such as a mobile phone or an automobile data recorder, is started and the system service is loaded, the application automatically starts the acquisition service to acquire the screen recording data of the mobile phone or the automobile data recorder. The method divides a storage area of the mobile phone screen recording data into a basic storage area and a dynamic storage area, wherein the basic storage area stores the basic storage capacity of the mobile phone screen recording, for example, the mobile phone screen data recording is limited to 30 minutes generally, and the 5G storage capacity corresponding to 30 minutes can be stored in the basic storage area. For example, after 30 minutes, 5 minutes of recording of the mobile phone screen needs to be prolonged, and a dynamic storage area is allocated for recording the prolonged 5 minutes of recording of the mobile phone screen because the basic storage area is full of the data to be recorded. In the application, no operation is possible to be performed before the mobile phone is started, and the recording of the mobile phone screen data has no practical significance at the moment. Therefore, the screen recording can be performed after the startup delay time is set, namely, the screen of the mobile phone is recorded after 1 minute or 2 minutes of delay, so that necessary screen data can be recorded as much as possible, and the system resources are saved.
Fig. 10 is a schematic configuration diagram of a system for acquiring operation data based on a storage capacity according to a preferred embodiment of the present invention. According to the system for acquiring the running data based on the storage capacity, which is provided by the embodiment of the invention, the initialization unit is used for responding to the starting of the user equipment and the loading completion of the system service, and the acquisition service for acquiring the running data of the application to be processed of the user equipment is operated. The embodiment of the invention analyzes the preset storage information by using an analysis unit, acquires the capacity of the storage information, and determines a basic storage area which is used for storing the operation data and has the basic storage capacity. The storage allocation unit of the embodiment of the invention determines the size of each basic storage unit in a plurality of basic storage units when the basic storage area stores the operating data in a segmented manner according to the dynamic configuration file, and further determines the storage rule for dynamic storage when the basic storage capacity of the basic storage area is used up. The method and the device monitor the residual storage capacity of the basic storage area in real time through the storage control unit, when the residual storage capacity is monitored to be lower than a threshold value, storage preparation actions related to dynamic storage are carried out according to the storage rules, and dynamic storage is carried out according to the storage rules when the basic storage capacity is used up. The embodiment of the invention realizes that the basic storage unit can be allocated according to the acquired operation data, and when the capacity of the basic storage unit is used up, the operation data can be dynamically stored according to the storage rule. In the application, the user equipment can be a mobile phone, an IPD, an automobile data recorder and the like. As shown in fig. 10, the system 1000 includes:
the initialization unit 1001 executes an acquisition service for acquiring operation data of the user equipment in response to the start of the user equipment and the completion of the loading of the system service. Preferably, the initialization unit 1001 is further configured to: in response to the user device booting, the boot chip function reads the boot program from the read only memory and loads the boot program into the memory. Preferably, the initialization unit 1001 is further configured to: after loading the boot program into the random access memory, the boot program initializes the stack and hardware devices needed to run the kernel program. Preferably, the initialization unit 1001 is further configured to: after initialization, the kernel program is run, which sets the cache, sets the protected memory, sets the plan list, and loads the drivers, and loads the system services. In this application, when power is pressed, the boot chip function starts reading the boot program from the predefined ROM and loading the boot program into the memory, and then executes. After the bootstrap program is loaded into the random access memory, the bootstrap program initializes the stack and the hardware equipment required by the running of the kernel program, and after the initialization is finished, the kernel program is run, and the cache, the protected memory, the plan list and the system service are set and loaded through the kernel program. In the present application, an acquisition service for acquiring operation data of the user equipment is run in response to the completion of the start of the user equipment and the loading of the system service. In the application, after the user equipment such as a mobile phone is opened, the data acquisition service starts to be operated, the application exemplifies screen recording of the mobile phone, and after the mobile phone is started and the function of the system service is loaded, the screen of the mobile phone is recorded through the acquisition service.
The parsing unit 1002 parses preset storage information to determine a basic storage area for storing the operation data and having a basic storage capacity. Preferably, the system further comprises a setting unit: the user device sets the storage information in advance according to the user input and stores the storage information in the user device. Preferably, storing the information comprises: the starting address of the base memory region and the base memory capacity. In the application, the storage information is preset through user input, and the storage information comprises an initial address and basic storage capacity of data storage after screen recording is performed by user equipment, for example, the storage information of the data storage is set as: video storage space, 5G capacity. According to the method and the device, the capacity of a basic storage area for storing screen recording data is determined to be 5G for a user according to the analyzed storage information.
Preferably, the storage allocation unit 1003 is further configured to: when the basic storage capacity of the basic storage area is exhausted, a dynamic storage area is set in the user equipment, wherein the dynamic storage area is used for storing additional operation data associated with the user equipment. In the application, when the remaining capacity of the basic storage area of the user equipment is zero, for example, when the capacity of the basic storage area 5G of the user equipment is fully stored, the acquisition service determines whether to allocate a dynamic storage area for the user equipment according to a storage rule preset by a user, for example, the acquisition rule for screen recording of the user equipment is screen recording for 10 minutes, the current screen recording of the user equipment is finished for 8 minutes, the actual recording time of the screen of the user equipment is less than the recording time of 10 minutes defined in the acquisition rule, and when the remaining capacity does not exist in the basic storage area, the acquisition service allocates a 300M dynamic storage area for the screen recording of the user equipment, so that the user equipment can complete screen recording during operation of the user equipment according to the acquisition rule. According to the method and the device, when the residual capacity of the basic storage area of the application to be processed is zero, whether the dynamic storage area is allocated to the application to be processed or not can be determined by judging the running state of the user equipment. If the screen recording data of the user equipment reaches 5G, but the equipment only has 200M of storage space left in operation, the dynamic storage area cannot be allocated to the user equipment, and therefore, the dynamic storage area cannot be allocated to the application to be processed any more. Or when the screen recording data of the user equipment reaches 5G, but 20G of storage space is left in the operation of the equipment, the user equipment has sufficient storage space to allocate a dynamic storage area for the application to be processed, the acquisition service allocates an 800M dynamic storage area for the screen recording of the user equipment, and the user equipment continues to record the screen data.
Preferably, the storage allocation unit 1003 is further configured to: determining that a remaining storage capacity of the user equipment is greater than an expansion threshold before setting the dynamic storage area in the user equipment. In the application, before the dynamic storage area is set in the user equipment, the expansion threshold value needed by the dynamic storage area needs to be compared with the remaining storage capacity of the user equipment, for example, when the expansion threshold value is required to be 2G, the remaining storage capacity of the user equipment is 10G, so that the dynamic storage area can be set. Or when the expansion threshold is required to be 2G, the residual storage capacity of the user equipment is 1G, so that the dynamic storage area cannot be set.
The storage allocation unit 1003 determines the size of each of the plurality of basic storage units when the operation data is stored in the basic storage area in a segmented manner according to the dynamic configuration file, and determines a storage rule for performing dynamic storage when the basic storage capacity of the basic storage area is used up. In the application, in order to conveniently process the running data acquired by the application to be processed, a segmented storage mode is adopted, and the data recorded on the screen are stored in a plurality of segmented basic storage units. For example, the basic storage area of 1G is divided into 100M, 200M … … segments, where the frame rate and bit rate of screen recording in the corresponding basic storage unit of each segment may be the same or different, and an association relationship between each segment and the corresponding basic storage unit is established. Preferably, when the remaining capacity of the basic storage area of the application to be processed is zero, the obtaining service determines whether to allocate a dynamic storage area for the application to be processed according to a storage rule preset by a user or according to an operating state of the user equipment.
Preferably, the storage allocation unit is further configured to: the acquisition service determines a dynamic storage area for operating data according to the storage rule of the dynamic storage, and initializes the dynamic storage area. Preferably, the acquisition service stores the acquired new operation data in the dynamic storage area when the dynamic storage area is initialized and the base storage capacity is exhausted. In the application, the acquisition service determines a dynamic storage area for storing screen recording data of the device according to a dynamic storage rule, the dynamic storage area is used for storing the screen recording data in the dynamic storage area when the amount of the data stored in the basic storage area is full and the user equipment continues to record the screen, and the dynamic storage area can also be initialized in advance, for example, the capacity of the dynamic storage area is determined to be 1G.
The storage control unit 1004 monitors the remaining storage capacity of the base storage area in real time, performs a storage preparation operation associated with dynamic storage according to a storage rule when the remaining storage capacity is lower than a threshold value, and performs dynamic storage according to the storage rule when the base storage capacity is used up. In the application, the residual storage capacity of the basic storage area is monitored in real time, when the residual capacity of the basic storage area of the user equipment is lower than a threshold value, for example, when the residual capacity of the basic storage area 5G of the user equipment is lower than the threshold value, the acquisition service determines whether to allocate a dynamic storage area to the user equipment according to a storage rule preset by a user, for example, when a screen of the user equipment is recorded for 10 minutes, when the screen of the user equipment is recorded for 8 minutes, an actual recording time of the user equipment is less than a defined recording time of 10 minutes, and when the residual capacity of the basic storage area is lower than the threshold value, the acquisition service allocates a 300M dynamic storage area to the user equipment again, so that the user equipment can complete the screen recording according to the storage rule. According to the method and the device, when the residual capacity of the basic storage area of the application to be processed is lower than the threshold value, whether the dynamic storage area is allocated to the user equipment or not can be determined by judging the running state of the user equipment. If the screen recording data of the user equipment reaches 5G, but the equipment only has 800M of storage space left in operation, the dynamic storage area cannot be allocated to the user equipment, and therefore, the dynamic storage area cannot be allocated to the application to be processed any more. Or when the screen recording data of the user equipment reaches 5G, but 20G of storage space is left in the operation of the equipment, the user equipment has sufficient storage space to allocate a dynamic storage area for the screen recording of the user equipment, the acquisition service allocates an 800M dynamic storage area for the user equipment, and the user equipment continues to record the screen data.
Preferably, the storage control unit 1004 is further configured to: when the remaining capacity of the dynamic storage area is zero, the acquisition service stores new operational data associated with the user equipment in the base storage area in an overlay manner. In the application, when the remaining capacity of the dynamic storage area of the user equipment is zero, for example, when the screen recording data of the user equipment fills up the allocated dynamic storage area, the importance of the screen data stored in the basic storage area recorded before is lower than that of the screen data stored in the dynamic storage area recorded later, when the dynamic storage area is full and the screen recording needs to be continued, the acquisition service stores the new screen recording data associated with the user equipment into the basic storage area, and the data stored in the basic storage area is covered by the newly recorded screen data.
Preferably, the storage control unit 1004 is further configured to: when the remaining capacity of the dynamic storage area is zero, the acquisition service covertly stores new operational data associated with the user in the dynamic storage area. In the application, when the remaining capacity of the dynamic storage area of the user equipment is zero, for example, when the screen recording data of the user equipment fills up the allocated dynamic storage area, the importance of the screen data stored in the basic storage area recorded before is higher than that of the screen data stored in the dynamic storage area recorded later, when the dynamic storage area is full and the screen recording needs to be continued, the acquisition service stores the new screen recording data associated with the user equipment into the dynamic storage area, and the data stored in the dynamic storage area is covered by the newly recorded screen data.
Preferably, the storage control unit 1004 is further configured to: the method comprises the steps of predicting the end time of the current operation of the user equipment before setting a dynamic storage area in the user equipment, and determining to allocate the dynamic storage area when the size of the operation data acquired in the time period from the current time to the end time of the current operation is less than or equal to an expansion threshold. Preferably, the end time of the current operation of the user equipment is determined according to historical statistical data of the operation end time of the user equipment. In the method, the running end time of the user equipment is counted, historical statistical data are recorded, and the running end time of the user equipment is determined according to the historical statistical data when the user equipment runs. For example, the historical statistical data of the user equipment records the running time of 22:00 to 22:30 each time, and according to the historical statistical data, the running time of the user equipment can be predicted to be 30 minutes of 22:00 to 22: 30. The method comprises the steps of evaluating the size of operation data acquired in a time period from the current time to the end time of the current operation, if the current time is 22:25, and if the time period is 5 minutes from the current time to the end time 22:30, the size of the acquired operation data is about 700M, comparing the size of 700M with the maximum value of the expandable capacity of the equipment, namely an expansion threshold, if the expansion threshold is 2G, the 700M capacity required by the user equipment for screen recording within the expected end 5 minutes is smaller than the capacity of the expansion threshold 2G, and determining to allocate a dynamic storage area for the screen recording of the user equipment. Or when the expansion threshold is 500M, the capacity of 700M required for the user equipment to operate and perform screen recording within the expected ending time of 5 minutes is larger than the capacity of the expansion threshold 500M, the capacity which can be expanded by the equipment cannot allocate the storage space of screen recording data to the user equipment any more, and it is determined that the dynamic storage area cannot be allocated to the user equipment.
Preferably, the method further comprises the following steps: the acquisition service determines an acquisition rule associated with the user equipment and acquires operational data of the user equipment based on the acquisition rule. Preferably, wherein the obtaining service determines an obtaining rule related to the user equipment comprises: the acquisition service reads a preset acquisition rule profile and determines an acquisition rule associated with the user equipment according to the acquisition rule profile. Preferably, the operation data is recorded screen video data of the user equipment, and the acquisition rule includes at least one of: length of time, capacity limit, frame rate, and bit rate. In this application, the rule for acquiring screen recording of the user equipment, for example, the rule for acquiring screen video data recording of the user equipment is as follows: time length 30 minutes, capacity limit 5G, frame rate: 16(fps), bit rate 360(bps), or other screen recording related rules.
Preferably, the obtaining unit is further configured to: after determining the acquisition rule related to the user equipment, the method further comprises the step that the acquisition service acquires the operation data of the user equipment based on the acquisition rule after the preset time expires. In the application, after the acquisition rule of the user equipment is determined, the acquisition service may further acquire the operation data of the user equipment according to the acquisition rule after a predetermined time expires. That is, after the acquisition rule of the user equipment is determined and the running time of the user equipment reaches the preset time period of 30 minutes, the acquisition service starts to record the screen of the user equipment. The predetermined time period is preset and may be 1 second, 2 seconds, 5 seconds, 10 seconds or other predetermined time.
Preferably, the storage allocation unit is further configured to: the user device sets or modifies the dynamic profile according to user input, or the server sets or modifies the dynamic profile according to operational statistics of the user device. Preferably, the method further includes the step of the acquisition service performing segment recording on each of a plurality of segments of the operating data according to the dynamic configuration file, using the same or different frame rate and/or bit rate, and each segment is associated with a corresponding basic storage unit of the plurality of basic storage units. In the present application, the user device sets or modifies the dynamic profile according to user input, or the server sets or modifies the dynamic profile according to operation statistics of the user device. In the application, in order to conveniently process the running data acquired by the application to be processed, a segmented storage mode is adopted, and the data is stored in a plurality of segmented basic storage units. For example, the basic storage area of 1G is divided into 100M, 200M … … segments, where the frame rate and bit rate of screen recording in the corresponding basic storage unit of each segment may be the same or different, and an association relationship between each segment and the corresponding basic storage unit is established.
Preferably, the method further comprises the following steps: the acquisition service can perform content identification on the acquired running data, and delete the segmental running data when the content of the segmental running data in a specific basic storage unit is determined to be data irrelevant to the running of the user equipment. In the application, the acquired running data is identified through the acquisition service, namely the content of the screen recording data of the user equipment in the application is identified, when the screen recording data of the first segment is found to be irrelevant to the running data of the user equipment in the basic storage unit, and if the screen recording data of the first segment is advertisement data, the screen recording data of the first segment is deleted.
Preferably, the method further comprises the following steps: the acquisition service can perform content recognition on the acquired running data, and delete the fragmented running data when it is determined that the content of the fragmented running data in a specific basic storage unit can be converted into single frame data related to the user equipment. In the application, the acquired running data is identified through the acquisition service, for example, content identification is performed on screen recording data of the user equipment, and if it is determined that the screen recording data stored in a specific basic storage unit, for example, a fifth-segment basic storage unit, is screen recording data when the user equipment does not perform any operation, that is, screen recording data of the user equipment stored in the basic storage unit can be converted into single-frame data, so that the screen recording data stored in the fifth-segment basic storage unit is deleted. In the application, the screen recording is started when the user equipment is started, so that the part of recorded data is deleted when the user equipment does not perform any operation, namely the screen is basically not changed.
Preferably, the method further comprises the following steps: the acquisition service performs data compression on content stored in any of the plurality of segments. In the application, data compression is performed on the content stored in any one of the plurality of segments through the acquisition service, for example, screen recording data of the user equipment is stored in a second segment and is compressed, so that the storage space of the data is saved.
Preferably, the obtaining unit is further configured to: predicting the end time of the current operation of the user equipment before setting the dynamic storage area in the user equipment, and when determining that the size of the acquired operation data in the time period from the current time to the end time of the current operation is larger than the expansion threshold and smaller than the allowable threshold, determining to allocate the dynamic storage area for the user equipment and prompting the acquisition service to acquire the operation data according to the reduced frame rate and/or bit rate. In the application, if the operation time of the user equipment is predicted to be 15 minutes, the capacity of 2.5G required for screen recording within 5 minutes, the maximum value of the capacity which can be expanded by the equipment is compared with an expansion threshold value, for example, the expansion threshold value is 2G, the residual storage capacity of the equipment is 5G, the capacity of 2.5G required for screen recording within 5 minutes, the expansion threshold value is greater than 2G and less than 5G of the minimum allowable threshold value of the equipment, a dynamic storage area is allocated for screen recording of the user equipment, and the frame rate and/or the bit rate of the recording is reduced for an acquisition service of the screen recording of the user equipment, for example, the frame rate is adjusted from 25(fps) to 18(fps), and the bit rate is adjusted from 400(bps) to 320(bps) so as to reduce the data of the screen recording of the user equipment.
Preferably, the system further comprises a playback unit: and creating a floating display window in a display area of the user equipment, wherein the floating display window is used for playing the operation data acquired by the acquisition service. According to the method and the device, the suspension display window is established in the display area of the user equipment, the operation data acquired by the acquisition service, namely the data recorded by the screen, are displayed in the suspension window, and the synchronous display of the screen recorded data is realized.
According to another embodiment of the present invention, there is provided a mobile terminal including or configured to execute the system for acquiring operation data based on storage capacity as described above.
FIG. 11 is a flowchart of a method for obtaining customized operation data based on a reference time in accordance with a preferred embodiment of the present invention. The embodiment of the invention provides a method for acquiring customized operation data according to reference time. By judging the residual capacity of the basic storage area, when the residual capacity of the basic storage area is larger than a preset threshold value, the method indicates that the basic storage area has a proper storage space, so that the acquisition service is started, and the acquisition service is promoted to run in a background. In the application, an acquisition rule related to the current application is determined through an acquisition service, and basic operation data of the application is acquired based on the acquisition rule. The method and the device for obtaining the customized operation data can generate a time section comprising reference time in a display area of user equipment to obtain the floating control of the customized operation data, and generate a dynamic coefficient by controlling the input of the floating control, wherein the dynamic coefficient is used for adjusting the time section to generate an adjusted time section. The application to be processed in the present application may be a game application, such as 360 games, or a video playing application, an audio playing application, and a live playing application. The application takes the 360 games as the application for acquiring the running data, and the 360 games are recorded on the screen as the acquired running data during running. As shown in fig. 11, method 1100 begins at step 1101.
Preferably, in step 1101: when a trigger request for an acquisition service for acquiring the operation data is received, analyzing preset storage information to determine a basic storage area for storing the operation data. Preferably, the user device presets the storage information according to a user input and stores the storage information in the user device. Preferably, storing the information comprises: the starting address of the base memory region and the base memory capacity. In the application, preset storage information is analyzed, the data capacity of the screen recording storage information is analyzed according to the screen recording time, the recording frame rate and the bit rate of the application, for example, the screen recording for 10 minutes in the western-style mobile game is performed, the capacity required by the screen recording for the western-style mobile game is analyzed to be 1.5G according to the frame rate of 25(fps) and the bit rate of 380(bps), and therefore, a basic storage area of 1.5G is distributed for the western-style mobile game. In this application, the storage information includes a start address of the storage area and a preset basic storage capacity. Preferably, the types of applications currently running therein include a game application, a video playing application, an audio playing application, and a live application. The application of the present application may be a gaming application, such as 360 game, western game; or a video playback application, such as 360's fast video; an audio playback application; live applications, such as 360 Beijing hours.
Preferably, the method further comprises setting a dynamic storage area in the user equipment when the basic storage capacity of the basic storage area is used up, wherein the dynamic storage area is used for storing additional running data associated with the currently running application. The method comprises the steps of allocating a basic storage area for each application in a plurality of applications needing to acquire running data, and setting a dynamic storage area in user equipment when the basic storage capacity of the basic storage area is used up, wherein the basic storage area is used for storing basic running data associated with each application, and the dynamic storage area is used for storing additional running data associated with each application. For example, in the western language game, a user generally needs to record for 8 minutes, so a basic storage area with a capacity of 1G is allocated for the western language game, and in addition, due to uncertainty of running the game, screen recording of the western language game may be prolonged sometimes, for example, the screen recording continues for 2 minutes, so a dynamic storage area with a capacity of 300M is allocated for the western language game. Or 360 video applications, typically requiring 15 minutes of recording, the user allocates a base storage area of 1.5G capacity for 360 video, and sometimes may extend the screen recording of 360 video, e.g., continue recording for another 3 minutes, thus allocating a dynamic storage area of 400M capacity for 360 video. The capacity of the dynamic storage area can be adjusted according to the actual screen recording requirement of the application to be processed, so that the additional running data acquisition requirement of the application to be processed is met. When the application of the application is used for recording the screen during operation, the data recorded firstly are stored in the basic storage area, and when the basic storage area is full, the data recorded later are stored in the dynamic storage area.
Preferably, before setting the dynamic storage area in the user equipment, the method further comprises: determining that the remaining storage capacity of the user equipment is greater than an expansion threshold. In the application, if the operating time of 15 minutes is predicted for the western mobile game, the capacity of 2.5G required for screen recording within 5 minutes, the maximum value of the expandable capacity of the device is compared with the expansion threshold value, for example, the expansion threshold value is 2.5G, the residual storage capacity of the device, for example, the minimum allowable threshold value is 5G, so that the expansion threshold value of 2G is less than the residual storage capacity of the device 5G, the dynamic storage area is allocated for screen recording of the western mobile game, and the acquisition service for screen recording of the western mobile game reduces the recording frame rate and/or bit rate, for example, the frame rate is adjusted from 25(fps) to 18(fps), and the bit rate is adjusted from 400(bps) to 320(bps), so as to reduce the data of screen recording of the western mobile game.
Preferably, the acquisition service stores new run data associated with the currently running application in the base storage area in an overlay manner when the remaining capacity of the dynamic storage area is zero. In the application, when the residual capacity of the dynamic storage area of the application is zero, for example, when the screen recording data of the western mobile phone game fills up the allocated dynamic storage area, the importance of the screen data stored in the basic storage area recorded before is lower than that of the screen data stored in the dynamic storage area recorded later, when the dynamic storage area is full and the screen recording needs to be continued, the acquisition service stores the new screen recording data associated with the western mobile phone application in the basic storage area, and the data stored in the basic storage area is covered by the newly recorded screen data.
Preferably, when the remaining capacity of the dynamic storage area is zero, the acquisition service performs overlay storage of new running data associated with the currently running application in the dynamic storage area. In the application, when the residual capacity of the dynamic storage area of the application to be processed is zero, for example, when the allocated dynamic storage area is full of screen recording data of a western mobile phone game, the importance of the screen data recorded in the basic storage area before compared with the screen data recorded in the dynamic storage area after is higher, when the dynamic storage area is full and the screen recording needs to be continued, the acquisition service stores new screen recording data associated with the western mobile phone application in the dynamic storage area, and the data stored in the dynamic storage area is covered by the newly recorded screen data.
Preferably, before setting the dynamic storage area in the user equipment, the method further comprises: and predicting the end time of the current operation application, and determining to allocate a dynamic storage area when the size of the acquired operation data in the time period from the current time to the end time of the current operation is less than or equal to an expansion threshold. Preferably, the end time of the current running of the currently running application is determined according to historical statistical data of the running end time of the currently running application. Preferably, the end time of the current run of the application is determined according to historical statistical data of the end time of the run of the application. In the application, the running end time of the application is counted, historical statistical data is recorded, and the running end time of the application is determined according to the historical statistical data when the application to be processed runs. For example, the western-style game of the Chinese language has the historical statistical data record that the running time of each game is 22:00 to 22:30, and the running time of the western-style game of the Chinese language can be predicted to be 30 minutes from 22:00 to 22:30 according to the historical statistical data. The method comprises the steps of evaluating the size of operation data acquired in a time period from the current time to the end time of the current operation, if the current time is 22:25, and if the time period is 5 minutes from the current time to the end time 22:30, the size of the acquired operation data is about 700M, comparing the size of 700M with the maximum value of the expandable capacity of equipment, namely an expansion threshold, and if the expansion threshold is 2G, determining that a dynamic storage area is allocated to the Atlantic game, wherein the 700M capacity required by screen recording of the Atlantic game in the estimated end 5 minutes is smaller than the capacity of the expansion threshold 2G. Or when the expansion threshold is 500M, the capacity of 700M required for screen recording within 5 minutes of expected ending of the western-style mobile game is larger than the capacity of 500M, the capacity which can be expanded by the equipment can not allocate the storage space of screen recording data for the western-style mobile game any more, and the situation that a dynamic storage area can not be allocated for the western-style mobile game is determined.
Preferably, before setting the dynamic storage area in the user equipment, the method further comprises: predicting an end time of the present run of the currently running application, determining to allocate a dynamic storage area for the user equipment and causing the acquisition service to acquire the run data according to the reduced frame rate and/or bit rate when it is determined that a size of the acquired run data within a period from the current time to the end time of the present run is greater than an expansion threshold and less than an allowable threshold. In the present application, if the western mobile game has a predicted running time of 15 minutes, a capacity of 2.5G required for screen recording within 5 minutes, the maximum value of the extended capacity of the device is compared with an extension threshold, such as the extension threshold is 2G, the remaining storage capacity of the device is 5G, the capacity of 2.5G required for screen recording within 5 minutes, the extension threshold is greater than 2G and less than the minimum allowable threshold 5G of the device, the dynamic storage area is allocated for screen recording of the western mobile game, and the acquisition service for screen recording of the western mobile game reduces the frame rate and/or bit rate of recording, such as adjusting the frame rate from 25(fps) to 18(fps)
The bit rate is adjusted from 400(bps) to 320(bps) to reduce the data recorded on the screen of the grand game.
Preferably, the method further comprises determining a size of each of the plurality of basic storage units when the operating data is stored in the basic storage area in a segmented manner according to the dynamic configuration file. Preferably, the application further comprises the acquisition service performing segment recording using the same or different frame rate and/or bit rate for each of a plurality of segments of the operational data, and each segment is associated with a respective one of the plurality of elemental storage units. In the application, in order to conveniently process the running data acquired by the application, a segmented storage mode is adopted, and the data is stored in a plurality of segmented basic storage units. For example, the basic storage area of 1G is divided into 100M, 200M … … segments, where the frame rate and bit rate of screen recording in the corresponding basic storage unit of each segment may be the same or different, and an association relationship between each segment and the corresponding basic storage unit is established.
Preferably, in step 1102: in the event that a determination is made that the remaining storage capacity of the base storage region is greater than a threshold, the acquisition service is initiated and caused to run in the background. In the method, when the residual storage capacity of the basic storage area is determined to be larger than the threshold value, the device can store the acquired screen recording data, the acquisition service is started, and the acquisition service is prompted to run in the background.
Preferably, at step 1103: the acquisition service determines acquisition rules, such as code rate, bit rate, etc., associated with the currently running application and acquires underlying operational data for the application based on the acquisition rules. Preferably, the obtaining service determines the obtaining rule related to the currently running application, including: the acquisition service retrieves the rule base according to the application identifier of the currently running application, and determines an acquisition rule related to the currently running application according to a retrieval result. Preferably, the operation data is recorded screen video data of the user equipment, and the acquisition rule includes at least one of: length of time, capacity limit, frame rate, and bit rate. In the present application, the acquisition service determines the acquisition rule related to the application according to the application identifier. If the obtaining service searches in the rule base by using the application identifier according to the application identifier of the western mobile phone, and determines the obtaining rule related to the screen video data recording of the western mobile phone application according to the searching result, for example, the obtaining rule of the screen video data recording of the western mobile phone application is as follows: time length 10 minutes, capacity limit 2G, frame rate: 16(fps), bit rate 360(bps), or other screen recording related rules.
Preferably, after determining the acquisition rule related to the currently running application, the method further comprises the acquisition service acquiring the running data of the currently running application based on the acquisition rule after the predetermined time expires. In the application, after the acquisition rule of the application is determined, the acquisition service may further acquire the running data of the application to be processed according to the acquisition rule after a predetermined time expires. Namely, after the acquisition rule of the grand phone western-game is determined and the running time of the grand phone western-game reaches the preset time interval of 5 seconds, the acquisition service starts to record the screen of the grand phone game. The predetermined time period is preset and may be 1 second, 2 seconds, 5 seconds, 10 seconds or other predetermined time.
Preferably, the acquisition service suspends acquisition of the execution data when the state of the currently-running application is switched from the foreground operation to the background operation. In the application, when the application state is switched from foreground running to background running, for example, when a user plays a grand phone western-style game, the user connects a call and starts a period of conversation, the grand phone western-style game can be switched to background running at the moment, and when the grand phone western-style game runs at the background, screen recording is not needed. Therefore, the screen recording is automatically suspended, so that the situation that unnecessary screen data are recorded and the resources of the system are occupied is avoided.
Preferably, when the state of the currently running application is switched from background running to foreground running, the obtaining service starts to obtain the running data. In the method, when the user is disconnected from the call state, the mobile phone western-style game is switched from the background operation to the foreground operation, the user starts to continue to operate the mobile phone, and at the moment, the screen is required to be recorded.
Preferably, the method further comprises the step of the acquisition service performing segment recording on each of a plurality of segments of the operation data by using the same or different frame rate and/or bit rate, and each segment is associated with a corresponding basic storage unit in the plurality of basic storage units. In the application, in order to conveniently process the running data acquired by the application, a segmented recording mode is adopted, and the segmented recorded data is stored in a plurality of basic storage units. For example, the basic storage area of 1G is divided into 100M, 200M … … segments, where the frame rate and bit rate of screen recording in the corresponding basic storage unit of each segment may be the same or different, and an association relationship between each segment and the corresponding basic storage unit is established.
Preferably, the acquisition service is capable of performing content identification on the acquired execution data, and deleting the segment execution data when it is determined that the content of the segment execution data in the specific basic storage unit is data unrelated to the application executed in the user equipment. In the method, the acquired running data is identified through the acquisition service, namely the content of the screen recording data of the grand telephone western-game in the method is identified, when the screen recording data of the first segment is found to be irrelevant to the running data of the grand telephone western-game in the basic storage unit, and if the screen recording data of the first segment is advertisement data, the screen recording data of the first segment is deleted.
Preferably, the acquisition service is capable of performing content recognition on the acquired execution data, and deleting the segmented execution data when it is determined that the content of the segmented execution data in the specific basic storage unit can be converted into single frame data related to the application executed in the user equipment. In the application, the acquired running data is identified through the acquisition service, for example, content identification is performed on screen recorded data of a western mobile phone game, if it is determined that the screen recorded data stored in a specific basic storage unit, for example, a fifth segmented basic storage unit is screen recorded data when no operation is performed on the game, that is, the screen recorded data of the western mobile phone game stored in the basic storage unit can be converted into single frame data, and therefore, the screen recorded data stored in the fifth segmented basic storage unit is deleted.
Preferably, the acquisition service performs data compression on the content stored in any of the plurality of segments. In the application, the content stored in any one of the plurality of segments is subjected to data compression through the acquisition service, for example, screen recording data of a mobile phone western game stored in the second segment is subjected to compression processing, so that the storage space of the data is saved.
Preferably, at step 1104: and generating a floating control for acquiring the customized running data according to the time section comprising the reference time in the display area of the user equipment. Preferably, the hover control can hover over the display interface of the running application, and the hover control can be presented with a transparency set by the user. In the present application, the customized operation data in the time zone can be acquired through the time zone defined by the reference time. If the running time of the Chinese western game is 10:00, generating a reference time of 5 minutes, and defining time sections as the first 5 minutes and the last 5 minutes of the current running time, namely 9:55 to 10: 05; the reference time generated by the application can also be 2 minutes, and the time section of the application can also be defined as the first 2 minutes and the last 2 minutes of the current running time; or the reference time generated by the application is 30 seconds, namely the time section is the first 30 seconds or the last 30 seconds of the current running time. In the application, a time section including reference time is generated by using a floating control of a device display area.
Preferably, the default value of the reference time and the initial value of the time zone are set by the acquisition service, and the user can modify the default value of the reference time and the initial value of the time zone. Preferably, the dynamic coefficient is an increased amount of time, and adjusting the time segment based on the dynamic coefficient to generate an adjusted time segment comprises: the time segments and the dynamic coefficients are summed to generate adjusted time segments. Preferably, the time zone is a time zone having the reference time as a center of symmetry or an asymmetric center. Preferably, the hovering control moves the adjusted time segment forward or backward along the time axis according to the user input. In the application, the reference time and the time zone can be set as default values, or a user modifies the default values of the reference time and the initial values of the time zone according to the actual requirement of acquiring screen recording data. If the default base time for western language is 3 minutes and the time segments are the first 3 minutes and the last 3 minutes of the current running time of the application, the application sums the time segments and the dynamic coefficients to generate adjusted time segments using the dynamic coefficients as the incremental amount of time. If the dynamic coefficient is 2 minutes, the time segment of the present application is modified to apply the first 5 minutes and the last 5 minutes of the current running time. In this application, the time zone may be a time zone in which the reference time is symmetrical or a time zone in which the reference time is asymmetrical. If the reference time is 3 minutes, the time sections are the first 3 minutes and the last 3 minutes of the current running time of the application; or the base time is 3 minutes and the time segments are the first 4 minutes and the last 2 minutes of the current running time of the application. The present application enables time segments to move forward or backward along a time axis using levitation control, including left-right or up-down dragging.
Preferably, in step 1105: generating dynamic coefficients according to input control for the hover control, adjusting the time segments based on the dynamic coefficients to generate adjusted time segments, and selecting data content from the base operational data for composing the custom operational data according to the adjusted time segments. Preferably, selecting the data content for forming the customized operation data from the basic operation data according to the adjusted time zone includes: and constructing the running data fragments associated with the adjusted time sections in the basic running data into the data content of the customized running data. In the application, the dynamic coefficient is generated through input control of the suspension control, if the dynamic coefficient generated by obtaining the running data for the western mobile application of the mobile phone is 2 minutes, the original reference time is 3 minutes, and the adjusted time sections are the time sections in which the screen of the western mobile phone game needs to be recorded in the first 5 minutes and the last 5 minutes of the current running time, the screen of the first 5 minutes and the screen of the last 5 minutes of the current running time of the running data of the western mobile phone game are recorded as the customized running data content. Or the time section is adjusted to be the first 6 minutes and the last 4 minutes of the current running time, and the screen recording data of the first 6 minutes and the last 4 minutes of the current running time of the running data of the western-style mobile game are used as the customized running data content.
Fig. 12 is a diagram illustrating a time section adjusted by a dynamic coefficient according to a preferred embodiment of the present invention. In order to save storage space, the basic operation data can be stored in a basic storage area and a dynamic storage area, and when screen recording data stored in the basic storage area and the dynamic storage area are full, the screen recording data recorded later is covered with the recording data stored before. When a user of a western-style mobile game needs to capture screen recorded data in front of the current operation, the method and the system set the initial value of the reference time and the initial value of the time section, for example, when the reference time is set to be 5 minutes, the time section is 5 minutes before the current operation and 5 minutes after the current operation. The method and the device can acquire the screen recording data of the first 5 minutes of the current operation and the screen data of the second 5 minutes of the current operation, namely, the acquisition of the data content of the customized operation data recorded by the screen of the grand game is realized. The graph 1202 is a floating control for generating dynamic coefficients, and the dynamic coefficients are reduced when the control key moves to the left and increased when the control key moves to the right by adjusting the floating control, such as a control key of a middle triangle.
Fig. 13 is a schematic structural diagram of a system for acquiring customized operation data according to a reference time according to a preferred embodiment of the present invention. The embodiment of the invention provides a system for acquiring customized operation data according to reference time. The starting unit judges the residual capacity of the basic storage area, and when the residual capacity of the basic storage area is larger than a preset threshold value, the starting unit indicates that the basic storage area has a proper storage space, so that the acquisition service is started, and the acquisition service is prompted to run in a background mode. In the application, the acquisition unit determines an acquisition rule related to the current application through the acquisition service, and acquires basic operation data of the application based on the acquisition rule. The generation unit can generate a time section comprising reference time in a display area of user equipment to acquire a suspension control of the customized operation data, and generate a dynamic coefficient by inputting control aiming at the suspension control, wherein the dynamic coefficient is used for adjusting the time section to generate an adjusted time section. The application to be processed in the present application may be a game application, such as 360 games, or a video playing application, an audio playing application, and a live playing application. The application takes the 360 games as the application for acquiring the running data, and the 360 games are recorded on the screen as the acquired running data during running. As shown in fig. 13, system 1300 includes:
the storage allocation unit 1301, upon receiving a trigger request for an acquisition service for acquiring the operation data, parses preset storage information to determine a basic storage area for storing the operation data. Preferably, the system further comprises a storage unit: the user device sets the storage information in advance according to the user input and stores the storage information in the user device. Preferably, storing the information comprises: the starting address of the base memory region and the base memory capacity. In the application, preset storage information is analyzed, the data capacity of the screen recording storage information is analyzed according to the screen recording time, the recording frame rate and the bit rate of the application, for example, the screen recording for 10 minutes in the western-style mobile game is performed, the capacity required by the screen recording for the western-style mobile game is analyzed to be 1.5G according to the frame rate of 25(fps) and the bit rate of 380(bps), and therefore, a basic storage area of 1.5G is distributed for the western-style mobile game. In this application, the storage information includes a start address of the storage area and a preset basic storage capacity. Preferably, the types of applications currently running therein include a game application, a video playing application, an audio playing application, and a live application. The application of the present application may be a gaming application, such as 360 game, western game; or a video playback application, such as 360's fast video; an audio playback application; live applications, such as 360 Beijing hours.
Preferably, the types of applications currently running therein include a game application, a video playing application, an audio playing application, and a live application. The application to be processed in the present application may be a game application, such as 360 games, or a video playing application, an audio playing application, and a live playing application.
Preferably, the system memory allocation unit is further configured to: when the basic storage capacity of the basic storage area is exhausted, a dynamic storage area is set in the user equipment, wherein the dynamic storage area is used for storing additional running data associated with the currently running application. The method comprises the steps of allocating a basic storage area for each application in a plurality of applications needing to acquire running data, and setting a dynamic storage area in user equipment when the basic storage capacity of the basic storage area is used up, wherein the basic storage area is used for storing basic running data associated with each application, and the dynamic storage area is used for storing additional running data associated with each application. For example, in the western language game, a user generally needs to record for 8 minutes, so a basic storage area with a capacity of 1G is allocated for the western language game, and in addition, due to uncertainty of running the game, screen recording of the western language game may be prolonged sometimes, for example, the screen recording continues for 2 minutes, so a dynamic storage area with a capacity of 300M is allocated for the western language game. Or 360 video applications, typically requiring 15 minutes of recording, the user allocates a base storage area of 1.5G capacity for 360 video, and sometimes may extend the screen recording of 360 video, e.g., continue recording for another 3 minutes, thus allocating a dynamic storage area of 400M capacity for 360 video. The capacity of the dynamic storage area can be adjusted according to the actual screen recording requirement of the application to be processed, so that the additional running data acquisition requirement of the application to be processed is met. When the application of the application is used for recording the screen during operation, the data recorded firstly are stored in the basic storage area, and when the basic storage area is full, the data recorded later are stored in the dynamic storage area.
Preferably, the storage allocation unit is further configured to: determining that a remaining storage capacity of the user equipment is greater than an expansion threshold before setting the dynamic storage area in the user equipment. In the application, if the operating time of 15 minutes is predicted for the western mobile game, the capacity of 2.5G required for screen recording within 5 minutes, the maximum value of the expandable capacity of the device is compared with the expansion threshold value, for example, the expansion threshold value is 2.5G, the residual storage capacity of the device, for example, the minimum allowable threshold value is 5G, so that the expansion threshold value of 2G is less than the residual storage capacity of the device 5G, the dynamic storage area is allocated for screen recording of the western mobile game, and the acquisition service for screen recording of the western mobile game reduces the recording frame rate and/or bit rate, for example, the frame rate is adjusted from 25(fps) to 18(fps), and the bit rate is adjusted from 400(bps) to 320(bps), so as to reduce the data of screen recording of the western mobile game.
Preferably, the device further comprises a storage unit: when the remaining capacity of the dynamic storage area is zero, the acquisition service stores new run data associated with the currently running application in the base storage area in an overlay manner. In the application, when the residual capacity of the dynamic storage area of the application is zero, for example, when the screen recording data of the western mobile phone game fills up the allocated dynamic storage area, the importance of the screen data stored in the basic storage area recorded before is lower than that of the screen data stored in the dynamic storage area recorded later, when the dynamic storage area is full and the screen recording needs to be continued, the acquisition service stores the new screen recording data associated with the western mobile phone application in the basic storage area, and the data stored in the basic storage area is covered by the newly recorded screen data.
Preferably, the device further comprises a storage unit: when the remaining capacity of the dynamic storage area is zero, the acquisition service performs overlay storage on new running data associated with the currently running application in the dynamic storage area. In the application, when the residual capacity of the dynamic storage area of the application to be processed is zero, for example, when the allocated dynamic storage area is full of screen recording data of a western mobile phone game, the importance of the screen data recorded in the basic storage area before compared with the screen data recorded in the dynamic storage area after is higher, when the dynamic storage area is full and the screen recording needs to be continued, the acquisition service stores new screen recording data associated with the western mobile phone application in the dynamic storage area, and the data stored in the dynamic storage area is covered by the newly recorded screen data.
Preferably, the storage allocation unit is further configured to: the method comprises the steps of predicting the end time of the current operation application before setting a dynamic storage area in user equipment, and determining to allocate the dynamic storage area when the size of the acquired operation data in the time period from the current time to the end time of the current operation is less than or equal to an expansion threshold. Preferably, the storage allocation unit is further configured to: and determining the end time of the current operation application according to the historical statistical data of the operation end time of the current operation application. In the application, the running end time of the application is counted, historical statistical data is recorded, and the running end time of the application is determined according to the historical statistical data when the application to be processed runs. For example, the western-style game of the Chinese language has the historical statistical data record that the running time of each game is 22:00 to 22:30, and the running time of the western-style game of the Chinese language can be predicted to be 30 minutes from 22:00 to 22:30 according to the historical statistical data. The method comprises the steps of evaluating the size of operation data acquired in a time period from the current time to the end time of the current operation, if the current time is 22:25, and if the time period is 5 minutes from the current time to the end time 22:30, the size of the acquired operation data is about 700M, comparing the size of 700M with the maximum value of the expandable capacity of equipment, namely an expansion threshold, and if the expansion threshold is 2G, determining that a dynamic storage area is allocated to the Atlantic game, wherein the 700M capacity required by screen recording of the Atlantic game in the estimated end 5 minutes is smaller than the capacity of the expansion threshold 2G. Or when the expansion threshold is 500M, the capacity of 700M required for screen recording within 5 minutes of expected ending of the western-style mobile game is larger than the capacity of 500M, the capacity which can be expanded by the equipment can not allocate the storage space of screen recording data for the western-style mobile game any more, and the situation that a dynamic storage area can not be allocated for the western-style mobile game is determined.
Preferably, the storage allocation unit is further configured to: predicting an end time of the present run of the currently running application, determining to allocate a dynamic storage area for the user equipment and causing the acquisition service to acquire the run data according to the reduced frame rate and/or bit rate when it is determined that a size of the acquired run data within a period from the current time to the end time of the present run is greater than an expansion threshold and less than an allowable threshold. In the application, for example, the running time of 15 minutes, the capacity of 2.5G required for screen recording within 5 minutes, the maximum value of the capacity which can be expanded by the device, i.e. the expansion threshold is 2G, the remaining storage capacity of the device, i.e. the minimum allowable threshold is 5G, the capacity of 2.5G required for screen recording within 5 minutes, the expansion threshold being greater than 2G and less than the minimum allowable threshold of 5G of the device, the application allocates a dynamic memory area for screen recording of a western mobile game, and, the acquisition service for screen recordings of a grand game reduces the frame rate and/or bit rate of the recordings, for example, the frame rate is adjusted from 25(fps) to 18(fps), and the bit rate is adjusted from 400(bps) to 320(bps), so as to reduce the screen recorded data of the western game of the mobile phone.
In this application, the storage allocation unit is further configured to: and determining the size of each basic storage unit in the plurality of basic storage units when the operating data is stored in the basic storage area in a segmented manner according to the dynamic configuration file. Preferably, the application further comprises the acquisition service performing segment recording using the same or different frame rate and/or bit rate for each of a plurality of segments of the operational data, and each segment is associated with a respective one of the plurality of elemental storage units. In the application, in order to conveniently process the running data acquired by the application, a segmented storage mode is adopted, and the data is stored in a plurality of segmented basic storage units. For example, the basic storage area of 1G is divided into 100M, 200M … … segments, where the frame rate and bit rate of screen recording in the corresponding basic storage unit of each segment may be the same or different, and an association relationship between each segment and the corresponding basic storage unit is established.
The starting unit 1302 is configured to start the obtaining service and cause the obtaining service to perform background running when it is determined that the remaining storage capacity of the base storage area is greater than the threshold. In the method, when the residual storage capacity of the basic storage area is determined to be larger than the threshold value, the device can store the acquired screen recording data, the acquisition service is started, and the acquisition service is prompted to run in the background.
The obtaining unit 1303 determines an obtaining rule, such as a code rate, a bit rate, and the like, related to the currently running application by the obtaining service, and obtains basic running data of the application based on the obtaining rule. Preferably, the obtaining unit is further configured to: the acquisition service retrieves the rule base according to the application identifier of the currently running application, and determines an acquisition rule related to the currently running application according to a retrieval result. Preferably, the operation data is recorded screen video data of the user equipment, and the acquisition rule includes at least one of: length of time, capacity limit, frame rate, and bit rate. In the present application, the acquisition service determines the acquisition rule related to the application according to the application identifier. If the obtaining service searches in the rule base by using the application identifier according to the application identifier of the western mobile phone, and determines the obtaining rule related to the screen video data recording of the western mobile phone application according to the searching result, for example, the obtaining rule of the screen video data recording of the western mobile phone application is as follows: time length 10 minutes, capacity limit 2G, frame rate: 16(fps), bit rate 360(bps), or other screen recording related rules.
Preferably, the obtaining unit is further configured to: after determining the acquisition rule related to the currently running application, the method further comprises the step that the acquisition service acquires the running data of the currently running application based on the acquisition rule after the preset time expires. In the application, after the acquisition rule of the application is determined, the acquisition service may further acquire the running data of the application to be processed according to the acquisition rule after a predetermined time expires. Namely, after the acquisition rule of the grand phone western-game is determined and the running time of the grand phone western-game reaches the preset time interval of 5 seconds, the acquisition service starts to record the screen of the grand phone game. The predetermined time period is preset and may be 1 second, 2 seconds, 5 seconds, 10 seconds or other predetermined time.
Preferably, the obtaining unit is further configured to: when the state of the currently running application is switched from foreground running to background running, the acquisition service suspends acquisition of the running data. In the application, when the application state is switched from foreground running to background running, for example, when a user plays a grand phone western-style game, the user connects a call and starts a period of conversation, the grand phone western-style game can be switched to background running at the moment, and when the grand phone western-style game runs at the background, screen recording is not needed. Therefore, the screen recording is automatically suspended, so that the situation that unnecessary screen data are recorded and the resources of the system are occupied is avoided.
Preferably, the obtaining unit is further configured to: when the state of the currently running application is switched from background running to foreground running, the acquisition service starts to acquire running data. In the method, when the user is disconnected from the call state, the mobile phone western-style game is switched from the background operation to the foreground operation, the user starts to continue to operate the mobile phone, and at the moment, the screen is required to be recorded.
Preferably, the obtaining unit is further configured to: the acquisition service performs segment recording using the same or different frame rate and/or bit rate for each of a plurality of segments of the operational data, and each segment is associated with a respective one of a plurality of elemental storage units. In the application, in order to conveniently process the running data acquired by the application, a segmented recording mode is adopted, and the segmented recorded data is stored in a plurality of basic storage units. For example, the basic storage area of 1G is divided into 100M, 200M … … segments, where the frame rate and bit rate of screen recording in the corresponding basic storage unit of each segment may be the same or different, and an association relationship between each segment and the corresponding basic storage unit is established.
Preferably, the obtaining unit is further configured to: the acquisition service can perform content identification on the acquired running data, and delete the segmented running data when the content of the segmented running data in the specific basic storage unit is determined to be data irrelevant to the application running in the user equipment. In the method, the acquired running data is identified through the acquisition service, namely the content of the screen recording data of the grand telephone western-game in the method is identified, when the screen recording data of the first segment is found to be irrelevant to the running data of the grand telephone western-game in the basic storage unit, and if the screen recording data of the first segment is advertisement data, the screen recording data of the first segment is deleted.
Preferably, the obtaining unit is further configured to: the acquisition service can perform content recognition on the acquired running data, and delete the segmented running data when determining that the content of the segmented running data in a specific basic storage unit can be converted into single frame data related to the application running in the user equipment. In the application, the acquired running data is identified through the acquisition service, for example, content identification is performed on screen recorded data of a western mobile phone game, if it is determined that the screen recorded data stored in a specific basic storage unit, for example, a fifth segmented basic storage unit is screen recorded data when no operation is performed on the game, that is, the screen recorded data of the western mobile phone game stored in the basic storage unit can be converted into single frame data, and therefore, the screen recorded data stored in the fifth segmented basic storage unit is deleted.
Preferably, the obtaining unit is further configured to: the acquisition service performs data compression on content stored in any of the plurality of segments. In the application, the content stored in any one of the plurality of segments is subjected to data compression through the acquisition service, for example, screen recording data of a mobile phone western game stored in the second segment is subjected to compression processing, so that the storage space of the data is saved.
The control unit 1304 generates a hover control in a display area of the user device for retrieving the customized operation data according to a time zone including the reference time. Preferably, the hover control can hover over the display interface of the running application, and the hover control can be presented with a transparency set by the user. In the present application, the customized operation data in the time zone can be acquired through the time zone defined by the reference time. If the running time of the Chinese western game is 10:00, generating a reference time of 5 minutes, and defining time sections as the first 5 minutes and the last 5 minutes of the current running time, namely 9:55 to 10: 05; the reference time generated by the application can also be 2 minutes, and the time section of the application can also be defined as the first 2 minutes and the last 2 minutes of the current running time; or the reference time generated by the application is 30 seconds, namely the time section is the first 30 seconds or the last 30 seconds of the current running time. In the application, a time section including reference time is generated by using a floating control of a device display area.
Preferably, the default value of the reference time and the initial value of the time zone are set by the acquisition service, and the user can modify the default value of the reference time and the initial value of the time zone. Preferably, the dynamic coefficient is an increased amount of time, and adjusting the time segment based on the dynamic coefficient to generate an adjusted time segment comprises: the time segments and the dynamic coefficients are summed to generate adjusted time segments. Preferably, the time zone is a time zone having the reference time as a center of symmetry or an asymmetric center. Preferably, the hovering control moves the adjusted time segment forward or backward along the time axis according to the user input. In the application, the reference time and the time zone can be set as default values, or a user modifies the default values of the reference time and the initial values of the time zone according to the actual requirement of acquiring screen recording data. If the default base time for western language is 3 minutes and the time segments are the first 3 minutes and the last 3 minutes of the current running time of the application, the application sums the time segments and the dynamic coefficients to generate adjusted time segments using the dynamic coefficients as the incremental amount of time. If the dynamic coefficient is 2 minutes, the time segment of the present application is modified to apply the first 5 minutes and the last 5 minutes of the current running time. In this application, the time zone may be a time zone in which the reference time is symmetrical or a time zone in which the reference time is asymmetrical. If the reference time is 3 minutes, the time sections are the first 3 minutes and the last 3 minutes of the current running time of the application; or the base time is 3 minutes and the time segments are the first 4 minutes and the last 2 minutes of the current running time of the application. The present application enables time segments to move forward or backward along a time axis using levitation control, including left-right or up-down dragging.
The customizing unit 1305 generates a dynamic coefficient according to the input control for the levitation control, adjusts the time zone based on the dynamic coefficient to generate an adjusted time zone, and selects data content for constituting the customized operation data from the base operation data according to the adjusted time zone. Preferably, the customization unit is further adapted to: and constructing the running data fragments associated with the adjusted time sections in the basic running data into the data content of the customized running data. In the application, the dynamic coefficient is generated through input control of the suspension control, if the dynamic coefficient generated by obtaining the running data for the western mobile application of the mobile phone is 2 minutes, the original reference time is 3 minutes, and the adjusted time sections are the time sections in which the screen of the western mobile phone game needs to be recorded in the first 5 minutes and the last 5 minutes of the current running time, the screen of the first 5 minutes and the screen of the last 5 minutes of the current running time of the running data of the western mobile phone game are recorded as the customized running data content. Or the time section is adjusted to be the first 6 minutes and the last 4 minutes of the current running time, and the screen recording data of the first 6 minutes and the last 4 minutes of the current running time of the running data of the western-style mobile game are used as the customized running data content.
According to an embodiment of the present invention, there is provided a mobile terminal including or configured to execute the above-described system for acquiring customized operation data according to a reference time.

Claims (41)

1. A method for dynamic content presentation based on video data, the method comprising:
responding to a presentation request for carrying out dynamic content presentation through video data, and determining a network position needing to carry out dynamic content presentation according to the presentation request;
creating a data link which can be associated with a target sub-region in a basic storage region in user equipment according to the network position, and setting a storage identifier for the target sub-region;
starting an acquisition service for acquiring the video data, wherein the acquisition service acquires the video data by using a preset acquisition rule and stores the acquired video data into the target sub-area by using the storage identifier under the condition that the target sub-area is determined not to store any data; the video data is recorded screen video data of the user equipment;
in response to receiving a generation instruction for video data acquisition, generating dynamic presentation data for dynamic content presentation based on the acquired video data; and
and transmitting the dynamic presentation data to the network location according to the data link for dynamic content presentation.
2. The method of claim 1, wherein video data is utilized as network commentary data for dynamic content presentation.
3. The method of claim 1, wherein video data is utilized as network recommendation data for dynamic content presentation.
4. The method of claim 1, the presentation request comprising: a requestor that sends a rendering request and a network location where dynamic content rendering is needed.
5. The method of claim 1, wherein creating a data link that can be associated with a target sub-region in a base storage area based on the network location comprises: and creating a data link pointing to the network position for a target sub-area in the storage area, and displaying the storage identification at the network position where dynamic content presentation is required after the storage identification is set for the target sub-area.
6. The method according to claim 1, wherein the acquisition service reads a pre-set acquisition rule profile and determines pre-set acquisition rules related to the user equipment from the acquisition rule profile.
7. The method of claim 6, the video data being recorded screen video data of a user device, and the acquisition rule comprising at least one of: length of time, capacity limit, frame rate, and bit rate.
8. The method of claim 7, upon determining a pre-set acquisition rule associated with the user device, further comprising the acquisition service acquiring the video data based on the acquisition rule upon expiration of a predetermined time.
9. The method of claim 1, further comprising setting a dynamic storage area in the user device when the base storage capacity of the base storage area is exhausted, wherein the dynamic storage area is used to store additional video data.
10. The method of claim 9, further comprising, prior to setting the dynamic storage area in the user equipment: determining that a remaining storage capacity of the user equipment is greater than an expansion threshold.
11. The method of claim 10, the acquisition service storing new video data in the base storage area in an overlay manner when the remaining capacity of the dynamic storage area is zero.
12. The method of claim 10, wherein the acquisition service overlays new video data in the dynamic storage area when the remaining capacity of the dynamic storage area is zero.
13. The method of claim 9, further comprising, prior to setting the dynamic storage area in the user equipment: and predicting the end time of the current operation of the application associated with the video data, and determining to allocate a dynamic storage area when the size of the acquired operation data in the time period from the current time to the end time of the current operation is less than or equal to an expansion threshold.
14. The method of claim 13, wherein the end time of the current run of the application associated with the video data is determined based on historical statistics of end time runs of the application associated with the video data.
15. The method of claim 9, further comprising, prior to setting the dynamic storage area in the user equipment: predicting an end time of a current run of an application associated with the video data, when it is determined that a size of the acquired run data within a time period from a current time to the end time of the current run is greater than an expansion threshold and less than an allowable threshold, determining to allocate a dynamic storage area for the user equipment and causing the acquisition service to acquire the video data according to a reduced frame rate and/or bit rate.
16. The method of claim 15, further comprising determining a size of each of a plurality of sub-regions in the base storage area when the operational data is stored in segments according to a dynamic profile.
17. The method of claim 16, further comprising the acquisition service recording different video data using the same or different frame rates and/or bit rates, and each video data being associated with a respective sub-region of a plurality of sub-regions.
18. A method according to claim 16 or 17, the acquisition service being capable of content recognition of acquired video data, the video data being deleted when it is determined that the video data in a particular sub-region is data that is not relevant to an application running in the user device.
19. A method according to claim 16 or 17, the acquisition service being capable of content recognition of acquired video data, the video data being deleted when it is determined that video data in a particular sub-region can be converted into single frame data relating to an application running in the user device.
20. The method of claim 16 or 17, wherein the acquisition service performs data compression on video data stored in any of the plurality of sub-regions.
21. A system for dynamic content presentation based on video data, the system comprising:
the response unit is used for responding to a presentation request for presenting the dynamic content through the video data and determining a network position needing to present the dynamic content according to the presentation request;
the link unit is used for creating a data link which can be associated with a target sub-region in a basic storage region in user equipment according to the network position and setting a storage identifier for the target sub-region;
the acquisition unit is used for starting an acquisition service for acquiring the video data, and under the condition that the target sub-area is determined not to store any data, the acquisition service acquires the video data by using a preset acquisition rule and stores the acquired video data into the target sub-area by using the storage identifier;
a generation unit that generates dynamic presentation data for performing dynamic content presentation based on the acquired video data in response to receiving a generation instruction for video data acquisition; and
and the presentation unit transmits the dynamic presentation data to the network position according to the data link so as to present dynamic content.
22. The system of claim 21, wherein video data is utilized as network commentary data for dynamic content presentation.
23. The system of claim 21, wherein video data is utilized as network recommendation data for dynamic content presentation.
24. The system of claim 21, the presentation request comprising: a requestor that sends a rendering request and a network location where dynamic content rendering is needed.
25. The system of claim 21, the linking unit further to: and creating a data link pointing to the network position for the target sub-area in the basic storage area, and displaying the storage identification at the network position where dynamic content presentation is required after the storage identification is set for the target sub-area.
26. The system of claim 21, the acquisition unit further configured wherein the acquisition service reads a pre-set acquisition rule profile and determines pre-set acquisition rules associated with the user equipment based on the acquisition rule profile.
27. The system of claim 26, the video data being recorded screen video data of a user device, and the acquisition rules comprising at least one of: length of time, capacity limit, frame rate, and bit rate.
28. The system of claim 27, the acquisition unit further to: after determining a preset acquisition rule related to the user equipment, the method further comprises the acquisition service acquiring the video data based on the acquisition rule after a preset time expires.
29. The system of claim 21, further comprising a storage unit: when the basic storage capacity of the basic storage area is exhausted, a dynamic storage area is set in the user equipment, wherein the dynamic storage area is used for storing additional video data.
30. The system of claim 29, the storage unit further to: determining that a remaining storage capacity of a user equipment is greater than an expansion threshold before setting a dynamic storage area in the user equipment.
31. The system of claim 29, the storage unit further to: when the remaining capacity of the dynamic storage area is zero, the acquisition service stores new video data in the base storage area in an overlay manner.
32. The system of claim 29, the storage unit further to: and when the residual capacity of the dynamic storage area is zero, the acquisition service performs overlay storage on new video data in the dynamic storage area.
33. The system of claim 29, the storage unit further to: the method comprises the steps of predicting the end time of the current operation of an application related to video data before setting a dynamic storage area in user equipment, and determining to allocate the dynamic storage area when the size of operation data acquired in a time period from the current time to the end time of the current operation is less than or equal to an expansion threshold.
34. The system of claim 33, the storage unit further to: wherein the end time of the current running of the application associated with the video data is determined according to historical statistical data of the running end time of the application associated with the video data.
35. The system of claim 29, the storage unit further to: predicting an end time of a current run of an application associated with the video data before setting a dynamic storage area in a user equipment, determining to allocate the dynamic storage area for the user equipment and causing the acquisition service to acquire the video data according to a reduced frame rate and/or bit rate when determining that a size of acquired run data in a time period from a current time to the end time of the current run is greater than an expansion threshold and less than an allowable threshold.
36. The system of claim 35, the storage unit further to: and determining the size of each sub-area in the plurality of sub-areas when the operating data is stored in the basic storage area in a segmented manner according to the dynamic configuration file.
37. The system of claim 21, the acquisition unit further to: the acquisition service records different video data using the same or different frame rates and/or bit rates, and each video data is associated with a respective sub-region of a plurality of sub-regions.
38. The system of claim 36 or 37, the obtaining unit further configured to: the acquisition service is capable of performing content recognition on the acquired video data, and deleting the video data in a specific subarea when the video data is determined to be data unrelated to an application running in the user equipment.
39. The system of claim 36 or 37, the obtaining unit further configured to: the acquisition service is capable of performing content recognition on the acquired video data, and deleting the video data when it is determined that the video data in a particular sub-region can be converted into single frame data related to an application running in the user equipment.
40. The system of claim 36 or 37, the obtaining unit further configured to: the acquisition service performs data compression on video data stored in any of the plurality of sub-regions.
41. A mobile terminal comprising or being adapted to carry out the system according to any of claims 21-40.
CN201711479199.0A 2017-12-29 2017-12-29 Method and system for presenting dynamic content based on video data Active CN108174245B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711479199.0A CN108174245B (en) 2017-12-29 2017-12-29 Method and system for presenting dynamic content based on video data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711479199.0A CN108174245B (en) 2017-12-29 2017-12-29 Method and system for presenting dynamic content based on video data

Publications (2)

Publication Number Publication Date
CN108174245A CN108174245A (en) 2018-06-15
CN108174245B true CN108174245B (en) 2021-02-12

Family

ID=62516366

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711479199.0A Active CN108174245B (en) 2017-12-29 2017-12-29 Method and system for presenting dynamic content based on video data

Country Status (1)

Country Link
CN (1) CN108174245B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109120877B (en) * 2018-10-23 2021-11-02 努比亚技术有限公司 Video recording method, device, equipment and readable storage medium
CN113473236A (en) * 2021-07-05 2021-10-01 北京有竹居网络技术有限公司 Processing method and device for screen recording video, readable medium and electronic equipment

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102164315A (en) * 2011-02-14 2011-08-24 深圳市同洲电子股份有限公司 Network personal video recording data recommending method and system in digital television
CN103259861A (en) * 2013-05-16 2013-08-21 深圳市共进电子股份有限公司 Method and system for recording and watching network videos
CN105872589A (en) * 2016-03-29 2016-08-17 乐视控股(北京)有限公司 Multi-channel video playing method, multi-channel video playing server and multi-channel video playing terminal
CN106162231A (en) * 2016-07-04 2016-11-23 天脉聚源(北京)传媒科技有限公司 The method and device that a kind of net cast turning point is broadcast
WO2017075493A1 (en) * 2015-10-28 2017-05-04 Ustudio, Inc. Video frame difference engine
CN107085611A (en) * 2017-05-14 2017-08-22 深圳游视虚拟现实技术有限公司 A kind of reality-virtualizing game video sharing method
CN107277031A (en) * 2017-06-30 2017-10-20 广东欧珀移动通信有限公司 A kind of Internet video method for down loading, device, storage medium and terminal

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100724239B1 (en) * 2003-10-13 2007-05-31 김의선 System and Method for Providing Music Banking Service Using by CDMA 2000 1x EV-DO System
CN104935980B (en) * 2015-05-04 2019-03-15 腾讯科技(北京)有限公司 Interactive information processing method, client and service platform
US20170134825A1 (en) * 2015-11-09 2017-05-11 Le Holdings (Beijing) Co., Ltd. Method and device for processing panoramic live broadcast video resources

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102164315A (en) * 2011-02-14 2011-08-24 深圳市同洲电子股份有限公司 Network personal video recording data recommending method and system in digital television
CN103259861A (en) * 2013-05-16 2013-08-21 深圳市共进电子股份有限公司 Method and system for recording and watching network videos
WO2017075493A1 (en) * 2015-10-28 2017-05-04 Ustudio, Inc. Video frame difference engine
CN105872589A (en) * 2016-03-29 2016-08-17 乐视控股(北京)有限公司 Multi-channel video playing method, multi-channel video playing server and multi-channel video playing terminal
CN106162231A (en) * 2016-07-04 2016-11-23 天脉聚源(北京)传媒科技有限公司 The method and device that a kind of net cast turning point is broadcast
CN107085611A (en) * 2017-05-14 2017-08-22 深圳游视虚拟现实技术有限公司 A kind of reality-virtualizing game video sharing method
CN107277031A (en) * 2017-06-30 2017-10-20 广东欧珀移动通信有限公司 A kind of Internet video method for down loading, device, storage medium and terminal

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
《局域网P2P视频点播与管理系统的设计与实现》;陶波;《中国优秀硕博士学位论文全文数据库》;20110801;全文 *

Also Published As

Publication number Publication date
CN108174245A (en) 2018-06-15

Similar Documents

Publication Publication Date Title
KR102389235B1 (en) Resource placement methods, devices, terminals and storage media
CN106998329B (en) File sharing method and device
JP7242784B2 (en) Video call system and method using two-way transmission of visual or auditory effects
US10065119B2 (en) Game accessing method and processing method, server, terminal, and system
CN105955779B (en) Process closing method and device
CN108121640B (en) Method and system for automatically acquiring running data of application
CN108228477B (en) Method and system for acquiring operation data based on storage capacity
CN108108294B (en) Method and system for acquiring customized operation data according to reference time
US20230412853A1 (en) Multi-user live streaming method, terminal, server, and storage medium
CN111214828A (en) Game running method, device, equipment, medium and cloud game platform
CN109274982B (en) Video carousel method and device, computer equipment and storage medium
CN110708571B (en) Video clip playing control method and related product
CN113230660B (en) Application program updating method, device and equipment
CN111752669A (en) Interface generation method and device, electronic equipment and storage medium
CN112104897B (en) Video acquisition method, terminal and storage medium
CN108174245B (en) Method and system for presenting dynamic content based on video data
CN110113655B (en) Video playing method and device and user terminal
CN111683281A (en) Video playing method and device, electronic equipment and storage medium
CN106250536B (en) Method, device and system for setting space page background
CN109743609B (en) Control method, system, terminal and storage medium for television equipment display
US20200327161A1 (en) Video processing method, device, terminal and storage medium
CN111026406A (en) Application running method, device and computer readable storage medium
CN114501058A (en) Video generation method and device, electronic equipment and storage medium
CN114666627A (en) Method and device for preloading streaming media video, electronic equipment and storage medium
KR102422394B1 (en) Apparatus and control method therof for setting update alarm

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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20201217

Address after: No.9-3-401, No.39, Gaoxin 6th Road, Binhai science and Technology Park, Binhai New Area, Tianjin

Applicant after: 3600 Technology Group Co., Ltd

Address before: 100086 room 112, block D, 28 xinjiekouwai street, Xicheng District, Beijing (Desheng Park)

Applicant before: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

GR01 Patent grant
GR01 Patent grant