CN117112506B - Multimedia archive application method, system and storage medium - Google Patents

Multimedia archive application method, system and storage medium Download PDF

Info

Publication number
CN117112506B
CN117112506B CN202311388676.8A CN202311388676A CN117112506B CN 117112506 B CN117112506 B CN 117112506B CN 202311388676 A CN202311388676 A CN 202311388676A CN 117112506 B CN117112506 B CN 117112506B
Authority
CN
China
Prior art keywords
instruction
specific
preset
application
multimedia
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202311388676.8A
Other languages
Chinese (zh)
Other versions
CN117112506A (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.)
Hunan Cloud Archive Information Technology Co ltd
Original Assignee
Hunan Cloud Archive Information 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 Hunan Cloud Archive Information Technology Co ltd filed Critical Hunan Cloud Archive Information Technology Co ltd
Priority to CN202311388676.8A priority Critical patent/CN117112506B/en
Publication of CN117112506A publication Critical patent/CN117112506A/en
Application granted granted Critical
Publication of CN117112506B publication Critical patent/CN117112506B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/14Details of searching files based on file metadata
    • G06F16/148File search processing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/16File or folder operations, e.g. details of user interfaces specifically adapted to file systems
    • 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/30Arrangements for executing machine instructions, e.g. instruction decode
    • G06F9/30145Instruction analysis, e.g. decoding, instruction word fields
    • 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/30Arrangements for executing machine instructions, e.g. instruction decode
    • G06F9/38Concurrent instruction execution, e.g. pipeline, look ahead
    • G06F9/3836Instruction issuing, e.g. dynamic instruction scheduling or out of order instruction execution
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

The present application relates to the field of file management technologies, and in particular, to a method, a system, and a storage medium for multimedia file application, where the method is summarized as follows: whether the specific instruction is judged in sequence, whether the specific instruction meets the preset instruction rule, whether the corresponding matching instruction is met, whether the corresponding multimedia file is met or not, and the corresponding target equipment and the application parameters are selected according to the specific instruction meeting the judging requirements, so that the multimedia file is displayed by the corresponding application, and the effect of effectively improving the user experience of the application of the multimedia file is achieved.

Description

Multimedia archive application method, system and storage medium
Technical Field
The present disclosure relates to the field of file management technologies, and in particular, to a method, a system, and a storage medium for applying multimedia files.
Background
File informatization refers to various paper file materials or other material file materials which are formed in the function activities of the file units, are processed and are required to be stored as file files, follow the forming rule of the files, keep the organic connection among the files, distinguish different values and form a digital file, and are convenient to store and utilize.
The digitized files include a plurality of types, including multimedia files. The multimedia file is a file composed of various media such as characters, pictures, audio and video, has rich information content, and is suitable for application in various fields. In recent years, with the continuous development of digital technology, the application demands of people on multimedia files are increasing, but in practical application, most of the applications of multimedia files are logged in a file system after registering procedures are handled, a menu module is clicked, and files of the multimedia files are selected to be directly played, so that the user experience of the application of the multimedia files is difficult to be effectively improved.
Therefore, in order to solve the above-mentioned problems, it is an urgent need for those skilled in the art to provide a multimedia file application method, system and storage medium capable of effectively improving the user experience of the multimedia file application.
Disclosure of Invention
In order to achieve the effect of effectively improving the user experience of the multimedia file application, the application provides a multimedia file application method, a system and a storage medium.
In a first aspect, the present application provides a method for applying a multimedia file, including the following steps:
Judging whether the acquired user instruction is a specific instruction or not;
if the specific instruction is the specific instruction, judging whether the specific instruction accords with a preset instruction rule;
if the specific information does not accord with the preset instruction rule, recording the specific information of the specific instruction and binding the specific information with a corresponding user;
when the specific information does not meet the preset instruction rule for a certain number of times, the preset instruction rule and the user form a corresponding relation;
if the specific instruction meets the preset instruction rule, analyzing the specific instruction to obtain corresponding instruction content and a target file;
searching a preset instruction model based on the instruction content and acquiring a search result;
if the search result is that the corresponding matching instruction is not provided, recording the instruction content of the specific instruction;
when the same instruction content cannot be recorded for a certain number of times, the corresponding instruction content is sent to an approval person, and whether the preset instruction model is updated or not is selected according to an approval result;
if the search result is that the corresponding matching instruction is provided, traversing the multimedia archive based on the target archive;
if the traversing result is that the corresponding multimedia file is not provided, recording the target file of the specific instruction;
When the same target file cannot traverse the recorded times for a certain number of times, sending the corresponding target file to an approval person, and selecting whether to update the multimedia archive according to the approval result;
if the traversing result is that the corresponding multimedia file is provided, acquiring target equipment corresponding to the multimedia file;
acquiring application parameters corresponding to the current environment data of the target equipment;
and controlling the target equipment to apply the multimedia file according to the application parameters.
Optionally, if the specific instruction is the specific instruction, determining whether the specific instruction meets a preset instruction rule includes:
if the specific instruction is the specific instruction, acquiring the instruction type and the instruction parameter of the specific instruction;
analyzing the preset instruction rule to obtain a category rule and a corresponding trigger parameter;
if the instruction type does not accord with the type rule, judging that the specific instruction does not accord with the preset instruction rule;
if the instruction type accords with the type rule, judging whether the instruction parameter accords with the trigger parameter or not;
if the specific instruction accords with the trigger parameter, judging that the specific instruction accords with the preset instruction rule;
And if the specific instruction does not accord with the trigger parameter, judging that the specific instruction does not accord with the preset instruction rule.
Optionally, if the specific instruction is the specific instruction, acquiring an instruction type and an instruction parameter of the specific instruction includes:
if the specific instruction is the specific instruction, acquiring the type number of the instruction types corresponding to the specific instruction;
if the number of the types is equal to 1, acquiring the instruction type and the instruction parameter of the specific instruction;
if the number of the types is greater than 1, judging whether conflict instructions exist among the instruction types;
if the conflict instruction exists, generating a prompt instruction corresponding to the conflict instruction;
confirming the corresponding specific instruction according to the feedback instruction aiming at the prompt instruction, and taking the corresponding specific instruction as a confirmation specific instruction;
if the conflict instruction does not exist, acquiring the instruction priority of each instruction type;
selecting the specific instruction with the highest instruction priority as the confirmation specific instruction;
the instruction type and the instruction parameters of the confirmed specific instruction are acquired.
Optionally, if the preset instruction rule is met, analyzing the specific instruction to obtain the corresponding instruction content and the target file includes:
If the instruction type accords with the preset instruction rule, judging whether the instruction type has a corresponding preset analysis mode in an analysis mode table;
if the preset analysis mode does not exist, judging whether the instruction type has a compatible analysis mode or not;
if the compatible analysis mode exists, analyzing the specific instruction according to the compatible analysis mode;
if the preset analysis mode exists, analyzing the specific instruction according to the preset analysis mode;
if the analysis data is not obtained, adding 1 to the record number and returning to the previous step until the record number reaches a preset record threshold value;
and if the analysis data is acquired, acquiring the instruction content and the target file according to the analysis data.
Optionally, the obtaining the application parameter of the target device corresponding to the current environmental data includes:
acquiring corresponding environment data types according to the device types of the target devices;
acquiring the current environmental data according to the environmental data type;
if the key data type is not absent in the current environment data, the current environment data is used as environment confirmation data;
if the key data type is absent in the current environment data, generating an environment confirmation instruction;
Acquiring supplementary environment data corresponding to the key data type according to feedback information aiming at the environment confirmation instruction;
perfecting the current environmental data according to the supplementary environmental data to serve as the environmental confirmation data;
and acquiring the corresponding application parameters according to the environment confirmation data.
Optionally, the acquiring the corresponding application parameter according to the environment confirmation data includes:
according to the environment data type in the environment confirmation data, confirming the corresponding application modes and the corresponding mode quantity;
if the number of the modes is greater than 1, acquiring the parameter priority of each application mode;
acquiring the application parameters corresponding to the application modes according to the parameter priority;
and if the number of the modes is equal to 1, acquiring the corresponding application parameters according to the application modes.
Optionally, if the traversing result is that the corresponding multimedia file is provided, obtaining the target device corresponding to the multimedia file includes:
if the traversing result is that the corresponding multimedia file is provided, judging the number of the multimedia files;
if the number of files is equal to 1, the multimedia file is used as a confirmation multimedia file;
If the number of files is greater than 1, judging whether the multimedia types of the multimedia files are the same;
if the multimedia types are the same, selecting the multimedia file meeting the preset time requirement as the confirmation multimedia file;
if the multimedia types are different, acquiring the type priority of each multimedia type;
selecting the multimedia file with the highest type priority and meeting the preset time requirement as the confirmation multimedia file;
and obtaining the target equipment corresponding to the confirmed multimedia file.
Optionally, the obtaining the target device corresponding to the confirmed multimedia file includes:
acquiring corresponding equipment of the confirmed multimedia file in a current area corresponding to the user instruction;
judging the number of the devices of the corresponding devices in an activated state;
if the number of the devices is 0, activating the corresponding device of the confirmed multimedia file when the confirmed multimedia file is applied last time in the current area as the target device;
if the number of the devices is 1, selecting the corresponding device as the target device;
if the number of the devices is greater than 1, acquiring the historical application times of each corresponding device;
If the historical application times are all greater than or equal to an application threshold, selecting the corresponding equipment with the minimum historical application times as the target equipment;
if the historical application times are smaller than the application threshold, selecting the corresponding equipment with the largest historical application times as the target equipment;
otherwise, selecting the corresponding equipment with the smallest difference between the historical application times and the application threshold as the target equipment.
In a second aspect, the present application further provides a multimedia archive application system, including:
the first judging module is used for judging whether the acquired user instruction is a specific instruction or not;
the second judging module is used for judging whether the specific instruction accords with a preset instruction rule if the specific instruction is the specific instruction;
the first recording module is used for recording the specific information of the specific instruction and binding the specific information with the corresponding user if the specific information does not accord with the preset instruction rule;
the first adjusting module is used for adjusting the preset instruction rule aiming at the specific information when the specific information does not meet the preset instruction rule for a certain number of times, and forming a corresponding relation between the preset instruction rule and the user;
The first analysis module is used for analyzing the specific instruction to acquire corresponding instruction content and a target file if the specific instruction accords with the preset instruction rule;
the first retrieval module is used for retrieving a preset instruction model based on the instruction content and obtaining a retrieval result;
the second recording module is used for recording the instruction content of the specific instruction if the search result is that the corresponding matching instruction is not provided;
the first updating module is used for sending the corresponding instruction content to an approval person when the same instruction content cannot be recorded for a certain number of times, and selecting whether to update the preset instruction model according to the approval result;
the first traversing module is used for traversing the multimedia archive based on the target archive if the search result is that the corresponding matching instruction is provided;
the third recording module is used for recording the target file of the specific instruction if the traversing result is that the corresponding multimedia file is not provided;
the second updating module is used for sending the corresponding target file to an approval person when the same target file cannot traverse the recorded times for a certain number of times, and selecting whether to update the multimedia archive according to the approval result;
The first acquisition module is used for acquiring target equipment corresponding to the multimedia file if the traversing result is that the corresponding multimedia file is provided;
the second acquisition module is used for acquiring application parameters corresponding to the current environment data of the target equipment;
and the first control module is used for controlling the target equipment to apply the multimedia file according to the application parameters.
In a third aspect, the present application further provides a computer readable storage medium storing a computer program, which when executed by a processor implements a method for applying a multimedia archive as described in any one of the above.
In summary, the method, the system and the storage medium for applying the multimedia file provided by the application method, the system and the storage medium sequentially judge whether the specific instruction is a specific instruction, whether the specific instruction accords with a preset instruction rule, whether the corresponding matching instruction is provided, whether the corresponding multimedia file is provided, and select corresponding target equipment and application parameters according to the specific instruction which accords with each judging requirement, so that the multimedia file is displayed correspondingly, and the effect of effectively improving the user experience of the application of the multimedia file is achieved.
Drawings
Fig. 1 is a flowchart illustrating steps S101 to S114 of a multimedia file application method according to an embodiment of the present application;
fig. 2 is a flowchart illustrating steps S201 to S206 of the multimedia file application method according to the embodiment of the present application;
fig. 3 is a flowchart illustrating steps S301 to S308 of the multimedia file application method according to the embodiment of the present application;
fig. 4 is a flowchart illustrating steps S401 to S406 of the multimedia file application method according to the embodiment of the present application;
fig. 5 is a flowchart illustrating steps S501 to S507 of the multimedia file application method according to the embodiment of the present application;
fig. 6 is a flowchart illustrating steps S601 to S604 of the multimedia file application method according to the embodiment of the present application;
fig. 7 is a flowchart illustrating steps S701 to S707 of the multimedia file application method according to the embodiment of the present application;
fig. 8 is a flowchart illustrating steps S801 to S808 of the multimedia file application method according to the embodiment of the present application;
fig. 9 is a schematic block diagram of one implementation of the multimedia file application system according to the embodiment of the present application.
Detailed Description
In order to better understand the technical solutions in the present application, the following description will clearly and completely describe the technical solutions in the embodiments of the present application with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only some embodiments of the present application, but not all embodiments. All other embodiments, which can be made by one of ordinary skill in the art based on the embodiments herein without making any inventive effort, shall fall within the scope of the present application.
In a first aspect, as shown in fig. 1, a method for applying a multimedia file provided in the present application includes the following steps:
s101, judging whether the acquired user instruction is a specific instruction or not;
s102, if the specific instruction is the specific instruction, judging whether the specific instruction accords with a preset instruction rule;
s103, if the specific information does not accord with the preset instruction rule, specific information of the specific instruction is recorded and bound with a corresponding user;
s104, when the specific information does not meet the preset instruction rule for a certain number of times, the preset instruction rule and a user form a corresponding relation;
s105, if the instruction rule is met, analyzing the specific instruction to obtain corresponding instruction content and a target file;
s106, searching a preset instruction model based on instruction content and obtaining a search result;
s107, if the search result is that the corresponding matching instruction is not provided, recording the instruction content of the specific instruction;
s108, when the recorded times of the same instruction content cannot be achieved for a certain number of times, the corresponding instruction content is sent to an approval person, and whether a preset instruction model is updated or not is selected according to an approval result;
s109, traversing the multimedia archive based on the target archive if the search result is that the multimedia archive has a corresponding matching instruction;
S110, if the traversing result is that the corresponding multimedia file is not provided, recording a target file of the specific instruction;
s111, when the same target file cannot traverse the recorded times for a certain number of times, sending the corresponding target file to an approval person, and selecting whether to update the multimedia archive according to the approval result;
s112, if the traversing result is that the corresponding multimedia file is provided, acquiring target equipment corresponding to the multimedia file;
s113, acquiring application parameters corresponding to the current environment data of the target equipment;
s114, controlling the target equipment to apply the multimedia file according to the application parameters.
The user instruction obtained in step S101 refers to an instruction corresponding to the user of the file application, which may be a common instruction, for example, an operation instruction such as a mouse click, a keyboard input, etc., or a specific instruction, for example, an interaction instruction such as a voice instruction, a gesture instruction, a touch instruction, etc. In this embodiment, the specific instruction is mainly used as a trigger instruction for the multimedia file application method, so that step S101 needs to be executed first, that is, it is determined whether the acquired user instruction is the specific instruction, and step S102 or other steps are selectively executed according to the determination result.
If the instruction is not specific, the user instruction is a common instruction, and corresponding operation is directly performed according to the common instruction.
If the specific command is a specific command, since the specific command has different interaction types, and the different interaction types have corresponding preset command rules, the step S102 of determining whether the specific command meets the preset command rules is performed. The preset instruction rule is a rule for judging whether a specific instruction can meet the requirement of triggering file application.
If the specific instruction does not meet the preset instruction rule, the specific instruction is not met with the preset instruction rule corresponding to the interaction type, at this time, an abnormal prompt can be fed back to the user to request the user to reissue the correct specific instruction, or specific information, such as the amplitude of gesture action, the intensity of sound, the strength of touch clicking and the like, of the specific instruction, which is not met in the step S103, can be recorded, and bound with the corresponding user, and after the specific instruction does not meet a certain number of times, the step S104 is executed, namely the preset instruction rule is adjusted according to the specific information recorded before by the user, and the preset instruction rule and the user form a one-to-one correspondence relationship so as to meet the use habits of different users.
If the predetermined instruction rule is met, the specific instruction is met with the predetermined instruction rule corresponding to the interaction type, and the analyzing specific instruction in step S105 is executed to obtain the corresponding instruction content and the target file. The instruction content is a specific operation and requirement in a specific instruction, the target file is a specific file corresponding to the specific operation, for example, the sales file of the year 2022, month 12 and 14 is deleted, the deletion is a specific operation, the requirement is the year 2022, month 12 and 14, and the target file is the sales file.
In practical application, even if the specific instruction meets the preset instruction rule, for some reasons, a specific operation, such as a delete operation, in the instruction content of the specific instruction cannot be performed at the current stage, but the instruction content or the specific operation of the allowed operation is stored in the preset instruction model, so that step S106 needs to be performed to retrieve the preset instruction model based on the instruction content and obtain the retrieval result.
If the search result is that the corresponding matching instruction is not provided, it is indicated that specific operations in the instruction content cannot be performed at the current stage according to the current preset instruction model, at this time, abnormal prompts can be fed back to the user to request the user to resend the correct instruction content, or step S107 can be performed to record the instruction content of the specific instruction, and when the number of times that the current user or other users cannot record the same instruction content reaches a certain number of times, step S108 is performed to send the corresponding instruction content to an approval person, and whether to update the preset instruction model is selected according to the approval result.
If the search result is that the corresponding matching instruction is provided, it is indicated that the specific operation in the instruction content can be performed in the current stage according to the current preset instruction model, but the target file corresponding to the specific instruction may not be allowed to be accessed or applied in the current stage, so that the traversing of the multimedia archive based on the target file in step S109 is required to be performed. In this embodiment, even if the target archive of the application is stored in the multimedia archive, the attribute of the target archive is set to be hidden or the application is not allowed to be accessed or is not allowed to be applied, so that the target archive is not fed back in the traversal result.
If the traversing result is that the corresponding multimedia file is not available, it indicates that the target file cannot be accessed or applied according to the current multimedia archive, then an abnormal prompt may be fed back to the user to request the user to reassign other target files, or the target file recording the specific instruction in step S110 may be executed, and when the number of times that the current user or other users same target files cannot traverse the recorded data reaches a certain number of times, step S111 is executed to send the corresponding target file to an approver, and whether to update the multimedia archive is selected according to the approving result.
If the traversing result is that the corresponding multimedia file is provided, it is indicated that the target file can be accessed or applied according to the current multimedia archive, in practical application, different types of multimedia files are available, for example, the video type needs to be a video playing device, the audio type needs to be an audio playing device, and one of the corresponding video playing devices can be selected from the multimedia files of the same type, so that the target device corresponding to the obtained multimedia file in step S112 needs to be executed.
After the target device is obtained, step S113 needs to be executed to obtain the application parameters of the target device corresponding to the current environmental data, and step S114 is executed to control the target device to apply the multimedia file according to the application parameters. The application parameters are related parameters for controlling the target device to apply the multimedia file, for example, when playing the video type multimedia file, the application parameters of the video playing device are brightness, contrast, color type, etc.
According to the multimedia file application method provided by the embodiment, whether the specific instruction is judged in sequence, whether the specific instruction accords with the preset instruction rule, whether the corresponding matching instruction is provided, whether the corresponding multimedia file is provided, and the corresponding target equipment and the application parameters are selected according to the specific instruction which accords with each judging requirement, so that the multimedia file can be displayed correspondingly, and the effect of effectively improving the user experience of the multimedia file application is achieved.
In one implementation manner of this embodiment, as shown in fig. 2, if the specific instruction is a specific instruction, determining whether the specific instruction meets a preset instruction rule includes:
s201, if the instruction is a specific instruction, acquiring the instruction type and the instruction parameter of the specific instruction;
S202, analyzing a preset instruction rule, and acquiring a category rule and a corresponding trigger parameter;
s203, if the instruction type does not accord with the type rule, judging that the specific instruction does not accord with the preset instruction rule;
s204, if the instruction type accords with the type rule, judging whether the instruction parameter accords with the trigger parameter;
s205, if the trigger parameters are met, judging that the specific instruction meets the preset instruction rule;
s206, if the trigger parameters are not met, judging that the specific instruction does not meet the preset instruction rule.
In practical application, the preset instruction rule may be set or selected according to actual needs, and in this embodiment, the preset instruction rule is set for the instruction type and the instruction parameter of the specific instruction, so if the specific instruction is the specific instruction, the instruction type and the instruction parameter of the specific instruction in step S201 need to be executed, and the preset instruction rule is analyzed to obtain the type rule and the corresponding trigger parameter in the preset instruction rule in step S202.
The instruction type is an operation type corresponding to a specific operation of the instruction, such as a deletion operation and a modification operation belong to a change type, a new addition operation belongs to a new addition type, a play operation and a select play operation belong to a play type, the instruction parameter is various parameter data corresponding to the instruction, the instruction parameter corresponds to a trigger parameter, the type rule is a rule conforming to the operation type, the trigger parameter is a parameter requirement for triggering various operation types, for example, a specific instruction is a voice instruction, the parameter requirement for triggering the play type is that a feature word is played in voice, and the voice volume corresponding to the feature word is more than 30 db, or other parameters such as strength, frequency, duration and the like of the voice reach corresponding requirements.
If the instruction type does not conform to the type rule, indicating that the instruction type is not within the type rule specified by the preset instruction rule, the step S203 is executed to determine that the specific instruction does not conform to the preset instruction rule.
If the instruction type accords with the type rule, it is indicated that the instruction type is in the type rule specified by the preset instruction rule, then the step S204 is executed to determine whether the instruction parameter accords with the trigger parameter, and the step S205 or the step S206 is selectively executed according to the determination result.
If the trigger parameter is met, executing the step S205 to determine that the specific instruction meets the preset instruction rule; if the trigger parameter is not met, the step S206 is executed to determine that the specific instruction is not met with the preset instruction rule.
According to the multimedia file application method provided by the embodiment, whether the specific instruction accords with the preset instruction rule or not can be judged in more detail according to the instruction type and the instruction parameters according to whether the instruction type and the instruction parameters respectively accord with the type rule of the preset instruction rule and the corresponding trigger parameters, and the judgment accuracy is improved.
In one implementation manner of this embodiment, as shown in fig. 3, if the specific instruction is a specific instruction, the acquiring the instruction type and the instruction parameter of the specific instruction includes:
S301, if the instruction is a specific instruction, acquiring the type number of the instruction types corresponding to the specific instruction;
s302, if the number of the types is equal to 1, acquiring the instruction type and instruction parameters of the specific instruction;
s303, if the number of the types is greater than 1, judging whether conflict instructions exist among the instruction types;
s304, if a conflict instruction exists, generating a prompt instruction corresponding to the conflict instruction;
s305, confirming a corresponding specific instruction according to the feedback instruction aiming at the prompt instruction, and taking the corresponding specific instruction as a confirmation specific instruction;
s306, if no conflict instruction exists, acquiring instruction priorities of all instruction types;
s307, selecting a specific instruction with the highest instruction priority as a confirmed specific instruction;
s308, acquiring the instruction type and instruction parameters of the specific instruction.
In practical applications, the specific instruction may include a plurality of instruction types, and therefore if the specific instruction is a specific instruction, the step S301 is executed to obtain the number of types of instruction types corresponding to the specific instruction, and the step S302 or the step S303 is executed selectively according to the number of types.
If the number of types is equal to 1, which indicates that only one type of instruction is included in the specific instruction, the instruction type and instruction parameters of the specific instruction can be directly executed in step S302.
If the number of types is greater than 1, it indicates that there are multiple instruction types, and in actual application, some instruction types have conflicts, for example, a deletion type and a play type are both available for the same target file, and if the deletion is not performed after the play is completed, then the instruction type is a conflict instruction, so it is necessary to execute the determination in step S303 to determine whether there is a conflict instruction between instruction types.
If there is a collision instruction, step S304 is executed to generate a prompt instruction corresponding to the collision instruction, and after the prompt instruction is sent to the user, step S305 is executed to confirm the corresponding specific instruction according to the feedback instruction for the prompt instruction, as a confirmation specific instruction. The feedback instruction is a selection instruction which is performed by a user on the conflict instruction corresponding to the prompt instruction.
If no conflicting instruction exists, the step S306 of acquiring the instruction priorities of the instruction types is executed, and the step S307 of selecting the specific instruction with the highest instruction priority as the confirmation specific instruction is executed. The instruction priority is a preset priority of each instruction type, and the instruction priority with the highest priority in this embodiment means that the value corresponding to the priority is the largest.
After the confirmation specific instruction is obtained in step S305 or step S307, step S308 is performed to obtain the instruction type and instruction parameters of the confirmation specific instruction.
According to the multimedia file application method provided by the embodiment, for the case that the number of types is greater than 1, in combination with judging whether a conflict instruction exists, the specific instruction is acquired and confirmed according to the feedback instruction or according to the instruction priority, then the corresponding instruction type and instruction parameter are acquired, and the instruction type and instruction parameter for realizing the specific instruction are directly acquired under the condition that the number of types is equal to 1, so that the unique specific instruction can be confirmed according to the different types of the specific instruction, and the applicability of the multimedia file application method is improved.
In one implementation manner of this embodiment, as shown in fig. 4, if the preset instruction rule is met, analyzing the specific instruction to obtain the corresponding instruction content and the target file includes:
s401, if the instruction type accords with a preset instruction rule, judging whether the instruction type has a corresponding preset analysis mode in an analysis mode table;
s402, if the analysis mode is not preset, judging whether the instruction type has a compatible analysis mode;
S403, if a compatible analysis mode exists, analyzing a specific instruction according to the compatible analysis mode;
s404, if a preset analysis mode exists, analyzing a specific instruction according to the preset analysis mode;
s405, if the analysis data is not obtained, adding 1 to the record number and returning to the previous step until the record number reaches a preset record threshold value;
s406, if the analysis data are acquired, acquiring instruction content and a target file according to the analysis data.
In practical application, different kinds of specific instructions have different preset analysis modes, for example, the analysis of a voice instruction is to digitize an acquired sound signal, convert the sound signal into a digital audio signal, then analyze and decode the digital audio signal through a voice recognition technology, convert the digital audio signal into identifiable text content, and further acquire instruction content and a target file from the text content.
As can be seen from the above, if the predetermined instruction rule is met, it is necessary to execute the determination in step S401 to determine whether the corresponding predetermined analysis mode exists in the analysis mode table. The analysis mode table is a preset analysis mode list which is preset, contains various instruction types and is currently available.
If the predetermined analysis mode is not available, the method in step S402 is executed to determine whether the instruction type has a compatible analysis mode. The compatible parsing scheme is a preset parsing scheme corresponding to other instruction types, and in some cases, the preset parsing scheme corresponding to the first instruction type may be compatible with and parse the second instruction type, for example, the preset parsing scheme corresponding to the video type.
If the analysis mode is not compatible, an abnormal prompt can be fed back to the user at the moment, and the user is requested to re-assign the analysis mode or provide other specific instructions again. If there is a compatible parsing scheme, the specific instruction is parsed according to the compatible parsing scheme in step S403. If the preset parsing scheme exists, the specific instruction is parsed according to the preset parsing scheme in step S404.
After the specific command is analyzed in step S403 or step S404, in actual practice, the analysis may fail due to some reasons, for example, the analysis may be interrupted accidentally, so that it is necessary to determine whether the analysis data is acquired after the analysis.
If the analysis data is not obtained, the step S405 is executed to add 1 to the number of records and return to the previous step, i.e. return to step S403 or step S404, until the number of records reaches the preset recording threshold. The number of records is the number of times that the analysis of the current specific instruction does not acquire the analysis data, the initial number of times is 0, and the preset recording threshold is the preset threshold for the number of records.
If the analysis data is obtained, it indicates that the analysis of the specific command is successful, the step S406 is executed to obtain the command content and the target file according to the analysis data.
According to the multimedia file application method provided by the embodiment, firstly, according to the judging result of whether the corresponding preset analysis mode exists in the analysis mode table, the preset analysis mode is selected or the compatible analysis mode is selected to analyze the specific instruction, so that partial specific instructions without the preset analysis mode can be analyzed as much as possible; and then according to whether the analysis data is acquired, adding 1 to the record number and circulating until the record number reaches a preset record threshold value, or acquiring instruction content and a target file according to the analysis data, so that analysis can be retried when the analysis fails due to accidents, and the effect of improving the applicability and accuracy of the multimedia file application method is achieved.
In one implementation manner of this embodiment, as shown in fig. 5, acquiring an application parameter corresponding to current environmental data of a target device includes:
s501, acquiring corresponding environment data types according to the device types of the target devices;
s502, acquiring current environmental data according to the environmental data types;
s503, if the key data type is not absent in the current environment data, the current environment data is used as environment confirmation data;
s504, if the key data type is absent in the current environment data, generating an environment confirmation instruction;
S505, acquiring supplementary environment data corresponding to the key data type according to feedback information aiming at an environment confirmation instruction;
s506, perfecting current environmental data according to the supplementary environmental data, and taking the current environmental data as environmental confirmation data;
s507, acquiring corresponding application parameters according to the environment confirmation data.
In practical application, the environmental data required by the application parameters of different device types are also different, so that step S501 needs to be performed to obtain the corresponding environmental data type according to the device type of the target device, and then step S502 needs to be performed to obtain the current environmental data according to the environmental data type. The environment data types are types of environment data required by different application parameters, and the current environment data are collected by the data collection device or module according to the environment data types.
After the current environmental data is acquired, part of the environmental data is possibly lost due to environmental influence or unexpected influence, and when the target device is controlled according to the application parameters, the lack of part of the environmental data can cause incapability or unexpected effect, and the types are key data types, so that whether the key data types are absent in the current environmental data needs to be judged.
If the key data type is not absent in the current environment data, the current environment data is executed as the environment confirmation data in step S503.
If the current environmental data lacks the key data type, which indicates that the corresponding current environmental data needs to be supplemented, the generating environmental confirmation instruction in step S504 is executed, the environmental confirmation instruction is sent to the corresponding data acquisition device or module, in this embodiment, the environmental confirmation instruction is preferentially sent to the data acquisition device or module different from the last acquisition, then the executing step S505 is executed, that is, the supplementary environmental data corresponding to the key data type is obtained according to the feedback information of the environmental confirmation instruction, and then the executing step S506 is executed, that is, the current environmental data is perfected according to the supplementary environmental data, as the environmental confirmation data.
After the environment confirmation data is obtained in step S503 or step S506, step S507 is executed to obtain the corresponding application parameters according to the environment confirmation data, and the application parameters required by the control target device are generated.
According to the multimedia archive application method provided by the embodiment, the current environment data is acquired according to the environment data type corresponding to the equipment type, whether the current environment data is required to be acquired or not is selected according to whether the key data type is absent or not, the current environment data is perfected according to the supplementary environment data, and the accuracy of acquiring the current environment data is improved.
In one implementation manner of this embodiment, as shown in fig. 6, acquiring corresponding application parameters according to the environment confirmation data includes:
s601, confirming corresponding application modes and corresponding mode numbers according to the environment data types in the environment confirmation data;
s602, if the number of the modes is greater than 1, acquiring the parameter priority of each application mode;
s603, acquiring application parameters corresponding to each application mode according to the parameter priority;
s604, if the number of modes is equal to 1, acquiring corresponding application parameters according to the application modes.
In practical application, different environmental data types may correspond to multiple application modes, and even the same environmental data type may have multiple application modes, so step S601 needs to be executed to confirm the corresponding application modes and the corresponding mode number according to the environmental data type in the environmental confirmation data. The application mode is a specific mode of applying environment data of different environment data types by the target device, for example, the application mode of voice data can be playing application according to preset volume, the application mode of playing application according to voice decibels as volume, the application mode of video data can be playing application according to preset brightness, the application mode of playing application according to brightness data in the environment data, and the number of modes is the number of application modes.
If the number of modes is equal to 1, the corresponding application parameters are acquired according to the application mode in step S604.
If the number of modes is greater than 1, the step S602 is executed to obtain the parameter priority of each application mode, and then the step S603 is executed to obtain the application parameters corresponding to each application mode according to the parameter priority. Taking the foregoing example as an example, in a default situation, the parameter priority of the application mode of the voice data according to the preset volume is higher than the parameter priority of the application mode of the voice data according to the decibel of the voice as the volume; the parameter priority of the video data according to the application mode of the preset brightness is higher than the parameter priority of the application mode of the brightness data in the environment data. In this embodiment, the application mode with the highest parameter priority is selected to obtain the application parameter, and still taking the foregoing example as an example, the application parameter of the voice data is a preset volume, and the application parameter of the video data is a preset brightness.
It should be noted that, the parameter priority may be adjusted according to the actual situation, for example, when the current environment is more noisy than the default environment, that is, when the environmental sound decibel is greater than the preset environmental decibel, the parameter priority according to the application mode of the voice decibel as the volume is multiplied by the adjustment coefficient according to the ratio of the environmental sound decibel to the preset environmental decibel, and the parameter priority according to the application mode of the voice decibel as the volume is increased because the adjustment coefficient is greater than 1.
According to the multimedia file application method provided by the embodiment, the application modes and the mode numbers corresponding to the environment data types in the environment confirmation data are acquired, whether the application parameters corresponding to the application modes are acquired according to the parameter priority is selected according to the judgment result of whether the mode numbers are larger than 1, the application parameters which are most suitable for expectations are determined according to the mode numbers and the parameter priority, and the experience effect of the multimedia file application method is improved.
In one implementation manner of this embodiment, as shown in fig. 7, if the traversing result is that the corresponding multimedia file is provided, the target device corresponding to the multimedia file is obtained, which includes:
s701, if the traversing result is that the corresponding multimedia file is provided, judging the number of the multimedia files;
s702, if the number of files is equal to 1, taking the multimedia files as confirmed multimedia files;
s703, if the number of files is greater than 1, judging whether the multimedia types of the multimedia files are the same;
s704, if the multimedia types are the same, selecting the multimedia file meeting the preset time requirement as a confirmation multimedia file;
s705, if the multimedia types are different, acquiring the type priority of each multimedia type;
S706, selecting the multimedia file with the highest type priority and meeting the preset time requirement as a confirmed multimedia file;
s707, obtaining the target equipment corresponding to the confirmed multimedia file.
In practical application, the files corresponding to the specific instruction may correspond to a plurality of multimedia files, which may be different multimedia types, so if the traversing result is that the corresponding multimedia files are provided, the determining of the number of files in step S701 is required.
If the number of files is equal to 1, executing the step S702 to use the multimedia file as a confirmed multimedia file; if the number of files is greater than 1, since the target devices corresponding to different multimedia types may be different, it is necessary to determine whether the multimedia types of each multimedia file are the same in step S703.
If the multimedia types are the same, step S704 is performed to select the multimedia file meeting the predetermined time requirement as the confirmed multimedia file. The preset time requirement refers to a time requirement according to which specific multimedia file is selected, and in this embodiment, the preset time requirement is met to be that the setup time is closest to the current time.
If the multimedia types are different, the step S705 is executed to obtain the type priority of each multimedia type, and then the step S706 is executed to select the multimedia file with the highest type priority and meeting the preset time requirement as the confirmed multimedia file. The type priority is a preset priority of each multimedia type, for example, the type priority of the video multimedia type is higher than the type priority of the audio multimedia type.
After the confirmation multimedia file is obtained in step S702, step S704 or step S706, step S707 is executed to obtain the target device corresponding to the confirmation multimedia file.
The multimedia file application method provided in this embodiment,
in one implementation manner of this embodiment, as shown in fig. 8, obtaining a target device corresponding to a confirmed multimedia file includes:
s801, obtaining corresponding equipment for confirming that the multimedia file is in a current area corresponding to the user instruction;
s802, judging the number of the devices of the corresponding devices in the activated state;
s803, if the number of the devices is 0, activating corresponding devices for confirming the last application of the multimedia file in the current area as target devices;
s804, if the number of the devices is 1, selecting the corresponding device as a target device;
S805, if the number of the devices is greater than 1, acquiring historical application times of each corresponding device;
s806, if the historical application times are all greater than or equal to the application threshold, selecting the corresponding equipment with the smallest historical application times as target equipment;
s807, if the application times of each history are smaller than the application threshold, selecting the corresponding equipment with the largest application times of the history as target equipment;
s808, if not, selecting the corresponding device with the smallest difference between the historical application times and the application threshold as the target device.
In practical application, the multimedia file may correspond to a plurality of devices, but there is a possibility that there is no corresponding device in the current area where the user is located, so step S801 needs to be performed to obtain the corresponding device for confirming that the multimedia file is in the current area corresponding to the user command, and then step S802 is performed to determine the number of devices of the corresponding device in the active state. Wherein, the activation state refers to the application operation that can be used for the multimedia file.
If the number of devices is 0, executing the activation in step S803 to confirm that the corresponding device of the multimedia file is the target device when it was last applied in the current area, where activation refers to initializing the device and placing it in a state where it can be used for application operation of the multimedia file; if the number of devices is 1, the selection of the corresponding device in step S804 is performed as the target device.
If the number of devices is greater than 1, which indicates that one of the devices needs to be selected as the target device, the step S805 of acquiring the historical application times of the respective corresponding devices is performed, and whether the number of applications is greater than the application threshold is determined. The historical application times are times of the corresponding equipment applying the multimedia files in the past history.
If the number of times of each historical application is greater than or equal to the application threshold, indicating that the frequency of use of each corresponding device is higher, in order to equalize the use of the devices, executing the corresponding device with the smallest number of times of the historical application selected in step S806 as the target device; if the number of applications of each history is smaller than the application threshold, it indicates that the frequency of use of each corresponding device is low, and the corresponding device with the highest application success rate is adopted without considering the use of the equalization device, the corresponding device with the largest number of applications of history in step S807 is selected as the target device.
And if the historical application times are equal, randomly selecting one of the historical application times or selecting the corresponding equipment closest to the current time from the last application as the target equipment.
Otherwise, the historical application times are partially larger than or equal to the application threshold, and partially smaller than the application threshold, so as to achieve both the use balance and the high success rate, the corresponding device with the smallest difference between the historical application times and the application threshold in the step S808 is executed as the target device. The minimum difference refers to the minimum absolute value of the difference between the historical application times and the application threshold.
According to the multimedia file application method provided by the embodiment, the corresponding equipment in the last application activation is selected according to the equipment number of the corresponding equipment in the activation state in the current area, or the corresponding equipment with the smallest or largest historical application times or the smallest difference with the application threshold is selected according to the comparison relation between the historical application times and the application threshold, so that the most suitable target equipment is comprehensively determined from the two aspects of the use balance and the success rate according to the state of the corresponding equipment, and the application efficiency of the multimedia file application method is improved.
It should be added that in this embodiment, the current environmental data is collected in real time through the sensor, and the target device is controlled in real time through the algorithm calculation, and meanwhile, the application parameters of the device are adjusted, where the target device mainly includes a sound control device and a display control device.
In a voice control device, audio signals may be dynamically distributed among different speaker units in a speaker device by a surround sound encoding algorithm (Surround Sound Encoding) to create an omnidirectional audio environment. The sound field synthesis (Sound Field Synthesis) algorithm enables the creation of virtual sound sources in specific locations or areas that are perceived by a listener as sound coming from a specific direction.
In the display control device, the color correction algorithm adjusts the color output of the display device to meet the standard color gamut and color accuracy requirements, and the algorithm can correct the pixel value of the display device according to the color measurement data and the color space conversion algorithm so as to achieve more accurate and consistent color expression. The brightness adjustment algorithm adjusts the overall brightness level of the display device, and by performing linear or nonlinear mapping of pixel values on the input image, the image brightness can be increased or decreased to adapt to different ambient brightness and viewing requirements. The contrast enhancement algorithm enhances the contrast of the image so that details in the image are more clearly visible, and the contrast difference between different areas can be increased by adjusting the dynamic range of pixel values so as to improve the visual effect of the image.
In a second aspect, as shown in fig. 9, a multimedia file application system provided in the present application includes:
the first judging module 1 is used for judging whether the acquired user instruction is a specific instruction or not;
the second judging module 2 is used for judging whether the specific instruction accords with a preset instruction rule if the specific instruction is the specific instruction;
the first recording module 3 is used for recording specific information of the specific instruction and binding the specific information with a corresponding user if the specific information does not accord with a preset instruction rule;
The first adjusting module 4 is configured to adjust a preset instruction rule according to specific information when the preset instruction rule does not meet a certain number of times, and form a corresponding relationship between the preset instruction rule and a user;
the first analyzing module 5 is configured to analyze the specific instruction to obtain corresponding instruction content and a target file if the specific instruction accords with a preset instruction rule;
a first retrieval module 6 for retrieving a preset instruction model based on the instruction content and obtaining a retrieval result;
the second recording module 7 is configured to record instruction content of the specific instruction if the search result is that the search result does not have a corresponding matching instruction;
the first updating module 8 is configured to send corresponding instruction content to an approver when the number of times that the same instruction content cannot be recorded reaches a certain number of times, and select whether to update the preset instruction model according to an approval result;
the first traversing module 9 is configured to traverse the multimedia archive based on the target file if the search result is that the multimedia archive has a corresponding matching instruction;
the third recording module 10 is configured to record a target file of the specific instruction if the traversing result is that the corresponding multimedia file is not available;
the second updating module 11 is configured to send the corresponding target file to an approval person when the same target file cannot traverse the recorded times for a certain number of times, and select whether to update the multimedia archive according to the approval result;
The first obtaining module 12 is configured to obtain a target device corresponding to the multimedia file if the traversing result is that the corresponding multimedia file is provided;
a second obtaining module 13, configured to obtain an application parameter corresponding to the current environmental data of the target device;
the first control module 14 is configured to control the target device to apply the multimedia file according to the application parameter.
It should be noted that, the data transmission relationship or the logic connection relationship between the above functional modules may be determined according to the corresponding steps in the corresponding multimedia file application method, which will not be described here again. The data transmission relationship or the logical connection relationship of the functional modules shown in fig. 9 is only used as an understanding of the multimedia file application system, and is not particularly limited.
According to the multimedia file application system provided by the embodiment, whether the specific instruction is judged in sequence, whether the specific instruction accords with the preset instruction rule, whether the corresponding matching instruction is provided, whether the corresponding multimedia file is provided, and the corresponding target equipment and the corresponding application parameters are selected according to the specific instruction which accords with each judging requirement, so that the multimedia file can be displayed correspondingly, and the effect of effectively improving the user experience of the multimedia file application is achieved.
Furthermore, in the multimedia file application system provided in this embodiment, other functional modules may be set as required, or the functional modules may be divided into a plurality of functional units, so as to achieve the technical effects corresponding to the foregoing multimedia file application method.
In a third aspect, the present application provides a computer readable storage medium, where computer instructions are stored, and when the computer instructions are loaded and executed by a processor, the above-mentioned multimedia file application method is adopted, and technical effects corresponding to the foregoing multimedia file application method can be achieved.
It should be understood that, although the steps in the flowcharts of the figures are shown in order as indicated by the arrows, these steps are not necessarily performed in order as indicated by the arrows. Unless explicitly stated herein, the steps are not strictly limited to the order of execution, and may be executed in other orders, i.e., the order of execution may be reasonably ordered with respect to each other according to actual needs. Moreover, at least some of the steps in the flowcharts of the figures may include a plurality of sub-steps or stages that are not necessarily performed at the same time, but may be performed at different times, the order of their execution not necessarily being sequential, but may be performed in turn or alternately with other steps or at least a portion of the other steps or stages.
It should also be noted that in this specification, relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (7)

1. A method for multimedia archive application, comprising the steps of:
judging whether the acquired user instruction is a specific instruction or not;
if the specific instruction is the specific instruction, judging whether the specific instruction accords with a preset instruction rule;
if the specific information does not accord with the preset instruction rule, recording the specific information of the specific instruction and binding the specific information with a corresponding user;
when the specific information does not meet the preset instruction rule for a certain number of times, the preset instruction rule and the user form a corresponding relation;
if the specific instruction meets the preset instruction rule, analyzing the specific instruction to obtain corresponding instruction content and a target file;
searching a preset instruction model based on the instruction content and acquiring a search result;
if the search result is that the corresponding matching instruction is not provided, recording the instruction content of the specific instruction;
when the same instruction content cannot be recorded for a certain number of times, the corresponding instruction content is sent to an approval person, and whether the preset instruction model is updated or not is selected according to an approval result;
if the search result is that the corresponding matching instruction is provided, traversing the multimedia archive based on the target archive;
If the traversing result is that the corresponding multimedia file is not provided, recording the target file of the specific instruction;
when the same target file cannot traverse the recorded times for a certain number of times, sending the corresponding target file to an approval person, and selecting whether to update the multimedia archive according to the approval result;
if the traversing result is that the corresponding multimedia file is provided, acquiring target equipment corresponding to the multimedia file;
acquiring application parameters corresponding to the current environment data of the target equipment;
controlling the target equipment to apply the multimedia file according to the application parameters;
the specific instruction includes at least one of a voice instruction, a gesture instruction and a touch instruction, and if the specific instruction is the specific instruction, determining whether the specific instruction meets a preset instruction rule includes:
if the specific instruction is the specific instruction, acquiring the instruction type and the instruction parameter of the specific instruction;
analyzing the preset instruction rule, and acquiring a category rule and a corresponding trigger parameter, wherein the instruction parameter and the trigger parameter comprise at least one of gesture action amplitude, sound intensity and touch click force;
If the instruction type does not accord with the type rule, judging that the specific instruction does not accord with the preset instruction rule;
if the instruction type accords with the type rule, judging whether the instruction parameter accords with the trigger parameter or not;
if the specific instruction accords with the trigger parameter, judging that the specific instruction accords with the preset instruction rule;
if the specific instruction does not accord with the trigger parameter, judging that the specific instruction does not accord with the preset instruction rule;
the obtaining the target device corresponding to the multimedia file includes:
if the traversing result is that the corresponding multimedia file is provided, judging the number of the multimedia files;
if the number of files is equal to 1, the multimedia file is used as a confirmation multimedia file;
if the number of files is greater than 1, judging whether the multimedia types of the multimedia files are the same;
if the multimedia types are the same, selecting the multimedia file meeting the preset time requirement as the confirmation multimedia file;
if the multimedia types are different, acquiring the type priority of each multimedia type;
selecting the multimedia file with the highest type priority and meeting the preset time requirement as the confirmation multimedia file;
Acquiring corresponding equipment of the multimedia file in a current area corresponding to the user instruction;
judging the number of the devices of the corresponding devices in an activated state;
if the number of the devices is 0, activating the corresponding device of the multimedia file when the multimedia file is applied last time in the current area as the target device;
if the number of the devices is 1, selecting the corresponding device as the target device;
if the number of the devices is greater than 1, acquiring the historical application times of each corresponding device;
if the historical application times are all greater than or equal to an application threshold, selecting the corresponding equipment with the minimum historical application times as the target equipment;
if the historical application times are smaller than the application threshold, selecting the corresponding equipment with the largest historical application times as the target equipment;
otherwise, selecting the corresponding equipment with the smallest difference between the historical application times and the application threshold as the target equipment.
2. The method according to claim 1, wherein the step of obtaining the instruction type and the instruction parameters of the specific instruction if the specific instruction is the specific instruction includes:
If the specific instruction is the specific instruction, acquiring the type number of the instruction types corresponding to the specific instruction;
if the number of the types is equal to 1, acquiring the instruction type and the instruction parameter of the specific instruction;
if the number of the types is greater than 1, judging whether conflict instructions exist among the instruction types;
if the conflict instruction exists, generating a prompt instruction corresponding to the conflict instruction;
confirming the corresponding specific instruction according to the feedback instruction aiming at the prompt instruction, and taking the corresponding specific instruction as a confirmation specific instruction;
if the conflict instruction does not exist, acquiring the instruction priority of each instruction type;
selecting the specific instruction with the highest instruction priority as the confirmation specific instruction;
the instruction type and the instruction parameters of the confirmed specific instruction are acquired.
3. The method according to claim 1, wherein if the predetermined instruction rule is met, analyzing the specific instruction to obtain the corresponding instruction content and the target file includes:
if the instruction type accords with the preset instruction rule, judging whether the instruction type has a corresponding preset analysis mode in an analysis mode table;
If the preset analysis mode does not exist, judging whether the instruction type has a compatible analysis mode or not;
if the compatible analysis mode exists, analyzing the specific instruction according to the compatible analysis mode;
if the preset analysis mode exists, analyzing the specific instruction according to the preset analysis mode;
if the analysis data is not obtained, adding 1 to the record number and returning to the previous step until the record number reaches a preset record threshold value;
and if the analysis data is acquired, acquiring the instruction content and the target file according to the analysis data.
4. The method for multimedia archive application of claim 1, wherein the obtaining the application parameters of the target device corresponding to the current environment data comprises:
acquiring corresponding environment data types according to the device types of the target devices;
acquiring the current environmental data according to the environmental data type;
if the key data type is not absent in the current environment data, the current environment data is used as environment confirmation data;
if the key data type is absent in the current environment data, generating an environment confirmation instruction;
Acquiring supplementary environment data corresponding to the key data type according to feedback information aiming at the environment confirmation instruction;
perfecting the current environmental data according to the supplementary environmental data to serve as the environmental confirmation data;
and acquiring the corresponding application parameters according to the environment confirmation data.
5. A method of applying a multimedia archive as defined in claim 4, wherein the acquiring the corresponding application parameters according to the environment confirmation data includes:
according to the environment data type in the environment confirmation data, confirming the corresponding application modes and the corresponding mode quantity;
if the number of the modes is greater than 1, acquiring the parameter priority of each application mode;
acquiring the application parameters corresponding to the application modes according to the parameter priority;
and if the number of the modes is equal to 1, acquiring the corresponding application parameters according to the application modes.
6. A multimedia archive application system, comprising:
the first judging module is used for judging whether the acquired user instruction is a specific instruction or not;
the second judging module is used for judging whether the specific instruction accords with a preset instruction rule if the specific instruction is the specific instruction;
The first recording module is used for recording the specific information of the specific instruction and binding the specific information with the corresponding user if the specific information does not accord with the preset instruction rule;
the first adjusting module is used for adjusting the preset instruction rule aiming at the specific information when the specific information does not meet the preset instruction rule for a certain number of times, and forming a corresponding relation between the preset instruction rule and the user;
the first analysis module is used for analyzing the specific instruction to acquire corresponding instruction content and a target file if the specific instruction accords with the preset instruction rule;
the first retrieval module is used for retrieving a preset instruction model based on the instruction content and obtaining a retrieval result;
the second recording module is used for recording the instruction content of the specific instruction if the search result is that the corresponding matching instruction is not provided;
the first updating module is used for sending the corresponding instruction content to an approval person when the same instruction content cannot be recorded for a certain number of times, and selecting whether to update the preset instruction model according to the approval result;
the first traversing module is used for traversing the multimedia archive based on the target archive if the search result is that the corresponding matching instruction is provided;
The third recording module is used for recording the target file of the specific instruction if the traversing result is that the corresponding multimedia file is not provided;
the second updating module is used for sending the corresponding target file to an approval person when the same target file cannot traverse the recorded times for a certain number of times, and selecting whether to update the multimedia archive according to the approval result;
the first acquisition module is used for acquiring target equipment corresponding to the multimedia file if the traversing result is that the corresponding multimedia file is provided;
the second acquisition module is used for acquiring application parameters corresponding to the current environment data of the target equipment;
the first control module is used for controlling the target equipment to apply the multimedia file according to the application parameters;
the specific instruction includes at least one of a voice instruction, a gesture instruction and a touch instruction, and if the specific instruction is the specific instruction, determining whether the specific instruction meets a preset instruction rule includes:
if the specific instruction is the specific instruction, acquiring the instruction type and the instruction parameter of the specific instruction;
analyzing the preset instruction rule, and acquiring a category rule and a corresponding trigger parameter, wherein the instruction parameter and the trigger parameter comprise at least one of gesture action amplitude, sound intensity and touch click force;
If the instruction type does not accord with the type rule, judging that the specific instruction does not accord with the preset instruction rule;
if the instruction type accords with the type rule, judging whether the instruction parameter accords with the trigger parameter or not;
if the specific instruction accords with the trigger parameter, judging that the specific instruction accords with the preset instruction rule;
if the specific instruction does not accord with the trigger parameter, judging that the specific instruction does not accord with the preset instruction rule;
the obtaining the target device corresponding to the multimedia file includes:
if the traversing result is that the corresponding multimedia file is provided, judging the number of the multimedia files;
if the number of files is equal to 1, the multimedia file is used as a confirmation multimedia file;
if the number of files is greater than 1, judging whether the multimedia types of the multimedia files are the same;
if the multimedia types are the same, selecting the multimedia file meeting the preset time requirement as the confirmation multimedia file;
if the multimedia types are different, acquiring the type priority of each multimedia type;
selecting the multimedia file with the highest type priority and meeting the preset time requirement as the confirmation multimedia file;
Acquiring corresponding equipment of the multimedia file in a current area corresponding to the user instruction;
judging the number of the devices of the corresponding devices in an activated state;
if the number of the devices is 0, activating the corresponding device of the multimedia file when the multimedia file is applied last time in the current area as the target device;
if the number of the devices is 1, selecting the corresponding device as the target device;
if the number of the devices is greater than 1, acquiring the historical application times of each corresponding device;
if the historical application times are all greater than or equal to an application threshold, selecting the corresponding equipment with the minimum historical application times as the target equipment;
if the historical application times are smaller than the application threshold, selecting the corresponding equipment with the largest historical application times as the target equipment;
otherwise, selecting the corresponding equipment with the smallest difference between the historical application times and the application threshold as the target equipment.
7. A computer readable storage medium, characterized in that the computer readable storage medium stores a computer program which, when executed by a processor, implements a multimedia archive application method according to any one of claims 1 to 5.
CN202311388676.8A 2023-10-25 2023-10-25 Multimedia archive application method, system and storage medium Active CN117112506B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311388676.8A CN117112506B (en) 2023-10-25 2023-10-25 Multimedia archive application method, system and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311388676.8A CN117112506B (en) 2023-10-25 2023-10-25 Multimedia archive application method, system and storage medium

Publications (2)

Publication Number Publication Date
CN117112506A CN117112506A (en) 2023-11-24
CN117112506B true CN117112506B (en) 2024-01-12

Family

ID=88797058

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311388676.8A Active CN117112506B (en) 2023-10-25 2023-10-25 Multimedia archive application method, system and storage medium

Country Status (1)

Country Link
CN (1) CN117112506B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004015495A (en) * 2002-06-07 2004-01-15 Sony Corp Authority management system, information processing apparatus and method therefor, as well as computer program
JP2005196404A (en) * 2004-01-06 2005-07-21 Fuji Xerox Co Ltd Rule execution device and rule execution program
WO2009081028A2 (en) * 2007-12-17 2009-07-02 France Telecom Platform and device for managing and controlling rights of use associated with a multimedia object
WO2015192807A1 (en) * 2014-06-20 2015-12-23 北京贝虎物联技术有限公司 Intelligent environment controlling engine, intelligent environment controlling system and device
CN108647077A (en) * 2018-05-15 2018-10-12 麒麟合盛网络技术股份有限公司 File management method and device
WO2021213221A1 (en) * 2020-04-23 2021-10-28 深圳市万普拉斯科技有限公司 Multimedia playing method and apparatus, and computer device and storage medium
CN114900174A (en) * 2022-06-06 2022-08-12 中熙宁(深圳)科技有限公司 Dynamic adjustment method for touch key threshold value and touch key display screen
CN116627272A (en) * 2023-07-21 2023-08-22 深圳市则成电子股份有限公司 Touch control method and device and computer equipment
CN116756089A (en) * 2023-08-21 2023-09-15 湖南云档信息科技有限公司 File archiving scheme forming method, system and storage medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7487072B2 (en) * 2004-08-04 2009-02-03 International Business Machines Corporation Method and system for querying multimedia data where adjusting the conversion of the current portion of the multimedia data signal based on the comparing at least one set of confidence values to the threshold

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004015495A (en) * 2002-06-07 2004-01-15 Sony Corp Authority management system, information processing apparatus and method therefor, as well as computer program
JP2005196404A (en) * 2004-01-06 2005-07-21 Fuji Xerox Co Ltd Rule execution device and rule execution program
WO2009081028A2 (en) * 2007-12-17 2009-07-02 France Telecom Platform and device for managing and controlling rights of use associated with a multimedia object
WO2015192807A1 (en) * 2014-06-20 2015-12-23 北京贝虎物联技术有限公司 Intelligent environment controlling engine, intelligent environment controlling system and device
CN108647077A (en) * 2018-05-15 2018-10-12 麒麟合盛网络技术股份有限公司 File management method and device
WO2021213221A1 (en) * 2020-04-23 2021-10-28 深圳市万普拉斯科技有限公司 Multimedia playing method and apparatus, and computer device and storage medium
CN114900174A (en) * 2022-06-06 2022-08-12 中熙宁(深圳)科技有限公司 Dynamic adjustment method for touch key threshold value and touch key display screen
CN116627272A (en) * 2023-07-21 2023-08-22 深圳市则成电子股份有限公司 Touch control method and device and computer equipment
CN116756089A (en) * 2023-08-21 2023-09-15 湖南云档信息科技有限公司 File archiving scheme forming method, system and storage medium

Also Published As

Publication number Publication date
CN117112506A (en) 2023-11-24

Similar Documents

Publication Publication Date Title
JP4347223B2 (en) System and method for annotating multimodal characteristics in multimedia documents
JP4833147B2 (en) Terminal device, comment output method, and program
US8526795B2 (en) Information-processing apparatus, content reproduction apparatus, information-processing method, event-log creation method and computer programs
US20020077899A1 (en) Content download system
US7509593B2 (en) Mouse sound volume control
US20120226706A1 (en) System, apparatus and method for sorting music files based on moods
US20090327222A1 (en) Dynamic selection of media for playback
US9055193B2 (en) System and method of a remote conference
EP1962241A1 (en) Content search device, content search system, server device for content search system, content searching method, and computer program and content output apparatus with search function
CN112752121B (en) Video cover generation method and device
US11048749B2 (en) Secure searchable media object
DK176516B1 (en) Computer-implemented method and computer system and computer readable medium for low video, pod-cast or slide presentation from Business-Intelligence-application
CN103546788A (en) Method for controlling external input and broadcast receiving apparatus
KR101256932B1 (en) Method for contents playing
US20070025197A1 (en) Information-processing apparatus, recording medium and information-processing method
CN117112506B (en) Multimedia archive application method, system and storage medium
CN112000971B (en) File permission recording method, system and related device
CN109241329A (en) For the music retrieval method of AR scene, device, equipment and storage medium
US10235989B2 (en) Sonification of words and phrases by text mining based on frequency of occurrence
WO2019017027A1 (en) Information processing device and information processing method
US20140250055A1 (en) Systems and Methods for Associating Metadata With Media Using Metadata Placeholders
JP2022541698A (en) Video material creation method and device, electronic device, computer-readable storage medium, and computer program
JP5184071B2 (en) Transcription text creation support device, transcription text creation support program, and transcription text creation support method
KR102384263B1 (en) Method and system for remote medical service using artificial intelligence
JP2009194718A (en) Information structuring device, information structuring system, and program

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