Processing method, terminal equipment and storage medium
By responding to search instructions in the terminal device and directly applying the characteristics of the target resources, the resources are applied to the target application scenarios, and the problem of cumbersome resource usage paths in traditional methods is solved, and resource utilization efficiency and user experience are improved.
Patent Information
- Application Number
- CN202510311188.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-14
- Publication Date
- 2025-06-13
AI Technical Summary
After the user searches the resource in the terminal device, he needs to store the resources first, and then apply the stored resources, resulting in cumbersome processing paths and low processing efficiency.
A processing method is provided that in response to search instructions for target resources, it directly applies the target resource to the target application scenario according to the characteristics of the target resource, simplifying the resource usage process.
By directly applying the searched resources, the operation process is simplified, the user experience is improved, and the efficiency of resource utilization is improved.
Smart Images

Figure CN120144795A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of computer technology, and particularly to a processing method, a terminal device, and a storage medium. Background Art
[0002] In the process of conceiving and implementing this application, the inventors found that after a user searches for resources on a terminal device, the resources need to be stored first, and then the stored resources are applied.
[0003] This processing method results in a relatively cumbersome processing path and low processing efficiency.
[0004] The foregoing description is for the purpose of providing general background information and does not necessarily constitute prior art. Summary of the Invention
[0005] In view of the above technical problems, this application provides a processing method, a terminal device, and a storage medium, enabling a user to directly apply the searched resources, with simple and convenient operations, thus enhancing the user experience.
[0006] To solve the above technical problems, this application provides a processing method applied to a terminal device, including:
[0007] S10: Respond to a search instruction for a target resource;
[0008] S20: Apply the target resource to a target application scenario according to the characteristics of the target resource.
[0009] Optionally, step S20 includes at least one of the following:
[0010] Respond to a resource application instruction for the target resource, and display at least one resource application scenario that matches the characteristics of the target resource;
[0011] Based on a selection instruction for a target application scenario in the at least one resource application scenario, apply the target resource to the target application scenario.
[0012] Optionally, it further includes at least one of the following:
[0013] Respond to a resource application instruction for the target resource, and display device association information;
[0014] Based on the selection status of the device association information, determine a target device;
[0015] Apply the target resource to the target application scenario of the target device.
[0016] Optionally, based on the selection status of the device association information, determining the target device includes at least one of the following:
[0017] If the selection status of the device association information is selected, all the devices under the user account to which the device of the target resource belongs will be displayed and determined as the target device;
[0018] If the selection status of the device association information is not selected, the device that displays the target resource will be determined as the target device.
[0019] Optionally, the step S20 includes at least one of the following:
[0020] In response to a resource application instruction for the target resource, perform an optimization process on the target resource to obtain an optimized target resource;
[0021] After detecting a confirmation operation on the optimized target resource, apply the optimized target resource to the target application scenario.
[0022] Optionally, after obtaining the optimized target resource, it further includes:
[0023] In response to an edit operation on the optimized target resource, display an edit interface;
[0024] Based on the edit interface, perform an edit process on the optimized target resource to obtain an edited optimized target resource.
[0025] Optionally, performing an optimization process on the target resource includes:
[0026] Determine or obtain the resource application requirements corresponding to each of the target application scenarios;
[0027] Based on the resource application requirements corresponding to each of the target application scenarios, perform at least one optimization process on the target resource.
[0028] Optionally, it further includes:
[0029] S30: In response to a resource switching instruction for the target resource, display the switched target resource;
[0030] S40: In response to a resource application instruction for the switched target resource, apply the switched target resource to the target application scenario.
[0031] This application also provides a processing device, including:
[0032] A response unit, configured to respond to a search instruction for a target resource;
[0033] An application unit, configured to apply a target resource to a target application scenario according to the characteristics of the target resource.
[0034] The present application further provides a terminal device, including: a memory and a processor. Wherein, a processing program is stored on the memory, and when the processing program is executed by the processor, the steps of the processing method as described in any one of the above are implemented.
[0035] The present application further provides a storage medium, which stores a computer program, and when the computer program is executed by a processor, the steps of the processing method as described in any one of the above are implemented.
[0036] The present application further provides a computer program product, including computer program code. When the computer program code runs on a computer, the computer is caused to execute the steps of the processing method as described in any one of the above.
[0037] As described above, the processing method of the present application is applied to a terminal device and includes the steps of: S10: Responding to a search instruction for a target resource; S20: Applying the target resource to a target application scenario according to the characteristics of the target resource. Through the above technical solution, after responding to the search instruction for the target resource, the target resource can be directly applied to the target application scenario according to the characteristics of the target resource, thereby solving the problem in the traditional method that the target resource needs to be saved first and then used when utilizing the target resource, resulting in a more cumbersome utilization path of the target resource, improving the utilization efficiency of the target resource, and enhancing the user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] The accompanying drawings herein are incorporated into the specification and form a part of the specification, showing embodiments consistent with the present application, and are used together with the specification to explain the principles of the present application. To more clearly illustrate the technical solutions of the embodiments of the present application, the following will briefly introduce the drawings required for the description of the embodiments. Obviously, for those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.
[0039] Figure 1 Schematic diagram of the hardware structure of a mobile terminal for implementing various embodiments of the present application;
[0040] Figure 2 Schematic diagram of a communication network system architecture provided by an embodiment of the present application;
[0041] Figure 3 Schematic diagram of the flow of a processing method provided by the first embodiment of the present application;
[0042] Figure 4 Schematic diagram of the flow of a processing method provided by the second embodiment of the present application;
[0043] Figure 5 Schematic diagram of the flow of a processing method provided by the third embodiment of the present application;
[0044] Figure 6 A flowchart of a processing method provided in the fourth embodiment of the present application;
[0045] Figure 7 A flowchart of a processing method provided in the fifth embodiment of the present application;
[0046] Figure 8 A schematic structural diagram of a processing device provided in the sixth embodiment of the present application.
[0047] The implementation, functional features, and advantages of the present application will be further described in conjunction with the embodiments with reference to the accompanying drawings. Through the above-mentioned accompanying drawings, the specific embodiments of the present application have been shown, and there will be more detailed descriptions hereinafter. These drawings and text descriptions are not intended to limit the scope of the concept of the present application in any way, but to illustrate the concept of the present application to those skilled in the art by referring to specific embodiments. Detailed implementation manners
[0048] Here, the exemplary embodiments will be described in detail, and the examples are shown in the accompanying drawings. When the following description refers to the accompanying drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The implementation manners described in the following exemplary embodiments do not represent all the implementation manners consistent with the present application. On the contrary, they are only examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.
[0049] It should be noted that in this document, the term "including", "comprising", or any other variant thereof is intended to cover a non-exclusive inclusion, such that a process, method, article, or device including a series of elements not only includes those elements but also includes other elements not explicitly listed, or further includes elements inherent to such process, method, article, or device. Without further limitation, an element defined by the statement "including one..." does not exclude the existence of another identical element in the process, method, article, or device including that element. In addition, components, features, and elements with the same name in different embodiments of the present application may have the same meaning or different meanings, and their specific meanings need to be determined based on their explanations in the specific embodiments or further in combination with the context of the specific embodiments.
[0050] It should be understood that although the terms first, second, third, etc. may be used herein to describe various information, such information should not be limited to these terms. These terms are only used to distinguish information of the same type from each other. For example, without departing from the scope of this document, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information. Depending on the context, the word "if" as used herein may be interpreted as "when" or "while" or "in response to determining". Furthermore, as used herein, the singular forms "a", "an", and "the" are also intended to include the plural forms unless the context indicates otherwise. It should be further understood that the terms "comprising", "including" indicate the presence of the stated features, steps, operations, elements, components, items, kinds, and / or groups, but do not preclude the presence, occurrence, or addition of one or more other features, steps, operations, elements, components, items, kinds, and / or groups. The terms "or", "and / or", "including at least one of the following", etc. used in this application may be interpreted inclusively, or mean any one or any combination. For example, "including at least one of the following: A, B, C" means "any one of the following: A; B; C; A and B; A and C; B and C; A and B and C", and again, "A, B or C" or "A, B and / or C" means "any one of the following: A; B; C; A and B; A and C; B and C; A and B and C". An exception to this definition only occurs when the combination of elements, functions, steps, or operations is inherently mutually exclusive in some way.
[0051] It should be understood that although the steps in the flowcharts in the embodiments of this application are shown in sequence according to the indication of the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless there is a clear indication in this document, the execution of these steps has no strict order limit, and they can be executed in other orders. Moreover, at least a part of the steps in the figure may include multiple sub-steps or multiple stages, and these sub-steps or stages are not necessarily executed at the same time, but can be executed at different times, and their execution order is not necessarily sequential, but can be executed alternately or in turn with at least a part of other steps or sub-steps or stages of other steps.
[0052] Depending on the context, the words "if", "when" as used herein may be interpreted as "when" or "while" or "in response to determining" or "in response to detecting". Similarly, depending on the context, the phrase "if determined" or "if detecting (stated condition or event)" may be interpreted as "when determined" or "in response to determining" or "when detecting (stated condition or event)" or "in response to detecting (stated condition or event)".
[0053] It should be noted that in this text, step codes such as S10 and S20 are used. The purpose is to more clearly and briefly express the corresponding content, and it does not constitute a substantial limitation in terms of sequence. Those skilled in the art may execute S20 first and then S10 during specific implementation, etc., but all of these should be within the protection scope of this application.
[0054] It should be understood that the specific embodiments described herein are only used to explain this application and are not used to limit this application.
[0055] In subsequent descriptions, suffixes such as "module", "component", or "unit" used to represent elements are only for the convenience of explaining this application, and they have no specific meaning in themselves. Therefore, "module", "component", or "unit" can be used interchangeably.
[0056] Optionally, the above terminal device may be a smart terminal. In this case, the smart terminal can be implemented in various forms. For example, the smart terminals described in this application may include smart terminals such as mobile phones, tablet computers, laptop computers, palmtop computers, personal digital assistants (PDAs), portable media players (PMPs), navigation devices, wearable devices, smart bracelets, pedometers, etc., as well as fixed terminals such as digital TVs and desktop computers.
[0057] In the subsequent description, a mobile terminal will be used as an example for illustration. Those skilled in the art will understand that except for elements specifically for mobile purposes, the structure according to the embodiments of this application can also be applied to fixed-type terminals.
[0058] Please refer to Figure 1 , Figure 1 FIG. is a schematic diagram of the hardware structure of a mobile terminal for implementing various embodiments of this application. The mobile terminal 100 may include: a radio frequency (RF) unit 101, a WiFi module 102, an audio output unit 103, an A / V (audio / video) input unit 104, a sensor 105, a display unit 106, a user input unit 107, an interface unit 108, a memory 109, a processor 110, and a power supply 111, etc. Those skilled in the art can understand that Figure 1 the mobile terminal structure shown in
[0059] does not constitute a limitation to the mobile terminal. The mobile terminal may include more or fewer components than shown in the figure, or combine certain components, or have different component arrangements. Figure 1 The following specifically introduces each component of the mobile terminal:
[0060] The radio frequency unit 101 can be used for receiving and transmitting information or signals during a call. Specifically, after receiving the downlink information of the base station, it is sent to the processor 110 for processing. Additionally, it sends the uplink data to the base station. Generally, the radio frequency unit 101 includes, but is not limited to, antennas, at least one amplifier, a transceiver, a coupler, a low-noise amplifier, a duplexer, etc. Moreover, the radio frequency unit 101 can also communicate with the network and other devices through wireless communication. The above wireless communication can use any communication standard or protocol, including but not limited to GSM (Global System of Mobile communication), GPRS (General Packet Radio Service), CDMA2000 (Code Division Multiple Access 2000), WCDMA (Wideband Code Division Multiple Access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access), FDD-LTE (Frequency Division Duplexing-Long Term Evolution), TDD-LTE (Time Division Duplexing-Long Term Evolution), 5G, and 6G, etc.
[0061] WiFi belongs to short-range wireless transmission technology. The mobile terminal can help users send and receive emails, browse the web, and access streaming media through the WiFi module 102. It provides users with wireless broadband Internet access. Although Figure 1 the WiFi module 102 is shown, it can be understood that it is not an essential component of the mobile terminal and can be omitted entirely within the scope of not changing the essence of the invention according to needs.
[0062] The audio output unit 103 can convert the audio data received by the radio frequency unit 101 or the WiFi module 102 or stored in the memory 109 into an audio signal and output it as sound when the mobile terminal 100 is in call signal reception mode, call mode, recording mode, voice recognition mode, broadcast reception mode, etc. Moreover, the audio output unit 103 can also provide audio output related to specific functions executed by the mobile terminal 100 (such as call signal reception sound, message reception sound, etc.). The audio output unit 103 can include a speaker, a buzzer, etc.
[0063] The A / V input unit 104 is used to receive audio or video signals. The A / V input unit 104 may include a Graphics Processing Unit (GPU) 1041 and a microphone 1042. The GPU 1041 processes the image data of still pictures or videos obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. The processed image frames can be displayed on the display unit 106. The image frames processed by the GPU 1041 can be stored in the memory 109 (or other storage media) or transmitted via the radio frequency unit 101 or the WiFi module 102. The microphone 1042 can receive sounds (audio data) via the microphone 1042 in operating modes such as a phone call mode, a recording mode, a voice recognition mode, etc., and can process such sounds into audio data. The processed audio (voice) data can be converted into a format that can be transmitted to a mobile communication base station via the radio frequency unit 101 in the case of the phone call mode and output. The microphone 1042 can implement various types of noise cancellation (or suppression) algorithms to cancel (or suppress) the noise or interference generated during the reception and transmission of audio signals.
[0064] The mobile terminal 100 further includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors. Optionally, the light sensor includes an ambient light sensor and a proximity sensor. Optionally, the ambient light sensor can adjust the brightness of the display panel 1061 according to the brightness of the ambient light, and the proximity sensor can turn off the display panel 1061 and / or the backlight when the mobile terminal 100 is moved to the ear. As a kind of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in all directions (generally three axes), and can detect the magnitude and direction of gravity when stationary, and can be used in applications for identifying the posture of the mobile phone (such as landscape / portrait screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as a pedometer, tapping), etc.; as for other sensors that the mobile phone can also be configured with, such as a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, etc., they will not be elaborated here.
[0065] The display unit 106 is used to display information input by the user or information provided to the user. The display unit 106 may include a display panel 1061, and the display panel 1061 can be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), etc.
[0066] The user input unit 107 can be used to receive input numeric or character information, and generate key signal inputs related to the user settings and function control of the mobile terminal. Optionally, the user input unit 107 may include a touch panel 1071 and other input devices 1072. The touch panel 1071, also known as a touch screen, can collect touch operations of the user thereon or nearby (such as operations of the user using a finger, a stylus, or any suitable object or accessory on or near the touch panel 1071), and drive corresponding connection devices according to a preset program. The touch panel 1071 can include two parts: a touch detection device and a touch controller. Optionally, the touch detection device detects the touch orientation of the user, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it to the processor 110, and can receive and execute commands sent by the processor 110. In addition, the touch panel 1071 can be implemented in multiple types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel 1071, the user input unit 107 may further include other input devices 1072. Optionally, the other input devices 1072 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, etc., and are not specifically limited here.
[0067] Optionally, the touch panel 1071 may cover the display panel 1061. After the touch panel 1071 detects a touch operation thereon or nearby, it transmits the operation to the processor 110 to determine the type of the touch event. Subsequently, the processor 110 provides a corresponding visual output on the display panel 1061 according to the type of the touch event. Although in Figure 1 the touch panel 1071 and the display panel 1061 are implemented as two independent components to realize the input and output functions of the mobile terminal, in some embodiments, the touch panel 1071 and the display panel 1061 can be integrated to realize the input and output functions of the mobile terminal, and are not specifically limited here.
[0068] The interface unit 108 serves as an interface through which at least one external device can be connected to the mobile terminal 100. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, an audio input / output (I / O) port, a video I / O port, a headset port, and so on. The interface unit 108 can be used to receive inputs from external devices (such as data information, power, etc.) and transmit the received inputs to one or more components within the mobile terminal 100 or can be used to transmit data between the mobile terminal 100 and external devices.
[0069] The memory 109 can be used to store software programs and various data. The memory 109 mainly includes a program storage area and a data storage area. Optionally, the program storage area can store an operating system, application programs required for at least one function (such as a sound playback function, an image playback function, etc.); the data storage area can store data created according to the use of the mobile phone (such as audio data, phone book, etc.). In addition, the memory 109 can include high-speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices.
[0070] The processor 110 is the control center of the mobile terminal, connecting various parts of the entire mobile terminal through various interfaces and lines. By running or executing software programs and / or modules stored in the memory 109, and calling data stored in the memory 109, it executes various functions of the mobile terminal and processes data, thereby monitoring the mobile terminal as a whole. The processor 110 can include one or more processing units; preferably, the processor 110 can integrate an application processor and a modem processor. Optionally, the application processor mainly processes the operating system, user interface, and application programs, etc., and the modem processor mainly processes wireless communication. It can be understood that the above-mentioned modem processor may not be integrated into the processor 110.
[0071] The mobile terminal 100 can also include a power supply 111 (such as a battery) for supplying power to each component. Preferably, the power supply 111 can be logically connected to the processor 110 through a power management system, so as to realize functions such as management of charging, discharging, and power consumption management through the power management system.
[0072] Although Figure 1 not shown, the mobile terminal 100 can also include a Bluetooth module, etc., which will not be elaborated here.
[0073] To facilitate the understanding of the embodiments of the present application, the communication network system on which the mobile terminal of the present application is based will be described below.
[0074] Please refer to Figure 2 , Figure 2 which is an architecture diagram of a communication network system provided by an embodiment of the present application. This communication network system is an LTE system of the general mobile communication technology. This LTE system includes a UE (User Equipment) 201, an E-UTRAN (Evolved UMTS Terrestrial Radio Access Network) 202, an EPC (Evolved Packet Core) 203, and an operator's IP service 204 that are sequentially communicatively connected.
[0075] Optionally, the UE 201 may be the above-mentioned terminal 100, which will not be elaborated here.
[0076] The E-UTRAN 202 includes an eNodeB 2021 and other eNodeBs 2022, etc. Optionally, the eNodeB 2021 may be connected to other eNodeBs 2022 through a backhaul (such as an X2 interface), the eNodeB 2021 is connected to the EPC 203, and the eNodeB 2021 may provide access for the UE 201 to the EPC 203.
[0077] The EPC 203 may include an MME (Mobility Management Entity) 2031, an HSS (Home Subscriber Server) 2032, other MMEs 2033, an SGW (Serving Gate Way) 2034, a PGW (PDN Gate Way) 2035, a PCRF (Policy and Charging Rules Function) 2036, etc. Optionally, the MME 2031 is a control node that processes the signaling between the UE 201 and the EPC 203 and provides bearer and connection management. The HSS 2032 is used to provide some registers to manage functions such as a home location register (not shown in the figure) and stores some user-specific information such as service characteristics and data rates. All user data can be sent through the SGW 2034. The PGW 2035 may provide IP address allocation for the UE 201 and other functions. The PCRF 2036 is a policy and charging control policy decision point for service data flows and IP bearer resources, and it selects and provides available policy and charging control decisions for a policy and charging enforcement function unit (not shown in the figure).
[0078] The IP service 204 may include the Internet, an intranet, an IMS (IP Multimedia Subsystem), or other IP services, etc.
[0079] Although the above has been described by taking the LTE system as an example, those skilled in the art should be aware that the present application is not only applicable to the LTE system, but also applicable to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA, and future new network systems (such as 5G and 6G), etc., which are not limited here.
[0080] Based on the above-mentioned mobile terminal hardware structure and communication network system, various embodiments of the present application are proposed.
[0081] The first embodiment
[0082] Please refer to Figure 3 , Figure 3 which is a schematic flowchart of a processing method provided by the first embodiment of this application. As Figure 3 shown, the method includes:
[0083] S10: Respond to a search instruction for a target resource.
[0084] In one example, the target resource may indicate any type of multimedia resource. For example, the target resource may be any one of: picture resource, video resource, audio resource.
[0085] In one example, the search instruction for the target resource may be initiated in any one of the ways such as text search, voice search, photo search, etc. to obtain the target resource.
[0086] In another example, the search instruction for the target resource may also be initiated according to a browsing instruction for an application, so that the resource obtained by browsing can be determined as the target resource for application.
[0087] It should be noted here that the application of the target resource here is after the permission of the relevant user.
[0088] S20: Apply the target resource to the target application scenario according to the characteristics of the target resource.
[0089] In one example, the characteristics of the target resource can be used to indicate the type of the target resource and the attributes of the target resource. At this time, for different types of target resources, there may be different characteristics. Exemplarily, if the target resource is a picture resource, then the characteristics of the target resource may be picture size information; if the target resource is a video resource, then the characteristics of the target resource may be video duration; if the target resource is an audio resource, then the characteristics of the target resource may be audio duration, etc.
[0090] In one example, the target application scenario may indicate a scenario that matches the characteristics of the target resource. Exemplarily, if the target resource is a picture resource and the picture size information corresponding to the picture resource is 50*50, then the picture resource can be applied to the scenario of changing the account avatar (or the scenario of customizing the application icon). For another example, if the target resource is a video resource and the video length corresponding to the video resource is 1 second, then the video resource can be applied to the scenario of customizing animated gifs. For another example, if the target resource is an audio resource and the audio duration corresponding to the video resource is 30 seconds, then the audio resource can be applied to the scenario of changing the ringtone (or making background music).
[0091] As can be seen from the above description, in the embodiment of the present application, after responding to a search instruction for a target resource, the target resource can be directly applied to the target application scenario according to the characteristics of the target resource, thereby solving the problem in the traditional method that the target resource needs to be saved first and then used when utilizing the target resource, which leads to a cumbersome utilization path of the target resource, improving the utilization efficiency of the target resource and enhancing the user experience.
[0092] Second Embodiment
[0093] Please refer to Figure 4 , Figure 4 which is a schematic flowchart of a processing method provided by the second embodiment of the present application. Based on the Figure 3 embodiment, the processing method will be described in detail. As Figure 4 shown, the above S20 may include at least one of the following:
[0094] S401. In response to a resource application instruction for a target resource, display at least one resource application scenario that matches the characteristics of the target resource.
[0095] In one example, a resource application instruction can be initiated by long pressing the target resource. Alternatively, a resource application button can be displayed in the display interface of the target resource, and the resource application instruction can be initiated by triggering the resource application button. Here, the initiation method of the resource application instruction is not limited as long as it can be implemented.
[0096] Optionally, in response to a resource application instruction for a target resource, a first layer can be created, and at least one resource application scenario that matches the characteristics of the target resource can be displayed in the first layer. For example, when the target resource is a picture resource, the displayed resource application scenarios may include, but are not limited to: changing the account avatar, changing the application icon, changing the cover, etc.
[0097] S402. Based on a selection instruction for a target application scenario in at least one resource application scenario, apply the target resource to the target application scenario.
[0098] In one example, when the number of resource application scenarios is multiple, the number of target application scenarios selected by the selection instruction can be one or multiple.
[0099] In the above embodiments, at least one resource application scenario adapted to the characteristics of the target resource can be directly displayed, so that the user can clearly and intuitively view all the application scenarios to which the target resource can be applied, avoiding omission. At this time, a target application scenario for applying the target resource can also be selected from at least one resource application scenario through a selection instruction, which can avoid the situation that when the user needs to apply the target resource in multiple application scenarios, he can only return to the desktop to re-select the application scenario and then apply it, further improving the efficiency and convenience of the application of the target resource and further enhancing the user experience.
[0100] In a possible implementation manner, if a user uses multiple terminal devices at the same time, for example, the same account is logged in to multiple terminal devices, then when using the target resource in the target application scenario of a certain terminal device, it can also be synchronized to multiple terminal devices, so as to achieve cross-device linkage, further improving the diversity and flexibility of the application of the target resource. For specific details, please refer to the third embodiment below.
[0101] Third Embodiment
[0102] Please refer to Figure 5 , Figure 5 which is a schematic flowchart of a processing method provided by the third embodiment of the present application. Based on the Figure 3 embodiment and Figure 4 embodiment, the processing method is described in detail. As Figure 5 shown, the processing method further includes:
[0103] S501. In response to a resource application instruction for a target resource, display device association information.
[0104] In one example, the device association information can be used to indicate information about other terminal devices used by the user except the current terminal device. For example, the device association information can be the name of other terminal devices, the identifier of other terminal devices, etc.
[0105] Optionally, after responding to the resource application instruction for the target resource, a second layer can be created, and the device association information can be displayed in the second layer.
[0106] S502. Determine a target device based on the selection status of the device association information.
[0107] In one example, the target device can be determined by selecting other terminal devices indicated by the device association information and the current terminal device. At this time, the number of target devices can be one or more.
[0108] S503. Apply the target resource to the target application scenario of the target device.
[0109] In a possible implementation, in response to a resource application instruction for a target resource, the above-mentioned first layer may be newly created, and at least one resource application scenario matching the characteristics of the target resource may be displayed in the first layer. At this time, after a selection instruction for a target application scenario in the at least one resource application scenario, the above-mentioned second layer may be newly created, and device association information may be displayed in the second layer. After determining a target device according to the selection state of the device association information, the target resource may be applied to the target application scenario of the target device.
[0110] In a possible implementation, when determining a target device based on the selection state of device association information, if the selection state of the device association information is selected, all devices under the user account to which the device displaying the target resource belongs may be determined as the target device; if the selection state of the device association information is not selected, the device displaying the target resource may be determined as the target device.
[0111] In the above implementation, the target device for applying the target resource may be simply and quickly determined by selecting the displayed device association information, so as to realize the synchronous application of the target resource to multiple devices.
[0112] In a possible implementation, in order to ensure the quality of the target resource in the target application scenario, the target resource may be optimized before being applied to the target application scenario, so as to ensure the quality of the target resource applied to the target application scenario, and thus make the application effect of the target resource better. For details, please refer to the fourth embodiment below.
[0113] Fourth Embodiment
[0114] Please refer to Figure 6 , Figure 6 which is a schematic flowchart of a processing method provided by the fourth embodiment of the present application. Based on any of the above embodiments, the processing method is described in detail. As Figure 6 shown, the above S20 may include at least one of the following:
[0115] S601. In response to a resource application instruction for a target resource, optimize the target resource to obtain an optimized target resource.
[0116] In one example, when optimizing the target resource, according to the display requirement information of the target resource in the target application scenario, the target resource may be optimized by using a matching AI (Artificial Intelligence) technology to obtain an optimized target resource.
[0117] Exemplarily, assume that the target resource is an image resource. Then, when optimizing the target resource, the target resource can be optimized according to the size and clarity of the image required by the target application scenario. For example, a deep learning model can be used to expand or crop the image resource, improve the clarity of the image resource, etc. The AI technology used here is not limited as long as it can achieve the goal.
[0118] S602. After detecting the confirmation operation for the optimized target resource, apply the optimized target resource to the target application scenario.
[0119] In a possible implementation manner, in order to further ensure the quality of the target resource and thus improve the application effect of the target resource in the target application scenario, after obtaining the optimized target resource, the obtained optimized target resource can be subjected to secondary optimization processing, and then the target resource after the secondary optimization processing can be applied to the target application scenario.
[0120] During specific implementation, an editing interface can be displayed in response to an editing operation for the optimized target resource; then, based on the editing interface, the optimized target resource is edited to obtain the edited optimized target resource.
[0121] In a possible implementation manner, if there are multiple target application scenarios for applying the target resource, then for each target application scenario, the target resource can be subjected to corresponding optimization processing to obtain the optimized target resource that matches each target application scenario, so that the target resource has a better display effect in each target application scenario.
[0122] During specific implementation, the resource application requirements corresponding to each target application scenario can be determined or obtained, and then based on the resource application requirements corresponding to each target application scenario, the target resource is subjected to at least one optimization processing.
[0123] In one example, the resource application requirements can include but are not limited to at least one of the following: resource size requirements, resource duration requirements, resource clarity requirements, resource color requirements, resource sound requirements, etc.
[0124] In one example, when optimizing the target resource, the process described above can be referred to, and details are not elaborated here.
[0125] The fifth embodiment
[0126] Please refer to Figure 7 , Figure 7 which is a schematic flowchart of a processing method provided by the fifth embodiment of the present application. Based on any of the above embodiments, this embodiment elaborates on the processing method in detail. As Figure 7 shown, the processing method further includes:
[0127] S30: In response to a resource switching instruction for a target resource, display the switched target resource.
[0128] In one example, after applying the target resource to the target application scenario, the applied target resource can also be switched via a resource switching instruction.
[0129] Optionally, the resource switching instruction can be triggered by long - pressing the target resource in any target application scenario, and the switched target resource is displayed.
[0130] In one example, the switched target resource can be displayed by searching, or a resource already saved in the terminal device can be determined as the switched target resource and displayed, etc. Here, there is no limitation on the switched target resource.
[0131] S40: In response to a resource application instruction for the switched target resource, apply the switched target resource to the target application scenario.
[0132] This implementation method can, after applying the target resource, also trigger a resource switching instruction, facilitating the update of the resources applied in the target application scenario at any time, enabling the user to determine a satisfactory resource, and thus enhancing the user experience.
[0133] Sixth Embodiment
[0134] Please refer to Figure 8 , Figure 8 which is a schematic structural diagram of a processing device provided in the sixth embodiment of the present application. As Figure 8 shown, the processing device 80 includes:
[0135] A response unit 801, configured to respond to a search instruction for a target resource.
[0136] An application unit 802, configured to apply the target resource to the target application scenario according to the characteristics of the target resource.
[0137] Optionally, the application unit 802 is configured to perform at least one of the following:
[0138] In response to a resource application instruction for the target resource, display at least one resource application scenario that matches the characteristics of the target resource;
[0139] Based on a selection instruction for the target application scenario in at least one resource application scenario, apply the target resource to the target application scenario.
[0140] Optionally, the application unit 802 is further configured to perform at least one of the following:
[0141] In response to a resource application instruction for a target resource, display device association information;
[0142] Based on the selection status of the device association information, determine the target device;
[0143] Apply the target resource to the target application scenario of the target device.
[0144] Optionally, the application unit 802 is used for at least one of the following:
[0145] If the selection status of the device association information is selected, determine all devices under the user account to which the device displaying the target resource belongs as the target device;
[0146] If the selection status of the device association information is not selected, determine the device displaying the target resource as the target device.
[0147] Optionally, the application unit 802 is used for at least one of the following:
[0148] In response to a resource application instruction for a target resource, perform optimization processing on the target resource to obtain an optimized target resource;
[0149] After detecting a confirmation operation on the optimized target resource, apply the optimized target resource to the target application scenario.
[0150] Optionally, after obtaining the optimized target resource, the application unit 802 is further used for:
[0151] In response to an edit operation on the optimized target resource, display an edit interface;
[0152] Based on the edit interface, perform editing processing on the optimized target resource to obtain an edited optimized target resource.
[0153] Optionally, the application unit 802 is used for:
[0154] Determine or obtain the resource application requirements corresponding to each target application scenario respectively;
[0155] Based on the resource application requirements corresponding to each target application scenario respectively, perform at least one optimization processing on the target resource.
[0156] Optionally, the device is further used for:
[0157] In response to a resource switching instruction for a target resource, display the switched target resource;
[0158] In response to a resource application instruction for the switched target resource, apply the switched target resource to the target application scenario.
[0159] The present application also provides a terminal device, which includes a memory and a processor. A processing program is stored on the memory, and when the processing program is executed by the processor, the steps of the processing method in any of the above embodiments are implemented.
[0160] The present application also provides a storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the processing method in any of the above embodiments are implemented.
[0161] In the embodiments of the terminal device and the storage medium provided by the present application, all the technical features of any of the above embodiments of the processing method may be included. The expansion and explanation content of the specification is basically the same as that of the above embodiments of the method, and will not be repeated here.
[0162] The embodiments of the present application also provide a computer program product, which includes computer program code. When the computer program code runs on a computer, the computer is caused to execute the methods in the above various possible implementation manners.
[0163] The embodiments of the present application also provide a chip, which includes a memory and a processor. The memory is used to store a computer program, and the processor is used to call and run the computer program from the memory, so that a device installed with the chip executes the methods in the above various possible implementation manners.
[0164] It can be understood that the above scenarios are only examples and do not constitute a limitation on the application scenarios of the technical solutions provided by the embodiments of the present application. The technical solutions of the present application can also be applied to other scenarios. For example, as is known to those of ordinary skill in the art, with the evolution of the system architecture and the emergence of new business scenarios, the technical solutions provided by the embodiments of the present application are equally applicable to similar technical problems.
[0165] The serial numbers of the above embodiments of the present application are only for description and do not represent the advantages or disadvantages of the embodiments.
[0166] The steps in the method of the embodiments of the present application can be adjusted, combined, and deleted according to actual needs.
[0167] The units in the devices of the embodiments of the present application can be combined, divided, and deleted according to actual needs.
[0168] In the present application, for the description of the same or similar term concepts, technical solutions, and / or application scenarios, generally only the first occurrence is described in detail. When it appears repeatedly later, for the sake of brevity, it is generally not described again. When understanding the technical solutions and other contents of the present application, for the same or similar term concepts, technical solutions, and / or application scenarios that are not described in detail later, reference can be made to the relevant detailed descriptions before.
[0169] In this application, the descriptions of the various embodiments each have their own focuses. For parts not detailed or recorded in a certain embodiment, reference may be made to the relevant descriptions of other embodiments.
[0170] The technical features of the technical solutions of this application can be combined arbitrarily. For the sake of concise description, not all possible combinations of the various technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, it should be considered as the scope recorded in this application.
[0171] Through the description of the above embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus a necessary general hardware platform. Of course, it can also be implemented by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solutions of this application, in essence or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium as described above (such as ROM / RAM, magnetic disk, optical disc), and includes several instructions for causing a terminal device (which can be a mobile phone, computer, server, controlled terminal, or network device, etc.) to execute the methods of each embodiment of this application.
[0172] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the processes or functions according to the embodiments of this application are generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from a website, computer, server, or data center to another website, computer, server, or data center in a wired manner (such as coaxial cable, optical fiber, digital subscriber line) or a wireless manner (such as infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that the computer can access or a data storage device such as a server or data center that includes one or more integrated available media. The available medium can be a magnetic medium (for example, floppy disk, storage disk, magnetic tape), an optical medium (for example, DVD), or a semiconductor medium (for example, solid state disk (SSD)), etc.
[0173] The above are only the preferred embodiments of the present application, and do not limit the patent scope of the present application accordingly. Any equivalent structure or equivalent process transformation made by using the content of the specification and drawings of the present application, or directly or indirectly applied in other related technical fields, shall be equally included in the patent protection scope of the present application.
Claims
1. A processing method, characterized in that: include: S10: responding to a search instruction for a target resource; S20: Apply the target resource to the target application scenario according to the characteristics of the target resource.
2. The method according to claim 1, characterized in that The step S20 includes at least one of the following: In response to the resource application instruction for the target resource, displaying at least one resource application scenario matching the characteristics of the target resource; Based on a selection instruction for a target application scenario in the at least one resource application scenario, the target resource is applied to the target application scenario.
3. The method according to claim 2, characterized in that Also includes at least one of the following: In response to a resource application instruction for the target resource, displaying device association information; Determining a target device based on a selection state of the device association information; Apply the target resource to the target application scenario of the target device.
4. The method according to claim 3, characterized in that Determining the target device based on the selection state of the device association information includes at least one of the following: If the selection status of the device association information is selected, all devices under the user account to which the device of the target resource belongs will be displayed and determined as the target device; If the selection state of the device association information is unselected, the device of the target resource will be displayed and determined as the target device.
5. The method according to any one of claims 1 to 4, characterized in that The step S20 includes at least one of the following: In response to the resource application instruction for the target resource, optimizing the target resource to obtain an optimized target resource; After detecting a confirmation operation on the optimized target resource, the optimized target resource is applied to the target application scenario.
6. The method according to claim 5, characterized in that After obtaining the optimized target resources, it also includes: In response to an editing operation on the optimized target resource, displaying an editing interface; Based on the editing interface, the optimized target resource is edited to obtain the edited optimized target resource.
7. The method according to claim 5, characterized in that Optimizing the target resource includes: Determine or obtain resource application requirements corresponding to each target application scenario; Based on the resource application requirements respectively corresponding to each of the target application scenarios, the target resources are optimized at least once.
8. The method according to any one of claims 1 to 4, characterized in that Also includes: S30: In response to the resource switching instruction for the target resource, display the switched target resource; S40: In response to the resource application instruction for the switched target resource, apply the switched target resource to the target application scenario.
9. A terminal device, characterized in that: The terminal device comprises: a memory and a processor, wherein a processing program is stored in the memory, and when the processing program is executed by the processor, the steps of the processing method according to any one of claims 1 to 8 are implemented.
10. A storage medium, characterized in that: The storage medium stores a computer program, which, when executed by a processor, implements the steps of the processing method according to any one of claims 1 to 8.