CN110417991A - A kind of record screen method and electronic equipment - Google Patents

A kind of record screen method and electronic equipment Download PDF

Info

Publication number
CN110417991A
CN110417991A CN201910528140.9A CN201910528140A CN110417991A CN 110417991 A CN110417991 A CN 110417991A CN 201910528140 A CN201910528140 A CN 201910528140A CN 110417991 A CN110417991 A CN 110417991A
Authority
CN
China
Prior art keywords
terminal
application widget
application
record
screen
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910528140.9A
Other languages
Chinese (zh)
Other versions
CN110417991B (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201910528140.9A priority Critical patent/CN110417991B/en
Publication of CN110417991A publication Critical patent/CN110417991A/en
Priority to PCT/CN2020/096559 priority patent/WO2020253719A1/en
Application granted granted Critical
Publication of CN110417991B publication Critical patent/CN110417991B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/7243User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
    • H04M1/72439User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages for image or video messaging

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • User Interface Of Digital Computer (AREA)
  • Telephone Function (AREA)

Abstract

A kind of record screen method and electronic equipment, it is related to field of communication technology, record screen can be carried out to one or more application window in current screen, improves the accounting of effective content in record screen file, meet diversified demand, this method comprises: terminal shows the first interface comprising N number of application widget;Detect that the operation of starting record screen function, display include the second contact surface of N number of control;It detects one or more operations for N number of control, determines M application widget to record object;Terminal detects the operation that starting is recorded, and terminal starts to record the content of M application widget;Terminal detects the operation of an application widget in M application widget of adjustment, and terminal changes size or position of the application widget in screen;Terminal detects the operation for stopping recording, and terminal generates the video file that one includes the content of M application widget, alternatively, M video file is generated, wherein including the content of an application widget in M application widget in each video file.

Description

A kind of record screen method and electronic equipment
Technical field
This application involves field of communication technology more particularly to a kind of record screen method and electronic equipments.
Background technique
Record screen function is a common function of mobile phone.Existing record screen method be mobile phone current screen is shown it is entire Interface is recorded, and saves as video file.However, the appearance of screen mobile phone is especially folded with the increase of mobile phone screen, User can be used mobile phone while open multiple application programs, i.e. screen boundary that multiple application programs are shown in an interface Face.In this case, the inconvenience of user can be brought by recording multiple application programs in entire screen using the prior art and all recording. Such as: the family that comes in handy when recording, on mobile phone screen is not intended to the content for recording, such as is related to the instant of privacy of user The window of communications applications.Another example is: in the video file that viewing records, due to including in screen in the video file of recording The window of all application programs may cause the emphasis that user is hard to tell concern, cause confusion when viewing.
Summary of the invention
A kind of record screen method provided by the present application and electronic equipment, can be to one or more application window in current screen Record screen is carried out, the accounting of effective content in record screen file is improved, meets diversified demand.
First aspect provides a kind of record screen method, comprising: terminal shows that the first interface, the first interface include N number of application window Mouthful, N is the integer more than or equal to 2;Terminal detects the first operation for starting record screen function;It is operated in response to first, Terminal shows second contact surface, includes in second contact surface and N number of application widget N number of control correspondingly;Terminal is detected for N The one or more second of at least one control operates in a control;It is operated in response to one or more second, terminal determines N number of M application widget in application widget is to record object, and M is the positive integer less than or equal to N;Terminal is detected for starting record The third of system operates;It is operated in response to third, terminal starts to record the content of M application widget;Terminal is detected for adjusting M 4th operation of the size of application widget or position in a application widget;In response to the 4th operation, terminal changes application window Size or position of the mouth in screen;Terminal detects the 5th operation for stopping recording;In response to the 5th operation, terminal is raw At a video file, which includes the content of M application widget.
As it can be seen that terminal can select the operation of application widget (to select to record or selection is not recorded according to user in the application System), record screen is carried out to one or several application widgets in the first interface, to realize customized recording range, improves record screen The accounting of effective content, meets the diversified demand of user in file (video file generated after record screen).
In a kind of possible implementation, the video file of generation do not include in N number of application widget in addition to M application widget Another M-N application widget content.
In this way, user can be by the application window that is set as not recording by the application widget for being for example related to privacy of user Mouthful, to protect privacy of user.The application widget that do not record can also be set by the application widget for not needing concern, can be improved The accounting of effective content, promotes user experience in record screen file.
In a kind of possible implementation, after terminal is detected for starting the third recorded operation, terminal detection To before the 5th operation for stopping recording, method further include: terminal is detected answers for closing in M application widget one With the 6th operation of window;In response to the 6th operation, terminal stops recording the content for the application widget closed.
As it can be seen that during primary record, if terminal detects that user closes one of them or several users selection Application widget when, record screen no longer can be carried out to one or several application widgets automatically, record screen process is more intelligent.
In some embodiments, in order to avoid the maloperation of user, terminal can recorded detecting that user closes Application widget when, can be with display reminding information.
In further embodiments, if terminal is after detecting that user selects the multiple application widgets recorded to be closed, Recording process can be ended automatically.
In a kind of possible implementation, after terminal is detected for starting the third recorded operation, terminal detection To before the 5th operation for stopping recording, method further include: terminal detects the 7th operation for being used to open application widget; In response to the 7th operation, terminal notifying user chooses whether to record the content for the application widget newly opened;Terminal, which detects, to be used for Record the 8th operation of the application widget newly opened;In response to the 8th operation, terminal is recording the same of the M application widget When, start the content for recording the application widget newly opened.
Certainly, terminal, which can also be defaulted, does not record the new application widget of unlatching.So, when detecting that user opens Qi Xin's in application, terminal can not also display reminding information, continue to record the application widget selected originally.
A kind of application window for including the content of M application widget in possible implementation, in video file and newly opening The content of mouth.
In a kind of possible implementation, terminal generates a video file, specifically includes: in recording process, terminal Obtain L image, this L image for M application widget terminal by the content synthesis terminal display interface of N number of application widget it Preceding image;Terminal generates video file according to this L image.
Second aspect provides another record screen method, comprising: terminal shows that the first interface, the first interface include N number of application Window, N are the integer more than or equal to 2;Terminal detects the first operation for starting record screen function;In response to the first behaviour Make, terminal shows second contact surface, includes in second contact surface and N number of application widget N number of control correspondingly;Terminal detects needle The second one or more operations at least one control in N number of control;It is operated in response to one or more second, terminal is true M application widget in fixed N number of application widget is to record object, and M is the positive integer less than or equal to N;Terminal, which detects, to be used for The third operation that starting is recorded;It is operated in response to third, terminal starts to record the content of M application widget;Terminal detects use It is operated in adjust the size of application widget in M application widget or position the 4th;In response to the 4th operation, terminal changes Size or position of the application widget in screen;Terminal detects the 5th operation for stopping recording;It is operated in response to the 5th, Terminal generates M video file, and each video file includes an application widget in M application widget in M video file Content.
In a kind of possible implementation, after terminal is detected for starting the third recorded operation, terminal detection To before the 5th operation for stopping recording, method further include: terminal is detected answers for closing in M application widget one With the 6th operation of window;In response to the 6th operation, terminal stops recording the content for the application widget closed.
In a kind of possible implementation, after terminal is detected for starting the third recorded operation, terminal detection To before the 5th operation for stopping recording, method further include: terminal detects the 7th operation for being used to open application widget; In response to the 7th operation, terminal notifying user chooses whether to record the content for the application widget newly opened;Terminal, which detects, to be used for Record the 8th operation of the application widget newly opened;In response to the 8th operation, terminal is recording the same of the M application widget When, start the content for recording the application widget newly opened.
In a kind of possible implementation, after terminal detects the 5th operation for stopping recording, method is also wrapped Include: in response to the 5th operation, terminal also generates the video file of the application widget content comprising newly opening.
In a kind of possible implementation, terminal generates M video file, and specifically include: in recording process, terminal is obtained P image is taken, this P image is M application widget before the content of N number of application widget is synthesized terminal display interface by terminal Image;Terminal generates M video file according to this P image.
The third aspect provides a kind of electronic equipment, including touch screen;One or more processors;One or more storage Device;One or more sensors;And one or more computer programs, wherein one or more of computer programs are deposited Storage is in one or more of memories, and one or more of computer programs include instruction, when described instruction is described When electronic equipment executes, so that the electronic equipment is executed as in terms of above-mentioned and described in the possible implementation of any one of them Record screen method.
Fourth aspect provides a kind of electronic equipment, comprising: flexible screen, the physical aspect of the flexible screen include expansion State and non-deployed condition, when the flexible screen is in non-deployed condition, the flexible screen includes for main screen and vice screen; One or more processors;One or more memories;One or more sensors;And one or more computer programs, Wherein one or more of computer programs are stored in one or more of memories, one or more of calculating Machine program include instruction, when described instruction is executed by the electronic equipment so that the electronic equipment execute such as it is above-mentioned in terms of And record screen method described in the possible implementation of any one of them.
5th aspect provides a kind of device, the device include in the electronic device, the device have realize above-mentioned aspect and The function of electronic equipment behavior in any one of possible implementation.The function can also be led to by hardware realization It crosses hardware and executes corresponding software realization.Hardware or software include at least one module corresponding with above-mentioned function or unit. For example, detection module or unit, display module or unit, determining module or unit, recording module or unit and generation module Or unit etc..
6th aspect provides a kind of computer storage medium, including computer instruction, when computer instruction is transported at the terminal When row, so that terminal is executed as in terms of above-mentioned and record screen method described in the possible implementation of any one of them.
7th aspect provides a kind of computer program product, when computer program product is run on computers, so that Computer is executed as in terms of above-mentioned and record screen method described in the possible implementation of any one of them.
Eighth aspect provides a kind of chip, including processor, and when processor executes instruction, processor executes such as above-mentioned side Record screen method described in face and the possible implementation of any one of them.
9th aspect provides the graphic user interface in a kind of electronic equipment, and the electronic equipment has display screen, camera shooting Head, memory and one or more processors, one or more of processors are for executing storage in the memory One or more computer programs, the graphic user interface includes that the electronic equipment is executed as appointed in terms of above-mentioned and wherein A kind of graphic user interface shown when method described in possible implementation.
Detailed description of the invention
Fig. 1 is the structural schematic diagram one of a kind of electronic equipment provided by the embodiments of the present application;
Fig. 2 is the structural schematic diagram two of a kind of electronic equipment provided by the embodiments of the present application;
Fig. 3 is the user interface schematic diagram of some electronic equipments provided by the embodiments of the present application;
Fig. 4 is the user interface schematic diagram of other electronic equipment provided by the embodiments of the present application;
Fig. 5 is the user interface schematic diagram of other electronic equipment provided by the embodiments of the present application;
Fig. 6 is the user interface schematic diagram of other electronic equipment provided by the embodiments of the present application;
Fig. 7 is the user interface schematic diagram of other electronic equipment provided by the embodiments of the present application;
Fig. 8 is a kind of method schematic diagram for generating record screen file provided by the embodiments of the present application;
Fig. 9 is the method schematic diagram of another generation record screen file provided by the embodiments of the present application;
Figure 10 is the user interface schematic diagram of other electronic equipment provided by the embodiments of the present application;
Figure 11 is the method schematic diagram of another generation record screen file provided by the embodiments of the present application;
Figure 12 is the user interface schematic diagram of other electronic equipment provided by the embodiments of the present application;
Figure 13 is the user interface schematic diagram of other electronic equipment provided by the embodiments of the present application;
Figure 14 is the user interface schematic diagram of other electronic equipment provided by the embodiments of the present application;
Figure 15 is the user interface schematic diagram of other electronic equipment provided by the embodiments of the present application;
Figure 16 is a kind of structural schematic diagram of chip system provided by the embodiments of the present application.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present application, technical solutions in the embodiments of the present application is described.Its In, in the description of the embodiment of the present application, unless otherwise indicated, "/" indicate or the meaning, for example, A/B can indicate A or B; "and/or" herein is only a kind of incidence relation for describing affiliated partner, indicates may exist three kinds of relationships, for example, A And/or B, can indicate: individualism A exists simultaneously A and B, these three situations of individualism B.
Hereinafter, term " first ", " second " are used for descriptive purposes only and cannot be understood as indicating or suggesting relative importance Or implicitly indicate the quantity of indicated technical characteristic.Define " first " as a result, the feature of " second " can be expressed or Implicitly include one or more of the features.In the description of the embodiment of the present application, unless otherwise indicated, " multiples' " contains Justice is two or more.
In the embodiment of the present application, " illustrative " or " such as " etc. words for indicate make example, illustration or explanation.This Application embodiment in be described as " illustrative " or " such as " any embodiment or design scheme be not necessarily to be construed as comparing Other embodiments or design scheme more preferably or more advantage.Specifically, use " illustrative " or " such as " etc. words purport Related notion is being presented in specific ways.
Illustratively, the electronic equipment in the application can be mobile phone, tablet computer, personal computer (personal Computer, PC), personal digital assistant (personal digital assistant, PDA), smartwatch, net book, can Dress electronic equipment, augmented reality (augmented reality, AR) equipment, virtual reality (virtual reality, VR) equipment, mobile unit, intelligent automobile, intelligent sound, robot etc., the application do not do the concrete form of the electronic equipment It is specifically limited.
Fig. 1 shows the structural schematic diagram of electronic equipment 100.
Electronic equipment 100 may include processor 110, external memory interface 120, internal storage 121, general serial Bus (universal serial bus, USB) interface 130, charge management module 140, power management module 141, battery 142, antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, audio-frequency module 170, loudspeaker 170A, receiver 170B, microphone 170C, earphone interface 170D, sensor module 180, key 190, motor 191, indicator 192, camera 193, display screen 194 and Subscriber Identity Module (subscriber identification module, SIM) card interface 195 Deng.Wherein sensor module 180 may include pressure sensor 180A, gyro sensor 180B, baroceptor 180C, magnetic Sensor 180D, acceleration transducer 180E, range sensor 180F, close to optical sensor 180G, fingerprint sensor 180H, temperature Spend sensor 180J, touch sensor 180K, ambient light sensor 180L, bone conduction sensor 180M etc..
It is understood that the structure of signal of the embodiment of the present invention does not constitute the specific restriction to electronic equipment 100.In In other embodiments of the application, electronic equipment 100 may include than illustrating more or fewer components, or the certain portions of combination Part perhaps splits certain components or different component layouts.The component of diagram can be with hardware, software or software and hardware Combination realize.
Processor 110 may include one or more processing units, such as: processor 110 may include application processor (application processor, AP), modem processor, graphics processor (graphics processing Unit, GPU), image-signal processor (image signal processor, ISP), controller, Video Codec, number Signal processor (digital signal processor, DSP), baseband processor and/or neural network processor (neural-network processing unit, NPU) etc..Wherein, different processing units can be independent device, It can integrate in one or more processors.
In some embodiments of the present application, processor 110 is used to select each application for needing to record from acquisition user The image data of window;Coding compression is carried out to the image data of each application widget of acquisition;Compressed image will be encoded Data are packaged with corresponding audio data respectively, are generated multiple records and are shielded file.Wherein, each record screen file only includes one The content of a application widget, and each record screen file is named with the title for the application for being included automatically.
In other embodiments of the application, processor 110 is used to obtain comprising all application widgets of current screen The information of the data of composograph and each application widget;According to the information of each application widget, modification or cutting composite diagram As user's selection does not need the interface content for the application widget recorded in data;To the composograph data after modification or cutting into Row coding compression;Compressed image data will be encoded to be packaged with corresponding audio data, be packaged into a record screen file. The record screen file includes the content of multiple application windows.
Controller can generate operating control signal according to instruction operation code and clock signal, complete instruction fetch and execution The control of instruction.
Memory can also be set in processor 110, for storing instruction and data.In some embodiments, processor Memory in 110 is cache memory.The memory can save the instruction that processor 110 is just used or is recycled Or data.If processor 110 needs to reuse the instruction or data, can be called directly from the memory.It avoids Repeated access, reduces the waiting time of processor 110, thus improves the efficiency of system.
In some embodiments, processor 110 may include one or more interfaces.Interface may include integrated circuit (inter-integrated circuit, I2C) interface, integrated circuit built-in audio (inter-integrated circuit Sound, I2S) interface, pulse code modulation (pulse code modulation, PCM) interface, universal asynchronous receiving-transmitting transmitter (universal asynchronous receiver/transmitter, UART) interface, mobile industry processor interface (mobile industry processor interface, MIPI), universal input export (general-purpose Input/output, GPIO) interface, Subscriber Identity Module (subscriber identity module, SIM) interface, and/or Universal serial bus (universal serial bus, USB) interface etc..
I2C interface is a kind of bi-directional synchronization universal serial bus, including serial data line (serial data line, SDA) He Yigen serial time clock line (derail clock line, SCL).In some embodiments, processor 110 may include Multiple groups I2C bus.Processor 110 can by different I2C bus interface distinguish coupled with touch sensors 180K, charger, Flash lamp, camera 193 etc..Such as: processor 110 can make processor by I2C interface coupled with touch sensors 180K 110 are communicated with touch sensor 180K by I2C bus interface, realize the touch function of electronic equipment 100.
I2S interface can be used for voice communication.In some embodiments, processor 110 may include multiple groups I2S bus. Processor 110 can be coupled by I2S bus with audio-frequency module 170, be realized logical between processor 110 and audio-frequency module 170 Letter.In some embodiments, audio-frequency module 170 can transmit audio signal to wireless communication module 160 by I2S interface, real The function of now being received calls by bluetooth headset.
Pcm interface can be used for voice communication, by analog signal sampling, quantization and coding.In some embodiments, sound Frequency module 170 can be coupled with wireless communication module 160 by pcm bus interface.In some embodiments, audio-frequency module 170 Audio signal can also be transmitted to wireless communication module 160 by pcm interface, realize the function to receive calls by bluetooth headset Energy.The I2S interface and the pcm interface may be used to voice communication.
UART interface is a kind of Universal Serial Bus, is used for asynchronous communication.The bus can be bidirectional communications bus. The data that it will be transmitted are converted between serial communication and parallel communications.In some embodiments, UART interface usually by with In connection processor 110 and wireless communication module 160.Such as: processor 110 passes through UART interface and wireless communication module 160 In bluetooth module communication, realize Bluetooth function.In some embodiments, audio-frequency module 170 can be by UART interface to nothing Line communication module 160 transmits audio signal, realizes the function that music is played by bluetooth headset.
MIPI interface can be used to connect the peripheral components such as processor 110 and display screen 194, camera 193.MIPI connects Mouth includes camera serial line interface (camera serial interface, CSI), display screen serial line interface (display Serial interface, DSI) etc..In some embodiments, processor 110 and camera 193 are communicated by CSI interface, real The shooting function of existing electronic equipment 100.Processor 110 and display screen 194 realize electronic equipment 100 by DSI interface communication Display function.
GPIO interface can pass through software configuration.GPIO interface can be configured as control signal, may be alternatively configured as counting It is believed that number.In some embodiments, GPIO interface can be used for connecting processor 110 and camera 193, display screen 194, wirelessly Communication module 160, audio-frequency module 170, sensor module 180 etc..GPIO interface can be additionally configured to I2C interface, and I2S connects Mouthful, UART interface, MIPI interface etc..
Usb 1 30 is the interface for meeting USB standard specification, specifically can be Mini USB interface, and Micro USB connects Mouthful, USB Type C interface etc..Usb 1 30 can be used for connecting charger for the charging of electronic equipment 100, can be used for Data are transmitted between electronic equipment 100 and peripheral equipment.It can be used for connection earphone, audio played by earphone.The interface It can be also used for connecting other electronic equipments, such as AR equipment etc..
It is understood that the interface connection relationship of each intermodule of signal of the embodiment of the present invention, only schematically illustrates, The structure qualification to electronic equipment 100 is not constituted.In other embodiments of the application, electronic equipment 100 can also be used The combination of different interface connection type or multiple interfaces connection type in above-described embodiment.
Charge management module 140 is used to receive charging input from charger.Wherein, charger can be wireless charger, It is also possible to wired charger.In the embodiment of some wired chargings, charge management module 140 can pass through usb 1 30 Receive the charging input of wired charger.In the embodiment of some wireless chargings, charge management module 140 can pass through electronics The Wireless charging coil of equipment 100 receives wireless charging input.While charge management module 140 is that battery 142 charges, may be used also To be power electronic equipment by power management module 141.
Power management module 141 is for connecting battery 142, charge management module 140 and processor 110.Power management mould Block 141 receives the input of battery 142 and/or charge management module 140, is processor 110, internal storage 121, display screen 194, the power supply such as camera 193 and wireless communication module 160.Power management module 141 can be also used for monitoring battery capacity, Circulating battery number, the parameters such as cell health state (electric leakage, impedance).In some other embodiment, power management module 141 Also it can be set in processor 110.In further embodiments, power management module 141 and charge management module 140 can also To be set in the same device.
The wireless communication function of electronic equipment 100 can pass through antenna 1, antenna 2, mobile communication module 150, wireless communication Module 160, modem processor and baseband processor etc. are realized.
Antenna 1 and antenna 2 electromagnetic wave signal for transmitting and receiving.Each antenna in electronic equipment 100 can be used for covering Cover single or multiple communication bands.Different antennas can also be multiplexed, to improve the utilization rate of antenna.Such as: it can be by antenna 1 It is multiplexed with the diversity antenna of WLAN.In other embodiments, antenna can be used in combination with tuning switch.
Mobile communication module 150, which can provide, applies wirelessly communicating on electronic equipment 100 including 2G/3G/4G/5G etc. Solution.Mobile communication module 150 may include at least one filter, switch, power amplifier, low-noise amplifier (low noise amplifier, LNA) etc..Mobile communication module 150 can receive electromagnetic wave by antenna 1, and to received electricity Magnetic wave is filtered, and the processing such as amplification is sent to modem processor and is demodulated.Mobile communication module 150 can also be right The modulated modulated signal amplification of demodulation processor, switchs to electromagenetic wave radiation through antenna 1 and goes out.In some embodiments, it moves At least partly functional module of dynamic communication module 150 can be arranged in processor 110.In some embodiments, mobile logical At least partly functional module of letter module 150 can be arranged in the same device at least partly module of processor 110.
Modem processor may include modulator and demodulator.Wherein, modulator is used for low frequency base to be sent Band signal is modulated into high frequency signal.Demodulator is used to received electromagnetic wave signal being demodulated into low frequency baseband signal.Then solution Adjust device that the low frequency baseband signal that demodulation obtains is sent to baseband processor.Low frequency baseband signal is through baseband processor Afterwards, it is delivered to application processor.Application processor is defeated by audio frequency apparatus (being not limited to loudspeaker 170A, receiver 170B etc.) Voice signal out, or image or video are shown by display screen 194.In some embodiments, modem processor can be Independent device.In further embodiments, modem processor can be independently of processor 110, with mobile communication module 150 or other function module be arranged in the same device.
It includes WLAN (wireless that wireless communication module 160, which can be provided and be applied on electronic equipment 100, Local area networks, WLAN) (such as Wireless Fidelity (wireless fidelity, Wi-Fi) network), bluetooth (bluetooth, BT), Global Navigation Satellite System (global navigation satellite system, GNSS), frequency modulation (frequency modulation, FM), the short distance wireless communication technology (near field communication, NFC) are red The solution of the wireless communications such as outer technology (infrared, IR).Wireless communication module 160 can be integrated into few communication One or more devices of processing module.Wireless communication module 160 receives electromagnetic wave via antenna 2, by electromagnetic wave signal frequency modulation And filtering processing, by treated, signal is sent to processor 110.Wireless communication module 160 can also connect from processor 110 Signal to be sent is received, frequency modulation is carried out to it, is amplified, is switched to electromagenetic wave radiation through antenna 2 and go out.
In some embodiments, the antenna 1 of electronic equipment 100 and mobile communication module 150 couple, antenna 2 and channel radio Believe that module 160 couples, allowing electronic equipment 100, technology is communicated with network and other equipment by wireless communication.It is described Wireless communication technique may include global system for mobile communications (global system for mobile communications, GSM), general packet radio service (general packet radio service, GPRS), CDMA access (code Division multiple access, CDMA), wideband code division multiple access (wideband code division multiple Access, WCDMA), time division CDMA (time-division code division multiple access, TD- SCDMA), long term evolution (long term evolution, LTE), BT, GNSS, WLAN, NFC, FM and/or IR technology etc..Institute Stating GNSS may include GPS (global positioning system, GPS), global navigational satellite system It unites (global navigation satellite system, GLONASS), Beidou satellite navigation system (beidou Navigation satellite system, BDS), quasi- zenith satellite system (quasi-zenith satellite System, QZSS) and/or satellite-based augmentation system (satellite based augmentation systems, SBAS).
Electronic equipment 100 realizes display function by GPU, display screen 194 and application processor etc..GPU is at image The microprocessor of reason connects display screen 194 and application processor.GPU is calculated for executing mathematics and geometry, is used for figure wash with watercolours Dye.Processor 110 may include one or more GPU, execute program instructions to generate or change display information.
Display screen 194 is for showing image, video etc..Display screen 194 includes display panel.Display panel can use liquid Crystal display screen (liquid crystal display, LCD), Organic Light Emitting Diode (organic light-emitting Diode, OLED), active matrix organic light-emitting diode or active-matrix organic light emitting diode (active-matrix Organic light emitting diode's, AMOLED), Flexible light-emitting diodes (flex light-emitting Diode, FLED), Miniled, MicroLed, Micro-oLed, light emitting diode with quantum dots (quantum dot light Emitting diodes, QLED) etc..In some embodiments, electronic equipment 100 may include 1 or N number of display screen 194, N For the positive integer greater than 1.
Electronic equipment 100 can be by ISP, camera 193, Video Codec, GPU, display screen 194 and at It manages device etc. and realizes shooting function.
ISP is used to handle the data of the feedback of camera 193.For example, opening shutter when taking pictures, light is passed by camera lens It is delivered on camera photosensitive element, optical signal is converted to electric signal, and camera photosensitive element passes to the electric signal at ISP Reason, is converted into macroscopic image.ISP can also be to the noise of image, brightness, colour of skin progress algorithm optimization.ISP can be with Exposure to photographed scene, the parameter optimizations such as colour temperature.In some embodiments, ISP can be set in camera 193.
Camera 193 is for capturing still image or video.Object generates optical imagery by camera lens and projects photosensitive member Part.Photosensitive element can be charge-coupled device (charge coupled device, CCD) or complementary metal oxide is partly led Body (complementary metal-oxide-semiconductor, CMOS) phototransistor.Photosensitive element turns optical signal It changes electric signal into, electric signal is passed into ISP later and is converted into data image signal.Data image signal is output to DSP by ISP Working process.Data image signal is converted into the RGB of standard, the picture signal of the formats such as YUV by DSP.In some embodiments, Electronic equipment 100 may include 1 or N number of camera 193, and N is the positive integer greater than 1.
Digital signal processor, in addition to can handle data image signal, can also handle it for handling digital signal His digital signal.For example, digital signal processor is used to carry out Fu to frequency point energy when electronic equipment 100 is when frequency point selects In leaf transformation etc..
Video Codec is used for compression of digital video or decompression.Electronic equipment 100 can be supported one or more Video Codec.In this way, electronic equipment 100 can play or record the video of a variety of coded formats, and such as: dynamic image is special Family's group (moving picture experts group, MPEG) 1, MPEG2, mpeg 3, MPEG4 etc..
NPU is neural network (neural-network, NN) computation processor, by using for reference biological neural network structure, Such as transfer mode between human brain neuron is used for reference, it, can also continuous self study to input information fast processing.Pass through NPU The application such as intelligent cognition of electronic equipment 100 may be implemented, such as: image recognition, recognition of face, speech recognition, text understanding Deng.
External memory interface 120 can be used for connecting external memory card, such as Micro SD card, realize that extension electronics is set Standby 100 storage capacity.External memory card is communicated by external memory interface 120 with processor 110, realizes that data store function Energy.Such as by music, the files such as video are stored in external memory card.
Internal storage 121 can be used for storing computer executable program code, and the executable program code includes Instruction.Internal storage 121 may include storing program area and storage data area.Wherein, storing program area can store operation system It unites, application program (such as sound-playing function, image player function etc.) needed at least one function etc..It storage data area can The data (such as audio data, phone directory etc.) etc. created in storage 100 use process of electronic equipment.In addition, storage inside Device 121 may include high-speed random access memory, can also include nonvolatile memory, for example, at least a disk storage Device, flush memory device, generic flash memory (universal flash storage, UFS) etc..Processor 110 passes through operation It is stored in the instruction of internal storage 121, and/or is stored in the instruction for the memory being set in processor, electronics is executed and sets Standby 100 various function application and data processing.
Electronic equipment 100 can pass through audio-frequency module 170, loudspeaker 170A, receiver 170B, microphone 170C, earphone Interface 170D and application processor etc. realize audio-frequency function.Such as music, recording etc..
Audio-frequency module 170 is used to for digitized audio message to be converted into analog audio signal output, is also used for analogue audio frequency Input is converted to digital audio and video signals.Audio-frequency module 170 can be also used for audio-frequency signal coding and decoding.In some embodiments In, audio-frequency module 170 can be set in processor 110, or the partial function module of audio-frequency module 170 is set to processor In 110.
Loudspeaker 170A, also referred to as " loudspeaker ", for audio electrical signal to be converted to voice signal.Electronic equipment 100 can be with Music is listened to by loudspeaker 170A, or listens to hand-free call.
Receiver 170B, also referred to as " earpiece ", for audio electrical signal to be converted into voice signal.When electronic equipment 100 connects It answers a call or when voice messaging, it can be by the way that receiver 170B be answered voice close to human ear.
Microphone 170C, also referred to as " microphone ", " microphone ", for voice signal to be converted to electric signal.When making a phone call Or when sending voice messaging, voice signal can be input to microphone by mouth close to microphone 170C sounding by user 170C.At least one microphone 170C can be set in electronic equipment 100.In further embodiments, electronic equipment 100 can be set Two microphone 170C are set, in addition to collected sound signal, can also realize decrease of noise functions.In further embodiments, electronics is set Standby 100 can also be arranged three, four or more microphone 170C, realize that collected sound signal, noise reduction can also identify sound Directional recording function etc. is realized in source.
Earphone interface 170D is for connecting wired earphone.Earphone interface 170D can be usb 1 30, be also possible to Opening mobile electronic device platform (open mobile terminal platform, OMTP) standard interface of 3.5mm, the U.S. Cellular telecommunication industrial association (cellular telecommunications industry association of the USA, CTIA) standard interface.
Pressure signal can be converted into electric signal for experiencing pressure signal by pressure sensor 180A.In some implementations In example, pressure sensor 180A be can be set in display screen 194.There are many type of pressure sensor 180A, such as resistive pressure Sensor, inductance pressure transducer, capacitance pressure transducer, etc..Capacitance pressure transducer, can be including at least two Parallel-plate with conductive material.When effectively acting on pressure sensor 180A, the capacitor between electrode changes.Electronic equipment 100 determine the intensity of pressure according to the variation of capacitor.When there is touch operation to act on display screen 194, electronic equipment 100 is according to pressure Force snesor 180A detects the touch operation intensity.Electronic equipment 100 can also be believed according to the detection of pressure sensor 180A Number calculate touch position.In some embodiments, identical touch location, but the touch behaviour of different touch operation intensity are acted on Make, different operational orders can be corresponded to.Such as: when the touch operation for having touch operation intensity to be less than first pressure threshold value acts on When short message application icon, the instruction for checking short message is executed.When have touch operation intensity be greater than or equal to first pressure threshold When the touch operation of value acts on short message application icon, the instruction of newly-built short message is executed.
Gyro sensor 180B is determined for the athletic posture of electronic equipment 100.It in some embodiments, can be with Determine that electronic equipment 100 surrounds the angular speed of three axis (that is, x, y and z-axis) by gyro sensor 180B.Gyro sensors Device 180B can be used for shooting stabilization.Illustratively, when pressing shutter, gyro sensor 180B detection electronic equipment 100 is trembled Dynamic angle goes out the distance that lens module needs to compensate according to angle calculation, camera lens is allowed to offset electronic equipment by counter motion Stabilization is realized in 100 shake.Gyro sensor 180B can be also used for navigating, somatic sensation television game scene.
Baroceptor 180C is for measuring air pressure.In some embodiments, electronic equipment 100 passes through baroceptor The atmospheric pressure value that 180C is measured calculates height above sea level, auxiliary positioning and navigation.
Magnetic Sensor 180D includes Hall sensor.Electronic equipment 100 can use Magnetic Sensor 180D flip cover skin The folding of set.In some embodiments, when electronic equipment 100 is liding machine, electronic equipment 100 can be according to Magnetic Sensor The folding of 180D flip cover.And then according to the folding condition of the leather sheath detected or the folding condition of flip lid, setting flip lid is certainly The characteristics such as dynamic unlock.
Acceleration transducer 180E can detect the big of (the generally three axis) acceleration in all directions of electronic equipment 100 It is small.It can detect that size and the direction of gravity when electronic equipment 100 is static.It can be also used for identification electronic equipment posture, answer Switch for horizontal/vertical screen, the application such as pedometer.
Range sensor 180F, for measuring distance.Electronic equipment 100 can pass through infrared or laser distance measuring.In In some embodiments, photographed scene, electronic equipment 100 can use range sensor 180F ranging to realize rapid focus.
It may include such as light emitting diode (LED) and photodetector, such as photodiode close to optical sensor 180G. Light emitting diode can be infrared light-emitting diode.Electronic equipment 100 launches outward infrared light by light emitting diode.Electronics is set Standby 100 detect the infrared external reflection light from neighbouring object using photodiode.It, can be true when detecting sufficient reflected light Determining electronic equipment 100 nearby has object.When detecting insufficient reflected light, electronic equipment 100 can determine electronic equipment 100 do not have object nearby.Electronic equipment 100 can use to be pasted close to optical sensor 180G detection user's hand-hold electronic equipments 100 Nearly ear call, so that automatic distinguishing screen achievees the purpose that power saving.It can also be used for leather sheath mode, mouth close to optical sensor 180G Bag mode automatic unlocking and screen locking.
Ambient light sensor 180L is for perceiving environmental light brightness.Electronic equipment 100 can be according to the environment bright of perception Spend 194 brightness of automatic adjusument display screen.Automatic white balance adjustment when ambient light sensor 180L can also be used for taking pictures.Environment light Sensor 180L can also cooperate with close to optical sensor 180G, electronic equipment 100 be detected whether in pocket, with false-touch prevention.
Fingerprint sensor 180H is for acquiring fingerprint.The fingerprint characteristic that electronic equipment 100 can use acquisition realizes fingerprint Unlock accesses application lock, and fingerprint is taken pictures, fingerprint incoming call answering etc..
Temperature sensor 180J is for detecting temperature.In some embodiments, electronic equipment 100 utilizes temperature sensor The temperature of 180J detection, executes Temperature Treatment strategy.For example, when the temperature sensor 180J temperature reported is more than threshold value, electronics Equipment 100 executes the performance for reducing the processor being located near temperature sensor 180J, implements Thermal protection to reduce power consumption.In In other embodiments, when temperature is lower than another threshold value, electronic equipment 100 heats battery 142, leads to electricity to avoid low temperature The abnormal shutdown of sub- equipment 100.In some other embodiment, when temperature is lower than another threshold value, electronic equipment 100 is to battery 142 output voltage executes boosting, to avoid shutting down extremely caused by low temperature.
Touch sensor 180K, also referred to as " touch-control device ".Touch sensor 180K can be set in display screen 194, by touching It touches sensor 180K and display screen 194 forms touch screen, also referred to as " touch screen ".Touch sensor 180K acts on it for detecting On or near touch operation.The touch operation that touch sensor can will test passes to application processor, to determine touching Touch event type.Visual output relevant to touch operation can be provided by display screen 194.In further embodiments, it touches Touching sensor 180K also can be set in the surface of electronic equipment 100, different from the location of display screen 194.
The available vibration signal of bone conduction sensor 180M.In some embodiments, bone conduction sensor 180M can be with Obtain the vibration signal of human body part vibration bone block.Bone conduction sensor 180M can also contact human pulse, receive blood pressure and jump Dynamic signal.In some embodiments, bone conduction sensor 180M also can be set in earphone, be combined into bone conduction earphone.Sound Frequency module 170 can parse voice based on the vibration signal for the part vibration bone block that the bone conduction sensor 180M is obtained Signal realizes phonetic function.The blood pressure jitter solution that application processor can be obtained based on the bone conduction sensor 180M Heart rate information is analysed, realizes heart rate detecting function.
Key 190 includes power button, volume key etc..Key 190 can be mechanical key.It is also possible to touch-key. Electronic equipment 100 can receive key-press input, generate key letter related with the user setting of electronic equipment 100 and function control Number input.
Motor 191 can produce vibration prompt.Motor 191 can be used for calling vibration prompt, can be used for touching vibration Dynamic feedback.For example, acting on the touch operation of different application (such as taking pictures, audio broadcasting etc.), different vibrations can be corresponded to Feedback effects.The touch operation of 194 different zones of display screen is acted on, motor 191 can also correspond to different vibrational feedback effects. Different application scenarios (such as: time alarm receives information, alarm clock, game etc.) different vibrational feedback effects can also be corresponded to Fruit.Touch vibrational feedback effect can also be supported customized.
Indicator 192 can be indicator light, can serve to indicate that charged state, electric quantity change can be used for instruction and disappear Breath, missed call, notice etc..
SIM card interface 195 is for connecting SIM card.SIM card can be by being inserted into SIM card interface 195, or from SIM card interface 195 extract, and realization is contacting and separating with electronic equipment 100.Electronic equipment 100 can support 1 or N number of SIM card interface, N For the positive integer greater than 1.SIM card interface 195 can support Nano SIM card, Micro SIM card, SIM card etc..The same SIM Card interface 195 can be inserted into multiple cards simultaneously.The type of multiple cards may be the same or different.SIM card interface 195 Different types of SIM card can also be compatible with.SIM card interface 195 can also be with compatible external storage card.Electronic equipment 100 passes through SIM Card and network interaction realize the functions such as call and data communication.In some embodiments, electronic equipment 100 uses eSIM, That is: embedded SIM card.ESIM card can cannot separate in electronic equipment 100 with electronic equipment 100.
The software systems of electronic equipment 100 can use layer architecture, event-driven framework, micronucleus framework, micro services frame Structure or cloud framework.The embodiment of the present invention by taking the android system of layer architecture as an example, exemplary illustration electronic equipment 100 it is soft Part structure.
Fig. 2 is the software architecture diagram of the electronic equipment 100 of the embodiment of the present invention.
Software is divided into several layers by layer architecture, and each layer has clearly role and the division of labor.Pass through between layers Software interface communication.In some embodiments, android system is divided into four layers, from top to bottom respectively application layer, answered With process block rack-layer, (Android runtime) and system library and inner nuclear layer when Android is run.
Application layer may include a series of application packages.
As shown in Fig. 2, application package may include camera, and picture library, calendar, call, map, navigation, WLAN, bluetooth, Music, video, the application programs such as short message.
In some embodiments of the present application, application package further includes record screen application.The record screen application can provide electricity The interface that sub- equipment 100 is interacted with user, such as: it allows user to select to need the interface for the application widget recorded, allows user It selects recording mode (merge recording or separation is recorded), user is allowed to allow the control of recording process (pause is recorded, end is recorded) User selects recorded voice source etc..
Application framework layer provides Application Programming Interface (application for the application program of application layer Programming interface, API) and programming framework.Application framework layer includes some functions predetermined.
As shown in Fig. 2, application framework layer may include window manager, Content Provider, view system, phone pipe Manage device, resource manager, notification manager etc..
Window manager is for managing window writing routine.The available display screen size of window manager, judges whether there is shape State column, lock-screen, screen printing etc..
In some embodiments of the present application, window manager can be specially window management service (WindowManagerService, WMS), the WMS store the information for having each application widget shown in current screen, such as The information such as coordinate, the size of each application widget.
It, can be by information such as the size and locations of the application widget of starting when the application program of application layer brings into operation Inform WMS.Also, it is subsequent when the size and location of application widget changes, the data of variation can also be flushed in time In WMS.Therefore, the information of each application widget shown in current screen can be obtained from WMS.
For example, record screen application can be according to the current screen obtained from WMS when electronic equipment 100 opens record screen function The information of the application widget of display provides and user is allowed to select to need the option etc. for the application widget recorded.
In another example the application of record screen can be selected according to the user obtained from WMS when electronic equipment 100 merges recording The information for the application widget that the needs selected are recorded, modifies or cuts to the interface that current screen is shown, so that the record generated Screen file only includes the content for the application widget that the needs of user's selection are recorded, and concrete implementation please refers to hereafter.
Content Provider is used to store and obtains data, and accesses these data by application program.The data It may include video, image, audio, the phone dialed and answered, browsing history and bookmark, telephone directory etc..
View system includes visible controls, such as the control of display text, shows the control etc. of picture.View system is available In building application program.What display interface can be made of one or more views.E.g., including the display of short massage notice icon Interface may include the view for showing text and the view for showing picture.
Telephone supervisor is for providing the communication function of electronic equipment 100.Such as talking state management (including connect, It hangs up).
Resource manager provides various resources, such as localized strings for application program, icon, picture, topology file, Video file etc..
Notification manager allows application program to show notification information in status bar, can be used for conveying and informs type Message, can be to disappear, without user's interaction automatically after short stay.For example notification manager be used to inform that downloading is completed, and disappear Breath prompting etc..Notification manager, which can also be, appears in the logical of system head status bar with chart or scroll bar textual form Know, for example, running background application program notice, can also be occur notice on the screen in the form of dialog box.Such as Text information is prompted in status bar, issues prompt tone, vibration of electronic equipment, indicator light flashing etc..
Android Runtime includes core library and virtual machine.Android runtime be responsible for Android system scheduling and Management.
Core library includes two parts: a part is the power function that java language needs to call, and another part is Android Core library.
Application layer and application framework layer operate in virtual machine.Virtual machine is by application layer and application program It is binary file that the java file of ccf layer, which executes,.Virtual machine is used to execute the management of Object Life Cycle, stack management, line Thread management, safety and the functions such as abnormal management and garbage reclamation.
System library may include multiple functional modules.Such as: surface manager (surface manager), media library (Media Libraries), three-dimensional graph process library (such as: OpenGL ES), 2D graphics engine (such as: SGL) etc..
Surface manager provides 2D and 3D figure layer for being managed to display subsystem for multiple application programs Fusion.
In some embodiments of the present application, when electronic equipment 100 opens multiple application programs, each application program is drawn It makes respective interface content (i.e. image data or figure layer), and calls SurfaceFlinger to be synthesized by surface manager, Generate the interface that last display screen is shown.
In some instances, when the application widget that electronic equipment 100 records the needs that user selects carries out separation recording, The interface content of each application program can be obtained before SurfaceFlinger is synthesized, then carry out Video coding Compression, encapsulation etc. generate the record screen file of each application program.Concrete implementation please refers to hereafter.
In other examples, the application widget that electronic equipment 100 records the needs that user selects merges recording When, the composograph comprising all application widgets of current screen can be obtained after SurfaceFlinger is synthesized.So The information such as the size position of application widget recorded are needed according to the user obtained from WMS afterwards, modify to composograph or It cuts, obtains the content for the application widget that the needs only comprising user's selection are recorded, then carry out Video coding compression, encapsulation again Equal generations record screen file.The record screen file includes that user selects to need the content for the multiple application widgets recorded.Concrete implementation It please refers to hereafter.
Media library supports a variety of common audios, video format playback and recording and static image file etc..Media library It can support a variety of audio/video coding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG etc..
Three-dimensional graph process library is for realizing 3-D graphic drawing, image rendering, synthesis and figure layer process etc..
2D graphics engine is the drawing engine that 2D draws.
Inner nuclear layer is the layer between hardware and software.Inner nuclear layer includes at least display driving, webcam driver, and audio is driven It is dynamic, sensor driving.
Shield scene, the workflow of 100 software of exemplary illustration electronic equipment and hardware below with reference to record.
When touch sensor 180K receives touch operation, corresponding hardware interrupts are sent to inner nuclear layer.Inner nuclear layer will touch It touches operation and is processed into original input event (including touch coordinate, the information such as timestamp of touch operation).Original input event quilt It is stored in inner nuclear layer.Application framework layer obtains original input event from inner nuclear layer, identifies control corresponding to the incoming event Part.It is to touch single-click operation with the touch operation, control corresponding to the single-click operation is the control of the screen recording in notification bar For part, the interface of the application of record screen or funcall application framework layer obtains user and selects in the interface for the application widget recorded Hold, or the display interface of current screen is modified or cut and is obtained in the interface for the application widget that user's selection is recorded Hold.Then, record screen file is generated according to the content of obtained application widget, be stored in photograph album application.
Technical solution involved in following embodiment can be in the electronics with above-mentioned hardware structure and software architecture It is realized in equipment 100.Hereinafter, being illustrated with electronic equipment 100 for mobile phone.
Screen recording provided by the embodiments of the present application (may be simply referred to as record screen) method is carried out specifically below in conjunction with attached drawing It is bright.
With the increase of mobile phone screen, the appearance of screen mobile phone is especially folded, user can be used mobile phone and open multiple answer With program, the interface of multiple application programs is operated in a display interface of screen.In other words, in the first interface It may include the window (hereinafter referred to as application widget) of multiple application programs.In actual record screen scene, user may be only It needs to record one or several application widgets in this multiple application widget.Alternatively, user may not want that certain answer It is recorded with window.For this purpose, mobile phone can select the operation of application widget according to user in technical solution provided by the present application One or several application widgets in first interface are carried out record screen by (selection is recorded or selection is not recorded), are made by oneself to realize Justice-recording range, raising record shield the accounting of effective content in file (video file generated after record screen), meet the more of user Sample demand.
Specifically, record screen operation can be executed when user wishes to record screen.Wherein, the operation of record screen for example can be User presses the operation (such as: while pinning power key and marketing or promotion) of physical button, user executes predefined gesture (example Such as: on the screen three refer to glide, articulations digitorum manus taps screen, rocks mobile phone), user operates the corresponding button on the screen and (clicks logical Know the record screen control in column), user input it is any in voice command etc..The embodiment of the present application does not do specific limit to record screen operation It is fixed.
Such as: such as the example that the median surface Fig. 3 306 is the first interface.It include browser application in the interface 306 (APP1) chat window of window, wechat application (APP2) and the window of document application (APP3).In response to user from The operation that status bar position on one interface pulls down, mobile phone open notification bar on the first interface, show boundary as shown in Figure 3 Face 300.Screen recording control (can be also simply referred to as record screen control) 301 is shown in the notification bar at interface 300.
In some embodiments of the present application, after user clicks record screen control 301, mobile phone opens record screen function, display the Second interface, the application widget for prompting user to select to need to record, or do not need the application widget recorded.
The application of record screen or record screen function in a concrete implementation mode, in response to detecting record screen operation, in mobile phone The window management service (WindowManagerService, WMS) of application framework layer can be called, current screen is obtained The information (such as: mark, size, coordinate etc.) of each application widget of middle display.Then, mobile phone is according to the current screen of acquisition The information of each application widget of display draws prompting interface (i.e. second contact surface), and user is prompted to answer what is shown in current screen It is selected with window, to determine the application widget for needing to record, or determines the application widget for not needing to record.
Such as: interface 302 as shown in Figure 3 is an example of second contact surface.It include dialog box in the interface 302 303, it may include the corresponding option of multiple application widgets shown in the first interface in the dialog box 303.User can pass through These options select the multiple application widgets shown in current screen.It can choose the application widget for needing to record, or Person's selection does not need the application widget recorded.In some instances, when mobile phone screen is not paved with by application widget, i.e. mobile phone When screen also shows part desktop, mobile phone, which can be defaulted to record desktop contents or default, does not record desktop contents.Certainly, hand Desktop contents can also be recorded or not recorded to machine according to the user's choice.Such as: it can also include whether to record in second contact surface Whether the option of desktop records desktop for selection by the user.
Another example is: interface 400 is another example of second contact surface as shown in Figure 4.The interface 400 is shown in mobile phone With the one-to-one control of each application widget, such as: addition control deletes control etc..Wherein, addition control can be used for selecting The application widget for needing to record.Delete the application widget that control can be used for selecting not needing to record.In some instances, work as mobile phone When screen is not paved with by application widget, i.e., when mobile phone screen also shows part desktop, mobile phone, which can be defaulted, to be recorded in desktop Hold or default does not record desktop contents.Certainly, desktop contents can also be recorded or not recorded to mobile phone according to the user's choice. Such as: it can also include the corresponding one or more controls of desktop in second contact surface, so that user is chosen whether by the control Record desktop.
It for example, can be to need to record with the application widget shown in default screen after mobile phone opens record screen function System.At this point, each application widget in screen corresponds to a deletion control.Then, user can be by deletion control Operation, by user do not need record application widget remove.It is deleted for example, clicking Word document in response to user using corresponding Except control 401, mobile phone shows such as the median surface Fig. 4 404.Meanwhile mobile phone can determine browser window and wechat chat window is The application widget for needing to record.Alternatively, mobile phone determines that Word document application widget is the application widget for not needing to record.Certainly, The corresponding addition control 405 of Word document application at this time, user can also be added Word document application widget by addition control 405 Add-back comes, that is, reselects Word document and apply to need the application widget recorded.
It certainly, can also be not need to record with the application widget shown in default screen after mobile phone opens record screen function System.At this point, each application widget in screen corresponds to an addition control.Then, user can be by addition control Operation, selection needs the application widget recorded.
After user has selected to need the application widget recorded, or after having selected the application widget for not needing to record, may be used also In a manner of selecting specifically to record, recording mode is including separation recording and merges recording.
Wherein, separation is recorded, and is referred to that mobile phone selects after needing the multiple application widgets recorded to record user, is generated File is shielded in multiple records.Wherein, each record screen file only includes the content of an application widget.Such as: the first interface include APP1, The content of tri- application widgets of APP2 and APP3, and user selects to record the window of the APP1 and APP2 on the first interface.So, If the mode that user selects separation to record, two record screen files of generation are recorded.One of record screen file includes the window of APP1 Mouth content, the windows content not comprising APP2 and APP3.The record screen file may include the content of desktop or not include desktop Content.Another record screen file includes the windows content of APP2, but does not include the windows content of APP1 and APP3.The record screen text Part may include the content of desktop or the content not comprising desktop.The implementation that separation is recorded will be described below in detail.
Merge and records, after referring to that multiple application widgets that mobile phone records the needs that user select are recorded, generation one File is shielded in a record, includes the content of multiple application widgets in the record screen file.Such as: the first interface include APP1, APP2 and The content of tri- application widgets of APP3, and user selects to record the window of the APP1 and APP2 on the first interface.So, if user The mode that selection combining is recorded then records one record screen file of generation.In window in the record screen file comprising APP1 and APP2 Hold, the windows content not comprising APP3.In some instances, which may include the content of desktop or does not include table The content in face.Merging the implementation recorded will be described below in detail.
In some embodiments, the record screen file designation that mobile phone can also automatically to generate.Certainly, mobile phone also receives user Input, be named by record screen file of the user to generation.The embodiment of the present application does not limit the naming method of record screen file It is fixed.
Such as: mobile phone automatically with comprising application program title come name record screen file.If selection separation is recorded, most After generate multiple records screen files.It only include wherein an application widget in each record screen file, then in each record screen file Title in include an application program title.In other words, the title of different record screen files can by it is wherein included not Title with application program distinguishes.If selection combining is recorded, the record ultimately produced is shielded in file answers comprising multiple It then may include the title of this multiple application program in the record screen file with window.
Another example is: mobile phone is named automatically with the time for generating record screen file.If the record screen file produced simultaneously has more It when a, then records in screen file in addition to comprising the production time, can also include number.For example, mobile phone generates simultaneously when separation is recorded Files are shielded in two records.Entitled " m- 1 ", the entitled " life of another record screen file when generation of one of them record screen file At when m- 2 ".
In some embodiments of the present application, second contact surface may include the option of recording mode, for prompting selection point From the mode of recording or merge recording mode.In some examples, second contact surface can also include the control for starting to record, and start to record The control of system is used to indicate mobile phone and starts to record multiple application widgets that the needs that user selects are recorded.
Such as: interface 500 as shown in Figure 5 includes the option 501 of recording mode in interface 500.User can choose It separates recording mode or merges recording mode.It can also include starting to record control 502 in interface 500.It is clicked in response to user Start to record control 502, mobile phone starts to be recorded according to the recording mode of selection.
It may include that separation records control and merges recording control in second contact surface in other embodiments of the application Part.Wherein, control is recorded in separation, is used to indicate the application widget that mobile phone selects user and is recorded, and is generated after recording more File is shielded in a record.Merge and record control, be used to indicate the application widget that mobile phone selects user and record, and is generated after recording File is shielded in one record, includes the content of multiple application widgets of user's selection in the record screen file.In other words, one point can be passed through Control is recorded from recording control or merging, so that user has disposably not only selected the concrete mode recorded, but also instruction mobile phone to start The application widget chosen is recorded, the operation of user is simplified, realizes the efficient interactive between user and mobile phone.
Such as: the separation in interface 302 shown in Fig. 3, which is recorded control 304 and merged, records control 305.Another example is: figure Separation in interface 400 and interface 404 shown in 4, which is recorded control 402 and merged, records control 403.
It is understood that being to show the option in a manner of recording on second contact surface and the control for starting to record is above What example was illustrated.Mobile phone can also show option, the Yi Jikai of selection recording mode on other one or more interfaces Begin the control recorded.The embodiment of the present application is not specifically limited in this embodiment.
In addition, mobile phone can also prompt user to carry out the interface of selection to sound source when recording, to the picture of recording The interface etc. that quality etc. is configured.In some examples, mobile phone can show the setting option of sound source in second contact surface, draw The setting option etc. of face quality.In other examples, mobile phone can also be shown in other one or more interfaces.
Such as: before or after mobile phone shows second contact surface, mobile phone shows interface 600 as shown in FIG. 6.The interface It include dialog box 601 in 600, the source of sound when for prompting user to select to record.For example, can choose noiseless, that is, record When not recorded voice.For another example, it can choose microphone, that is, the ambient sound around mobile phone acquired by microphone when recording.Again For example, it is also an option that system plays sound.That is the sound that plays outward of the sound of source of sound built in recording mobile phone namely mobile phone.In In one example, mobile phone can pass through the API recording system of the audio collection (audio recorder) of calling application framework layer Play sound.It is understood that being unable to reselection microphone and system plays sound if user's selection is noiseless.User can select When selecting recorded voice, any one of microphone and system plays sound can choose, microphone can also be recorded with simultaneous selection and be System plays sound.
It should be noted that the embodiment of the present application to user select need record application widget (or selection do not need to record The application widget of system), user when selecting to record the source of sound, user setting record the sequencing of the operations such as image quality not It limits.Select andding set to these can be in an interface, can also be in different interfaces, and the embodiment of the present application is not It is specifically limited.
In response to mobile phone detect user execute start record operation, mobile phone start to user select application widget into Row is recorded.Alternatively, mobile phone automatically begins to select application widget to record user after preset time period.
Wherein, user executes the operation for starting to record, such as can be user and click separation on the interface 404 in Fig. 4 It records control 402 or merges and record control 403, can also be clicked on the median surface Fig. 5 500 with user and start to record control 502 etc.. After detecting that user executes the operation for starting to record, mobile phone returns to the first interface and starts to record screen content.
In recording process, it can be shown on mobile phone screen and record control, such as: terminate control, pause control, and Any one of recording time control or appoint several.Any bit on mobile phone screen can be shown in the form of suspended window by recording control It sets, also may be displayed in notification bar, can also be shown in that status bar is medium, the embodiment of the present application is to the display side for recording control Formula is without limitation.It is for prompting user to control recording process it is understood that recording control.It records and completes Afterwards, the recording control is not shown in record screen file.
Such as: in interface 700 as shown in Figure 7, recording control includes terminating control 701, Pause key 702 and recording Time control 703.Record the upper left side that control is shown in mobile phone screen in the form of suspended window.Terminate control 701, is used to indicate Mobile phone terminates recording process.That is, clicking in response to user terminates control 701, mobile phone terminates recording process, automatically generates record screen text Part.Suspend control 702, is used to indicate mobile phone pause recording process.That is, clicking pause control 702, mobile phone pause in response to user Recording process, suspending control 702 at this time can be changed to continuation control 702.When detect user click continue control 702, mobile phone after It is continuous to record screen.Alternatively, clicking when detection to user terminates control 701, mobile phone receives recording process, generates record screen file.Record Time control processed, the time span that display has currently been recorded.
In some embodiments, mobile phone, can be to the range (or not needing the range recorded) of recording in recording process It is marked, so as to the range for prompting user currently to record.In one example, mobile phone can show the range for not needing to record It is shown as the specific patterns such as black, grey, mosaic, white.In another example, the range that mobile phone can also record needs It highlights, such as: it is highlighted or is irised out with dark border.The embodiment of the present application (or does not need the range of recording The range of recording) mark mode without limitation.
Such as: interface 700 as shown in Figure 7, to not being marked in the application widget recorded in range, with yin in figure The mode of shadow distinguishes.
Another example is: as shown in Figure 7 interface 704, to not record range in application widget and desktop mark Remember, is distinguished in a manner of shade in figure.
Another example is: interface 705 as shown in Figure 7, the application widget for recording range is irised out with dark border.
It is the application widget selected with user is to record object it should be noted that record screen scheme provided by the present application. In other words, when one or several sizes for recording object (application widget) or position change, the recording range of mobile phone It changes accordingly.
In order to illustrate that the recording range of mobile phone changes with the variation for the size position for recording application widget, below in conjunction with Separation recording mode and the specific implementation for merging recording mode are illustrated.
Firstly, introducing separation recording mode.
The corresponding one or more graphical interfaces of each application program, and each graphical interfaces is a surface (surface).When mobile phone runs multiple application programs simultaneously, the respective surface of each application program drafting (including it is each The information such as the size and position of the interface content of application program and each application program in screen), then it will draw Surface (surface of i.e. multiple application programs) transfer to the SurfaceFlinger of application framework layer to be synthesized, And it is rendered to obtain the interface finally shown in screen.
It, can be at SurfaceFlinger pairs when mobile phone needs the application widget for user's selection to carry out separation record screen Before the surface of multiple application programs is synthesized, each the answering for being easily selected by a user and needing record screen is obtained according to some cycles With the surface of program, i.e., the image data of each application program.Then, respectively to the image data of each application program into Row coding compression, such as the video formats such as H264 or H265 are compressed into, obtain the image stream of each application program.At the same time, Mobile phone also obtains audio data (including system plays sound and/or by the collected ambient sound of microphone), and to the sound of acquisition Frequency is according to carrying out coding compression, such as is compressed into the audio formats such as acc or mp3, obtains audio stream.Finally by each application program Image stream be packaged respectively with audio stream, be packaged, obtain for example, by using the video encapsulations format such as mp4, avi or rmvb To the record screen file of each application program.
If user selects recording system to play sound, the audio data of above-mentioned acquisition is system plays sound.In some implementations In example, when mobile phone runs multiple application programs, mobile phone may only play the audio of an application program of current active, that , the system plays sound obtained here is then the audio data of the application program.In further embodiments, mobile phone can be simultaneously The audio of multiple application programs is played, then, the system plays sound obtained here is then the audio data of this multiple application program.
If user selects microphone, the audio data of above-mentioned acquisition is the ambient sound used by microphone.If user Recording system is selected to play sound and microphone, then the audio data obtained includes the environment of system plays sound and microphone acquisition Sound.
Should be noted that if user's selection or mobile phone default carry out noiseless recording, mobile phone can not have to obtain The image stream of each application program is directly packaged by audio data, obtain the record screen file of each application program.
In some instances, it is assumed that tri- application widgets of APP1, APP2 and APP3 are shown on mobile phone desktop, and user selects Select the application widget for recording APP1 and APP2.In Fig. 8 shown in (a), after mobile phone detects the instruction for starting to record, mobile phone point Not Huo Qu APP1 and APP2 image data (such as: surface), APP1 and APP2 image data is compressed respectively.
If user selects sound source, silent mode is selected, i.e. user selects noiseless recording.After mobile phone will directly compress APP1 image data be packaged, obtain the record screen file of APP1.Similarly, directly compressed APP2 image data is carried out Encapsulation, obtains the record screen file of APP2.(a) illustrates only the forming process of the recorded file of APP1 in Fig. 8.The record screen text of APP2 The forming process of part can refer to the forming process of the record screen file of APP1.
If user selects sound recording, mobile phone is also needed to obtain audio data and be compressed.If user selects record System plays sound processed, the then audio data obtained are system plays sound.If user selects microphone, the audio data obtained is The ambient sound used by microphone.If user selects, recording system plays sound and microphone, the audio data obtained include The ambient sound of system plays sound and microphone acquisition.Then, by the image data of compressed APP1 and compressed audio number According to being packaged, the record screen file of APP1 is obtained.Similarly, by the image data of compressed APP2 and compressed audio data It is packaged, obtains the record screen file of APP2.As it can be seen that in this example, mobile phone does not obtain the image data and sound of APP3 Frequency evidence, the last record screen file also not no content of APP3.(b) illustrates only the formation of the recorded file of APP1 in Fig. 8 Journey.The forming process of the record screen file of APP2 can refer to the forming process of the record screen file of APP1.
In other examples, as shown in figure 9, mobile phone compress APP1 image data when, can also be by desktop picture Data and the image data of APP1 are first simply synthesized, and the image data after synthesis is compressed, then the audio with compression Data encapsulate together, obtain the record screen file of APP1.It include interface content and the boundary of desktop of APP1 in the record screen file Face content.Similar, mobile phone, can also be by the image data of desktop picture data and APP2 when compressing the image data of APP2 It is first simply synthesized, the image data after synthesis is compressed, then is encapsulated together with the audio data of compression, obtains APP2 Record screen file.It include the interface content of APP2 and the interface content of desktop in the record screen file.
It should be noted that mobile phone is that the application widget selected with user is recording pair due in above-mentioned method for recording As, and source data of the image data of each selected application widget as record screen file is obtained from system, it had both included each The interface content of a application widget, and the size including each application widget and the position in screen.In other words, mobile phone is last The record screen file of generation is the boundary that each application widget is presented according to the size and location information of each application widget of acquisition Face content.Therefore, when selected application widget (such as: size and position displayed in the screen hair APP1 and APP2) When changing, the interface content that mobile phone records APP1 and APP2 will not influence.
Still it is illustrated so that user selects the interface content for recording APP1 and APP2 as an example.Such as: assuming that mobile phone screen Size be 146mm*161mm.In interface 1001 as shown in Figure 10, the size of the window 1002 of APP1 is 50mm*150mm. The size of the window 1003 of APP2 is 50mm*75mm.So, at this point, mobile phone records region 1 of the range of screen where APP1 With the region 2 where APP2.
If the size modification of the window 1002 of APP1 is 50mm*75mm by user, also, by the window of APP2 from APP1's It is moved to below on the right side of window.That is, the distributing adjustment of the application widget in mobile phone screen is as shown in the median surface Figure 10 1004 Layout.So, at this point, the range that mobile phone records screen becomes the region 3 where APP1 and the region 4 where APP2.With interface 1001 compare, and region 3 and region 4 are equivalent to original region 1.That is, in the embodiment of the present application, the one of mobile phone During secondary record screen, screen ranges that mobile phone is recorded can size with the selected application widget for needing to record and position Change and changes.Certainly, the content that mobile phone is recorded remains as the content of the selected application widget for needing to record.
In the prior art, mobile phone can define a recording region, and the side of record screen is carried out to the content for recording region Method.If user wish record application widget not record region in, or from record region in move to record region outside when, not The content of the application widget can be recorded to.However, mobile phone can be record with application widget in method for recording provided by the present application Object processed records always the application widget of user's selection.It is equivalent to the application that the recording region of mobile phone is selected automatically according to user The variation of window size and position carries out corresponding change, so that record screen function is more intelligent, personalized.
Come again, introduces and merge recording mode.
In some embodiments, as shown in figure 11, when mobile phone starts to merge recording to the multiple application widgets chosen When, after being synthesized according to some cycles or real-time acquisition SurfaceFlinger to the surface of multiple application programs Image data, and the information of each application widget can be obtained by WMS, such as: the information such as size, position and level. Due to including the image data of all application widgets in current screen in the image data after SurfaceFlinger synthesis, that is, wrap The application widget recorded is not needed containing user.Therefore, it is necessary to the information according to each application widget of acquisition, from Remove the content for not needing the application widget recorded in image data after SurfaceFlinger synthesis.Illustratively, according to Size and location information of application widget recorded etc. is not needed, will not needed from the image after SurfaceFlinger synthesis The application widget of recording crops, or will not need the content modification of the application widget of recording is predetermined pattern.Then, it will modify Image data afterwards is compressed, such as is compressed into the video formats such as H264 or H265, obtains image stream.At the same time, mobile phone Also it obtains audio data (including system plays sound and/or pass through the collected ambient sound of microphone), and to the audio number of acquisition According to being compressed, such as the audio formats such as acc or mp3 are compressed into, obtain audio stream.Finally to image stream and audio stream respectively into Row encapsulation, is packaged for example, by using the video encapsulations format such as mp4, avi or rmvb, obtains record screen file.In the record screen file The interface content for multiple application widgets that needs including user's selection are recorded.
If user selects recording system to play sound, the audio data of above-mentioned acquisition is system plays sound.In some implementations In example, when mobile phone runs multiple application programs, mobile phone may only play the audio of an application program of current active, that , the system plays sound obtained here is then the audio data of the application program.In further embodiments, mobile phone can be simultaneously The audio of multiple application programs is played, then, the system plays sound obtained here is then the audio data of this multiple application program.
If user selects microphone, the audio data of above-mentioned acquisition is the ambient sound used by microphone.If user Recording system is selected to play sound and microphone, then the audio data obtained includes the environment of system plays sound and microphone acquisition Sound.
If user's selection or mobile phone default carry out noiseless recording, mobile phone can not have to obtain audio data, i.e., directly It connects the image stream that will be obtained to be packaged, obtains record screen file to the end.
In a concrete implementation mode, mobile phone can be in the image after synthesis, and user's selection does not need recording The pixel value of the display area of application widget is modified so that the display area be shown as black or grey or white or The specific patterns such as mosaic.
Still it is illustrated so that user selects the interface content for recording APP1 and APP2 as an example.
Such as: image 1101 as shown in figure 12 is the image after synthesis.So, mobile phone gets the window of APP1 and APP2 Message breath, can modify to image 1101 according to the window information of APP1 and APP2.Specifically, by APP1 and APP2 institute Display area except the pixel value in region modify, be revised as specific pattern.As shown in image 1105 in Figure 12, protect Specific image is revised as, with shade in Figure 12 in other regions by the content for staying the window 1102 of APP1 and the window 1103 of APP2 The region modified is shown.
Another example is: mobile phone also available user do not need record application widget information, such as APP3 window letter Breath.It is modified according to the window information of APP3 to image 1101.Specifically, by the pixel value of the display area where APP3 into Row modification, is revised as specific image.As shown in image 1106 in Figure 12, retain the window 1102 of APP1, the window 1103 of APP2 And the content of desktop, the pixel value of APP3 application widget is revised as specific image, it is shown in the shadow in Figure 12 to modify Region.
In another concrete implementation mode, mobile phone can be in the image of synthesis, and user's selection does not need recording The display area of application widget is cut.That is, the size of the image after cutting is less than the size of the image of synthesis, be conducive to contract The size of small record screen file, saves memory space.
It should be noted that mobile phone is still that the application widget selected with user is record due in above-mentioned method for recording Object processed, and according to the information of each selected application widget (size, position) to the composite diagram comprising entire screen interface As modifying, record screen file is generated.When the size and location of selected application program changes, mobile phone also can basis Size and location after variation modifies to composograph.Therefore, when selected application widget (such as: APP1 and APP2) Size and position displayed in the screen when changing, will not influence mobile phone and record in the interface of APP1 and APP2 Hold.
Other content can refer to the description of the related content in separation method for recording, and which is not described herein again.
It in further embodiments, can also be with when mobile phone starts to merge recording to the multiple application widgets chosen Before surface of the SurfaceFlinger to multiple application programs is synthesized, according to some cycles or acquisition in real time It is easily selected by a user the surface for needing to record each application program of screen, i.e., the image data of each application program.Then, it will use The image data for each application program that family obtains is synthesized.As it can be seen that the image data after synthesis includes that user selects needs Record the image data of multiple application programs of screen.Coding compression is carried out to the image data after synthesis again, such as is compressed into H264 Or the video formats such as H265, obtain image stream.At the same time, mobile phone also obtains audio data (including system plays sound and/or logical Cross the collected ambient sound of microphone), and coding compression is carried out to the audio data of acquisition, such as be compressed into the sounds such as acc or mp3 Frequency format, obtains audio stream.Finally image stream is packaged respectively with audio stream, is regarded for example, by using mp4, avi or rmvb etc. Frequency encapsulation format is packaged, and obtains record screen file.
Remaining content can refer to the description for merging the related content of method for recording in above-described embodiment, and which is not described herein again.
It is understood that mobile phone can be when user triggers the operation for starting record screen, it can default choice separation recording side Formula merges any method generation record screen file in recording mode, can also be recorded simultaneously using separation recording mode or merging Mode generates record screen file, and the embodiment of the present application does not limit this.
Optionally, when mobile phone is also possible to detect the operation that user executes different unlatching record screen functions, mobile phone default Different methods is selected to generate record screen file.Such as: when user presses screen locking key and marketing or promotion, mobile phone default is using separation record The method of mode processed generates record screen file.When user presses screen locking key and volume down key, mobile phone default is using merging recording mode Method generate record screen file.Another example is: mobile phone default is using separation recording mode when user key-press screen locking key and volume button Method generate record screen file.When user is by clicking the record screen control under notification bar, mobile phone default is using merging recording mode Method generate record screen file.
In addition, mobile phone is during primary record, if mobile phone detects that user closes one of them or several users When the application widget of selection, mobile phone no longer can carry out record screen to one or several application widgets automatically.
Such as: during window of the mobile phone to APP1 and APP2 is recorded, if mobile phone detects that user closes The window of APP2, mobile phone, which can be defaulted, no longer carries out record screen to APP2.
In the concrete realization, if mobile phone is using separation recording mode, mobile phone obtains the image data less than APP2 at this time.One In a little examples, mobile phone can terminate the recording of APP2, i.e., no longer obtain the image data of APP2.In this case, APP2 The time span of record screen file of the time span of record screen file less than APP1.In other examples, mobile phone can suspend APP2 Recording.When mobile phone detects that user opens the application widget of APP2 again, it can continue to record APP2, that is, continue It obtains the image data of APP2 and carries out corresponding operation.In this case, the record of APP2 shields the time span of file still The time span of record screen file less than APP1.Certainly, mobile phone can also be in the image data that APP2 has not been obtained, using silent Image data of the data for the specific pattern recognized as APP2.In this case, APP2 record screen file time span with The time span of the record screen file of APP1 is identical.
If mobile phone is using recording mode is merged, mobile phone obtains the window information less than APP2 at this time.In some examples, hand Machine can terminate the recording of APP2, i.e., no longer obtain the window information of APP2.At this point, the pattern in the region where APP2 is original can To be revised as specific pattern, or it is revised as desktop contents.In other examples, mobile phone can suspend the recording of APP2.Work as hand It when machine detects that user opens the application widget of APP2 again, can continue to record APP2, that is, continue to obtain APP2's Window information, and to the composograph comprising entire screen content and modify or cut out according to the window information of APP2 and APP1 It cuts.
In some embodiments, in order to avoid the maloperation of user, mobile phone can recorded detecting that user closes Application widget when, can be with display reminding information.Such as: as shown in figure 13, if detecting, user clicks the close button of APP2, And APP2 is the application widget that mobile phone is being recorded, mobile phone can ask the user whether to determine closing with display reminding information 1301 APP2.If user's selection is the window for closing APP2, if user's selection is no, the window of APP2 is not closed.
In further embodiments, if mobile phone is after detecting that user selects the multiple application widgets recorded to be closed, Mobile phone can end automatically recording process.
Mobile phone is during primary record, if mobile phone detects that user opens new application widget, mobile phone can be with Display reminding information asks the user whether to record new application widget.
Such as: during window of the mobile phone to APP1 and APP2 is recorded, if mobile phone detects that user opens New application, such as: Tencent's Video Applications (APP4).Mobile phone can show interface 1400 as shown in figure 14.The interface 1400 In include prompt information 1401, ask the user whether to record APP4.If user selection be, mobile phone start to APP4 into Row is recorded.If user's selection is no, mobile phone is not recorded APP4, continues to record the APP1 and APP2 that selected originally System.
Certainly, mobile phone, which can also be defaulted, does not record the new application widget of unlatching.So, when mobile phone detects use Family open it is new in application, can not also display reminding information, continue to record the application widget selected originally.
One or more record screen files of generation are stored in photograph album by mobile phone after receiving the instruction for terminating to record. User can be by checking from photograph album, editing, deleting or forwarding record screen file.In some instances, mobile phone is terminating to record When, it can be with display reminding information.Such as: show interface 1500 as shown in figure 15.Include prompt information 1501 in interface 1500: Recording is completed, and record screen file is stored in photograph album.
The embodiment of the present application also provides a kind of chip system, and as shown in figure 16, which includes at least one processing Device 1601 and at least one interface circuit 1602.Processor 1601 and interface circuit 1602 can be interconnected by route.For example, interface Circuit 1602 can be used for receiving signal from other devices (such as memory of mobile terminal 100).In another example interface circuit 1602 It can be used for sending signal to other devices (such as processor 1601).Illustratively, in the readable access to memory of interface circuit 1602 The instruction of storage, and the instruction is sent to processor 1601.When described instruction is executed by processor 1601, electronics may make Equipment executes each step of the execution of the electronic equipment 100 (for example, mobile phone) in above-described embodiment.Certainly, the chip system is also It may include other discrete devices, the embodiment of the present application is not especially limited this.
It is understood that above-mentioned terminal etc. is in order to realize the above functions, it comprises executing, each function is hard accordingly Part structure and/or software module.Those skilled in the art should be readily appreciated that, retouch in conjunction with the embodiments described herein Each exemplary unit and algorithm steps stated, the embodiment of the present application can be with the combining forms of hardware or hardware and computer software To realize.Some functions is executed in a manner of hardware or computer software driving hardware actually, depending on technical solution Specific application and design constraint.Professional technician can to each specific application come using distinct methods to realize The function of description, but this realization is it is not considered that exceed the range of the embodiment of the present invention.
The embodiment of the present application can carry out the division of functional module according to above method example to above-mentioned terminal etc., for example, The each functional module of each function division can be corresponded to, two or more functions can also be integrated in a processing mould In block.Above-mentioned integrated module both can take the form of hardware realization, can also be realized in the form of software function module. It should be noted that be schematical, only a kind of logical function partition to the division of module in the embodiment of the present invention, it is practical There may be another division manner when realization.
Through the above description of the embodiments, it is apparent to those skilled in the art that, for description It is convenienct and succinct, only the example of the division of the above functional modules, in practical application, can according to need and will be upper It states function distribution to be completed by different functional modules, i.e., the internal structure of device is divided into different functional modules, to complete All or part of function described above.The specific work process of the system, apparatus, and unit of foregoing description, before can referring to The corresponding process in embodiment of the method is stated, details are not described herein.
Each functional unit in each embodiment of the embodiment of the present application can integrate in one processing unit, can also be with It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product When, it can store in a computer readable storage medium.Based on this understanding, the technical solution of the embodiment of the present application Substantially all or part of the part that contributes to existing technology or the technical solution can be with software product in other words Form embody, which is stored in a storage medium, including some instructions use so that one Computer equipment (can be personal computer, server or the network equipment etc.) or processor execute each implementation of the application The all or part of the steps of example the method.And storage medium above-mentioned includes: flash memory, mobile hard disk, read-only storage The various media that can store program code such as device, random access memory, magnetic or disk.
The above, the only specific embodiment of the application, but the protection scope of the application is not limited thereto, it is any Change or replacement within the technical scope of the present application should all be covered within the scope of protection of this application.Therefore, this Shen Protection scope please should be based on the protection scope of the described claims.

Claims (16)

1. a kind of record screen method characterized by comprising
Terminal shows that the first interface, first interface include N number of application widget, and N is the integer more than or equal to 2;
The terminal detects the first operation for starting record screen function;
In response to first operation, the terminal shows second contact surface, includes and N number of application window in the second contact surface The one-to-one N number of control of mouth;
The terminal detects that the one or more second at least one control in N number of control operates;
In response to one or more of second operations, the terminal determines that M application widget in N number of application widget is Object is recorded, M is the positive integer less than or equal to N;
The terminal is detected for starting the third recorded operation;
It is operated in response to the third, the terminal starts to record the content of the M application widget;
The terminal detects the 4th behaviour of size or position for adjusting in the M application widget application widget Make;
In response to the 4th operation, the terminal changes size or position of the application widget in screen;
The terminal detects the 5th operation for stopping recording;
In response to the 5th operation, the terminal generates a video file, and the video file includes the M application window The content of mouth.
2. the method according to claim 1, wherein the video file does not include in N number of application widget The content of another M-N application widget in addition to the M application widget.
3. method according to claim 1 or 2, which is characterized in that detect in the terminal for starting record the After three operations, before the terminal detects the 5th operation for stopping recording, the method also includes:
The terminal detects the 6th operation for closing an application widget in the M application widget;
In response to the 6th operation, the terminal stops recording the content for the application widget closed.
4. method according to claim 1 or 2, which is characterized in that detect in the terminal for starting record the After three operations, before the terminal detects the 5th operation for stopping recording, the method also includes:
The terminal detects the 7th operation for being used to open application widget;
In response to the 7th operation, the terminal notifying user chooses whether to record the content for the application widget newly opened;
The terminal detects the 8th operation of the application widget for recording the new opening;
In response to the 8th operation, the terminal starts described in recording while recording the content of the M application widget The content for the application widget newly opened.
5. according to the method described in claim 4, it is characterized in that, including the M application widget in the video file The content of the application widget of content and the new opening.
6. method according to claim 1-5, which is characterized in that the terminal generates a video file, tool Body includes:
In recording process, the terminal obtains L image, and the L image is that the M application widget is incited somebody to action in the terminal The content of N number of application widget synthesizes the image before the display interface of the terminal, and wherein L is positive integer;
The terminal generates the video file according to the L image.
7. a kind of record screen method characterized by comprising
Terminal shows that the first interface, first interface include N number of application widget, and N is the integer more than or equal to 2;
The terminal detects the first operation for starting record screen function;
In response to first operation, the terminal shows second contact surface, includes and N number of application window in the second contact surface The one-to-one N number of control of mouth;
The terminal detects that the one or more second at least one control in N number of control operates;
In response to one or more of second operations, the terminal determines that M application widget in N number of application widget is Object is recorded, M is the positive integer less than or equal to N;
The terminal is detected for starting the third recorded operation;
It is operated in response to the third, the terminal starts to record the content of the M application widget;
The terminal detects the 4th behaviour of size or position for adjusting in the M application widget application widget Make;
In response to the 4th operation, the terminal changes size or position of the application widget in screen;
The terminal detects the 5th operation for stopping recording;
In response to the 5th operation, the terminal generates M video file, each video file in the M video file Content comprising an application widget in the M application widget.
8. the method according to the description of claim 7 is characterized in that detecting in the terminal for starting the third recorded behaviour After work, before the terminal detects the 5th operation for stopping recording, the method also includes:
The terminal detects the 6th operation for closing an application widget in the M application widget;
In response to the 6th operation, the terminal stops recording the content for the application widget closed.
9. method according to claim 7 or 8, which is characterized in that detect in the terminal for starting record the After three operations, before the terminal detects the 5th operation for stopping recording, the method also includes:
The terminal detects the 7th operation for being used to open application widget;
In response to the 7th operation, the terminal notifying user chooses whether to record the content for the application widget newly opened;
The terminal detects the 8th operation of the application widget for recording the new opening;
In response to the 8th operation, the terminal starts described in recording while recording the content of the M application widget The content for the application widget newly opened.
10. according to the method described in claim 9, it is characterized in that, detecting the 5th for stopping recording in the terminal After operation, the method also includes:
In response to the 5th operation, the terminal also generates the video file of the application widget content comprising the new opening.
11. according to the described in any item methods of claim 7-9, which is characterized in that the terminal generates M video file, tool Body includes:
In recording process, the terminal obtains P image, and the P image is that the M application widget is incited somebody to action in the terminal The content of N number of application widget synthesizes the image before the display interface of the terminal, and wherein P is positive integer;
The terminal generates the M video file according to the P image.
12. a kind of electronic equipment characterized by comprising
Touch screen;
One or more processors;
One or more memories;
One or more sensors;
And one or more computer programs, wherein one or more of computer programs be stored in it is one or more In a memory, one or more of computer programs include instruction, when described instruction is executed by the electronic equipment, are made It obtains the electronic equipment and executes such as record screen method of any of claims 1-6.
13. a kind of electronic equipment characterized by comprising
Touch screen;
One or more processors;
One or more memories;
One or more sensors;
And one or more computer programs, wherein one or more of computer programs be stored in it is one or more In a memory, one or more of computer programs include instruction, when described instruction is executed by the electronic equipment, are made It obtains the electronic equipment and executes described in any item record screen methods as claim in claims 7-11.
14. the graphic user interface in a kind of electronic equipment, which is characterized in that the electronic equipment have display screen, camera, Memory and one or more processors, one or more of processors are used to execute and store in the memory One or more computer programs, the graphic user interface include that the electronic equipment is executed as any in claim 1 to 6 The graphic user interface shown when method described in one, alternatively, when method as described in any one of claim 7 to 11 The graphic user interface of display.
15. a kind of computer storage medium, which is characterized in that including computer instruction, when the computer instruction at the terminal When operation, so that the terminal is executed records screen method as described in any one of claim 1-6, alternatively, such as claim 7-11 Any one of described in record screen method.
16. a kind of computer program product, which is characterized in that when the computer program product is run on computers, make It obtains the computer and executes the record screen method as described in any one of claim 1-6, alternatively, any one of as claim in claims 7-11 The record screen method.
CN201910528140.9A 2019-06-18 2019-06-18 Screen recording method and electronic equipment Active CN110417991B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201910528140.9A CN110417991B (en) 2019-06-18 2019-06-18 Screen recording method and electronic equipment
PCT/CN2020/096559 WO2020253719A1 (en) 2019-06-18 2020-06-17 Screen recording method and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910528140.9A CN110417991B (en) 2019-06-18 2019-06-18 Screen recording method and electronic equipment

Publications (2)

Publication Number Publication Date
CN110417991A true CN110417991A (en) 2019-11-05
CN110417991B CN110417991B (en) 2021-01-29

Family

ID=68359343

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910528140.9A Active CN110417991B (en) 2019-06-18 2019-06-18 Screen recording method and electronic equipment

Country Status (2)

Country Link
CN (1) CN110417991B (en)
WO (1) WO2020253719A1 (en)

Cited By (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111614992A (en) * 2020-05-20 2020-09-01 西安闻泰电子科技有限公司 Screen recording method and device and electronic equipment
CN111866423A (en) * 2020-07-07 2020-10-30 广州三星通信技术研究有限公司 Screen recording method for electronic terminal and corresponding equipment
CN111858277A (en) * 2020-07-07 2020-10-30 广州三星通信技术研究有限公司 Screen recording method and screen recording device for electronic terminal
WO2020253719A1 (en) * 2019-06-18 2020-12-24 华为技术有限公司 Screen recording method and electronic device
CN112153436A (en) * 2020-09-03 2020-12-29 Oppo广东移动通信有限公司 Screen recording method, device, equipment and storage medium
CN112230830A (en) * 2020-09-01 2021-01-15 盐城华旭光电技术有限公司 Screen capturing device and screen capturing method of touch screen equipment
CN112596848A (en) * 2020-12-30 2021-04-02 北京达佳互联信息技术有限公司 Screen recording method and device, electronic equipment, storage medium and program product
CN113014987A (en) * 2021-02-22 2021-06-22 Oppo广东移动通信有限公司 Screen recording method and device, electronic equipment and storage medium
CN113641271A (en) * 2020-04-27 2021-11-12 华为技术有限公司 Application window management method, terminal device and computer readable storage medium
CN113672326A (en) * 2021-08-13 2021-11-19 康佳集团股份有限公司 Application window screen recording method and device, terminal equipment and storage medium
CN113840165A (en) * 2021-11-26 2021-12-24 北京易真学思教育科技有限公司 Screen recording method, device, equipment and medium
CN113852774A (en) * 2021-09-01 2021-12-28 维沃移动通信(杭州)有限公司 Screen recording method and device
CN113992876A (en) * 2020-07-27 2022-01-28 北京金山办公软件股份有限公司 Method for recording document and playing video, storage medium and terminal
CN114390341A (en) * 2020-10-22 2022-04-22 华为技术有限公司 Video recording method and electronic equipment
WO2022106936A1 (en) * 2020-11-23 2022-05-27 International Business Machines Corporation Modifying user interface of application during recording session
CN115002538A (en) * 2022-05-13 2022-09-02 深圳康佳电子科技有限公司 Multi-window video recording control method, device, terminal equipment and storage medium
CN115567666A (en) * 2022-04-11 2023-01-03 荣耀终端有限公司 Screen recording method, electronic device and readable storage medium
WO2023273845A1 (en) * 2021-06-30 2023-01-05 华为技术有限公司 Multi-application screen recording method and apparatus
CN116132790A (en) * 2022-05-25 2023-05-16 荣耀终端有限公司 Video recording method and related device
EP4224279A4 (en) * 2020-12-03 2024-03-13 Samsung Electronics Co Ltd Electronic device comprising flexible display
CN113672326B (en) * 2021-08-13 2024-05-28 康佳集团股份有限公司 Application window screen recording method and device, terminal equipment and storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120221946A1 (en) * 2011-01-28 2012-08-30 International Business Machines Corporation Screen Capture
CN104184904A (en) * 2014-09-10 2014-12-03 上海斐讯数据通信技术有限公司 Mobile phone screen recording method allowing user to define recording region
CN106055239A (en) * 2016-06-02 2016-10-26 北京金山安全软件有限公司 Screen recording method and device
CN108055491A (en) * 2017-11-30 2018-05-18 努比亚技术有限公司 A kind of record screen method and terminal
CN108520186A (en) * 2018-03-09 2018-09-11 广东欧珀移动通信有限公司 Record screen method, mobile terminal and computer readable storage medium
CN108924452A (en) * 2018-06-12 2018-11-30 西安艾润物联网技术服务有限责任公司 Part record screen method, apparatus and computer readable storage medium
CN108920226A (en) * 2018-05-04 2018-11-30 维沃移动通信有限公司 screen recording method and device
CN109040419A (en) * 2018-06-11 2018-12-18 Oppo(重庆)智能科技有限公司 Record screen method, apparatus, mobile terminal and storage medium

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010110766A1 (en) * 2009-03-23 2010-09-30 Thomson Licensing Method and apparatus for recording screen displays
US9786328B2 (en) * 2013-01-14 2017-10-10 Discovery Communications, Llc Methods and systems for previewing a recording
CN110417991B (en) * 2019-06-18 2021-01-29 华为技术有限公司 Screen recording method and electronic equipment

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120221946A1 (en) * 2011-01-28 2012-08-30 International Business Machines Corporation Screen Capture
CN104184904A (en) * 2014-09-10 2014-12-03 上海斐讯数据通信技术有限公司 Mobile phone screen recording method allowing user to define recording region
CN106055239A (en) * 2016-06-02 2016-10-26 北京金山安全软件有限公司 Screen recording method and device
CN108055491A (en) * 2017-11-30 2018-05-18 努比亚技术有限公司 A kind of record screen method and terminal
CN108520186A (en) * 2018-03-09 2018-09-11 广东欧珀移动通信有限公司 Record screen method, mobile terminal and computer readable storage medium
CN108920226A (en) * 2018-05-04 2018-11-30 维沃移动通信有限公司 screen recording method and device
CN109040419A (en) * 2018-06-11 2018-12-18 Oppo(重庆)智能科技有限公司 Record screen method, apparatus, mobile terminal and storage medium
CN108924452A (en) * 2018-06-12 2018-11-30 西安艾润物联网技术服务有限责任公司 Part record screen method, apparatus and computer readable storage medium

Cited By (30)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020253719A1 (en) * 2019-06-18 2020-12-24 华为技术有限公司 Screen recording method and electronic device
CN113641271B (en) * 2020-04-27 2024-01-12 华为技术有限公司 Application window management method, terminal device and computer readable storage medium
CN113641271A (en) * 2020-04-27 2021-11-12 华为技术有限公司 Application window management method, terminal device and computer readable storage medium
CN111614992B (en) * 2020-05-20 2022-05-31 西安闻泰电子科技有限公司 Screen recording method and device and electronic equipment
CN111614992A (en) * 2020-05-20 2020-09-01 西安闻泰电子科技有限公司 Screen recording method and device and electronic equipment
CN111858277B (en) * 2020-07-07 2024-02-27 广州三星通信技术研究有限公司 Screen recording method and screen recording device for electronic terminal
CN111866423A (en) * 2020-07-07 2020-10-30 广州三星通信技术研究有限公司 Screen recording method for electronic terminal and corresponding equipment
CN111858277A (en) * 2020-07-07 2020-10-30 广州三星通信技术研究有限公司 Screen recording method and screen recording device for electronic terminal
CN111866423B (en) * 2020-07-07 2023-02-21 广州三星通信技术研究有限公司 Screen recording method for electronic terminal and corresponding equipment
CN113992876A (en) * 2020-07-27 2022-01-28 北京金山办公软件股份有限公司 Method for recording document and playing video, storage medium and terminal
CN112230830A (en) * 2020-09-01 2021-01-15 盐城华旭光电技术有限公司 Screen capturing device and screen capturing method of touch screen equipment
CN112153436A (en) * 2020-09-03 2020-12-29 Oppo广东移动通信有限公司 Screen recording method, device, equipment and storage medium
CN114390341A (en) * 2020-10-22 2022-04-22 华为技术有限公司 Video recording method and electronic equipment
GB2616756A (en) * 2020-11-23 2023-09-20 Ibm Modifying user interface of application during recording session
WO2022106936A1 (en) * 2020-11-23 2022-05-27 International Business Machines Corporation Modifying user interface of application during recording session
EP4224279A4 (en) * 2020-12-03 2024-03-13 Samsung Electronics Co Ltd Electronic device comprising flexible display
CN112596848A (en) * 2020-12-30 2021-04-02 北京达佳互联信息技术有限公司 Screen recording method and device, electronic equipment, storage medium and program product
CN113014987A (en) * 2021-02-22 2021-06-22 Oppo广东移动通信有限公司 Screen recording method and device, electronic equipment and storage medium
WO2023273845A1 (en) * 2021-06-30 2023-01-05 华为技术有限公司 Multi-application screen recording method and apparatus
CN113672326A (en) * 2021-08-13 2021-11-19 康佳集团股份有限公司 Application window screen recording method and device, terminal equipment and storage medium
CN113672326B (en) * 2021-08-13 2024-05-28 康佳集团股份有限公司 Application window screen recording method and device, terminal equipment and storage medium
CN113852774A (en) * 2021-09-01 2021-12-28 维沃移动通信(杭州)有限公司 Screen recording method and device
CN113840165B (en) * 2021-11-26 2022-02-22 北京易真学思教育科技有限公司 Screen recording method, device, equipment and medium
CN113840165A (en) * 2021-11-26 2021-12-24 北京易真学思教育科技有限公司 Screen recording method, device, equipment and medium
CN115567666A (en) * 2022-04-11 2023-01-03 荣耀终端有限公司 Screen recording method, electronic device and readable storage medium
CN115567666B (en) * 2022-04-11 2023-08-11 荣耀终端有限公司 Screen recording method, electronic device and readable storage medium
CN115002538A (en) * 2022-05-13 2022-09-02 深圳康佳电子科技有限公司 Multi-window video recording control method, device, terminal equipment and storage medium
CN115002538B (en) * 2022-05-13 2024-03-12 深圳康佳电子科技有限公司 Multi-window video recording control method, device, terminal equipment and storage medium
CN116132790A (en) * 2022-05-25 2023-05-16 荣耀终端有限公司 Video recording method and related device
CN116132790B (en) * 2022-05-25 2023-12-05 荣耀终端有限公司 Video recording method and related device

Also Published As

Publication number Publication date
CN110417991B (en) 2021-01-29
WO2020253719A1 (en) 2020-12-24

Similar Documents

Publication Publication Date Title
CN110417991A (en) A kind of record screen method and electronic equipment
CN110231905A (en) A kind of screenshotss method and electronic equipment
WO2021036571A1 (en) Desktop editing method and electronic device
CN109766043A (en) The operating method and electronic equipment of electronic equipment
CN109584879A (en) A kind of sound control method and electronic equipment
CN110221798A (en) A kind of throwing screen method, system and relevant apparatus
CN109445572A (en) The method, graphical user interface and terminal of wicket are quickly recalled in full screen display video
CN109271081B (en) Roll the method and electronic equipment of screenshotss
CN110489043A (en) A kind of management method and relevant apparatus of suspension windows
CN109274828B (en) Method for generating screenshot, control method and electronic equipment
CN110471639A (en) Display methods and relevant apparatus
CN110401766A (en) A kind of image pickup method and terminal
CN109814766A (en) A kind of application display method and electronic equipment
CN110362373A (en) A kind of method and relevant device controlling screen wicket
CN109766036A (en) Message treatment method and electronic equipment
CN110506416A (en) A kind of method and terminal of terminal switching camera
CN111078091A (en) Split screen display processing method and device and electronic equipment
CN110471725A (en) A kind of split screen method and electronic equipment
CN110138959A (en) Show the method and electronic equipment of the prompt of human-computer interaction instruction
CN110362244A (en) A kind of split screen method and electronic equipment
CN110114747A (en) A kind of notifier processes method and electronic equipment
CN109976626A (en) A kind of switching method and electronic equipment of application icon
CN114363462B (en) Interface display method, electronic equipment and computer readable medium
CN110032307A (en) A kind of moving method and electronic equipment of application icon
CN109559270A (en) A kind of image processing method and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant