CN110753200A - Multimedia information input method and device, terminal and computer readable storage medium - Google Patents

Multimedia information input method and device, terminal and computer readable storage medium Download PDF

Info

Publication number
CN110753200A
CN110753200A CN201910940564.6A CN201910940564A CN110753200A CN 110753200 A CN110753200 A CN 110753200A CN 201910940564 A CN201910940564 A CN 201910940564A CN 110753200 A CN110753200 A CN 110753200A
Authority
CN
China
Prior art keywords
application
multimedia information
communication connection
thread
equal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910940564.6A
Other languages
Chinese (zh)
Inventor
王麒俨
王恺
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing ELEX Technology Co Ltd
Original Assignee
Beijing ELEX Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing ELEX Technology Co Ltd filed Critical Beijing ELEX Technology Co Ltd
Priority to CN201910940564.6A priority Critical patent/CN110753200A/en
Publication of CN110753200A publication Critical patent/CN110753200A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/76Television signal recording
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4843Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
    • G06F9/485Task life-cycle, e.g. stopping, restarting, resuming execution

Abstract

The invention provides a multimedia information input method and device, a terminal and a computer readable storage medium, wherein the method comprises the following steps: obtaining a multimedia information input instruction aiming at a first application; starting a second application based on the multimedia information input instruction; establishing a communication connection for the second application for enabling data interaction with the first application; sending multimedia information recorded by the first application in real time to the second application through the communication connection; and writing the multimedia information into a storage space through the second application. By the technical scheme, the method and the device are beneficial to fully acquiring system resources by other threads except the internal recording thread, and reduce the occurrence probability of the situations of stagnation, slow response and the like, so that the fluency and the stability of the application are improved.

Description

Multimedia information input method and device, terminal and computer readable storage medium
[ technical field ] A method for producing a semiconductor device
The present invention relates to the field of multimedia technologies, and in particular, to a method and an apparatus for inputting multimedia information, a terminal, and a computer-readable storage medium.
[ background of the invention ]
As is known, audio and video related application software often works in multiple threads, and when the application software performs video recording, since a thread where the video recording is located occupies a lot of system resources, resources that can be obtained by other threads of the application software are preempted, so that the application software may have problems of jamming, slow response, and the like during the process of performing a write operation on video recording content during the video recording.
Therefore, how to avoid the influence of video recording on other threads in the application software becomes a technical problem to be solved urgently.
[ summary of the invention ]
The embodiment of the invention provides a multimedia information input method and device, a terminal and a computer readable storage medium, aims to solve the technical problem that a video thread in application software occupies system resources of other threads in the related technology, can complete a video recording function of the application software by replacing the video thread in the application software through an application special for video recording, and improves the fluency and stability of the application software.
In a first aspect, an embodiment of the present invention provides a multimedia information entry method, including: obtaining a multimedia information input instruction aiming at a first application; starting a second application based on the multimedia information input instruction; establishing a communication connection for the second application for enabling data interaction with the first application; sending multimedia information recorded by the first application in real time to the second application through the communication connection; and writing the multimedia information into a storage space through the second application.
In the above embodiment of the present invention, optionally, the method further includes: generating a termination instruction after the first application stops real-time recording; sending the termination instruction to the second application via the communication connection; and after the second application records all the multimedia information obtained through the communication connection, closing the second application based on the termination instruction.
In the above embodiment of the present invention, optionally, before the step of writing the multimedia information into the storage space by the second application, the method further includes: associating the memory space specified by the first application for the second application; or associating said memory space synchronously for said second application and said first application.
In the above embodiment of the present invention, optionally, before the step of starting the second application, the method further includes: and judging whether the actual thread number of the first application is greater than or equal to a preset thread number or not, wherein the second application is started based on the condition that the actual thread number of the first application is greater than or equal to the preset thread number.
In the above embodiment of the present invention, optionally, before the step of starting the second application, the method further includes: and judging whether the total amount of system resources occupied by each thread of the first application is greater than or equal to a preset resource amount, wherein the second application is started based on the condition that the total amount of the system resources occupied by each thread is greater than or equal to the preset resource amount.
In the above embodiment of the present invention, optionally, before the step of starting the second application, the method further includes: judging whether the actual thread number of the first application is larger than or equal to a preset thread number or not, and judging whether the total amount of system resources occupied by each thread of the first application is larger than or equal to a preset resource amount or not, wherein the second application is started based on the condition that the actual thread number of the first application is larger than or equal to the preset thread number and the total amount of the system resources occupied by each thread is larger than or equal to the preset resource amount.
In a second aspect, an embodiment of the present invention provides a multimedia information entry apparatus, including: the input instruction acquisition unit is used for acquiring a multimedia information input instruction aiming at the first application; the application starting unit is used for starting a second application based on the multimedia information input instruction; a communication connection establishing unit, configured to establish, for the second application, a communication connection for implementing data interaction with the first application; the multimedia information sending unit is used for sending the multimedia information recorded by the first application in real time to the second application through the communication connection; and the multimedia information writing unit is used for writing the multimedia information into a storage space through the second application.
In the above embodiment of the present invention, optionally, the method further includes: a termination instruction generating unit, configured to generate a termination instruction after the real-time recording of the first application is stopped; a termination instruction sending unit configured to send the termination instruction to the second application via the communication connection; and the application closing unit is used for enabling the second application to be closed based on the termination instruction after the second application records all the multimedia information obtained through the communication connection.
In the above embodiment of the present invention, optionally, the method further includes: a storage space associating unit, configured to associate the storage space specified by the first application for the second application, or associate the storage space synchronously with the first application for the second application before the multimedia information is written in the storage space by the multimedia information writing unit.
In the above embodiment of the present invention, optionally, the method further includes: a first determining unit, configured to determine whether an actual thread number of the first application is greater than or equal to a predetermined thread number before the application starting unit starts the second application, where the second application is started based on a case that the actual thread number of the first application is greater than or equal to the predetermined thread number.
In the above embodiment of the present invention, optionally, the method further includes: a second determining unit, configured to determine, before the application starting unit starts the second application, whether a total amount of system resources occupied by each thread of the first application is greater than or equal to a predetermined resource amount, where the second application is started based on a condition that the total amount of system resources occupied by each thread is greater than or equal to the predetermined resource amount.
In the above embodiment of the present invention, optionally, the method further includes: a third determining unit, configured to determine, before the application starting unit starts the second application, whether an actual thread number of the first application is greater than or equal to a predetermined thread number, and whether a total amount of system resources occupied by each thread of the first application is greater than or equal to a predetermined resource amount, where the second application is started based on a condition that the actual thread number of the first application is greater than or equal to the predetermined thread number and the total amount of system resources occupied by each thread is greater than or equal to the predetermined resource amount.
In a third aspect, an embodiment of the present invention provides a terminal, including: at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor, the instructions being arranged to perform the method of any of the first aspects above.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium storing computer-executable instructions for performing the method flow described in any one of the first aspect.
The technical scheme is that the video recording function of the application software is completed by replacing the video recording thread in the application software through the application special for video recording, aiming at the technical problem that the video recording thread in the application software in the related technology occupies the system resources of other threads.
In the related art, a video recording thread is divided into two steps, namely, multimedia information is obtained, and multimedia information is written in to generate a video recording file, wherein system resources occupied by obtaining the multimedia information are few, a thread where a video in an application is located occupies a lot of system resources, and the process of writing in the multimedia information occupies a lot of system resources due to huge calculation amount. However, the total amount of system resources that can be used by an application is allocated by a system or set by a user according to actual needs, in other words, the total amount of system resources that can be used by the application is limited, and once a process of writing multimedia information in the application occupies a large amount of system resources, resources that can be reserved by the application to other threads in the application are few, so far, other threads in the application run slowly because the required system resources cannot be sufficiently satisfied, thereby causing problems of stumbling, slow response, and the like in the application front end.
In the technical scheme of the invention, after receiving the multimedia information entry instruction, the first application serving as the main program records the multimedia information in real time only, and starts the second application special for writing the multimedia information, and then the first application establishes communication connection with the second application, so that the real-time recorded multimedia information can be sent to the second application through the communication connection.
Therefore, the technical scheme of the invention allocates the step of writing the multimedia information in the video thread of the application to other applications for execution, so that the application only needs to acquire the multimedia information and send the multimedia information to other applications for writing the multimedia information, thus reducing the occupation of the video thread of the application on system resources in the application, being beneficial to fully acquiring the system resources by other threads except the video thread in the application, reducing the occurrence probability of the situations of blockage, slow response and the like, and further improving the fluency and stability of the application.
[ description of the drawings ]
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 shows a flow diagram of a method of multimedia information entry according to one embodiment of the invention;
FIG. 2 shows a flow diagram of a multimedia information entry method according to another embodiment of the invention;
FIG. 3 shows a block diagram of a multimedia information entry device according to one embodiment of the invention;
fig. 4 shows a block diagram of a terminal according to an embodiment of the invention.
[ detailed description ] embodiments
For better understanding of the technical solutions of the present invention, the following detailed descriptions of the embodiments of the present invention are provided with reference to the accompanying drawings.
It should be understood that the described embodiments are only some embodiments of the invention, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terminology used in the embodiments of the invention is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in the examples of the present invention and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
In the related art, a video recording thread is divided into two steps, namely, multimedia information is obtained, and multimedia information is written in to generate a video recording file, wherein system resources occupied by obtaining the multimedia information are few, a thread where a video in an application is located occupies a lot of system resources, and the process of writing in the multimedia information occupies a lot of system resources due to huge calculation amount. However, the total amount of system resources that can be used by an application is allocated by a system or set by a user according to actual needs, in other words, the total amount of system resources that can be used by the application is limited, and once a process of writing multimedia information in the application occupies a large amount of system resources, resources that can be reserved by the application to other threads in the application are few, so far, other threads in the application run slowly because the required system resources cannot be sufficiently satisfied, thereby causing problems of stumbling, slow response, and the like in the application front end.
Therefore, the technical scheme of the invention allocates the step of writing the multimedia information in the video thread of the application to other applications for execution, so that the application only needs to acquire the multimedia information and send the multimedia information to other applications for writing the multimedia information, thus reducing the occupation of the video thread of the application on system resources in the application, being beneficial to fully acquiring the system resources by other threads except the video thread in the application, reducing the occurrence probability of the situations of blockage, slow response and the like, and further improving the fluency and stability of the application.
Fig. 1 shows a flow chart of a multimedia information entry method according to one embodiment of the invention.
Step 102, obtaining a multimedia information entry instruction aiming at a first application.
The multimedia information input instruction is generated after a user performs recording operation on a terminal provided with a first application and a second application, and the multimedia information input instruction comprises but is not limited to an external audio recording instruction, an external video recording instruction, an external audio and video recording instruction, a terminal screen audio and video recording instruction and the like.
And 104, starting a second application based on the multimedia information entry instruction.
After receiving the multimedia information entry instruction, the first application serving as the main program records the multimedia information in real time and starts a second application specially used for writing the multimedia information. The video recording is divided into two steps, firstly, multimedia information is obtained, secondly, the multimedia information is written in to generate a video recording file, here, the application only needs to obtain the multimedia information and send the multimedia information to other applications for writing the multimedia information, thus the occupation of the system resources in the application by the video recording thread of the application can be reduced,
and 106, establishing a communication connection for the second application to realize data interaction with the first application.
Then, the first application establishes a communication connection with the second application, so that the multimedia information recorded in real time can be sent to the second application through the communication connection.
Step 108, sending the multimedia information recorded by the first application in real time to the second application through the communication connection.
And step 110, writing the multimedia information into a storage space through the second application.
The second application has the function of writing the multimedia information, so the second application can write the multimedia information into the storage space, and the process of recording the multimedia information is completed by matching with the first application.
The total amount of system resources which can be used by the application is limited, once the process of writing in the multimedia information in the application occupies a large amount of system resources, the resources which can be reserved for other threads in the application by the application are few, and so far, the other threads in the application run slowly because the required system resources cannot be fully met, so that the problems of blocking, slow response and the like of the application front end are caused.
According to the technical scheme, the step of writing the multimedia information in the video thread of the application is allocated to other applications to be executed, so that the application only needs to acquire the multimedia information and send the multimedia information to other applications for writing the multimedia information, the occupation of the video thread of the application on system resources in the application can be reduced, the system resources can be fully acquired by other threads except the video thread in the application, the probability of the situations of blockage, slow response and the like is reduced, and the smoothness and the stability of the application are improved.
Fig. 2 shows a flow chart of a multimedia information entry method according to another embodiment of the invention.
Step 202, a multimedia information entry order for a first application is obtained.
The multimedia information input instruction is generated after a user performs recording operation on a terminal provided with a first application and a second application, and the multimedia information input instruction comprises but is not limited to an external audio recording instruction, an external video recording instruction, an external audio and video recording instruction, a terminal screen audio and video recording instruction and the like.
And step 204, starting a second application based on the multimedia information entry instruction.
After receiving the multimedia information entry instruction, the first application serving as the main program records the multimedia information in real time and starts a second application specially used for writing the multimedia information. The video recording is divided into two steps, firstly, multimedia information is obtained, secondly, the multimedia information is written in to generate a video recording file, here, the application only needs to obtain the multimedia information and send the multimedia information to other applications for writing the multimedia information, thus the occupation of the system resources in the application by the video recording thread of the application can be reduced,
step 206, establishing a communication connection for the second application for realizing data interaction with the first application.
Then, the first application establishes a communication connection with the second application, so that the multimedia information recorded in real time can be sent to the second application through the communication connection.
And step 208, sending the multimedia information recorded by the first application in real time to the second application through the communication connection.
Step 210, associating the storage space designated by the first application for the second application.
The storage space is a position where the second application writes the multimedia information, and the storage space is a position where the first application can access because the recording of the multimedia information is initiated by the first application and the second application only completes the writing of the multimedia information for the second application. The designated self-accessible location may be set by the first application as a storage space to facilitate access by the first application to the recorded results within the storage space.
In another implementation of the present invention, optionally, the storage space is associated synchronously for the second application and the first application.
In the technical scheme, positions accessible by both the second application and the first application can be selected as storage spaces in real time, so that the second application can write multimedia information in the storage spaces and the first application can access recording results written by the second application in the storage spaces.
Step 212, writing the multimedia information into the storage space through the second application.
The second application has the function of writing the multimedia information, so the second application can write the multimedia information into the storage space, and the process of recording the multimedia information is completed by matching with the first application.
Step 214, generating a termination instruction after the first application stops recording in real time.
Step 216, sending the termination instruction to the second application via the communication connection.
The second application, although not occupying the system resources allocated by the first application, still runs in the entire system and occupies the remaining resources of the entire system, so that the second application needs to be closed after the second application completes the process of writing multimedia information for the first application. Therefore, after the first application stops recording in real time, a termination instruction may be generated for triggering a closing action of the second application.
Step 218, after the second application enters all the multimedia information obtained through the communication connection, causing the second application to close based on the termination instruction.
All the multimedia information obtained through the communication connection is transmitted to the second application in order, and the termination instruction is arranged behind all the multimedia information, so that the second application can obtain the termination instruction after inputting all the multimedia information obtained through the communication connection, and at the moment, the second application can be closed according to the termination instruction, the occupation of system resources is finished, and the operation efficiency of the whole system is improved.
On the basis of the embodiments in fig. 1 and fig. 2, before the step of starting the second application, the method further includes: and judging whether the actual thread number of the first application is greater than or equal to a preset thread number or not, wherein the second application is started based on the condition that the actual thread number of the first application is greater than or equal to the preset thread number.
The allocated system resources of the first application are limited, so that the number of threads which can be smoothly operated by the first application is also limited, therefore, the highest number of threads which can be smoothly operated by the first application can be set as the preset number of threads, once the actual number of threads in the first application reaches the preset number of threads, the first application reaches the maximum thread load capacity, the situations that thread overload causes blocking and slow reaction easily occur, and once the actual number of threads in the first application exceeds the preset number of threads, the first application is overloaded. Therefore, the second application can be automatically started under the condition that the actual thread number in the first application is greater than or equal to the preset thread number, so that the step of writing the multimedia information is distributed to the second application, the occupation of system resources of the first application is reduced, and the situations that the first application is blocked and slow in reaction due to thread overload are avoided.
On the basis of the embodiments in fig. 1 and fig. 2, before the step of starting the second application, the method further includes: and judging whether the total amount of system resources occupied by each thread of the first application is greater than or equal to a preset resource amount, wherein the second application is started based on the condition that the total amount of the system resources occupied by each thread is greater than or equal to the preset resource amount.
The allocated system resources of the first application are limited, so that the maximum system resources that can be occupied by the first application can be set as a predetermined resource amount, once the total amount of system resources occupied by each thread in the first application reaches the predetermined resource amount, which indicates that the first application has reached the operation level of the capacity upper limit load, the situations of stuck and slow reaction are easy to occur, and once the total amount of system resources occupied by each thread in the first application exceeds the predetermined resource amount, the situation that the first application has exceeded the operation level of the capacity upper limit load and the situations of stuck and slow reaction must occur is illustrated.
Therefore, the second application can be automatically started based on the condition that the total amount of the system resources occupied by the threads is greater than or equal to the preset resource amount, so that the step of writing the multimedia information is distributed to the second application, the occupation of the system resources of the first application is reduced, and the conditions that the first application is blocked and slow in reaction due to thread overload are avoided.
On the basis of the embodiments in fig. 1 and fig. 2, before the step of starting the second application, the method further includes: judging whether the actual thread number of the first application is larger than or equal to a preset thread number or not, and judging whether the total amount of system resources occupied by each thread of the first application is larger than or equal to a preset resource amount or not, wherein the second application is started based on the condition that the actual thread number of the first application is larger than or equal to the preset thread number and the total amount of the system resources occupied by each thread is larger than or equal to the preset resource amount.
In the technical scheme, the detection of the actual thread number of the first application and the total amount of system resources occupied by each thread is used as a comprehensive judgment condition for judging whether the second application is started, so that whether the first application reaches the operation level of the capacity upper limit load can be more accurately identified, the control level of the actual operation condition of the first application is improved, and the actual input mode of the multimedia information can be flexibly and accurately controlled.
FIG. 3 shows a block diagram of a multimedia information entry device according to one embodiment of the invention.
As shown in fig. 3, an embodiment of the present invention provides a multimedia information entry apparatus 300, including: an entry instruction obtaining unit 302, configured to obtain a multimedia information entry instruction for a first application; an application starting unit 304, configured to start a second application based on the multimedia information entry instruction; a communication connection establishing unit 306, configured to establish a communication connection for the second application to implement data interaction with the first application; a multimedia information sending unit 308, configured to send, via the communication connection, multimedia information recorded in real time by the first application to the second application; a multimedia information writing unit 310, configured to write the multimedia information into a storage space through the second application.
In the above embodiment of the present invention, optionally, the method further includes: a termination instruction generating unit, configured to generate a termination instruction after the real-time recording of the first application is stopped; a termination instruction sending unit configured to send the termination instruction to the second application via the communication connection; and the application closing unit is used for enabling the second application to be closed based on the termination instruction after the second application records all the multimedia information obtained through the communication connection.
In the above embodiment of the present invention, optionally, the method further includes: a storage space associating unit, configured to associate the storage space specified by the first application for the second application, or associate the storage space for the second application and the first application synchronously before the multimedia information writing unit 310 writes the multimedia information into the storage space.
In the above embodiment of the present invention, optionally, the method further includes: a first determining unit, configured to determine whether an actual thread number of the first application is greater than or equal to a predetermined thread number before the application starting unit 304 starts the second application, where the second application is started based on a case that the actual thread number of the first application is greater than or equal to the predetermined thread number.
In the above embodiment of the present invention, optionally, the method further includes: a second determining unit, configured to determine, before the application starting unit 304 starts the second application, whether a total amount of system resources occupied by each thread of the first application is greater than or equal to a predetermined resource amount, where the second application is started based on a condition that the total amount of system resources occupied by each thread is greater than or equal to the predetermined resource amount.
In the above embodiment of the present invention, optionally, the method further includes: a third determining unit, configured to determine, before the application starting unit 304 starts the second application, whether the actual thread number of the first application is greater than or equal to a predetermined thread number, and whether a total amount of system resources occupied by each thread of the first application is greater than or equal to a predetermined resource amount, where the second application is started based on a condition that the actual thread number of the first application is greater than or equal to the predetermined thread number and the total amount of system resources occupied by each thread is greater than or equal to the predetermined resource amount.
The multimedia information entry device 300 uses the scheme described in any one of the embodiments shown in fig. 1 and fig. 2, and therefore, all the technical effects described above are achieved, and details are not repeated here.
Fig. 4 shows a block diagram of a terminal according to an embodiment of the invention.
As shown in fig. 4, a terminal 400 of one embodiment of the present invention includes at least one memory 402; and a processor 404 communicatively coupled to the at least one memory 402; wherein the memory stores instructions executable by the at least one processor 404, the instructions being configured to perform the aspects of any of the embodiments of fig. 1 and 2 described above. Therefore, the terminal 400 has the same technical effect as any one of the embodiments in fig. 1 and fig. 2, and is not described herein again.
The terminal of the embodiments of the present invention exists in various forms, including but not limited to:
(1) mobile communication devices, which are characterized by mobile communication capabilities and are primarily targeted at providing voice and data communications. Such terminals include smart phones (e.g., iphones), multimedia phones, functional phones, and low-end phones, among others.
(2) The ultra-mobile personal computer equipment belongs to the category of personal computers, has calculation and processing functions and generally has the characteristic of mobile internet access. Such terminals include PDA, MID, and UMPC devices, such as ipads.
(3) Portable entertainment devices such devices may display and play multimedia content. Such devices include audio and video players (e.g., ipods), handheld game consoles, electronic books, as well as smart toys and portable car navigation devices.
(4) The server is similar to a general computer architecture, but has higher requirements on processing capability, stability, reliability, safety, expandability, manageability and the like because of the need of providing highly reliable services.
(5) And other electronic devices with data interaction functions.
Additionally, an embodiment of the present invention provides a computer-readable storage medium storing computer-executable instructions for performing the method flow described in any one of the above embodiments of fig. 1 and 2.
The technical scheme of the invention is explained in detail in combination with the attached drawings, and the technical scheme of the invention is beneficial to fully acquiring system resources by using other threads except the internal recording thread, and reducing the occurrence probability of the situations of blockage, slow response and the like, thereby improving the fluency and stability of the application.
It should be understood that the term "and/or" as used herein is merely one type of association that describes an associated object, meaning that three relationships may exist, e.g., a and/or B may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" herein generally indicates that the former and latter related objects are in an "or" relationship.
It should be understood that although the terms first, second, etc. may be used to describe applications in embodiments of the present invention, these applications should not be limited by these terms. These terms are only used to distinguish one application from another. For example, a first application may also be referred to as a second application, and similarly, a second application may also be referred to as a first application, without departing from the scope of embodiments of the present invention.
The word "if" as used herein may be interpreted as "at … …" or "when … …" or "in response to a determination" or "in response to a detection", depending on the context. Similarly, the phrases "if determined" or "if detected (a stated condition or event)" may be interpreted as "when determined" or "in response to a determination" or "when detected (a stated condition or event)" or "in response to a detection (a stated condition or event)", depending on the context.
In the embodiments provided in the present invention, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and there may be other divisions in actual implementation, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
The integrated unit implemented in the form of a software functional unit may be stored in a computer readable storage medium. The software functional unit is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) or a Processor (Processor) to execute some steps of the methods according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.

Claims (10)

1. A multimedia information entry method, comprising:
obtaining a multimedia information input instruction aiming at a first application;
starting a second application based on the multimedia information input instruction;
establishing a communication connection for the second application for enabling data interaction with the first application;
sending multimedia information recorded by the first application in real time to the second application through the communication connection;
and writing the multimedia information into a storage space through the second application.
2. A multimedia information entry method according to claim 1, further comprising:
generating a termination instruction after the first application stops real-time recording;
sending the termination instruction to the second application via the communication connection;
and after the second application records all the multimedia information obtained through the communication connection, closing the second application based on the termination instruction.
3. A multimedia information entry method according to claim 2, further comprising, prior to said step of writing said multimedia information to a storage space by said second application:
associating the memory space specified by the first application for the second application; or
Synchronously associating the memory space for the second application and the first application.
4. A multimedia information entry method according to any of claims 1 to 3, further comprising, before the step of launching the second application:
and judging whether the actual thread number of the first application is greater than or equal to a preset thread number or not, wherein the second application is started based on the condition that the actual thread number of the first application is greater than or equal to the preset thread number.
5. A multimedia information entry method according to any of claims 1 to 3, further comprising, before the step of launching the second application:
and judging whether the total amount of system resources occupied by each thread of the first application is greater than or equal to a preset resource amount, wherein the second application is started based on the condition that the total amount of the system resources occupied by each thread is greater than or equal to the preset resource amount.
6. A multimedia information entry method according to any of claims 1 to 3, further comprising, before the step of launching the second application:
judging whether the actual thread number of the first application is larger than or equal to a preset thread number or not, and judging whether the total amount of system resources occupied by each thread of the first application is larger than or equal to a preset resource amount or not, wherein,
and starting the second application based on the condition that the actual thread number of the first application is greater than or equal to the preset thread number and the total amount of system resources occupied by each thread is greater than or equal to the preset resource amount.
7. A multimedia information entry device, comprising:
the input instruction acquisition unit is used for acquiring a multimedia information input instruction aiming at the first application;
the application starting unit is used for starting a second application based on the multimedia information input instruction;
a communication connection establishing unit, configured to establish, for the second application, a communication connection for implementing data interaction with the first application;
the multimedia information sending unit is used for sending the multimedia information recorded by the first application in real time to the second application through the communication connection;
and the multimedia information writing unit is used for writing the multimedia information into a storage space through the second application.
8. A multimedia information entry device as claimed in claim 7, further comprising:
a termination instruction generating unit, configured to generate a termination instruction after the real-time recording of the first application is stopped;
a termination instruction sending unit configured to send the termination instruction to the second application via the communication connection;
and the application closing unit is used for enabling the second application to be closed based on the termination instruction after the second application records all the multimedia information obtained through the communication connection.
9. A terminal, comprising: at least one processor; and a memory communicatively coupled to the at least one processor;
wherein the memory stores instructions executable by the at least one processor, the instructions being arranged to perform the method of any of the preceding claims 1 to 6.
10. A computer-readable storage medium having stored thereon computer-executable instructions for performing the method flow of any of claims 1-6.
CN201910940564.6A 2019-09-30 2019-09-30 Multimedia information input method and device, terminal and computer readable storage medium Pending CN110753200A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910940564.6A CN110753200A (en) 2019-09-30 2019-09-30 Multimedia information input method and device, terminal and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910940564.6A CN110753200A (en) 2019-09-30 2019-09-30 Multimedia information input method and device, terminal and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN110753200A true CN110753200A (en) 2020-02-04

Family

ID=69277593

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910940564.6A Pending CN110753200A (en) 2019-09-30 2019-09-30 Multimedia information input method and device, terminal and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN110753200A (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0537302A1 (en) * 1990-06-05 1993-04-21 Siemens Ag Method of processing a user programme in a parallel-computer system.
JPH0991157A (en) * 1995-09-25 1997-04-04 Oki Electric Ind Co Ltd Task-device driver communication control method
EP0841626A1 (en) * 1996-11-12 1998-05-13 International Computers Limited Data transfer mechanism
US20080195838A1 (en) * 2007-02-13 2008-08-14 Microsoft Corporation Cyclic Buffer Management
US8533374B1 (en) * 2010-11-11 2013-09-10 Symantec Corporation Techniques for adaptive data transfer
US20150254116A1 (en) * 2014-03-04 2015-09-10 Electronics And Telecommunications Research Institute Data processing apparatus for pipeline execution acceleration and method thereof
CN105045652A (en) * 2015-07-07 2015-11-11 深圳市云舒网络技术有限公司 Method for processing multi-parallel-thread program by multi-terminals and processing system
CN108614705A (en) * 2017-02-07 2018-10-02 腾讯科技(深圳)有限公司 A kind of data compilation processing method and terminal

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0537302A1 (en) * 1990-06-05 1993-04-21 Siemens Ag Method of processing a user programme in a parallel-computer system.
JPH0991157A (en) * 1995-09-25 1997-04-04 Oki Electric Ind Co Ltd Task-device driver communication control method
EP0841626A1 (en) * 1996-11-12 1998-05-13 International Computers Limited Data transfer mechanism
US20080195838A1 (en) * 2007-02-13 2008-08-14 Microsoft Corporation Cyclic Buffer Management
US8533374B1 (en) * 2010-11-11 2013-09-10 Symantec Corporation Techniques for adaptive data transfer
US20150254116A1 (en) * 2014-03-04 2015-09-10 Electronics And Telecommunications Research Institute Data processing apparatus for pipeline execution acceleration and method thereof
CN105045652A (en) * 2015-07-07 2015-11-11 深圳市云舒网络技术有限公司 Method for processing multi-parallel-thread program by multi-terminals and processing system
CN108614705A (en) * 2017-02-07 2018-10-02 腾讯科技(深圳)有限公司 A kind of data compilation processing method and terminal

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
向隅等: "《SQL server 2012数据库原理及应用》", 31 May 2017 *

Similar Documents

Publication Publication Date Title
CN108763012B (en) Card pause information acquisition method and device and terminal
CN110704202B (en) Multimedia recording data sharing method and terminal equipment
CN111273969B (en) State switching method, device, equipment and storage medium
US20220221998A1 (en) Memory management method, electronic device and non-transitory computer-readable medium
WO2017185616A1 (en) File storage method and electronic equipment
US20170308546A1 (en) File storage method and electronic device
CN110889062A (en) Page loading method and device, terminal and computer readable storage medium
US10409972B2 (en) Fingerprint recognition method and mobile terminal
CN110718212A (en) Voice wake-up method, device and system, terminal and computer readable storage medium
CN112546621A (en) Voting method and device for live game, computer storage medium and electronic equipment
US8615609B2 (en) System, method, and computer program product for inserting a gap in information sent from a drive to a host device
CN111597009B (en) Application program display method and device and terminal equipment
CN108777810B (en) Video data storage method, device, equipment and storage medium
CN110401869A (en) A kind of net cast method, system and electronic equipment and storage medium
CN110399168A (en) Majority according to disk storage server system start method, device and equipment
CN110706691B (en) Voice verification method and device, electronic equipment and computer readable storage medium
CN111628905B (en) Data packet capturing method, device and equipment
CN113849471A (en) Data compression method, device, equipment and storage medium
CN109246082B (en) Data transmission method and device, electronic equipment and storage medium
CN110753200A (en) Multimedia information input method and device, terminal and computer readable storage medium
JP2021522721A (en) Screen capture method, terminal and storage medium
CN113599814B (en) Animation role display method, device, equipment and medium
CN103561022A (en) Voice service access method, related device and voice service system
CN113098841A (en) Queuing method for logging in cloud computer, computer equipment and readable storage medium
CN113687942A (en) Detection method and device 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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20200204