WO2023279864A1 - Processing method and device, and storage medium - Google Patents

Processing method and device, and storage medium Download PDF

Info

Publication number
WO2023279864A1
WO2023279864A1 PCT/CN2022/094171 CN2022094171W WO2023279864A1 WO 2023279864 A1 WO2023279864 A1 WO 2023279864A1 CN 2022094171 W CN2022094171 W CN 2022094171W WO 2023279864 A1 WO2023279864 A1 WO 2023279864A1
Authority
WO
WIPO (PCT)
Prior art keywords
application
service
preset
processing
information
Prior art date
Application number
PCT/CN2022/094171
Other languages
French (fr)
Chinese (zh)
Inventor
沈剑锋
汪智勇
李晨雄
Original Assignee
深圳传音控股股份有限公司
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
Priority claimed from CN202110768366.3A external-priority patent/CN113220373B/en
Priority claimed from CN202110800277.2A external-priority patent/CN113254109B/en
Application filed by 深圳传音控股股份有限公司 filed Critical 深圳传音控股股份有限公司
Publication of WO2023279864A1 publication Critical patent/WO2023279864A1/en

Links

Images

Classifications

    • 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/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating

Definitions

  • the present application relates to the technical field of communications, and in particular to a processing method, device and storage medium.
  • the main purpose of this application is to provide a processing method, device, and storage medium, which can process multiple applications or services, so that each application or service can be interactively processed in an orderly manner, avoiding conflicts, and improving the relationship between users and applications or services.
  • the interaction effect between them improves the user experience.
  • the application provides a processing method, the processing method comprising the following steps:
  • the above preset conditions include at least one of the following:
  • step of S2 includes:
  • At least two applications or services do not meet the preset condition, then determine or generate a preset application or service based on the at least two applications or services;
  • the determining or generating preset applications or services based on the at least two applications or services includes at least one of the following:
  • any application or service in the at least two applications or services has a preset function, assign the functions and/or permissions of the at least two applications or services to the any application or service, and determine the Any application or service is the preset application or service.
  • step S2 includes:
  • the information to be processed is processed based on the preset application or service.
  • step of S2 includes:
  • step of S2 includes:
  • performing first preset processing on the preset application or service includes at least one of the following:
  • the preset application or service processes part of the information to be processed, and sends a processing request to an application or service other than the preset application or service, so that the application or service other than the preset application or service processes the Another part of the pending information;
  • the preset application or service does not process the pending information, but sends a processing request to an application or service other than the preset application or service, so that the application or service other than the preset application or service processes the pending information information;
  • the preset applications or services all process the information to be processed.
  • At least two applications or services perform preset processing, and the preset processing includes at least one of the following: starting, waking up, running, recovering, and simultaneously receiving information to be processed;
  • the steps of S2 include:
  • processing the first application or service according to a second preset policy, and/or processing the second application or service according to a third preset policy includes at least one of the following:
  • the steps of S24 include:
  • the second application or service is processed according to a third preset policy.
  • step S1 include:
  • the information to be processed is processed based on the target application or service.
  • step S1 include:
  • the first application or service, and/or the second application or service are processed based on the processing capability information of the at least two applications.
  • the present application also provides a processing method, which includes the following steps:
  • S10 Perform preset processing in response to the first application or service and the second application or service;
  • S20 Output at least one prompt message in response to at least one application or service satisfying a first preset condition
  • S30 Process the first application or service and/or the second application or service in response to a preset operation and/or a preset policy.
  • the first preset condition includes at least one of the following:
  • the step of S30 includes:
  • S301 In response to a preset operation, and/or, the associated device satisfies a second preset condition, process at least one second application or service in the associated device based on the first application or service, and/or output a response result , the response result is obtained after being processed by the second application or service.
  • the second preset condition includes at least one of the following:
  • processing at least one second application or service in the associated device based on the first application or service includes at least one of the following:
  • the second application or service processes all information in the information to be processed
  • the second application or service processes part of the information to be processed.
  • step of S30 includes at least one of the following:
  • the steps of S30 include:
  • first application or service If the first application or service satisfies the first preset condition, then process the first application or service according to a first preset strategy; and/or,
  • the second application or service is processed according to a second preset policy.
  • step of S10 includes:
  • At least two applications or services are detected to perform preset processing.
  • the preset trigger event includes at least one of the following:
  • the current time meets the preset time
  • the preset function program is activated or awakened
  • the current positioning is within the preset range
  • the current power consumption is greater than or equal to the preset power consumption
  • the current network status meets the preset network conditions
  • the current environment meets the preset environmental conditions
  • step of S20 includes:
  • the first application or service is processed according to the selection result; or, the second application or service is processed according to the selection result.
  • the steps of S30 include:
  • the functions and/or permissions and/or interfaces of the first application or service and the second application or service are processed according to the first preset operation and/or the first preset rule, and it is determined or generated that at least two functions and/or permissions and/or interfaces of an application or service, and determine that the new application or service is a default application or service;
  • the function of the first application or service or the second application or service and/or The authority is granted to any application or service, and the application or service is determined to be the preset application or service.
  • step S30 includes:
  • the information to be processed is processed based on the preset application or service.
  • the present application also provides a processing method, which includes the following steps:
  • the preset processing includes at least one of the following: starting, waking up, running, recovering, and simultaneously receiving information to be processed;
  • S200 Perform processing according to preset policies and/or preset operations according to feedback information of the associated device, where the feedback information is obtained by the associated device according to a second application or service that performs preset processing.
  • the steps of S100 include:
  • the steps of S200 include:
  • processing is performed according to a preset strategy and/or a preset operation, and the feedback information is obtained by the associated device according to a second application or service that performs preset processing.
  • processing according to preset policies and/or preset operations includes at least one of the following:
  • the steps of S200 include:
  • the step of outputting a third prompt message for processing the second application or service includes:
  • the first application or service and/or the second application or service are processed according to a selection result.
  • the present application also provides a processing method, which includes the following steps:
  • T1 In response to the first prompt information sent by the processing device to perform preset processing on the first application or service, process the second application or service that performs preset processing;
  • T2 Send feedback information to the processing device according to the processing result of the second application or service, so that the processing device performs processing according to a preset policy and/or a preset operation.
  • the steps of T1 include:
  • processing a second application or service for preset processing in response to at least one status management request sent by the processing device is preset for processing by the processing device in response to the first application or service, and/or Or the associated second application or service performs preset processing, and outputs when the acquired operation satisfies the preset condition, and/or at least one associated device satisfies the preset condition.
  • enabling the processing device to perform processing according to a preset policy and/or preset operation includes at least one of the following:
  • the processing device turns the first application or service and/or the second application or service into a background running state
  • the processing device turns the first application or service and/or the second application or service into a background frozen state
  • the processing device puts the first application or service and/or the second application or service into a sleep state
  • the processing device turns the first application or service and/or the second application or service into a closed state
  • the processing device uninstalls the first application or service and/or the second application or service
  • the processing device transfers the first application or service and/or the second application or service.
  • the steps of T2 include:
  • the processing device If the first application or service meets the first preset condition, causing the processing device to output second prompt information for processing the first application or service; and/or, if the second application or service does not If the second preset condition is met, the processing device is made to output third prompt information for processing the second application or service.
  • the present application also provides a device, the device comprising: a memory, a processor, and a processing program stored in the memory and operable on the processor, when the processing program is executed by the processor, the following steps are implemented: The steps of the above-mentioned processing method.
  • the present application also provides a storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the above-mentioned processing method are realized.
  • the technical solution provided by the present application can process multiple applications or services, so that each application or service can perform interactive processing in an orderly manner, and improve the interaction effect between the user and the application or service.
  • FIG. 1 is a schematic diagram of a hardware structure of a device implementing various embodiments of the present application
  • FIG. 2 is a system architecture diagram of a communication network provided by an embodiment of the present application.
  • Fig. 3 is a schematic diagram of the hardware structure of the controller 140 shown according to the first embodiment
  • Fig. 4 is a schematic diagram of a hardware structure of a network node 150 shown according to the first embodiment
  • Fig. 5 is a schematic flowchart of a processing method shown according to the first embodiment
  • Fig. 6 is a schematic diagram of an interface of a processing device in a scenario according to the first embodiment
  • Fig. 7 is a prompt diagram of a processing device according to the first embodiment
  • Fig. 8 is a schematic flowchart of a processing method according to a second embodiment
  • Fig. 9 is a schematic flowchart of a processing method according to a third embodiment.
  • FIG. 10 is a schematic flowchart of a processing method according to a fourth embodiment.
  • first, second, third, etc. may be used herein to describe various information, the information should not be limited to these terms. These terms are only used to distinguish information of the same type from one another. For example, without departing from the scope of this document, first information may also be called second information, and similarly, second information may also be called first information.
  • first information may also be called second information, and similarly, second information may also be called first information.
  • second information may also be called first information.
  • the word “if” as used herein may be interpreted as “at” or “when” or “in response to a determination”.
  • the singular forms "a”, “an” and “the” are intended to include the plural forms as well, unless the context indicates otherwise.
  • A, B, C means “any of the following: A; B; C; A and B; A and C; B and C; A and B and C
  • A, B or C or "A, B and/or C” means "any of the following: A; B; C; A and B; A and C; B and C; A and B and C”. Exceptions to this definition will only arise when combinations of elements, functions, steps or operations are inherently mutually exclusive in some way.
  • the words “if”, “if” as used herein may be interpreted as “at” or “when” or “in response to determining” or “in response to detecting”.
  • the phrases “if determined” or “if detected (the stated condition or event)” could be interpreted as “when determined” or “in response to the determination” or “when detected (the stated condition or event) )” or “in response to detection of (a stated condition or event)”.
  • step codes such as S1, S2, etc. are used, the purpose of which is to express the corresponding content more clearly and concisely, and does not constitute a substantive limitation on the order. It is possible to execute S2 first and then execute S1, etc., but these should be within the scope of protection of this application.
  • a device may be implemented in various forms.
  • devices described in this application may include devices such as mobile phones, tablet computers, notebook computers, palmtop computers, personal digital assistants (Personal Digital Assistant, PDA), portable media players (Portable Media Player, PMP), navigation devices, portable Wearable devices, smart bracelets, pedometers and other devices, as well as fixed terminals such as digital TVs and desktop computers.
  • PDA Personal Digital Assistant
  • PMP portable media players
  • navigation devices portable Wearable devices
  • smart bracelets smart bracelets
  • pedometers pedometers and other devices
  • fixed terminals such as digital TVs and desktop computers.
  • a mobile terminal will be taken as an example, and those skilled in the art will understand that, in addition to elements specially used for mobile purposes, the configurations according to the embodiments of the present application can also be applied to fixed-type terminals.
  • FIG. 1 is a schematic diagram of the hardware structure of a mobile terminal implementing various embodiments of the present application.
  • the mobile terminal 100 may include: an RF (Radio Frequency, radio frequency) unit 101, a WiFi module 102, an audio output unit 103, an A /V (audio/video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, and power supply 111 and other components.
  • RF Radio Frequency, radio frequency
  • the radio frequency unit 101 can be used for sending and receiving information or receiving and sending signals during a call. Specifically, after receiving the downlink information of the base station, it is processed by the processor 110; in addition, the uplink data is sent to the base station.
  • the radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like.
  • 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, Global System for Mobile Communications), GPRS (General Packet Radio Service, General Packet Radio Service), CDMA2000 (Code Division Multiple Access 2000 , Code Division Multiple Access 2000), WCDMA (Wideband Code Division Multiple Access, Wideband Code Division Multiple Access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access, Time Division Synchronous Code Division Multiple Access), FDD-LTE (Frequency Division Duplexing-Long Term Evolution, frequency division duplex long-term evolution), TDD-LTE (Time Division Duplexing-Long Term Evolution, time-division duplex long-term evolution) and 5G, etc.
  • GSM Global System of Mobile communication, Global System for Mobile Communications
  • 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, Time Division Synchro
  • WiFi is a short-distance wireless transmission technology.
  • the mobile terminal can help users send and receive emails, browse web pages, and access streaming media through the WiFi module 102, which provides users with wireless broadband Internet access.
  • Fig. 1 shows the WiFi module 102, it can be understood that it is not an essential component of the mobile terminal, and can be completely omitted as required without changing the essence of the invention.
  • the audio output unit 103 can store the audio received by the radio frequency unit 101 or the WiFi module 102 or in the memory 109 when the mobile terminal 100 is in a call signal receiving mode, a call mode, a recording mode, a voice recognition mode, a broadcast receiving mode, or the like.
  • the audio data is converted into an audio signal and output as sound.
  • the audio output unit 103 can also provide audio output related to a specific function performed by the mobile terminal 100 (eg, call signal reception sound, message reception sound, etc.).
  • the audio output unit 103 may include a speaker, a buzzer, and the like.
  • 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 (Graphics Processing Unit, GPU) 1041 and a microphone 1042, and the graphics processing unit 1041 is used for still pictures or The image data of the video is processed.
  • the processed image frames may be displayed on the display unit 106 .
  • the image frames processed by the graphics processor 1041 may be stored in the memory 109 (or other storage media) or sent via the radio frequency unit 101 or the WiFi module 102 .
  • the microphone 1042 can receive sound (audio data) via the microphone 1042 in a phone call mode, a recording mode, a voice recognition mode, and the like operating modes, and can process such sound as audio data.
  • the processed audio (voice) data can be converted into a format transmittable to a mobile communication base station via the radio frequency unit 101 for output in case of a phone call mode.
  • the microphone 1042 may implement various types of noise cancellation (or suppression) algorithms to cancel (or suppress) noise or interference generated in the process of receiving and transmitting audio signals.
  • the mobile terminal 100 also includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors.
  • the light sensor includes an ambient light sensor and a proximity sensor.
  • 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 when the mobile terminal 100 moves to the ear. panel 1061 and/or backlight.
  • the accelerometer sensor can detect the magnitude of acceleration in various directions (generally three axes), and can detect the magnitude and direction of gravity when it is stationary, and can be used to identify the application of mobile phone posture (such as horizontal and vertical screen switching, related Games, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tap), etc.; as for mobile phones, fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, Other sensors such as thermometers and infrared sensors will not be described in detail here.
  • 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 may be configured in the form of a liquid crystal display (Liquid Crystal Display, LCD), an organic light-emitting diode (Organic Light-Emitting Diode, OLED), or the like.
  • LCD Liquid Crystal Display
  • OLED Organic Light-Emitting Diode
  • the user input unit 107 can be used to receive input numbers or character information, and generate key signal input related to user settings and function control of the mobile terminal.
  • the user input unit 107 may include a touch panel 1071 and other input devices 1072 .
  • the touch panel 1071 also referred to as a touch screen, can collect touch operations of the user on or near it (for example, the user uses any suitable object or accessory such as a finger or a stylus on the touch panel 1071 or near the touch panel 1071). operation), and drive the corresponding connection device according to the preset program.
  • the touch panel 1071 may include two parts, a touch detection device and a touch controller.
  • the touch detection device detects the user's touch orientation, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives touch information from the touch detection device and converts it into contact coordinates , and then sent to the processor 110, and can receive the command sent by the processor 110 and execute it.
  • the touch panel 1071 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic wave.
  • the user input unit 107 may also include other input devices 1072 .
  • other input devices 1072 may include, but are not limited to, one or more of physical keyboards, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, joysticks, etc., which are not specifically described here. limited.
  • the touch panel 1071 may cover the display panel 1061.
  • the touch panel 1071 detects a touch operation on or near it, it transmits to the processor 110 to determine the type of the touch event, and then the processor 110 determines the touch event according to the touch event.
  • the corresponding visual output is provided on the display panel 1061 .
  • the touch panel 1071 and the display panel 1061 are used 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.
  • the implementation of the input and output functions of the mobile terminal is not specifically limited here.
  • the interface unit 108 serves as an interface through which at least one external device can be connected with the mobile terminal 100 .
  • an external device may include a wired or wireless headset port, an external power (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, audio input/output (I/O) ports, video I/O ports, headphone ports, and more.
  • the interface unit 108 can be used to receive input from an external device (for example, data information, power, etc.) transfer data between devices.
  • the memory 109 can be used to store software programs as well as various data.
  • the memory 109 can mainly include a storage program area and a storage data area.
  • the storage program area can store an operating system, at least one function required application program (such as a sound playback function, an image playback function, etc.) etc.
  • the storage data area can be Store data (such as audio data, phone book, etc.) created according to the use of the mobile phone.
  • the memory 109 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage devices.
  • the processor 110 is the control center of the mobile terminal, and uses various interfaces and lines to connect various parts of the entire mobile terminal, by running or executing software programs and/or modules stored in the memory 109, and calling data stored in the memory 109 , execute various functions of the mobile terminal and process data, so as to monitor the mobile terminal as a whole.
  • the processor 110 may include one or more processing units; preferably, the processor 110 may integrate an application processor and a modem processor.
  • the application processor mainly processes operating systems, user interfaces, and application programs, etc.
  • the demodulation processor mainly handles wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 110 .
  • the mobile terminal 100 can also include a power supply 111 (such as a battery) for supplying power to various components.
  • a power supply 111 (such as a battery) for supplying power to various components.
  • the power supply 111 can be logically connected to the processor 110 through a power management system, so as to manage charging, discharging, and power consumption through the power management system. and other functions.
  • the mobile terminal 100 may also include a Bluetooth module, etc., which will not be repeated here.
  • the following describes the communication network system on which the mobile terminal of the present application is based.
  • Fig. 2 is a kind of communication network system architecture diagram that the embodiment of the present application provides, and this communication network system is the LTE system of general mobile communication technology, and this LTE system includes the UE (User Equipment, user equipment) that communication connects sequentially ) 201, E-UTRAN (Evolved UMTS Terrestrial Radio Access Network, Evolved UMTS Terrestrial Radio Access Network) 202, EPC (Evolved Packet Core, Evolved Packet Core Network) 203 and the operator's IP service 204.
  • UE User Equipment, user equipment
  • E-UTRAN Evolved UMTS Terrestrial Radio Access Network
  • EPC Evolved Packet Core, Evolved Packet Core Network
  • the UE 201 may be the above-mentioned terminal 100, which will not be repeated here.
  • E-UTRAN 202 includes eNodeB 2021 and other eNodeB 2022 and so on.
  • the eNodeB 2021 can be connected to other eNodeB 2022 through a backhaul (for example, X2 interface), the eNodeB 2021 is connected to the EPC 203 , and the eNodeB 2021 can provide access from the UE 201 to the EPC 203 .
  • a backhaul for example, X2 interface
  • EPC203 may include MME (Mobility Management Entity, Mobility Management Entity) 2031, HSS (Home Subscriber Server, Home Subscriber Server) 2032, other MME2033, SGW (Serving Gate Way, Serving Gateway) 2034, PGW (PDN Gate Way, packet data Network Gateway) 2035 and PCRF (Policy and Charging Rules Function, Policy and Charging Functional Entity) 2036, etc.
  • MME2031 is a control node that processes signaling between UE201 and EPC203, and provides bearer and connection management.
  • HSS2032 is used to provide some registers to manage functions such as home location register (not shown in the figure), and save some user-specific information about service features and data rates.
  • PCRF2036 is the policy and charging control policy decision point of service data flow and IP bearer resources, it is the policy and charging execution function A unit (not shown) selects and provides available policy and charging control decisions.
  • IP service 204 can include Internet, Intranet, IMS (IP Multimedia Subsystem, IP Multimedia Subsystem) or other IP services etc.
  • IMS IP Multimedia Subsystem, IP Multimedia Subsystem
  • LTE system is used as an example above, those skilled in the art should know that this 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 wireless communication systems.
  • the network system (such as 5G), etc., is not limited here.
  • FIG. 3 is a schematic diagram of a hardware structure of a controller 140 provided in the present application.
  • the controller 140 includes: a memory 1401 and a processor 1402, the memory 1401 is used to store program instructions, and the processor 1402 is used to call the program instructions in the memory 1401 to execute the steps performed by the controller in the first method embodiment above, and its implementation principle and beneficial effects are similar, and will not be repeated here.
  • the foregoing controller further includes a communication interface 1403 , and the communication interface 1403 may be connected to the processor 1402 through a bus 1404 .
  • the processor 1402 can control the communication interface 1403 to implement the receiving and sending functions of the controller 140 .
  • FIG. 4 is a schematic diagram of a hardware structure of a network node 150 provided in the present application.
  • the network node 150 includes: a memory 1501 and a processor 1502, the memory 1501 is used to store program instructions, and the processor 1502 is used to call the program instructions in the memory 1501 to execute the steps performed by the first node in the first method embodiment above, and its implementation principle and beneficial effects are similar, and will not be repeated here.
  • the foregoing controller further includes a communication interface 1503 , and the communication interface 1503 may be connected to the processor 1502 through a bus 1504 .
  • the processor 1502 can control the communication interface 1503 to realize the functions of receiving and sending of the network node 150 .
  • the above-mentioned integrated modules implemented in the form of software function modules can be stored in a computer-readable storage medium.
  • the above-mentioned software function modules are stored in a storage medium, and include several instructions to enable a computer device (which may be a personal computer, server, or network device, etc.) or a processor (English: processor) to execute the methods of the various embodiments of the present application. partial steps.
  • a computer program product includes one or more computer instructions.
  • Computer instructions may be stored in or transmitted from one computer-readable storage medium to another computer-readable storage medium, e.g. Coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (such as infrared, wireless, microwave, etc.) to another website site, computer, server or data center.
  • DSL digital subscriber line
  • the computer-readable storage medium may be any available medium that can be accessed by a computer, or a data storage device such as a server, a data center, etc. integrated with one or more available media.
  • Available media may be magnetic media (eg, floppy disk, hard disk, magnetic tape), optical media (eg, DVD), or semiconductor media (eg, solid state disk, SSD).
  • FIG. 5 is a schematic flowchart of the processing method according to the first embodiment.
  • the processing method applied to the processing device includes the following steps:
  • the processing device can be a terminal device (such as a mobile phone, a tablet computer, etc.), a wearable smart device (such as a smart watch, a smart bracelet, a smart headset, etc.), a smart home device (such as a smart TV, a smart speaker, etc.), an Internet of Vehicles device ( Such as smart cars, vehicle terminals, etc.).
  • Applications or services include: at least one of voice assistant applications, social media applications, information content applications, tool applications, and system services; the above-mentioned at least two applications or services may be the same type of applications or services, or Can be different types of applications or services.
  • Applications or services may include human-computer interaction applications, and human-computer interaction applications include applications or services that can perform human-computer interaction through gestures, voice, and air gestures.
  • At least one application or service is processed based on preset policies and/or preset operations to avoid conflicts; Control, make full use of the functions and interaction capabilities of different applications or services, improve data security and/or interaction effects, and enhance user experience.
  • the human-computer interaction applications that do not need to be called at present can be closed, leaving only one The human-computer interaction application that needs to be called, or set a preset human-computer interaction application in the human-computer interaction application.
  • the preset human-computer interaction application can control all other human-computer interaction applications.
  • Other human-computer interaction applications perform overall control, distribution, and other management to prevent multiple human-computer interaction applications from responding at the same time. In this way, while making full use of the functions and interaction capabilities of system resources, multiple concurrent applications or services can run in an orderly manner, avoiding inappropriate interference and conflicts, and effectively improving user experience.
  • the preset conditions include at least one of the following:
  • the preset processing includes at least one of the following: starting, waking up, running, recovering, receiving information to be processed at the same time, and the like.
  • the preset permissions and functions may be contact permissions, control permissions, data processing functions, communication functions, and the like.
  • Supporting interaction with other applications or services may be a second application or service, a third party application, or the like. Allowing control of associated devices can be TVs, lights, air conditioners, etc.
  • the scene and/or mode associated with the information to be processed may be a specific time period, a specific location, a child mode, a connection status, and the like.
  • the function permissions that support obtaining other applications or services may be contact permissions, control permissions, and the like.
  • Being in a preset running state may mean that at least two applications or services are in a foreground running state, background running state, dormant state, closed state, etc. at the same time.
  • the preset application or service for interacting with the user and/or serving as the control center may be that the first application or service controls the second application or service.
  • the preset application or service can control the associated device and/or the second application or service, and/or Or transmit and/or convert user requirements to the second application or service, and/or respond to information to be processed, etc.
  • the first application or service can combine functions or functions of itself with other applications or services, such as the second application or service.
  • the interaction capabilities are allocated reasonably, and the first application or service is responsible for processing a part of the data, or is responsible for outputting the processing results.
  • the second application or service performs proofreading and output; and/or, after the second application or service completes the translation and proofreading of all documents, the first application or service conducts output; and/or, the second application or service assists in translating part of the documents, and the first application or service outputs the results; and/or, the second application or service completes the translation and proofreading of all documents, and the second application or service performs output.
  • the second application or service may participate in the process of processing the information to be processed, but in different scenarios, the roles played by the second application or service are different.
  • the first application or service transfers and/or converts the user's requirement to the second application or service.
  • the second application or service needs to process more information, and/or filter the data, and/or respond to the result, and/or process important information.
  • the first application or service meets user requirements and can process part or all of the information to be processed
  • the second application or service can process less information and/or simply process the data. Therefore, in different scenarios, effective processing (for example, such as integration, fusion or merger, etc.) of multiple applications or services is achieved.
  • step of S2 includes:
  • At least two applications or services do not meet the preset condition, then determine or generate a preset application or service based on the at least two applications or services;
  • the determining or generating preset applications or services based on the at least two applications or services includes at least one of the following:
  • any application or service in the at least two applications or services has a preset function, assign the functions and/or permissions of the at least two applications or services to the any application or service, and determine the Any application or service is the preset application or service.
  • processing may be performed by determining or generating new applications or services.
  • one of the human-computer interaction applications cannot be used to control other human-computer interaction applications, or one human-computer interaction application cannot be used to communicate with all human-computer interaction applications and users, etc.
  • a new human-computer interaction application can be determined or generated as a preset human-computer interaction application; then, based on the determined or generated preset The human-computer interaction application processes the received user requirements.
  • the two human-computer interaction applications A and B there are two human-computer interaction applications A and B, but when the two human-computer interaction applications A and B do not meet the preset conditions, the two human-computer interaction applications A and B can be processed to generate a super human-computer interaction application, the super human-computer interaction application has all the functions of the two human-computer interaction applications A and B, and can control the two human-computer interaction applications A and B.
  • the user says "play Andy Lau's Gong Xi Fa Cai song"
  • the human-computer interaction application A does not have the music playback permission and cannot control the B human-computer interaction application
  • the B human-computer interaction application has the music playback permission but cannot respond to the user's voice Instructions (such as language errors, etc.) cannot execute the voice instructions output by the user.
  • the human-computer interaction application C receives the user voice instruction "Andy Lau's Gong Xi Fa Cai song", and then sends a music playback request to the human-computer interaction application B that has the music playback permission to play Andy Lau's Gong Xi Fa Cai song; or the human-computer interaction application C After receiving the user's voice command "Andy Lau's Gong Xi Fa Cai Song", it directly responds to the user's command to play Andy Lau's Gong Xi Fa Cai song.
  • the functions and/or permissions and/or interfaces of the at least two applications or services are processed according to the first preset operation and/or the first preset rule, and it is determined or generated that the at least two functions and/or permissions and/or interfaces of the application or service, and determine that the new application or service is a preset application or service.
  • a user says "Play Andy Lau's Gong Xi Fa Cai song”.
  • the human-computer interaction application A does not have the permission to play music
  • the human-computer interaction application B has the permission to play music, but it cannot interact with the human-computer interaction application A, nor can it respond to the user's voice commands (cannot respond to Chinese voice, or only respond to gestures) and touch operations).
  • the human-computer interaction application A and the human-computer interaction application B By processing the functions and/or permissions and/or interfaces of the human-computer interaction application A and the human-computer interaction application B, determine or generate the functions and/or permissions and/or interfaces of the two human-computer interaction applications A and B at the same time C human-computer interaction applications. Then use the C human-computer interaction application to respond to the user's voice command, and/or control the A and B human-computer interaction applications, and open the music software to play Andy Lau's Gong Xi Fa Cai.
  • any application or service of the at least two applications or services has a preset function
  • the functions and/or permissions of at least two applications or services are given to any application or service, and any application or service is determined to be
  • the application or service is a default application or service.
  • a user says "Play Andy Lau's Gong Xi Fa Cai song”.
  • the A human-computer interaction application does not have the permission to play music
  • the B human-computer interaction application has the music playback permission, but it cannot interact with the A human-computer interaction application, nor can it respond to the user's voice commands (cannot respond to Chinese voice, or only respond to gestures) and touch operations).
  • the functions and permissions of the human-computer interaction application B are given to the human-computer interaction application A, so that the human-computer interaction application A has the functions and/or permissions of the human-computer interaction application B for processing. Then enable the A human-computer interaction application to respond to the user's voice command, and open the music software to play Andy Lau's Gong Xi Fa Cai.
  • the decision can also be made by outputting prompt information, and the user can select the corresponding processing method according to the needs, which meets the needs of the user in a specific scenario.
  • the user says “play Andy Lau's Gong Xi Fa Cai song”
  • the human-computer interaction applications A, B and C are all set to not play music during the current time period, for example, during working hours, at this time, you can output "whether to delay the playback" , "Continue Playing" and other prompt information, if the user needs to play the song now, he can choose to continue playing. If he does not receive the operation of responding to the prompt information, he can not play the music in the current time period according to the original setting. In this way, flexible decision-making can be made according to the actual needs of users, and the accuracy of interactive results can be guaranteed.
  • step S1 include:
  • the information to be processed is processed based on the target application or service.
  • the terminal directly acquires the human-computer interaction application C capable of processing the information to be processed from the server.
  • step S2 includes:
  • the information to be processed is processed based on the preset application or service.
  • the received information to be processed is processed through the preset application or service.
  • the preset application or service there are two human-computer interaction applications A and B. After confirming that the human-computer interaction application A is the default application, when receiving the user command "turn on the camera", the human-computer interaction application A will respond, and the human-computer interaction application B will not To respond, avoiding the conflict caused by the simultaneous response of A and B human-computer interaction applications.
  • step of S2 includes:
  • the human-computer interaction application A turns on the TV after obtaining the user instruction.
  • output prompt information for the user to make a decision when multiple applications or services meet preset conditions, output prompt information for the user to make a decision; when the user does not make a decision, select a preset application or service to interact with the user according to the first preset strategy. For example, if human-computer interaction application A, human-computer interaction application B, and human-computer interaction application C meet the preset conditions, then the prompt information for selecting the three human-computer interaction applications A, B, and C is output. If the user selects the human-computer interaction application A, it is confirmed that the human-computer interaction application A is a preset human-computer interaction application for interacting with the user.
  • one of the human-computer interaction applications (such as, A human-computer interaction application) is a preset human-computer interaction application.
  • a human-computer interaction application is a preset human-computer interaction application.
  • obtain application or service-related information obtain application or service-related information, and determine at least one application or service as the preset application or service according to the application or service-related information, so as to match The most appropriate application or service to respond to the pending information.
  • the application or service-related information includes at least one of the following application or service usage frequency, application or service priority, application or service permissions, application or service security level, and user usage habits; wherein, when multiple application or service related information is obtained, at least two applications or services are screened according to the priority of the application or service related information.
  • the obtained application or service-related information includes the frequency of use of the application or service and the security level of the application or service. According to the priority of the application or service-related information, The three human-computer interaction applications should be screened first according to the security level of the application or service.
  • two human-computer interaction applications are screened out to meet the security level requirements, and then the most matching human-computer interaction application is selected according to the frequency of use of the application or service to respond Pending information.
  • preset applications or services process the information to be processed, so as to obtain and send a first processing request to the at least two applications or services.
  • a human-computer interaction application with translation authority
  • B human-computer interaction application with music playing authority
  • C human-computer interaction application with dialing authority.
  • the A human-computer interaction application meets the preset conditions (for example, the A human-computer interaction application can interact with the user, the B human-computer interaction application, and the C human-computer interaction application.
  • the app When the user interacts with the A human-computer interaction application The app said: "Play Andy Lau's Gong Xi Fa Cai song".
  • the A human-computer interaction application preliminarily confirms that if it wants to fulfill the user's needs, it needs the music playback permission, and after searching for Andy Lau's Gong Xi Fa Cai, obtain the B human-computer interaction application and the C human-computer interaction
  • the functions and/or permissions of the interactive application when it is detected that the B human-computer interaction application has the music playback permission, the A human-computer interaction application sends a music playback request "Andy Lau, Gong Xi Fa Cai" to the B human-computer interaction application.
  • the B human-computer interaction application is in After receiving the request of the human-computer interaction application of A, open the music software, and search for Andy Lau's Gong Xi Fa Cai, and when the corresponding content is found, play the song. In one embodiment, if the human-computer interaction application of B does not search for the corresponding song , then send feedback information to the human-computer interaction application A. The human-computer interaction application A, after receiving the feedback information from the human-computer interaction and application B, outputs a reminder message to remind the user that the corresponding song has not been found.
  • both the first response result and the second response result satisfy the processing condition.
  • the preset application or service may not be able to directly and completely respond to the information to be processed, it may need to be further combined with other applications or services to fully respond to the information to be processed.
  • the preset application or service processes part of the information to be processed, and sends a processing request containing another part of the information to be processed to the application or service, so that the application or service can process the pending information that the preset application or service cannot process.
  • Process information for processing For example, when the content to be translated includes different languages, the A human-computer interaction application/preset application or service only supports translation of one or a part of the languages.
  • the preset application or service does not process the information in the information to be processed.
  • the preset application or service only acts as a control center, sending processing requests to each application or service, and the application or service processes the information to be processed, or when the content to be translated contains A language, the preset application or service sends a request to the A application or service The service sends a translation request, and the A application or service translates the A language.
  • a preset application or service processes all information in the information to be processed.
  • the preset application or service can directly translate the A language.
  • the preset application or service can directly translate the A language.
  • step S1 include:
  • the first application or service, and/or the second application or service are processed based on the processing capability information of the at least two applications.
  • the human-computer interaction application A when both the human-computer interaction application A and the human-computer interaction application B meet the preset conditions, if the processing capability of the human-computer interaction application A exceeds that of the human-computer interaction application B, the human-computer interaction application A is set as the preset
  • the human-computer interaction application interacts with the user through the A human-computer interaction application, or processes information to be processed.
  • step of S2 includes:
  • the preset application or service performs preliminary processing on the received information to be processed to obtain a first response result.
  • the first response result includes: the preset application or service can process the information to be processed, or the preset application or service cannot process the information to be processed.
  • the preset application or service sends the information to be processed to the application or service, performs preliminary processing, and then obtains a second response result of executing the application or service.
  • the second response result includes: the application or service can process the information to be processed, and the application or service cannot process the information to be processed.
  • the preset application or service obtains the second response result output by the application or service.
  • the preset applications or services When there are preset applications or services, and there are processing conditions in the applications or services that can satisfy the information to be processed and can process the information to be processed, the preset applications or services are processed so that the preset applications or services can be used for each application or The service performs reasonable allocation management to process pending information.
  • performing first preset processing on the preset application or service includes at least one of the following:
  • the preset application or service processes part of the information to be processed, and sends a processing request to an application or service other than the preset application or service, so that the application or service other than the preset application or service processes the Another part of the pending information;
  • the preset application or service does not process the pending information, but sends a processing request to an application or service other than the preset application or service, so that the application or service other than the preset application or service processes the pending information information;
  • the preset applications or services all process the information to be processed.
  • the preset application or service in response to the first response result and/or at least one second response result satisfying the processing condition, that is, there is currently at least one application or service that can satisfy the user's requirement.
  • the preset application or service sends a processing request to the corresponding application or service, so that the corresponding application or service processes the information to be processed.
  • the preset application or service can split the information to be processed, and split the pending information into multiple pieces according to the functions and/or permissions of the application or service, and then according to the split
  • the final information to be processed is sent to corresponding multiple applications or services for processing, so that multiple applications or services cooperate to process the information to be processed.
  • At least two applications or services perform preset processing, and the preset processing includes at least one of the following: starting, waking up, running, recovering, and simultaneously receiving information to be processed;
  • the steps of S2 include:
  • the processing data received is the same;
  • the received processed data is obtained from the same pending message
  • At least one application or service can be processed according to the preset policy.
  • control the use process of applications or services make full use of the functions and interaction capabilities of different applications or services, and improve data security and/or interaction effects.
  • the human-computer interaction applications that do not need to be invoked currently are closed or background frozen.
  • multiple concurrent applications or services can run in an orderly manner, avoiding inappropriate interference problems, and effectively improving user experience.
  • processing the first application or service according to a second preset policy, and/or processing the second application or service according to a third preset policy includes at least one of the following:
  • the second preset policy and/or the third preset policy may be to turn the first application or service and/or the second application or service into a background running state.
  • the file keyword extraction service when the picture editing service is started, the file keyword extraction service can be temporarily turned into a background running state.
  • Running in the background can use the idle resources of the system without interfering with the applications or services running in the foreground, so as to enhance the coordination of the system and improve the operating efficiency.
  • the second preset policy and/or the third preset policy may be turning the first application or service and/or the second application or service into a background freezing state.
  • the video call service needs to be started.
  • the game service can be temporarily frozen in the background, and then unfreeze and run at an appropriate time after the end of the video call service.
  • Background freezing can prevent frozen applications or services from interfering with applications or services running in the foreground, avoid conflicts during operation, and enhance system fluency.
  • the second preset policy and/or the third preset policy may be turning the first application or service and/or the second application or service into a dormant state.
  • the guest account when the administrator account logs in, in order to avoid system file resource conflicts, the guest account can be turned into a dormant state, and when the administrator account exits, the dormant guest account can be awakened at an appropriate time.
  • the dormant state can enable the application or service to temporarily release the occupied resources and files, and then wake up when necessary, so as to restore the state before dormancy.
  • the second preset policy and/or the third preset policy may be turning the first application or service and/or the second application or service into a closed state.
  • the running entertainment video playing application can be closed.
  • the closed state can completely release the resources occupied by the application or service from the system memory, which is conducive to the smooth operation of the system.
  • the second preset policy and/or the third preset policy may be to uninstall the first application or service and/or the second application or service.
  • At least one of the two security management applications existing on the mobile phone is uninstalled.
  • Uninstalling an application or service can not only completely release the resources occupied by the application or service, but also avoid unnecessary startup or wakeup, which is conducive to the stability of the system operation.
  • the second preset policy and/or the third preset policy may be to transfer the first application or service and/or the second application or service.
  • the background scene computing service is transferred and installed in the server connected to the network. Transferring and installing an application or service can release specific resources while retaining the function of the application or service to run in other systems, which not only avoids conflicts in system operation, but also ensures the integrity of functions.
  • the second preset strategy and/or the third preset strategy may be to wake up or run the first application or service and/or the second application or service in response to the information to be processed.
  • the terminal After the terminal preliminarily processes the information to be processed, and confirms that the first application or service and/or the second application or service is required to assist in processing the information to be processed, the terminal wakes up the first application or service and/or the second application or service.
  • the applications or services include: A human-computer interaction application, B human-computer interaction application, and C human-computer interaction application.
  • the human-computer interaction application A is currently running, and the human-computer interaction applications B and C are not running.
  • the human-computer interaction application C is awakened.
  • Different applications or services can be processed differently by switching the state to different preset processing strategies such as running in the background, freezing in the background, hibernating, shutting down, uninstalling, or transferring.
  • the steps of S24 include:
  • the second application or service is processed according to a third preset policy.
  • the first application or service when multiple applications or services are encountered in a payment scenario, it is judged whose privacy level is higher, and if the first application or service has a lower level, it is judged whether the first application or service satisfies a preset condition. For example, whether there are functionalities that complement a particular payment application or service. If not, close the first application or service; and/or, if there are complementary functions, determine whether the second application or service has no complementary functions to the specific payment application or service. If the second application or service does not have a complementary function, then close the second application or service. In addition, one or more of the priorities, permissions, occupied system resources, and comprehensive functions of multiple applications or services may be compared, and then one or more applications or services may be processed.
  • Fig. 6 is a schematic diagram of an interface of a processing device in a scenario according to the first embodiment.
  • the scenario shown in FIG. 6 is a confirmation scenario of a preset application or service, and the application or service is a voice assistant and the voice assistants are all installed on the processing device as an example for illustration.
  • (a) in Fig. 6 shows the detection result "It is detected that the voice assistant A and the voice assistant B meet the preset conditions".
  • the detecting step may be, but not limited to, before receiving the information to be processed, or after receiving the information to be processed.
  • FIG. 6 shows the prompt information "Please confirm the preset voice assistant", as well as “Voice Assistant A” and “Voice Assistant B” based on a predetermined strategy, for users to choose, so that users can make decisions based on the prompt information.
  • FIG. 6 shows the selection success message and the prompt message output by the voice assistant A. For example, “You choose voice assistant A as the default voice assistant", and voice assistant A prompts “You said, I'm listening" in text.
  • the user can input instructions by voice, and since this application can process the functions and interaction capabilities between applications or services (for example, such as integration, integration, or merging), the instructions that voice assistant A can accept are more accurate. For richness, there is no need to prompt the user for input.
  • FIG. 7 is a prompt diagram of a processing device according to an embodiment of the present application.
  • the processing device when processing two human-computer interaction applications, the processing device outputs "prompt: interactive application A is about to close” and/or, “prompt: interactive application B is about to close”. Or, please refer to FIG. 7 , the processing device outputs "Please choose to close the A interactive application: 1 close; 2 freeze in the background; 3 sleep; 4 uninstall".
  • the processing method of the present application detects whether at least two applications or services meet preset conditions; according to the detection results, processes at least one application or service based on preset policies and/or preset operations to avoid conflicts.
  • processes at least one application or service based on preset policies and/or preset operations to avoid conflicts.
  • conflicts can be avoided when using the applications or services, and the The user interacts with the identity of the application or service, and makes full use of the functions and interaction capabilities of different applications or services, improves the interaction effect, and enhances the user experience.
  • Fig. 8 is a schematic flowchart of a processing method according to the second embodiment. As shown in Figure 8, the processing method of the present application is applied to processing equipment, including the following steps:
  • S10 Perform preset processing in response to the first application or service and the second application or service;
  • S20 Output at least one prompt message in response to at least one application or service satisfying a first preset condition
  • S30 Process the first application or service and/or the second application or service in response to a preset operation and/or a preset policy.
  • the processing device can be a terminal device (such as a mobile phone, a tablet computer, etc.), a wearable smart device (such as a smart watch, a smart bracelet, a smart headset, etc.), a smart home device (such as a smart TV, a smart speaker, etc.), an Internet of Vehicles device (such as smart cars, vehicle terminals, etc.).
  • Applications or services may include human-computer interaction applications, and human-computer interaction applications include applications or services that can perform human-computer interaction through gestures, voice, and air gestures.
  • performing preset processing includes at least one of the following: starting, waking up, running, recovering, receiving information to be processed at the same time, and the like.
  • At least one application or service When at least one application or service is performing preset processing, according to whether one or more applications or services or the relevant information of the processing device meet the first preset condition, the application that is more suitable for use can be screened out or service.
  • at least one application or service is processed according to a specific preset policy and/or a specific preset operation, so that when using the application or service, the process of using the application or service can be controlled, and the Multiple applications or services that exist at the same time run in an orderly manner, avoiding inappropriate interference problems, and effectively improving user experience.
  • the first preset condition includes at least one of the following:
  • the human-computer interaction application B does not have the authority to make calls, then the human-computer interaction application A can make a call, and the human-computer interaction application B can be closed; and/or, the human-computer interaction application A does not have the authority to make calls, then The human-computer interaction application B that has the authority to make calls can make a call, and close the human-computer interaction application A.
  • the first preset condition is whether the user has the right to make a call.
  • the step of S30 includes:
  • S301 In response to a preset operation, and/or, the associated device satisfies a second preset condition, process at least one second application or service in the associated device based on the first application or service, and/or output a response result , the response result is obtained after being processed by the second application or service.
  • the first application or service may control the associated device and/or the second application or service, and/or transfer and /or convert user needs, and/or respond to pending information, etc.
  • the first application or service can reasonably allocate the functions or interaction capabilities between itself and the second application or service, and the first application or service is responsible for processing part of the data processing , or is responsible for outputting the processing results. For example, after the first application or service completes the translation of all documents, the second application or service performs proofreading and output; and/or, after the second application or service completes the translation and proofreading of all documents, the first application or service conducts output; and/or, the second application or service assists in translating part of the documents, and the first application or service outputs the results; and/or, the second application or service completes the translation and proofreading of all documents, and the second application or service performs output.
  • the second preset condition includes at least one of the following:
  • the second application or service may be a voice assistant application, a social media application, an information content application, a tool application, a system service, and the like. It has preset functions, and/or modes, and/or permissions can be search functions, translation functions, timing functions, etc. Allowing to accept control of the processing device may be that the first application can control the second application.
  • processing at least one second application or service in the associated device based on the first application or service includes at least one of the following:
  • the second application or service processes all information in the information to be processed
  • the second application or service processes part of the information to be processed.
  • At least one second application or service on the associated device processes the information to be processed.
  • the first application or service when it can process part of the information to be processed, it sends a processing request for processing another part of the information to be processed to at least one second application or service in the associated device, so that the second application or service can process another part of the information to be processed.
  • a portion of pending information when the first application or service can process part of the information to be processed, it sends a processing request for processing another part of the information to be processed to at least one second application or service in the associated device, so that the second application or service can process another part of the information to be processed.
  • the human-computer interaction application A when the user enters that the content to be translated contains multiple languages, the human-computer interaction application A translates one language, and sends a translation request to the human-computer interaction application B that does not support the translation content, so that the human-computer interaction application B translates the human-computer interaction of A App does not support language.
  • the first application or service when the first application or service does not process the information to be processed, it sends a processing request for processing the information to be processed to at least one second application or service in the associated device, so that the second application or service processes all pending information information.
  • the human-computer interaction application A does not translate, but only distributes the content to be translated to the human-computer interaction application B and/or the human-computer interaction application C, and sends the content to the human-computer interaction application B.
  • a translation request for a part of the content to be translated sends a translation request for another part of the content to be translated to the human-computer interaction application C, so that the human-computer interaction application B translates a part of the content to be translated, and the human-computer interaction application C translates the other part of the content to be translated.
  • the first application or service may also determine or generate at least one associated third application or service to process another part of the processing results of the information to be processed.
  • the third application or service may be a processing device or an associated device or other apps or services on your device.
  • the human-computer interaction application A requests the human-computer interaction application B to process different types of audio, but the human-computer interaction application B can only process several types of audio.
  • the human-computer interaction application A may request to call the human-computer interaction application C to process other types of audio that cannot be processed by the human-computer interaction application B.
  • step of S30 includes at least one of the following:
  • switching the state of the first application or service and/or the second application or service according to a preset operation and/or a preset strategy may be turning the first application or service and/or the second application or service into the background to run state.
  • the file keyword extraction service when the picture editing service is started, the file keyword extraction service can be temporarily turned into a background running state.
  • Running in the background can use the idle resources of the system without interfering with the applications or services running in the foreground, so as to enhance the coordination of the system and improve the operating efficiency.
  • switching the state of the first application or service and/or the second application or service according to a preset operation and/or a preset policy may be turning the first application or service and/or the second application or service into a background freeze state.
  • the video call service needs to be started.
  • the game service can be temporarily frozen in the background, and then unfreeze and run at an appropriate time after the end of the video call service.
  • Background freezing can prevent frozen applications or services from interfering with applications or services running in the foreground, avoid conflicts during operation, and enhance system fluency.
  • switching the state of the first application or service and/or the second application or service according to a preset operation and/or a preset policy may be turning the first application or service and/or the second application or service into a dormant state .
  • the guest account when the administrator account logs in, in order to avoid system file resource conflicts, the guest account can be turned into a dormant state, and when the administrator account exits, the dormant guest account can be awakened at an appropriate time.
  • the dormant state can enable the application or service to temporarily release the occupied resources and files, and then wake up when necessary, so as to restore the state before dormancy.
  • switching the state of the first application or service and/or the second application or service according to a preset operation and/or a preset policy may be turning the first application or service and/or the second application or service into an off state .
  • the running entertainment video playing application can be closed.
  • the closed state can completely release the resources occupied by the application or service from the system memory, which is conducive to the smooth operation of the system.
  • switching the state of the first application or service and/or the second application or service according to a preset operation and/or a preset policy may be uninstalling the first application or service and/or the second application or service.
  • At least one of the two security management applications existing on the mobile phone is uninstalled.
  • Uninstalling an application or service can not only completely release the resources occupied by the application or service, but also avoid unnecessary startup or wakeup, which is conducive to the stability of the system operation.
  • switching the state of the first application or service and/or the second application or service according to a preset operation and/or a preset policy may be transferring the first application or service and/or the second application or service.
  • the background scene computing service is transferred and installed in the server connected to the network. Transferring and installing an application or service can release specific resources while retaining the function of the application or service to run in other systems, which not only avoids conflicts in system operation, but also ensures the integrity of functions.
  • Different applications or services can be processed differently by switching the state to different preset processing strategies such as running in the background, freezing in the background, hibernating, shutting down, uninstalling, or transferring.
  • the steps of S30 include:
  • first application or service If the first application or service satisfies the first preset condition, then process the first application or service according to a first preset policy; and/or,
  • the second application or service is processed according to a second preset policy.
  • the first application or service satisfies the first preset condition. For example, are there features that complement a particular payment app or service. If there is no complementary function, the first application or service is closed. And/or, if there is a complementary function, turn the second application or service into the background running state.
  • step of S20 include:
  • the first application or service is processed according to the selection result; or, the second application or service is processed according to the selection result.
  • the first application or service satisfies the first preset condition. For example, whether there are functionalities that complement a particular payment application or service. If there is no complementary function, output a prompt to close the first application or service. And/or, if there is a complementary function, output a prompt to turn the second application or service into a background running state.
  • the user may be reminded or assisted in decision-making by outputting prompt information, and the user may select a corresponding processing method according to the need, which meets the needs of the user in a specific scenario.
  • output prompt information including processing options for the user to choose, or provide prompt information about processing an application or service, and/or provide prompt information for processing multiple applications or services.
  • the processing device is about to process two human-computer interaction applications, and outputs "prompt: interactive application A is about to close", and/or, "prompt: interactive application B is about to close”.
  • the processing device outputs "Please choose to close interactive application A: 1. Close; 2. Freeze in the background; 3. Sleep; 4. Uninstall directly”.
  • the prompt information may be a page or window including the selection item, or a voice prompt including the selection item, or even a light prompt, a splash screen prompt and a vibration prompt set on the processing device.
  • the user can operate in ways such as click, key, voice command, and shake.
  • step of S10 includes:
  • At least two applications or services are detected to perform preset processing.
  • the system When the system is triggered by the preset trigger time interrupt, it starts to detect whether at least two applications or services may be in the state of starting, running and recovering at the same time.
  • the preset trigger event may be that the current time meets the preset time.
  • the user sets a preset time of 11 o'clock in the afternoon on July 31st, which requires specific functional services.
  • the system responds.
  • the preset triggering event may be that a preset function program is started or awakened.
  • the system or the user sets the payment program of the children's smart watch to start, it needs to start the application or service that notifies the parent's mobile phone. Therefore, when the payment procedure on the smart watch is initiated, the system responds accordingly and notifies the parent's mobile phone.
  • the preset trigger event may be that the current location is within a preset range.
  • the system is set to start an application or service that notifies parents or teachers when the satellite positioning of a child's smart watch exceeds 3 kilometers from the school. Therefore, when the satellite positioning on the smart watch exceeds 3 kilometers from the school location, the system responds accordingly and notifies parents or teachers.
  • the preset trigger event may be that the current power consumption is greater than or equal to the preset power consumption.
  • the power management service needs to be started in order to manage related programs. Therefore, when the system detects that the power consumption of the mobile phone exceeds the first power consumption threshold, it responds accordingly and starts the power management service.
  • the preset trigger event may be that the current network status meets a preset network condition.
  • the user sets the application or service on the mobile phone to run the download service after connecting to the WIFI network. Therefore, when the system detects that the WIFI network is successfully connected, it responds accordingly to start the download service of the application or service.
  • the preset trigger event may be that the current environment meets a preset environmental condition.
  • the system is configured to start the heating service when the air humidity exceeds the first humidity threshold. Therefore, when the system detects that the current air humidity exceeds the first humidity threshold, it responds accordingly to start the heating service.
  • the preset triggering event may be that key information appears in the human-computer interaction.
  • the system when the system sets the keywords of animal names in the human-computer voice interaction, it will evoke the application of animal encyclopedia knowledge. Therefore, when the system detects that the keyword "panda" appears in the human-computer voice interaction, it responds accordingly to arouse the application of animal encyclopedia knowledge.
  • the steps of S30 include:
  • the functions and/or permissions and/or interfaces of the first application or service and the second application or service are processed according to the first preset operation and/or the first preset rule, and it is determined or generated that at least two functions and/or permissions and/or interfaces of an application or service, and determine that the new application or service is a default application or service;
  • the function of the first application or service or the second application or service and/or The authority is granted to any application or service, and the application or service is determined to be the preset application or service.
  • the user says "play Andy Lau's Gong Xi Fa Cai song".
  • the human-computer interaction application A does not have the permission to play music
  • the human-computer interaction application B has the permission to play music, but it cannot interact with the human-computer interaction application A, nor can it respond to the user's voice commands (cannot respond to Chinese voice, or only respond to gestures) and touch operations).
  • the human-computer interaction application A and the human-computer interaction application B determine or generate the functions and/or permissions and/or interfaces of the two human-computer interaction applications A and B at the same time C human-computer interaction applications. Then use the C human-computer interaction application to respond to the user's voice command, and/or control the A and B human-computer interaction applications, and open the music software to play Andy Lau's Gong Xi Fa Cai.
  • the user says "play Andy Lau's Gong Xi Fa Cai song”.
  • the A human-computer interaction application does not have the permission to play music
  • the B human-computer interaction application has the music playback permission, but it cannot interact with the A human-computer interaction application, nor can it respond to the user's voice commands (cannot respond to Chinese voice, or only respond to gestures) and touch operations).
  • the functions and permissions of the human-computer interaction application B are given to the human-computer interaction application A, so that the human-computer interaction application A has the functions and/or permissions of the human-computer interaction application B for processing.
  • enable the A human-computer interaction application to respond to the user's voice command, and open the music software to play Andy Lau's Gong Xi Fa Cai.
  • step S30 includes:
  • the information to be processed is processed based on the preset application or service.
  • the received information to be processed is processed through the preset application or service.
  • the preset application or service there are two human-computer interaction applications A and B. After confirming that the human-computer interaction application A is the default application, when receiving the user command "turn on the camera", the human-computer interaction application A will respond, and the human-computer interaction application B will not To respond, avoiding the conflict caused by the simultaneous response of A and B human-computer interaction applications.
  • FIG. 8 is a flowchart of the processing method according to the third embodiment of the present application.
  • the processing method applied to the processing device includes:
  • S100 Output first prompt information to an associated device in response to preset processing performed by a first application or service.
  • S200 According to the feedback information of the associated device, perform processing according to a preset policy and/or preset operation.
  • the feedback information is obtained by the associated device according to a second application or service that performs preset processing.
  • the processing device can be a terminal device (such as a mobile phone, a tablet computer, etc.), a wearable smart device (such as a smart watch, a smart bracelet, a smart headset, etc.), a smart home device (such as a smart TV, a smart speaker, etc.), an Internet of Vehicles device (such as smart cars, vehicle terminals, etc.).
  • Applications or services may include human-computer interaction applications, and human-computer interaction applications include applications or services that can perform human-computer interaction through gestures, voice, and air gestures.
  • performing preset processing includes at least one of the following: starting, waking up, running, recovering, receiving information to be processed at the same time, and the like.
  • the first prompt information is first output to the associated device, so that the associated device processes the second application or service.
  • the associated device will send the processed feedback information to the processing device, so as to help decide to process the first application or service.
  • the steps of S100 include:
  • At least one state management request is used to enable the associated device to perform preset processing.
  • the first application or service When it is detected that the first application or service starts, runs, or resumes, it detects that the associated second application or service starts, runs, or resumes. At this time, wait for the operation of the user to meet the preset condition, and or, when at least one associated device meets the preset condition, a status management request can be output to the control center or the associated device, so that the associated device can perform preset processing.
  • the car detects that the first human-computer interaction program on the car is running, and detects that the second human-computer interaction program in the associated phone watch is also running.
  • a management request to close the second human-computer interaction program can be sent to the mobile phone, so that the associated mobile phone or phone watch Close the second human-computer interaction program.
  • the steps of S200 include:
  • the processing is performed according to the preset strategy and/or the preset operation, and the feedback information is obtained by the associated device according to the processing of the second application or service that performs the preset processing.
  • the feedback information of the mobile phone allows closing the second human-computer interaction program of the phone watch.
  • the second human-computer interaction program of the phone watch can be closed according to the preset policy and/or preset operation.
  • the feedback information from the mobile phone requires closing the first human-computer interaction program of the car, the first human-computer interaction program is closed according to a preset policy and/or preset operation.
  • the step of executing S200 may be turning the first application or service and/or the second application or service into a background running state.
  • the file keyword extraction service when the picture editing service is started, the file keyword extraction service can be temporarily turned into a background running state.
  • Running in the background can use the idle resources of the system without interfering with the applications or services running in the foreground, so as to enhance the coordination of the system and improve the operating efficiency.
  • the step of executing S200 may be turning the first application or service and/or the second application or service into a background freezing state.
  • the video call service needs to be started.
  • the game service can be temporarily frozen in the background, and then unfreeze and run at an appropriate time after the end of the video call service.
  • Background freezing can prevent frozen applications or services from interfering with applications or services running in the foreground, avoid conflicts during operation, and enhance system fluency.
  • the step of executing S200 may be turning the first application or service and/or the second application or service into a dormant state.
  • the guest account when an administrator account logs in, in order to avoid system file resource conflicts, the guest account can be turned into a dormant state, and when the administrator account exits, the dormant guest account can be awakened at an appropriate time.
  • the dormant state can enable the application or service to temporarily release the occupied resources and files, and then wake up when necessary, so as to restore the state before dormancy.
  • the step of executing S200 may be turning the first application or service and/or the second application or service into a closed state.
  • the running entertainment video playing application can be closed.
  • the closed state can completely release the resources occupied by the application or service from the system memory, which is conducive to the smooth operation of the system.
  • the step of executing S200 may be to uninstall the first application or service and/or the second application or service.
  • At least one of the two security management applications existing on the mobile phone is uninstalled.
  • Uninstalling an application or service can not only completely release the resources occupied by the application or service, but also avoid unnecessary startup or wakeup, which is conducive to the stability of the system operation.
  • the step of executing S200 may be to transfer the first application or service and/or the second application or service.
  • the background scene computing service is transferred and installed in the server connected to the network. Transferring and installing an application or service can release specific resources while retaining the function of the application or service to run in other systems, which not only avoids conflicts in system operation, but also ensures the integrity of functions.
  • Different applications or services can be processed differently by switching the state to different preset processing strategies such as running in the background, freezing in the background, hibernating, shutting down, uninstalling, or transferring.
  • the user may be reminded or assisted in decision-making by outputting prompt information, and the user may select a corresponding processing method according to the need, which meets the needs of the user in a specific scenario.
  • output prompt information including processing options for the user to choose, or provide prompt information about processing an application or service, and/or provide prompt information for processing multiple applications or services.
  • the processing device is about to process two human-computer interaction applications, and outputs "prompt: interactive application A is about to close", and/or, "prompt: interactive application B is about to close”.
  • the processing device outputs "Please choose to close the A interactive application: 1 close; 2 freeze in the background; 3 sleep; 4 uninstall directly".
  • the processing device outputs "please choose: 1 to close the interactive application A; 2 to close the interactive application B".
  • the prompt information may be a page or window including the selection item, or a voice prompt including the selection item, or even a light prompt, a splash screen prompt and a vibration prompt set on the processing device.
  • the user can operate in ways such as click, key, voice command, and shake.
  • the steps of S200 include:
  • the first human-computer interaction program that does not require other devices runs together with the second human-computer interaction program on the vehicle. Therefore, the first human-computer interaction program can be closed, and at this time, a second prompt message for closing the first human-computer interaction program is output. And/or, if the vehicle-mounted second human-computer interaction program is turned off, the vehicle-mounted second human-computer interaction program may be closed, and at this time, a third prompt message for closing the second human-computer interaction program may be output.
  • the step of outputting the third prompt information for processing the second application or service includes:
  • the first application or service and/or the second application or service are processed according to the selection result.
  • the first application or service and/or the second application or service are processed according to the final selection operation. For example, the user chooses to close the first human-computer interaction program in the prompt information, and/or chooses to freeze the second human-computer interaction program in the background.
  • step of S200 before performing the step of S200, include:
  • the setting of the preset working mode can conveniently predetermine the package treatment principle.
  • An example is the adaptive mode of authorization processing device self-optimization management. Before performing corresponding processing on the application or service, it is first determined whether the preset working mode is enabled. When it is determined that the preset working mode is turned on, the application or service is processed accordingly.
  • the processing device when the first application or service on the processing device performs preset processing, the processing device sends prompt information to the associated device, so that the associated device can feed back the information that the second application or service is processed according to the preset policy .
  • the processing device sends prompt information to the associated device, so that the associated device can feed back the information that the second application or service is processed according to the preset policy .
  • FIG. 9 is a flowchart of the processing method according to the fourth embodiment of the present application.
  • the processing method applied to the associated device includes:
  • T1 In response to the first prompt information sent by the processing device to perform preset processing on the first application or service, process a second application or service that performs preset processing.
  • T2 Send feedback information to the processing device according to the processing result of the second application or service, so that the processing device processes the first application or service according to a preset policy and/or preset operation.
  • Associated devices and processing devices can be terminal devices (such as mobile phones, tablet computers, etc.), wearable smart devices (such as smart watches, smart bracelets, smart headphones, etc.), smart home devices (such as smart TVs, smart speakers, etc.), car Networked devices (such as smart cars, vehicle terminals, etc.).
  • Applications or services may include human-computer interaction applications, and human-computer interaction applications include applications or services that can perform human-computer interaction through gestures, voice, and air gestures.
  • performing preset processing includes at least one of the following: starting, waking up, running, recovering, receiving information to be processed at the same time, and the like.
  • the car detects that the first human-computer interaction program on the car is running, and detects that the second human-computer interaction program in the associated phone watch is also running.
  • the feedback information from the mobile phone or the phone watch allows closing or freezing the second human-computer interaction program on the phone watch.
  • the second human-computer interaction program of the phone watch can be closed or frozen according to the preset policy and/or preset operation.
  • the mobile phone or the phone watch sends feedback information to the car, so that the car processes the first human-computer interaction program.
  • the mobile phone or phone watch is detected, and currently needs the second human-computer interaction program to run in the background, so the feedback information requires closing or freezing the first human-computer interaction program of the car, then the car is closed or closed according to the preset strategy and/or preset operation Freeze the first human-computer interaction program.
  • the processing device when there is an application or service that performs preset processing when the processing device starts, runs or resumes, and there is a second application or service on the associated device, in order to avoid unknown adverse consequences, the processing device cannot be processed directly.
  • the processing device first outputs the first prompt information to the associated device, and the associated device processes the second application or service according to the first prompt information.
  • the associated device sends the processed feedback information to the processing device, so as to help the processing device decide to process the first application or service.
  • the steps of T1 include:
  • the associated device In response to at least one status management request sent by the processing device, the associated device processes a second application or service for preset processing; the status management request is preset by the processing device in response to the first application or service, And/or the associated second application or service performs preset processing, and outputs when the obtained operation satisfies the preset condition, and/or at least one associated device satisfies the preset condition.
  • the processing device When the processing device detects that the first application or service starts, runs, or resumes, it also detects that the associated second application or service simultaneously starts, runs, or resumes. At this time, waiting for the operation of the user to meet the preset conditions, and or, when at least one associated device meets the preset conditions, the processing device can output a status management request to the control center or the associated device, and the associated device can then use the second application or service for preset processing. For example, in a driving environment, the car detects that the first human-computer interaction program on the car is running, and detects that the second human-computer interaction program in the associated phone watch is also running.
  • the car can send a management request to the mobile phone or the car to close or freeze the second human-computer interaction program.
  • the mobile phone or the phone watch can close or freeze the second human-computer interaction program.
  • the step of T2 may be turning the first application or service and/or the second application or service into a background running state.
  • the file keyword extraction service when the picture editing service is started, the file keyword extraction service can be temporarily turned into a background running state.
  • Running in the background can use the idle resources of the system without interfering with the applications or services running in the foreground, so as to enhance the coordination of the system and improve the operating efficiency.
  • the step of T2 may be turning the first application or service and/or the second application or service into a background freezing state.
  • the video call service needs to be started.
  • the game service can be temporarily frozen in the background, and then unfreeze and run at an appropriate time after the end of the video call service.
  • Background freezing can prevent frozen applications or services from interfering with applications or services running in the foreground, avoid conflicts during operation, and enhance system fluency.
  • step T2 may be turning the first application or service and/or the second application or service into a dormant state.
  • the guest account when the administrator account logs in, in order to avoid system file resource conflicts, the guest account can be turned into a dormant state, and when the administrator account exits, the dormant guest account can be awakened at an appropriate time.
  • the dormant state can enable the application or service to temporarily release the occupied resources and files, and then wake up when necessary, so as to restore the state before dormancy.
  • step T2 may be turning the first application or service and/or the second application or service into a closed state.
  • the running entertainment video playing application can be closed.
  • the closed state can completely release the resources occupied by the application or service from the system memory, which is conducive to the smooth operation of the system.
  • step T2 may be to uninstall the first application or service and/or the second application or service.
  • At least one of the two security management applications existing on the mobile phone is uninstalled.
  • Uninstalling an application or service can not only completely release the resources occupied by the application or service, but also avoid unnecessary startup or wakeup, which is conducive to the stability of the system operation.
  • step T2 may be transferring the first application or service and/or the second application or service.
  • the background scene computing service is transferred and installed in the server connected to the network. Transferring and installing an application or service can release specific resources while retaining the function of the application or service to run in other systems, which not only avoids conflicts in system operation, but also ensures the integrity of functions.
  • Different applications or services can be processed differently by switching the processing device to different preset processing strategies such as background running, background freezing, hibernation, shutdown, uninstallation, or transfer.
  • the steps of T2 include:
  • the processing device If the first application or service meets the first preset condition, causing the processing device to output second prompt information for processing the first application or service; and/or, if the second application or service does not If the second preset condition is met, the processing device is made to output third prompt information for processing the second application or service.
  • the processing device can remind the user or assist in decision-making by outputting prompt information, and the user can select the corresponding processing method according to the needs, which meets the needs of the user in a specific scenario.
  • the processing device outputs prompt information including processing options for the user to choose, or provides prompt information about processing an application or service, and/or provides prompt information for processing multiple applications or services.
  • the processing device is about to process two human-computer interaction applications, and outputs "prompt: interactive application A is about to close", and/or, "prompt: interactive application B is about to close”.
  • the processing device outputs "Please choose to close the A interactive application: 1 close; 2 freeze in the background; 3 sleep; 4 uninstall directly".
  • the processing device outputs "please choose: 1 to close the interactive application A; 2 to close the interactive application B".
  • the prompt information may be a page or window including the selection item, or a voice prompt including the selection item, or even a light prompt, a splash screen prompt and a vibration prompt set on the processing device.
  • the user can operate in ways such as click, key, voice command, and shake.
  • the first human-computer interaction program that does not require other devices runs together with the second human-computer interaction program on the vehicle. Therefore, the first human-computer interaction program can be closed, and at this time, a second prompt message for closing the first human-computer interaction program is output. And/or, if the vehicle-mounted second human-computer interaction program is turned off, the vehicle-mounted second human-computer interaction program may be closed, and at this time, a third prompt message for closing the second human-computer interaction program may be output.
  • step of T1 includes:
  • the setting of the preset working mode can conveniently predetermine the package treatment principle. Examples include an adaptive mode of authorization processing for device self-optimization management, or a specific function authorization mode of a mobile phone for a phone watch or a car.
  • an adaptive mode of authorization processing for device self-optimization management or a specific function authorization mode of a mobile phone for a phone watch or a car.
  • the processing method of the present application can make the associated device respond to receiving the prompt information sent by the processing device, and the associated device processes the second application or service according to a preset strategy and feeds back the processing information to the processing device.
  • multiple applications or services that exist simultaneously on interrelated devices can run in an orderly manner, avoiding inappropriate interference problems, and effectively improving user experience.
  • the response result to the data to be processed may be a result obtained after the processing device responds to the data to be processed, or may be an operation or voice input by a user.
  • the data to be processed is "play the sea of songs”
  • the response to the data to be processed is "the processing device cannot play the song, the associated device can play the song”
  • the application located on the associated device or The service is determined as the target application or target service; if the user continues to input the voice "play songs through the car device", the application or service located in the car device can be determined as the target application or target service.
  • the application or service that matches the scene information (such as currently located in the vehicle) and preset information (such as the highest priority) can be determined as the target application or target service.
  • an application or service that matches preset information (such as being in a wake-up state) and related information of the data to be processed can be determined as the target application or target service.
  • information related to the scene information (such as currently located in the vehicle), the source information of the data to be processed (such as the location where the data to be processed is obtained) and the related information of the data to be processed (such as The application or service matching the privacy level of ) is determined as the first target application or target service.
  • combination example 4 it can be combined with preset information (such as being in the wake-up state), scene information (such as currently in the vehicle), source information of the data to be processed (such as the location where the data to be processed is obtained) and the data to be processed
  • preset information such as being in the wake-up state
  • scene information such as currently in the vehicle
  • source information of the data to be processed such as the location where the data to be processed is obtained
  • the application or service that matches the relevant information is determined as the target application or target service.
  • the target application or target service can be determined more accurately and/or intelligently from multiple applications or services, thereby improving user experience.
  • the supported function information can respond to the data to be processed, whether the usage scenario matches the current scenario, whether the running status is running or not running, and other information, from at least two applications or determine at least one target application or target service in the service.
  • the data to be processed is the voice "Please play the song Motherland" input by the user in the vehicle, and the vehicle includes the A human-computer interaction application installed on the vehicle and the B human-computer interaction application installed on the user's mobile phone.
  • the human-computer interaction application A can be determined as the target application in response to the data to be processed; or, if the human-computer interaction application A is due to If the navigation service is being provided and the human-computer interaction application B is not running, the human-computer interaction application B can be determined as the target application to respond to the data to be processed; or, if the user's gaze direction is A In the direction of the human-computer interaction application, the human-computer interaction application A may be determined as the target application to respond to the data to be processed.
  • An embodiment of the present application further provides a device, which includes a memory and a processor, and a processing program is stored in the memory, and when the processing program is executed by the processor, the steps of the processing method in any of the foregoing embodiments are implemented.
  • An embodiment of the present application further provides a computer-readable storage medium, on which a processing program is stored, and when the processing program is executed by a processor, the steps of the processing method in any of the foregoing embodiments are implemented.
  • An embodiment of the present application further provides a computer program product, the computer program product includes computer program code, and when the computer program code is run on the computer, the computer is made to execute the methods in the above various possible implementation manners.
  • the embodiment of the present application also provides a chip, including a memory and a processor.
  • the memory is used to store a computer program
  • the processor is used to call and run the computer program from the memory, so that the device installed with the chip executes the above various possible implementation modes. Methods.
  • Units in the device in the embodiment of the present application may be combined, divided and deleted according to actual needs.
  • the methods of the above embodiments can be implemented by means of software plus a necessary general-purpose hardware platform, and of course also by hardware, but in many cases the former is better implementation.
  • the technical solution of the present application can be embodied in the form of a software product in essence or in other words, the part that contributes to the prior art, and the computer software product is stored in one of the above storage media (such as ROM/RAM, magnetic CD, CD), including several instructions to make a terminal device (which may be a mobile phone, computer, server, controlled terminal, or network device, etc.) execute the method of each embodiment of the present application.
  • all or part of them may be implemented by software, hardware, firmware or any combination thereof.
  • software When implemented using software, it may be implemented in whole or in part in the form of a computer program product.
  • a computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on the computer, the processes or functions according to the embodiments of the present application will be generated in whole or in part.
  • the computer can be a general purpose computer, special purpose computer, a computer network, or other programmable apparatus.
  • Computer instructions may be stored in or transmitted from one computer-readable storage medium to another computer-readable storage medium, e.g. Coaxial cable, optical fiber, digital subscriber line) or wireless (such as infrared, wireless, microwave, etc.) to another website site, computer, server or data center.
  • the computer-readable storage medium may be any available medium that can be accessed by a computer, or a data storage device such as a server, a data center, etc. integrated with one or more available media.
  • Usable media may be magnetic media, (eg, floppy disk, memory disk, magnetic tape), optical media (eg, DVD), or semiconductor media (eg, Solid State Disk (SSD)), among others.

Abstract

Disclosed in the present application are a processing method and device, and a storage medium. The method comprises: detecting whether at least two applications or services meet a preset condition; and according to a detection result, processing at least one application or service on the basis of a preset policy and/or a preset operation, so as to avoid a conflict. In this way, a plurality of applications or services can be processed, such that the applications or services can be subjected to interaction processing in sequence, thereby avoiding a conflict, improving the interaction effect between a user and the applications or services, and improving the user experience.

Description

处理方法、设备及存储介质Processing method, equipment and storage medium
相关申请related application
本申请要求于2021年07月07日提交中国国家知识产权局、申请号为202110768366.3、发明名称为“处理方法、设备及存储介质”和2021年07月15日提交中国国家知识产权局、申请号为202110800277.2、发明名称为“应用或服务的处理方法、设备及可读存储介质”的中国专利申请的优先权,其全部内容通过引用结合在申请中。This application is required to be submitted to the State Intellectual Property Office of China on July 07, 2021, the application number is 202110768366.3, and the title of the invention is "processing method, equipment and storage medium" and submitted to the State Intellectual Property Office of China on July 15, 2021, with the application number The priority of the Chinese patent application 202110800277.2, titled "Application or Service Processing Method, Device, and Readable Storage Medium", the entire content of which is incorporated by reference in the application.
技术领域technical field
本申请涉及通信技术领域,尤其涉及一种处理方法、设备及存储介质。The present application relates to the technical field of communications, and in particular to a processing method, device and storage medium.
背景技术Background technique
随着物联网的普及,人与人和/或设备之间的交流分享,需求越来越多,在构思及实现本申请过程中,发明人发现至少存在如下问题:一些实现中,对于处理过程中的操作,存在同时有多个应用或服务往往会互相干扰的问题,以及存在对应用或服务无法进行有效管理或利用的问题,又或者,人机交互应用无法进行处理,导致交互效果不佳,从而影响到用户体验。With the popularization of the Internet of Things, there are more and more demands for communication and sharing between people and/or devices. During the process of conceiving and implementing this application, the inventor found at least the following problems: In some implementations, for processing operation, there are problems that multiple applications or services at the same time tend to interfere with each other, and there are problems that applications or services cannot be effectively managed or utilized, or human-computer interaction applications cannot be processed, resulting in poor interaction effects, Thus affecting the user experience.
示例性地,在需要语音助手对用户的语音命令进行响应时,多个语音助手如何进行选择性响应或交互性控制处理等,成为了亟待解决的问题。For example, when a voice assistant is required to respond to a user's voice command, how multiple voice assistants perform selective response or interactive control processing becomes an urgent problem to be solved.
前面的叙述在于提供一般的背景信息,并不一定构成现有技术。The foregoing description is provided to provide general background information and does not necessarily constitute prior art.
技术解决方案technical solution
本申请的主要目的在于提供一种处理方法、设备及存储介质,能够对多个应用或服务进行处理,使各应用或服务能够有序进行交互处理,避免了冲突,改善了用户与应用或服务之间的交互效果,提升了用户体验。The main purpose of this application is to provide a processing method, device, and storage medium, which can process multiple applications or services, so that each application or service can be interactively processed in an orderly manner, avoiding conflicts, and improving the relationship between users and applications or services. The interaction effect between them improves the user experience.
为实现上述目的,本申请提供的一种处理方法,所述处理方法包括以下步骤:In order to achieve the above object, the application provides a processing method, the processing method comprising the following steps:
S1:检测至少两个应用或服务是否符合预设条件;S1: Detect whether at least two applications or services meet a preset condition;
S2:根据检测结果,基于预设策略和/或预设操作对至少一应用或服务进行处理,以避免冲突。S2: According to the detection result, process at least one application or service based on a preset policy and/or a preset operation, so as to avoid conflicts.
可选地,上述预设条件包括以下至少一种:Optionally, the above preset conditions include at least one of the following:
进行预设处理;carry out preset processing;
具有预设功能和权限;Have preset functions and permissions;
支持与其它应用或服务进行交互;Support interaction with other applications or services;
允许对关联设备进行控制;Allows control of associated devices;
处于与待处理信息关联的场景和/或模式;Be in the context and/or mode associated with the information to be processed;
支持获取其它应用或服务的功能权限;Support obtaining functional permissions of other applications or services;
用于与用户交互,和/或,作为控制中心的预设应用或服务。Used to interact with the user, and/or, as a preset application or service of the control center.
可选地,S2的步骤,包括:Optionally, the step of S2 includes:
若所述至少两个应用或服务都不符合所述预设条件,则基于所述至少两个应用或服务确定或生成预设应用或服务;If the at least two applications or services do not meet the preset condition, then determine or generate a preset application or service based on the at least two applications or services;
所述基于所述至少两个应用或服务确定或生成预设应用或服务,包括以下至少一种:The determining or generating preset applications or services based on the at least two applications or services includes at least one of the following:
根据第一预设操作和/或第一预设规则对所述至少两个应用或服务的功能和/或权限和/或界面进行处理,确定或生成同时具有所述至少两个应用或服务的功能和/或权限和/或界面的一个新应用或服务,并确定所述新应用或服务为预设应用或服务;Process the functions and/or permissions and/or interfaces of the at least two applications or services according to the first preset operation and/or the first preset rule, and determine or generate the at least two applications or services simultaneously a new application or service with functions and/or permissions and/or interfaces, and determine that the new application or service is a default application or service;
在所述至少两个应用或服务中的任一应用或服务具有预设功能时,将所述至少两个应用或服务的功能和/或权限赋予给所述任一应用或服务,确定所述任一应用或服务为所述预设应用或服务。When any application or service in the at least two applications or services has a preset function, assign the functions and/or permissions of the at least two applications or services to the any application or service, and determine the Any application or service is the preset application or service.
可选地,S2的步骤之后包括:Optionally, after step S2 includes:
响应于待处理信息,基于所述预设应用或服务对所述待处理信息进行处理。In response to the information to be processed, the information to be processed is processed based on the preset application or service.
可选地,S2的步骤,包括:Optionally, the step of S2 includes:
若仅一应用或服务符合所述预设条件,则确认所述应用或服务为预设应用或服务,基于所述预设应用或服务对所述至少两个应用或服务进行处理;和/或,If only one application or service meets the preset condition, confirming that the application or service is a preset application or service, and processing the at least two applications or services based on the preset application or service; and/or ,
若存在至少两个应用或服务符合所述预设条件,则输出提示信息,响应于选择操作,根据选择结果确认所述预设应用或服务,和/或,响应于未响应所述提示信息,根据第一预设策略确认所述预设应用或服务,基于所述预设应用或服务对所述至少两个应用或服务进行处理。If there are at least two applications or services that meet the preset condition, output prompt information, and in response to the selection operation, confirm the preset application or service according to the selection result, and/or, in response to no response to the prompt information, The preset application or service is confirmed according to a first preset policy, and the at least two applications or services are processed based on the preset application or service.
可选地,S2的步骤,包括:Optionally, the step of S2 includes:
S21:响应于待处理信息,所述预设应用或服务处理得到和/或输出第一响应结果;和/或,S21: In response to the information to be processed, the preset application or service processes to obtain and/or output a first response result; and/or,
S22:响应于待处理信息,所述预设应用或服务以外的应用或服务处理得到和/或输出至少一第二响应结果;S22: In response to the information to be processed, an application or service other than the preset application or service processes to obtain and/or output at least one second response result;
S23:响应于所述第一响应结果和/或所述至少一第二响应结果满足所述待处理信息的处理条件,对所述预设应用或服务进行第一预设处理。S23: In response to the first response result and/or the at least one second response result satisfying a processing condition of the information to be processed, perform a first preset process on the preset application or service.
可选地,对所述预设应用或服务进行第一预设处理,包括以下至少一种:Optionally, performing first preset processing on the preset application or service includes at least one of the following:
所述预设应用或服务处理待处理信息中的部分信息,并向所述预设应用或服务以外的应用或服务发送处理请求,使所述预设应用或服务以外的应用或服务处理所述待处理信息中的 另一部分信息;The preset application or service processes part of the information to be processed, and sends a processing request to an application or service other than the preset application or service, so that the application or service other than the preset application or service processes the Another part of the pending information;
所述预设应用或服务不处理所述待处理信息,向所述预设应用或服务以外的应用或服务发送处理请求,使所述预设应用或服务以外的应用或服务处理所述待处理信息;The preset application or service does not process the pending information, but sends a processing request to an application or service other than the preset application or service, so that the application or service other than the preset application or service processes the pending information information;
所述预设应用或服务全部处理所述待处理信息。The preset applications or services all process the information to be processed.
可选地,至少两个应用或服务进行预设处理,所述进行预设处理包括以下至少一种:启动、唤醒、运行、恢复、同时接收待处理信息;Optionally, at least two applications or services perform preset processing, and the preset processing includes at least one of the following: starting, waking up, running, recovering, and simultaneously receiving information to be processed;
所述S2的步骤,包括:The steps of S2 include:
S24:根据第二预设策略对第一应用或服务进行处理;S24: Process the first application or service according to the second preset policy;
和/或,根据第三预设策略对第二应用或服务进行处理。And/or, process the second application or service according to a third preset policy.
可选地,根据第二预设策略对所述第一应用或服务进行处理,和/或所述根据第三预设策略对所述第二应用或服务进行处理,包括以下至少一种:Optionally, processing the first application or service according to a second preset policy, and/or processing the second application or service according to a third preset policy includes at least one of the following:
将所述第一应用或服务和/或第二应用或服务转为后台运行状态;turning the first application or service and/or the second application or service into a background running state;
将所述第一应用或服务和/或第二应用或服务转为后台冻结状态;Turning the first application or service and/or the second application or service into a background freezing state;
将所述第一应用或服务和/或第二应用或服务转为休眠状态;putting the first application or service and/or the second application or service into a dormant state;
将所述第一应用或服务和/或第二应用或服务转为关闭状态;turning the first application or service and/or the second application or service into a closed state;
将所述第一应用或服务和/或第二应用或服务卸载;uninstalling the first application or service and/or the second application or service;
将所述第一应用或服务和/或第二应用或服务转移。Transferring the first application or service and/or the second application or service.
可选地,S24的步骤包括:Optionally, the steps of S24 include:
响应于所述第一应用或服务和所述第二应用或服务的对比结果;In response to a comparison of the first application or service and the second application or service;
检测所述第一应用或服务是否符合预设条件;Detecting whether the first application or service meets a preset condition;
若满足,则按照第二预设策略对所述第一应用或服务进行处理;和/或,If satisfied, process the first application or service according to a second preset policy; and/or,
若不满足,则响应于第二应用或服务满足所述预设条件,按照第三预设策略对所述第二应用或服务进行处理。If not, in response to the second application or service meeting the preset condition, the second application or service is processed according to a third preset policy.
可选地,S1的步骤之后包括:Optionally, after step S1, include:
若所述至少两个应用或服务都不符合预设条件,则从服务器获取满足所述预设条件的目标应用或服务;If the at least two applications or services do not meet the preset conditions, obtaining a target application or service that meets the preset conditions from the server;
基于所述目标应用或服务对所述至少两个应用或服务进行处理;或processing the at least two applications or services based on the target application or service; or
响应于待处理信息,基于所述目标应用或服务对所述待处理信息进行处理。In response to the information to be processed, the information to be processed is processed based on the target application or service.
可选地,S1的步骤之后包括:Optionally, after step S1, include:
若所述至少两个应用或服务都符合预设条件,则获取所述至少两个应用或服务的处理能力信息;If the at least two applications or services meet preset conditions, acquiring processing capability information of the at least two applications or services;
基于所述至少两个应用的处理能力信息对第一应用或服务,和/或第二应用或服务进行处理。The first application or service, and/or the second application or service are processed based on the processing capability information of the at least two applications.
本申请还提供一种处理方法,所述处理方法包括以下步骤:The present application also provides a processing method, which includes the following steps:
S10:响应于第一应用或服务和第二应用和服务进行预设处理;S10: Perform preset processing in response to the first application or service and the second application or service;
S20:响应于至少一应用或服务满足第一预设条件,输出至少一提示信息;S20: Output at least one prompt message in response to at least one application or service satisfying a first preset condition;
S30:响应于预设操作和/或预设策略对所述第一应用或服务和/或所述第二应用或服务进行处理。S30: Process the first application or service and/or the second application or service in response to a preset operation and/or a preset policy.
可选地,第一预设条件,包括以下至少一种:Optionally, the first preset condition includes at least one of the following:
处于预设场景;in the preset scene;
处于预设模式;in default mode;
处于预设状态;in default state;
具有预设权限;have default permissions;
支持与用户进行交互;Support interaction with users;
支持待处理信息所要实现的功能;Support the functions to be realized by the information to be processed;
支持与其它应用或服务进行交互;Support interaction with other applications or services;
处于与待处理信息关联的场景和/或模式;Be in the context and/or mode associated with the information to be processed;
位于所述处理设备上,且所述处理设备是控制中心或服务器。Located on the processing device, and the processing device is a control center or a server.
可选地,在第一应用或服务满足预设条件时,所述S30的步骤包括:Optionally, when the first application or service satisfies a preset condition, the step of S30 includes:
S301:响应于预设操作,和/或,关联设备满足第二预设条件,基于所述第一应用或服务对关联设备中的至少一第二应用或服务进行处理,和/或输出响应结果,所述响应结果由所述第二应用或服务进行处理后得到。S301: In response to a preset operation, and/or, the associated device satisfies a second preset condition, process at least one second application or service in the associated device based on the first application or service, and/or output a response result , the response result is obtained after being processed by the second application or service.
可选地,第二预设条件,包括以下至少一种:Optionally, the second preset condition includes at least one of the following:
具有第二应用或服务;have a second application or service;
允许接受处理设备的控制;Allow to receive control of processing equipment;
具有预设功能,和/或模式,和/或权限相同。Have preset functions, and/or modes, and/or have the same permissions.
可选地,基于所述第一应用或服务对关联设备中的至少一第二应用或服务进行处理,包括以下至少一种:Optionally, processing at least one second application or service in the associated device based on the first application or service includes at least one of the following:
响应于所述第一应用或服务的处理请求,所述第二应用或服务处理待处理信息中的全部信息;In response to the processing request of the first application or service, the second application or service processes all information in the information to be processed;
响应于所述第一应用或服务的处理请求,所述第二应用或服务处理所述待处理信息中的部 分信息。In response to the processing request of the first application or service, the second application or service processes part of the information to be processed.
可选地,S30的步骤包括以下至少一种:Optionally, the step of S30 includes at least one of the following:
将所述第一应用或服务和/或第二应用或服务转为后台运行状态;turning the first application or service and/or the second application or service into a background running state;
将所述第一应用或服务和/或第二应用或服务转为后台冻结状态;Turning the first application or service and/or the second application or service into a background freezing state;
将所述第一应用或服务和/或第二应用或服务转为休眠状态;putting the first application or service and/or the second application or service into a dormant state;
将所述第一应用或服务和/或第二应用或服务转为关闭状态;turning the first application or service and/or the second application or service into a closed state;
将所述第一应用或服务和/或第二应用或服务卸载;uninstalling the first application or service and/or the second application or service;
将所述第一应用或服务和/或第二应用或服务转移。Transferring the first application or service and/or the second application or service.
可选地,S30的步骤包括:Optionally, the steps of S30 include:
若所述第一应用或服务满足所述第一预设条件,则根据第一预设策略对所述第一应用或服务进行处理;和/或,If the first application or service satisfies the first preset condition, then process the first application or service according to a first preset strategy; and/or,
若所述第一应用或服务不满足所述第一预设条件,则根据第二预设策略对所述第二应用或服务进行处理。If the first application or service does not satisfy the first preset condition, the second application or service is processed according to a second preset policy.
可选地,S10的步骤之前包括:Optionally, before the step of S10 includes:
响应于预设触发事件,检测至少两个应用或服务进行预设处理。In response to a preset trigger event, at least two applications or services are detected to perform preset processing.
可选地,预设触发事件包括以下至少一种:Optionally, the preset trigger event includes at least one of the following:
当前时间满足预设时间;The current time meets the preset time;
预设功能程序被启动或唤醒;The preset function program is activated or awakened;
当前定位处于预设范围;The current positioning is within the preset range;
当前功耗大于或等于预设功耗;The current power consumption is greater than or equal to the preset power consumption;
当前网络状态满足预设网络条件;The current network status meets the preset network conditions;
当前环境满足预设环境条件;The current environment meets the preset environmental conditions;
人机交互中出现关键信息。Key information emerges in human-computer interaction.
可选地,S20的步骤之后包括:Optionally, after the step of S20 includes:
若所述第一应用或服务符合第一预设条件,则输出对于处理第一应用或服务的提示信息;和/或,若所述第一应用或服务不符合第一预设条件,则输出对于处理第二应用或服务的提示信息;If the first application or service meets the first preset condition, output prompt information for processing the first application or service; and/or, if the first application or service does not meet the first preset condition, output Prompt information for processing the second application or service;
响应于对应所述提示信息的选择操作,根据选择结果处理所述第一应用或服务;或,根据选择结果处理所述第二应用或服务。In response to the selection operation corresponding to the prompt information, the first application or service is processed according to the selection result; or, the second application or service is processed according to the selection result.
可选地,S30的步骤包括:Optionally, the steps of S30 include:
根据第一预设操作和/或第一预设规则对所述第一应用或服务和所述第二应用或服务的功 能和/或权限和/或界面进行处理,确定或生成同时具有至少两个应用或服务的功能和/或权限和/或界面的一个新应用或服务,并确定所述新应用或服务为预设应用或服务;The functions and/or permissions and/or interfaces of the first application or service and the second application or service are processed according to the first preset operation and/or the first preset rule, and it is determined or generated that at least two functions and/or permissions and/or interfaces of an application or service, and determine that the new application or service is a default application or service;
在所述第一应用或服务和所述第二应用或服务中的任一应用或服务具有预设功能时,将所述第一应用或服务或所述第二应用或服务的功能和/或权限赋予给所述任一应用或服务,确定所述任一应用或服务为所述预设应用或服务。When any one of the first application or service and the second application or service has a preset function, the function of the first application or service or the second application or service and/or The authority is granted to any application or service, and the application or service is determined to be the preset application or service.
可选地,S30的步骤之后包括:Optionally, after step S30 includes:
响应于待处理信息,基于所述预设应用或服务对所述待处理信息进行处理。In response to the information to be processed, the information to be processed is processed based on the preset application or service.
本申请还提供一种处理方法,所述处理方法包括以下步骤:The present application also provides a processing method, which includes the following steps:
S100:响应于第一应用或服务进行预设处理,向关联设备输出第一提示信息,所述进行预设处理包括以下至少一种:启动、唤醒、运行、恢复、同时接收待处理信息;S100: In response to the first application or service performing preset processing, outputting first prompt information to the associated device, the preset processing includes at least one of the following: starting, waking up, running, recovering, and simultaneously receiving information to be processed;
S200:根据所述关联设备的反馈信息,按照预设策略和/或预设操作进行处理,所述反馈信息由所述关联设备根据进行预设处理的第二应用或服务处理得到。S200: Perform processing according to preset policies and/or preset operations according to feedback information of the associated device, where the feedback information is obtained by the associated device according to a second application or service that performs preset processing.
可选地,S100的步骤包括:Optionally, the steps of S100 include:
响应于第一应用或服务进行预设处理,和/或关联的第二应用或服务进行预设处理,响应于获取的操作满足预设条件,和/或至少一关联设备满足预设条件,输出至少一状态管理请求,以使得所述关联设备进行预设处理。In response to the first application or service performing preset processing, and/or the associated second application or service performing preset processing, in response to the acquired operation meeting the preset condition, and/or at least one associated device meeting the preset condition, outputting At least one state management request, so that the associated device performs preset processing.
可选地,S200的步骤包括:Optionally, the steps of S200 include:
根据所述关联设备的反馈信息,按照预设策略和/或预设操作进行处理,所述反馈信息由所述关联设备根据进行预设处理的第二应用或服务处理得到。According to the feedback information of the associated device, processing is performed according to a preset strategy and/or a preset operation, and the feedback information is obtained by the associated device according to a second application or service that performs preset processing.
可选地,按照预设策略和/或预设操作进行处理包括以下至少一种:Optionally, processing according to preset policies and/or preset operations includes at least one of the following:
将所述第一应用或服务和/或第二应用或服务转为后台运行状态;turning the first application or service and/or the second application or service into a background running state;
将所述第一应用或服务和/或第二应用或服务转为后台冻结状态;Turning the first application or service and/or the second application or service into a background freezing state;
将所述第一应用或服务和/或第二应用或服务转为休眠状态;putting the first application or service and/or the second application or service into a dormant state;
将所述第一应用或服务和/或第二应用或服务转为关闭状态;turning the first application or service and/or the second application or service into a closed state;
将所述第一应用或服务和/或第二应用或服务卸载;uninstalling the first application or service and/or the second application or service;
将所述第一应用或服务和/或第二应用或服务转移。Transferring the first application or service and/or the second application or service.
可选地,S200的步骤包括:Optionally, the steps of S200 include:
若所述第一应用或服务符合第一预设条件,则输出对于处理所述第一应用或服务的第二提示信息;和/或,若所述第二应用或服务不符合第二预设条件,则输出对于处理所述第二应用或服务的第三提示信息。If the first application or service meets the first preset condition, outputting a second prompt message for processing the first application or service; and/or, if the second application or service does not meet the second preset condition condition, output third prompt information for processing the second application or service.
可选地,在执行所述若所述第一应用或服务符合第一预设条件,则输出对于处理所述第一应用或服务的第二提示信息;和/或,若所述第二应用或服务不符合第二预设条件,则输出对于处理所述第二应用或服务的第三提示信息的步骤中包括:Optionally, if the first application or service meets the first preset condition during execution, then output a second prompt message for processing the first application or service; and/or, if the second application or the service does not meet the second preset condition, the step of outputting a third prompt message for processing the second application or service includes:
响应于对应所述第二提示信息和/或第三提示信息的选择操作,根据选择结果处理所述第一应用或服务和/或所述第二应用或服务。In response to a selection operation corresponding to the second prompt information and/or the third prompt information, the first application or service and/or the second application or service are processed according to a selection result.
本申请还提供一种处理方法,所述处理方法包括以下步骤:The present application also provides a processing method, which includes the following steps:
T1:响应于处理设备对于第一应用或服务进行预设处理发送的第一提示信息,处理进行预设处理的第二应用或服务;T1: In response to the first prompt information sent by the processing device to perform preset processing on the first application or service, process the second application or service that performs preset processing;
T2:根据对所述第二应用或服务的处理结果,发送反馈信息至所述处理设备,以使所述处理设备按照预设策略和/或预设操作进行处理。T2: Send feedback information to the processing device according to the processing result of the second application or service, so that the processing device performs processing according to a preset policy and/or a preset operation.
可选地,T1的步骤包括:Optionally, the steps of T1 include:
响应于所述处理设备发送的至少一状态管理请求,处理进行预设处理的第二应用或服务;所述状态管理请求由所述处理设备响应于第一应用或服务进行预设处理,和/或关联的第二应用或服务进行预设处理,在获取的操作满足预设条件,和/或至少一关联设备满足预设条件时输出。processing a second application or service for preset processing in response to at least one status management request sent by the processing device; the status management request is preset for processing by the processing device in response to the first application or service, and/or Or the associated second application or service performs preset processing, and outputs when the acquired operation satisfies the preset condition, and/or at least one associated device satisfies the preset condition.
可选地,以使所述处理设备按照预设策略和/或预设操作进行处理包括以下至少一种:Optionally, enabling the processing device to perform processing according to a preset policy and/or preset operation includes at least one of the following:
所述处理设备将所述第一应用或服务和/或第二应用或服务转为后台运行状态;The processing device turns the first application or service and/or the second application or service into a background running state;
所述处理设备将所述第一应用或服务和/或第二应用或服务转为后台冻结状态;The processing device turns the first application or service and/or the second application or service into a background frozen state;
所述处理设备将所述第一应用或服务和/或第二应用或服务转为休眠状态;the processing device puts the first application or service and/or the second application or service into a sleep state;
所述处理设备将所述第一应用或服务和/或第二应用或服务转为关闭状态;The processing device turns the first application or service and/or the second application or service into a closed state;
所述处理设备将所述第一应用或服务和/或第二应用或服务卸载;The processing device uninstalls the first application or service and/or the second application or service;
所述处理设备将所述第一应用或服务和/或第二应用或服务转移。The processing device transfers the first application or service and/or the second application or service.
可选地,T2的步骤包括:Optionally, the steps of T2 include:
若所述第一应用或服务符合第一预设条件,则使所述处理设备输出对于处理所述第一应用或服务的第二提示信息;和/或,若所述第二应用或服务不符合第二预设条件,则使所述处理设备输出对于处理所述第二应用或服务的第三提示信息。If the first application or service meets the first preset condition, causing the processing device to output second prompt information for processing the first application or service; and/or, if the second application or service does not If the second preset condition is met, the processing device is made to output third prompt information for processing the second application or service.
本申请还提供一种设备,所述设备包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的处理程序,所述处理程序被所述处理器执行时实现如上述的处理方法的步骤。The present application also provides a device, the device comprising: a memory, a processor, and a processing program stored in the memory and operable on the processor, when the processing program is executed by the processor, the following steps are implemented: The steps of the above-mentioned processing method.
本申请还提供一种存储介质,所述存储介质上存储有计算机程序,所述计算机程序被 处理器执行时实现如上述的处理方法的步骤。The present application also provides a storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the above-mentioned processing method are realized.
如上所述,本申请提供的技术方案,能够对多个应用或服务进行处理,使得各应用或服务能够有序进行交互处理,改善用户与应用或服务之间的交互效果。As mentioned above, the technical solution provided by the present application can process multiple applications or services, so that each application or service can perform interactive processing in an orderly manner, and improve the interaction effect between the user and the application or service.
附图说明Description of drawings
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本申请的实施例,并与说明书一起用于解释本申请的原理。为了更清楚地说明本申请实施例的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,对于本领域普通技术人员而言,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the application and together with the description serve to explain the principles of the application. In order to more clearly illustrate the technical solutions of the embodiments of the present application, the accompanying drawings that need to be used in the description of the embodiments will be briefly introduced below. Obviously, for those of ordinary skill in the art, the Under the premise, other drawings can also be obtained based on these drawings.
图1为实现本申请各个实施例的一种设备的硬件结构示意图;FIG. 1 is a schematic diagram of a hardware structure of a device implementing various embodiments of the present application;
图2为本申请实施例提供的一种通信网络系统架构图;FIG. 2 is a system architecture diagram of a communication network provided by an embodiment of the present application;
图3是根据第一实施例示出的控制器140的硬件结构示意图;Fig. 3 is a schematic diagram of the hardware structure of the controller 140 shown according to the first embodiment;
图4是根据第一实施例示出的网络节点150的硬件结构示意图;Fig. 4 is a schematic diagram of a hardware structure of a network node 150 shown according to the first embodiment;
图5是根据第一实施例示出的处理方法的流程示意图;Fig. 5 is a schematic flowchart of a processing method shown according to the first embodiment;
图6是根据第一实施例示出的一种场景下的处理设备的界面示意图;Fig. 6 is a schematic diagram of an interface of a processing device in a scenario according to the first embodiment;
图7是根据第一实施例示出的处理设备提示图;Fig. 7 is a prompt diagram of a processing device according to the first embodiment;
图8是根据第二实施例示出的处理方法的流程示意图;Fig. 8 is a schematic flowchart of a processing method according to a second embodiment;
图9是根据第三实施例示出的处理方法的流程示意图;Fig. 9 is a schematic flowchart of a processing method according to a third embodiment;
[根据细则91更正 18.07.2022] 
图10是根据第四实施例示出的处理方法的流程示意图。
[Corrected 18.07.2022 under Rule 91]
Fig. 10 is a schematic flowchart of a processing method according to a fourth embodiment.
本申请目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。通过上述附图,已示出本申请明确的实施例,后文中将有更详细的描述。这些附图和文字描述并不是为了通过任何方式限制本申请构思的范围,而是通过参考特定实施例为本领域技术人员说明本申请的概念。The realization, functional features and advantages of the present application will be further described in conjunction with the embodiments and with reference to the accompanying drawings. By means of the above drawings, specific embodiments of the present application have been shown, which will be described in more detail hereinafter. These drawings and text descriptions are not intended to limit the scope of the concept of the application in any way, but to illustrate the concept of the application for those skilled in the art by referring to specific embodiments.
本申请的实施方式Embodiment of this application
这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本申请相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本申请的一些方面相一致的装置和方法的例子。Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with aspects of the present application as recited in the appended claims.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素,此外,本申请不同实施例中具有同样命名的部件、特征、要素可能具有相同含义,也可能具有不同含义,其具体含义需以其在该具体实施例中的解释或者进一步结合该具体实施例中上下文进行确定。It should be noted that, in this document, the term "comprising", "comprising" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article or apparatus comprising a set of elements includes not only those elements, It also includes other elements not expressly listed, or elements inherent in the process, method, article, or device. Without further limitations, an element defined by the phrase "comprising a..." does not exclude the existence of other identical elements in the process, method, article, or device that includes the element. In addition, different implementations of the present application Components, features, and elements with the same name in the example may have the same meaning, or may have different meanings, and the specific meaning shall be determined based on the explanation in the specific embodiment or further combined with the context in the specific embodiment.
应当理解,尽管在本文可能采用术语第一、第二、第三等来描述各种信息,但这些信息不应限于这些术语。这些术语仅用来将同一类型的信息彼此区分开。例如,在不脱离本文范围的情况下,第一信息也可以被称为第二信息,类似地,第二信息也可以被称为第一信息。取决于语境,如在此所使用的词语"如果"可以被解释成为"在……时"或"当……时"或"响应于确定"。再者,如同在本文中所使用的,单数形式“一”、“一个”和“该”旨在也包括复数形式,除非上下文中有相反的指示。应当进一步理解,术语“包含”、“包括”表明存在所述的特征、步骤、操作、元件、组件、项目、种类、和/或组,但不排除一个或多个其他特征、步骤、操作、元件、组件、项目、种类、和/或组的存在、出现或添加。本申请使用的术语“或”、“和/或”、“包括以下至少一个”等可被解释为包括性的,或意味着任一个或任何组合。例如,“包括以下至少一个:A、B、C”意味着“以下任一个:A;B;C;A和B;A和C;B和C;A和B和C”,再如,“A、B或C”或者“A、B和/或C”意味着“以下任一个:A;B;C;A和B;A和C;B和C;A和B和C”。仅当元件、功能、步骤或操作的组合在某些方式下内在地互相排斥时,才会出现该定义的例外。It should be understood that although the terms first, second, third, etc. may be used herein to describe various information, the information should not be limited to these terms. These terms are only used to distinguish information of the same type from one another. For example, without departing from the scope of this document, first information may also be called second information, and similarly, second information may also be called first information. Depending on the context, the word "if" as used herein may be interpreted as "at" or "when" or "in response to a determination". Furthermore, as used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context indicates otherwise. It should be further understood that the terms "comprising", "comprising" indicate the presence of stated features, steps, operations, elements, components, items, species, and/or groups, but do not exclude one or more other features, steps, operations, The existence, occurrence or addition of an element, component, item, species, and/or group. The terms "or", "and/or", "comprising at least one of" and the like used in this application may be interpreted as inclusive, or mean any one or any combination. For example, "including at least one of the following: A, B, C" means "any of the following: A; B; C; A and B; A and C; B and C; A and B and C", another example, " A, B or C" or "A, B and/or C" means "any of the following: A; B; C; A and B; A and C; B and C; A and B and C". Exceptions to this definition will only arise when combinations of elements, functions, steps or operations are inherently mutually exclusive in some way.
应该理解的是,虽然本申请实施例中的流程图中的各个步骤按照箭头的指示依次显示,但是这些步骤并不是必然按照箭头指示的顺序依次执行。除非本文中有明确的说明,这些步骤的执行并没有严格的顺序限制,其可以以其他的顺序执行。而且,图中的至少一部分步骤可以包括多个子步骤或者多个阶段,这些子步骤或者阶段并不必然是在同一时刻执行完成,而是可以在不同的时刻执行,其执行顺序也不必然是依次进行,而是可以与其他步骤或者其他步骤的子步骤或者阶段的至少一部分轮流或者交替地执行。It should be understood that although the various steps in the flow chart in the embodiment of the present application are displayed sequentially as indicated by the arrows, these steps are not necessarily executed sequentially in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some of the steps in the figure may include multiple sub-steps or multiple stages, these sub-steps or stages are not necessarily executed at the same time, but may be executed at different times, and the execution order is not necessarily sequential Instead, it may be performed alternately or alternately with at least a part of other steps or sub-steps or stages of other steps.
取决于语境,如在此所使用的词语“如果”、“若”可以被解释成为“在……时”或“当……时”或“响应于确定”或“响应于检测”。类似地,取决于语境,短语“如果确定”或“如果检测(陈述的条件或事件)”可以被解释成为“当确定时”或“响应于确定”或“当检测(陈述的条件或事件)时”或“响应于检测(陈述的条件或事件)”。Depending on the context, the words "if", "if" as used herein may be interpreted as "at" or "when" or "in response to determining" or "in response to detecting". Similarly, depending on the context, the phrases "if determined" or "if detected (the stated condition or event)" could be interpreted as "when determined" or "in response to the determination" or "when detected (the stated condition or event) )" or "in response to detection of (a stated condition or event)".
需要说明的是,在本文中,采用了诸如S1、S2、等步骤代号,其目的是为了更清楚简要地表述相应内容,不构成顺序上的实质性限制,本领域技术人员在具体实施时,可能会先执行S2后执行S1等,但这些均应在本申请的保护范围之内。It should be noted that, in this article, step codes such as S1, S2, etc. are used, the purpose of which is to express the corresponding content more clearly and concisely, and does not constitute a substantive limitation on the order. It is possible to execute S2 first and then execute S1, etc., but these should be within the scope of protection of this application.
应当理解,此处所描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。It should be understood that the specific embodiments described here are only used to explain the present application, and are not intended to limit the present application.
在后续的描述中,使用用于表示元件的诸如“模块”、“部件”或者“单元”的后缀仅为了有利于本申请的说明,其本身没有特定的意义。因此,“模块”、“部件”或者“单元”可以混合地使用。In the following description, the use of suffixes such as 'module', 'part' or 'unit' for denoting elements is only for facilitating the description of the present application and has no specific meaning by itself. Therefore, 'module', 'part' or 'unit' may be mixedly used.
设备可以以各种形式来实施。例如,本申请中描述的设备可以包括诸如手机、平板电脑、笔记本电脑、掌上电脑、个人数字助理(Personal Digital Assistant,PDA)、便捷式媒体播放器(Portable Media Player,PMP)、导航装置、可穿戴设备、智能手环、计步器等设备,以及诸如数字TV、台式计算机等固定终端。A device may be implemented in various forms. For example, devices described in this application may include devices such as mobile phones, tablet computers, notebook computers, palmtop computers, personal digital assistants (Personal Digital Assistant, PDA), portable media players (Portable Media Player, PMP), navigation devices, portable Wearable devices, smart bracelets, pedometers and other devices, as well as fixed terminals such as digital TVs and desktop computers.
后续描述中将以移动终端为例进行说明,本领域技术人员将理解的是,除了特别用于移动目的的元件之外,根据本申请的实施方式的构造也能够应用于固定类型的终端。In the subsequent description, a mobile terminal will be taken as an example, and those skilled in the art will understand that, in addition to elements specially used for mobile purposes, the configurations according to the embodiments of the present application can also be applied to fixed-type terminals.
请参阅图1,其为实现本申请各个实施例的一种移动终端的硬件结构示意图,该移动终端100可以包括:RF(Radio Frequency,射频)单元101、WiFi模块102、音频输出单元103、A/V(音频/视频)输入单元104、传感器105、显示单元106、用户输入单元107、接口单元108、存储器109、处理器110、以及电源111等部件。本领域技术人员可以理解,图1中示出的移动终端结构并不构成对移动终端的限定,移动终端可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。Please refer to FIG. 1 , which is a schematic diagram of the hardware structure of a mobile terminal implementing various embodiments of the present application. The mobile terminal 100 may include: an RF (Radio Frequency, radio frequency) unit 101, a WiFi module 102, an audio output unit 103, an A /V (audio/video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, and power supply 111 and other components. Those skilled in the art can understand that the structure of the mobile terminal shown in Figure 1 does not constitute a limitation on the mobile terminal, and the mobile terminal may include more or less components than those shown in the figure, or combine some components, or different components layout.
下面结合图1对移动终端的各个部件进行具体的介绍:Each component of the mobile terminal is specifically introduced below in combination with FIG. 1:
射频单元101可用于收发信息或通话过程中,信号的接收和发送,具体的,将基站的下行信息接收后,给处理器110处理;另外,将上行的数据发送给基站。通常,射频单元101包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。此外,射频单元101还可以通过无线通信与网络和其他设备通信。上述无线通信可以使用任一通信标准或协议,包括但不限于GSM(Global System of Mobile communication,全球移动通讯系统)、GPRS(General Packet Radio Service,通用分组无线服务)、CDMA2000(Code Division Multiple Access 2000,码分多址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等。The radio frequency unit 101 can be used for sending and receiving information or receiving and sending signals during a call. Specifically, after receiving the downlink information of the base station, it is processed by the processor 110; in addition, the uplink data is sent to the base station. Generally, the radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, 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, Global System for Mobile Communications), GPRS (General Packet Radio Service, General Packet Radio Service), CDMA2000 (Code Division Multiple Access 2000 , Code Division Multiple Access 2000), WCDMA (Wideband Code Division Multiple Access, Wideband Code Division Multiple Access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access, Time Division Synchronous Code Division Multiple Access), FDD-LTE (Frequency Division Duplexing-Long Term Evolution, frequency division duplex long-term evolution), TDD-LTE (Time Division Duplexing-Long Term Evolution, time-division duplex long-term evolution) and 5G, etc.
WiFi属于短距离无线传输技术,移动终端通过WiFi模块102可以帮助用户收发电子邮件、浏览网页和访问流式媒体等,它为用户提供了无线的宽带互联网访问。虽然图1示出了WiFi模块102,但是可以理解的是,其并不属于移动终端的必须构成,完全可以根据需要在不改变发明的本质的范围内而省略。WiFi is a short-distance wireless transmission technology. The mobile terminal can help users send and receive emails, browse web pages, and access streaming media through the WiFi module 102, which provides users with wireless broadband Internet access. Although Fig. 1 shows the WiFi module 102, it can be understood that it is not an essential component of the mobile terminal, and can be completely omitted as required without changing the essence of the invention.
音频输出单元103可以在移动终端100处于呼叫信号接收模式、通话模式、记录模式、语音识别模式、广播接收模式等等模式下时,将射频单元101或WiFi模块102接收的或者在存储器109中存储的音频数据转换成音频信号并且输出为声音。而且,音频输出单元103还可以提供与移动终端100执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出单元103可以包括扬声器、蜂鸣器等等。The audio output unit 103 can store the audio received by the radio frequency unit 101 or the WiFi module 102 or in the memory 109 when the mobile terminal 100 is in a call signal receiving mode, a call mode, a recording mode, a voice recognition mode, a broadcast receiving mode, or the like. The audio data is converted into an audio signal and output as sound. Also, the audio output unit 103 can also provide audio output related to a specific function performed by the mobile terminal 100 (eg, call signal reception sound, message reception sound, etc.). The audio output unit 103 may include a speaker, a buzzer, and the like.
A/V输入单元104用于接收音频或视频信号。A/V输入单元104可以包括图形处理器(Graphics Processing Unit,GPU)1041和麦克风1042,图形处理器1041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。处理后的图像帧可以显示在显示单元106上。经图形处理器1041处理后的图像帧可以存储在存储器109(或其它存储介质)中或者经由射频单元101或WiFi模块102进行发送。麦克风1042可以在电话通话模式、记录模式、语音识别模式等等运行模式中经由麦克风1042接收声音(音频数据),并且能够将这样的声音处理为音频数据。处理后的音频(语音)数据可以在电话通话模式的情况下转换为可经由射频单元101发送到移动通信基站的格式输出。麦克风1042可以实施各种类型的噪声消除(或抑制)算法以消除(或抑制)在接收和发送音频信号的过程中产生的噪声或者干扰。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 (Graphics Processing Unit, GPU) 1041 and a microphone 1042, and the graphics processing unit 1041 is used for still pictures or The image data of the video is processed. The processed image frames may be displayed on the display unit 106 . The image frames processed by the graphics processor 1041 may be stored in the memory 109 (or other storage media) or sent via the radio frequency unit 101 or the WiFi module 102 . The microphone 1042 can receive sound (audio data) via the microphone 1042 in a phone call mode, a recording mode, a voice recognition mode, and the like operating modes, and can process such sound as audio data. The processed audio (voice) data can be converted into a format transmittable to a mobile communication base station via the radio frequency unit 101 for output in case of a phone call mode. The microphone 1042 may implement various types of noise cancellation (or suppression) algorithms to cancel (or suppress) noise or interference generated in the process of receiving and transmitting audio signals.
移动终端100还包括至少一种传感器105,比如光传感器、运动传感器以及其他传感器。可选地,光传感器包括环境光传感器及接近传感器,可选地,环境光传感器可根据环境光线的明暗来调节显示面板1061的亮度,接近传感器可在移动终端100移动到耳边时,关闭显示面板1061和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别手机姿态的应用(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;至于手机还可配置的指纹传感器、压力传感器、虹膜传感器、分子传感器、陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器,在此不再赘述。The mobile terminal 100 also 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 when the mobile terminal 100 moves to the ear. panel 1061 and/or backlight. As a kind of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in various directions (generally three axes), and can detect the magnitude and direction of gravity when it is stationary, and can be used to identify the application of mobile phone posture (such as horizontal and vertical screen switching, related Games, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tap), etc.; as for mobile phones, fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, Other sensors such as thermometers and infrared sensors will not be described in detail here.
显示单元106用于显示由用户输入的信息或提供给用户的信息。显示单元106可包括显示面板1061,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板1061。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 may be configured in the form of a liquid crystal display (Liquid Crystal Display, LCD), an organic light-emitting diode (Organic Light-Emitting Diode, OLED), or the like.
用户输入单元107可用于接收输入的数字或字符信息,以及产生与移动终端的用户设置以及功能控制有关的键信号输入。可选地,用户输入单元107可包括触控面板1071以及其他输入设备1072。触控面板1071,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板1071上或在触控面板1071附近的操作),并根据预先设定的程式驱动相应的连接装置。触控面板1071可包括触摸检测装置和触摸控制器两个部分。可选地,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器110,并能接收处理器110发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板1071。除了触控面板1071,用户输入单元107还可以包括其他输入设备1072。可选地,其他输入设备1072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆等中的一种或多种,具体此处不做限定。The user input unit 107 can be used to receive input numbers or character information, and generate key signal input related to 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 referred to as a touch screen, can collect touch operations of the user on or near it (for example, the user uses any suitable object or accessory such as a finger or a stylus on the touch panel 1071 or near the touch panel 1071). operation), and drive the corresponding connection device according to the preset program. The touch panel 1071 may include two parts, a touch detection device and a touch controller. Optionally, the touch detection device detects the user's touch orientation, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives touch information from the touch detection device and converts it into contact coordinates , and then sent to the processor 110, and can receive the command sent by the processor 110 and execute it. In addition, the touch panel 1071 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel 1071 , the user input unit 107 may also include other input devices 1072 . Optionally, other input devices 1072 may include, but are not limited to, one or more of physical keyboards, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, joysticks, etc., which are not specifically described here. limited.
可选地,触控面板1071可覆盖显示面板1061,当触控面板1071检测到在其上或附近的触摸操作后,传送给处理器110以确定触摸事件的类型,随后处理器110根据触摸事件的类型在显示面板1061上提供相应的视觉输出。虽然在图1中,触控面板1071与显示面板1061是作为两个独立的部件来实现移动终端的输入和输出功能,但是在某些实施例中,可以将触控面板1071与显示面板1061集成而实现移动终端的输入和输出功能,具体此处不做限定。Optionally, the touch panel 1071 may cover the display panel 1061. When the touch panel 1071 detects a touch operation on or near it, it transmits to the processor 110 to determine the type of the touch event, and then the processor 110 determines the touch event according to the touch event. The corresponding visual output is provided on the display panel 1061 . Although in FIG. 1, the touch panel 1071 and the display panel 1061 are used 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. The implementation of the input and output functions of the mobile terminal is not specifically limited here.
接口单元108用作至少一个外部装置与移动终端100连接可以通过的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡端口、用于连接具有识别模块的装置的端口、音频输入/输出(I/O)端口、视频I/O端口、耳机端口等等。接口单元108可以用于接收来自外部装置的输入(例如,数据信息、电力等等)并且将接收到的输入传输到移动终端100内的一个或多个元件或者可以用于在移动终端100和外部装置之间传输数据。The interface unit 108 serves as an interface through which at least one external device can be connected with the mobile terminal 100 . For example, an external device may include a wired or wireless headset port, an external power (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, audio input/output (I/O) ports, video I/O ports, headphone ports, and more. The interface unit 108 can be used to receive input from an external device (for example, data information, power, etc.) transfer data between devices.
存储器109可用于存储软件程序以及各种数据。存储器109可主要包括存储程序区和存储数据区,可选地,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器109可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory 109 can be used to store software programs as well as various data. The memory 109 can mainly include a storage program area and a storage data area. Optionally, the storage program area can store an operating system, at least one function required application program (such as a sound playback function, an image playback function, etc.) etc.; the storage data area can be Store data (such as audio data, phone book, etc.) created according to the use of the mobile phone. In addition, the memory 109 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage devices.
处理器110是移动终端的控制中心,利用各种接口和线路连接整个移动终端的各个部分,通过运行或执行存储在存储器109内的软件程序和/或模块,以及调用存储在存储器 109内的数据,执行移动终端的各种功能和处理数据,从而对移动终端进行整体监控。处理器110可包括一个或多个处理单元;优选的,处理器110可集成应用处理器和调制解调处理器,可选地,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器110中。The processor 110 is the control center of the mobile terminal, and uses various interfaces and lines to connect various parts of the entire mobile terminal, by running or executing software programs and/or modules stored in the memory 109, and calling data stored in the memory 109 , execute various functions of the mobile terminal and process data, so as to monitor the mobile terminal as a whole. The processor 110 may include one or more processing units; preferably, the processor 110 may integrate an application processor and a modem processor. Optionally, the application processor mainly processes operating systems, user interfaces, and application programs, etc. The demodulation processor mainly handles wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 110 .
移动终端100还可以包括给各个部件供电的电源111(比如电池),优选的,电源111可以通过电源管理系统与处理器110逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The mobile terminal 100 can also include a power supply 111 (such as a battery) for supplying power to various components. Preferably, the power supply 111 can be logically connected to the processor 110 through a power management system, so as to manage charging, discharging, and power consumption through the power management system. and other functions.
尽管图1未示出,移动终端100还可以包括蓝牙模块等,在此不再赘述。Although not shown in FIG. 1 , the mobile terminal 100 may also include a Bluetooth module, etc., which will not be repeated here.
为了便于理解本申请实施例,下面对本申请的移动终端所基于的通信网络系统进行描述。In order to facilitate understanding of the embodiments of the present application, the following describes the communication network system on which the mobile terminal of the present application is based.
请参阅图2,图2为本申请实施例提供的一种通信网络系统架构图,该通信网络系统为通用移动通信技术的LTE系统,该LTE系统包括依次通讯连接的UE(User Equipment,用户设备)201,E-UTRAN(Evolved UMTS Terrestrial Radio Access Network,演进式UMTS陆地无线接入网)202,EPC(Evolved Packet Core,演进式分组核心网)203和运营商的IP业务204。Please refer to Fig. 2, Fig. 2 is a kind of communication network system architecture diagram that the embodiment of the present application provides, and this communication network system is the LTE system of general mobile communication technology, and this LTE system includes the UE (User Equipment, user equipment) that communication connects sequentially ) 201, E-UTRAN (Evolved UMTS Terrestrial Radio Access Network, Evolved UMTS Terrestrial Radio Access Network) 202, EPC (Evolved Packet Core, Evolved Packet Core Network) 203 and the operator's IP service 204.
可选地,UE201可以是上述终端100,此处不再赘述。Optionally, the UE 201 may be the above-mentioned terminal 100, which will not be repeated here.
E-UTRAN202包括eNodeB2021和其它eNodeB2022等。可选地,eNodeB2021可以通过回程(backhaul)(例如X2接口)与其它eNodeB2022连接,eNodeB2021连接到EPC203,eNodeB2021可以提供UE201到EPC203的接入。 E-UTRAN 202 includes eNodeB 2021 and other eNodeB 2022 and so on. Optionally, the eNodeB 2021 can be connected to other eNodeB 2022 through a backhaul (for example, X2 interface), the eNodeB 2021 is connected to the EPC 203 , and the eNodeB 2021 can provide access from the UE 201 to the EPC 203 .
EPC203可以包括MME(Mobility Management Entity,移动性管理实体)2031,HSS(Home Subscriber Server,归属用户服务器)2032,其它MME2033,SGW(Serving Gate Way,服务网关)2034,PGW(PDN Gate Way,分组数据网络网关)2035和PCRF(Policy and Charging Rules Function,政策和资费功能实体)2036等。可选地,MME2031是处理UE201和EPC203之间信令的控制节点,提供承载和连接管理。HSS2032用于提供一些寄存器来管理诸如归属位置寄存器(图中未示)之类的功能,并且保存有一些有关服务特征、数据速率等用户专用的信息。所有用户数据都可以通过SGW2034进行发送,PGW2035可以提供UE 201的IP地址分配以及其它功能,PCRF2036是业务数据流和IP承载资源的策略与计费控制策略决策点,它为策略与计费执行功能单元(图中未示)选择及提供可用的策略和计费控制决策。EPC203 may include MME (Mobility Management Entity, Mobility Management Entity) 2031, HSS (Home Subscriber Server, Home Subscriber Server) 2032, other MME2033, SGW (Serving Gate Way, Serving Gateway) 2034, PGW (PDN Gate Way, packet data Network Gateway) 2035 and PCRF (Policy and Charging Rules Function, Policy and Charging Functional Entity) 2036, etc. Optionally, MME2031 is a control node that processes signaling between UE201 and EPC203, and provides bearer and connection management. HSS2032 is used to provide some registers to manage functions such as home location register (not shown in the figure), and save some user-specific information about service features and data rates. All user data can be sent through SGW2034, PGW2035 can provide UE 201 IP address allocation and other functions, PCRF2036 is the policy and charging control policy decision point of service data flow and IP bearer resources, it is the policy and charging execution function A unit (not shown) selects and provides available policy and charging control decisions.
IP业务204可以包括因特网、内联网、IMS(IP Multimedia Subsystem,IP多媒体 子系统)或其它IP业务等。 IP service 204 can include Internet, Intranet, IMS (IP Multimedia Subsystem, IP Multimedia Subsystem) or other IP services etc.
虽然上述以LTE系统为例进行了介绍,但本领域技术人员应当知晓,本申请不仅仅适用于LTE系统,也可以适用于其他无线通信系统,例如GSM、CDMA2000、WCDMA、TD-SCDMA以及未来新的网络系统(如5G)等,此处不做限定。Although the LTE system is used as an example above, those skilled in the art should know that this 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 wireless communication systems. The network system (such as 5G), etc., is not limited here.
图3为本申请提供的一种控制器140的硬件结构示意图。该控制器140包括:存储器1401和处理器1402,存储器1401用于存储程序指令,处理器1402用于调用存储器1401中的程序指令执行上述方法实施例一中控制器所执行的步骤,其实现原理以及有益效果类似,此处不再进行赘述。FIG. 3 is a schematic diagram of a hardware structure of a controller 140 provided in the present application. The controller 140 includes: a memory 1401 and a processor 1402, the memory 1401 is used to store program instructions, and the processor 1402 is used to call the program instructions in the memory 1401 to execute the steps performed by the controller in the first method embodiment above, and its implementation principle and beneficial effects are similar, and will not be repeated here.
可选地,上述控制器还包括通信接口1403,该通信接口1403可以通过总线1404与处理器1402连接。处理器1402可以控制通信接口1403来实现控制器140的接收和发送的功能。Optionally, the foregoing controller further includes a communication interface 1403 , and the communication interface 1403 may be connected to the processor 1402 through a bus 1404 . The processor 1402 can control the communication interface 1403 to implement the receiving and sending functions of the controller 140 .
图4为本申请提供的一种网络节点150的硬件结构示意图。该网络节点150包括:存储器1501和处理器1502,存储器1501用于存储程序指令,处理器1502用于调用存储器1501中的程序指令执行上述方法实施例一中首节点所执行的步骤,其实现原理以及有益效果类似,此处不再进行赘述。FIG. 4 is a schematic diagram of a hardware structure of a network node 150 provided in the present application. The network node 150 includes: a memory 1501 and a processor 1502, the memory 1501 is used to store program instructions, and the processor 1502 is used to call the program instructions in the memory 1501 to execute the steps performed by the first node in the first method embodiment above, and its implementation principle and beneficial effects are similar, and will not be repeated here.
可选地,上述控制器还包括通信接口1503,该通信接口1503可以通过总线1504与处理器1502连接。处理器1502可以控制通信接口1503来实现网络节点150的接收和发送的功能。Optionally, the foregoing controller further includes a communication interface 1503 , and the communication interface 1503 may be connected to the processor 1502 through a bus 1504 . The processor 1502 can control the communication interface 1503 to realize the functions of receiving and sending of the network node 150 .
上述以软件功能模块的形式实现的集成的模块,可以存储在一个计算机可读取存储介质中。上述软件功能模块存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)或处理器(英文:processor)执行本申请各个实施例方法的部分步骤。The above-mentioned integrated modules implemented in the form of software function modules can be stored in a computer-readable storage medium. The above-mentioned software function modules are stored in a storage medium, and include several instructions to enable a computer device (which may be a personal computer, server, or network device, etc.) or a processor (English: processor) to execute the methods of the various embodiments of the present application. partial steps.
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行计算机程序指令时,全部或部分地产生按照本申请实施例的流程或功能。计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线(DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。可用介质可以是磁性介质,(例如,软盘、 硬盘、磁带)、光介质(例如,DVD)、或者半导体介质(例如固态硬盘solid state disk,SSD)等。In the above embodiments, all or part of them may be implemented by software, hardware, firmware or any combination thereof. When implemented using software, it may be implemented in whole or in part in the form of a computer program product. A computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on the computer, the processes or functions according to the embodiments of the present application will be generated in whole or in part. A computer can be a general purpose computer, special purpose computer, computer network, or other programmable device. Computer instructions may be stored in or transmitted from one computer-readable storage medium to another computer-readable storage medium, e.g. Coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (such as infrared, wireless, microwave, etc.) to another website site, computer, server or data center. The computer-readable storage medium may be any available medium that can be accessed by a computer, or a data storage device such as a server, a data center, etc. integrated with one or more available media. Available media may be magnetic media (eg, floppy disk, hard disk, magnetic tape), optical media (eg, DVD), or semiconductor media (eg, solid state disk, SSD).
基于上述移动终端硬件结构以及通信网络系统,提出本申请各个实施例。Based on the above mobile terminal hardware structure and communication network system, various embodiments of the present application are proposed.
第一实施例first embodiment
本申请提供一种处理方法,图5是根据第一实施例示出的处理方法的流程示意图。The present application provides a processing method, and FIG. 5 is a schematic flowchart of the processing method according to the first embodiment.
如图5所示,在一实施例中,应用于处理设备的处理方法包括以下步骤:As shown in Figure 5, in an embodiment, the processing method applied to the processing device includes the following steps:
S1:检测至少两个应用或服务是否符合预设条件;S1: Detect whether at least two applications or services meet a preset condition;
S2:根据检测结果,基于预设策略和/或预设操作对至少一应用或服务进行处理,以避免冲突。S2: According to the detection result, process at least one application or service based on a preset policy and/or a preset operation, so as to avoid conflicts.
处理设备可以为终端设备(如手机、平板电脑等)、可穿戴智能设备(如智能手表、智能手环、智能耳机等)、智能家居设备(如智能电视、智能音箱等)、车联网设备(如智能汽车、车载终端等)。应用或服务包括:语音助手类应用、社交媒体类应用、资讯内容类应用、工具类应用、系统类服务中的至少一种;上述至少两个应用或服务可以是同类型的应用或服务,也可以是不同类型的应用或服务。应用或服务可以包括人机交互应用,人机交互应用包括可以通过手势、语音、隔空手势等方式进行人机交互的应用或服务。The processing device can be a terminal device (such as a mobile phone, a tablet computer, etc.), a wearable smart device (such as a smart watch, a smart bracelet, a smart headset, etc.), a smart home device (such as a smart TV, a smart speaker, etc.), an Internet of Vehicles device ( Such as smart cars, vehicle terminals, etc.). Applications or services include: at least one of voice assistant applications, social media applications, information content applications, tool applications, and system services; the above-mentioned at least two applications or services may be the same type of applications or services, or Can be different types of applications or services. Applications or services may include human-computer interaction applications, and human-computer interaction applications include applications or services that can perform human-computer interaction through gestures, voice, and air gestures.
通过上述方式,当存在多个应用或服务可以同时相应用户请求时,基于预设策略和/或预设操作对至少一应用或服务进行处理,以避免冲突;通过对应用或服务的使用过程进行控制,充分利用不同应用或服务的功能和交互能力,改善数据安全性和/或交互效果,提升了用户体验。Through the above method, when there are multiple applications or services that can respond to user requests at the same time, at least one application or service is processed based on preset policies and/or preset operations to avoid conflicts; Control, make full use of the functions and interaction capabilities of different applications or services, improve data security and/or interaction effects, and enhance user experience.
示例性地,在检测到至少两个人机交互应用处于运行状态,或者至少两个人机交互应用可以同时进行响应时,可以将当前不需要调用的人机交互应用进行关闭等处理,仅留下一个需要调用的人机交互应用,或者在人机交互应用中设置一个预设人机交互应用,该预设人机应用可以对其他所有的人机交互应用进行控制,通过预设人机交互应用对其他人机交互应用进行整体的控制、分配等管理,来避免多个人机交互应用同时进行响应。如此,可以充分利用系统资源的功能和交互能力的同时,使同时存在的多个应用或服务可以有序地进行运行,避免了出现不适当的干扰、冲突问题,有效地提高了用户体验。Exemplarily, when it is detected that at least two human-computer interaction applications are running, or at least two human-computer interaction applications can respond at the same time, the human-computer interaction applications that do not need to be called at present can be closed, leaving only one The human-computer interaction application that needs to be called, or set a preset human-computer interaction application in the human-computer interaction application. The preset human-computer interaction application can control all other human-computer interaction applications. Other human-computer interaction applications perform overall control, distribution, and other management to prevent multiple human-computer interaction applications from responding at the same time. In this way, while making full use of the functions and interaction capabilities of system resources, multiple concurrent applications or services can run in an orderly manner, avoiding inappropriate interference and conflicts, and effectively improving user experience.
可选地,预设条件包括以下至少一种:Optionally, the preset conditions include at least one of the following:
进行预设处理;carry out preset processing;
具有预设功能和权限;Have preset functions and permissions;
支持与其它应用或服务进行交互;Support interaction with other applications or services;
允许对关联设备进行控制;Allows control of associated devices;
处于与待处理信息关联的场景和/或模式;Be in the context and/or mode associated with the information to be processed;
支持获取其它应用或服务的功能权限;Support obtaining functional permissions of other applications or services;
用于与用户交互,和/或,作为控制中心的预设应用或服务。Used to interact with the user, and/or, as a preset application or service of the control center.
其中,预设处理包括以下至少一种:启动、唤醒、运行、恢复、同时接收待处理信息等。预设权限和功能可以是联系人权限、控制权限、数据处理功能和通信功能等。支持与其它应用或服务进行交互可以是第二应用或服务、第三方应用等。允许对关联设备进行控制可以是电视、灯光、空调等。处于与待处理信息关联的场景和/或模式可以是处于特定的时间段、特定地点、儿童模式、连接状态等。支持获取其它应用或服务的功能权限可以是联系人权限、控制权限等。处于预设运行状态可以是至少两个应用或服务同时处于前台运行状态、后台运行状态、休眠状态、关闭状态等。用于与用户交互,和/或,作为控制中心的预设应用或服务可以是第一应用或服务对第二应用或服务进行控制。Wherein, the preset processing includes at least one of the following: starting, waking up, running, recovering, receiving information to be processed at the same time, and the like. The preset permissions and functions may be contact permissions, control permissions, data processing functions, communication functions, and the like. Supporting interaction with other applications or services may be a second application or service, a third party application, or the like. Allowing control of associated devices can be TVs, lights, air conditioners, etc. The scene and/or mode associated with the information to be processed may be a specific time period, a specific location, a child mode, a connection status, and the like. The function permissions that support obtaining other applications or services may be contact permissions, control permissions, and the like. Being in a preset running state may mean that at least two applications or services are in a foreground running state, background running state, dormant state, closed state, etc. at the same time. The preset application or service for interacting with the user and/or serving as the control center may be that the first application or service controls the second application or service.
可以理解的是,应用或服务为与用户交互,和/或,作为控制中心的预设应用或服务时,预设应用或服务可以对关联设备和/或第二应用或服务进行控制,和/或向第二应用或服务传递和/或转化用户需求,和/或响应待处理信息等。It can be understood that, when the application or service interacts with the user, and/or, when serving as a preset application or service of the control center, the preset application or service can control the associated device and/or the second application or service, and/or Or transmit and/or convert user requirements to the second application or service, and/or respond to information to be processed, etc.
通过设置预设应用或服务来避免冲突:Avoid conflicts by setting default apps or services:
当至少两个应用或服务中存在应用或服务,如第一应用或服务,符合预设条件时,第一应用或服务可以对自身与其他应用或服务,如第二应用或服务,的功能或交互能力进行合理分配,并由第一应用或服务负责处理一部分的数据处理,或负责对处理结果进行输出。例如,第一应用或服务将所有文件翻译完成后,由第二应用或服务进行校对和输出;和/或,第二应用或服务将所有文件翻译完成并校对后,由第一应用或服务进行输出;和/或,第二应用或服务辅助翻译一部分文件,由第一应用或服务输出结果;和/或,第二应用或服务将所有文件翻译完成并校对后,由第二应用或服务进行输出。When there is an application or service in at least two applications or services, such as the first application or service, which meets the preset conditions, the first application or service can combine functions or functions of itself with other applications or services, such as the second application or service. The interaction capabilities are allocated reasonably, and the first application or service is responsible for processing a part of the data, or is responsible for outputting the processing results. For example, after the first application or service completes the translation of all documents, the second application or service performs proofreading and output; and/or, after the second application or service completes the translation and proofreading of all documents, the first application or service conducts output; and/or, the second application or service assists in translating part of the documents, and the first application or service outputs the results; and/or, the second application or service completes the translation and proofreading of all documents, and the second application or service performs output.
可以理解的是,在不同的场景下,第二应用或服务均有可能参与对待处理信息进行处理的过程,只是在不同场景下,第二应用或服务所扮演的角色有所不同,例如,当第一应用或服务无法满足用户需求处理待处理信息时,第一应用或服务将用户需求传递和/或转化给第二应用或服务。此时,第二应用或服务需要处理较多的信息,和/或对数据进行过滤,和/或对结果进行响应,和/或处理重要信息。当第一应用或服务满足用户需求,能够处理部分或全部待处理信息时,第二应用或服务可以处理较少的信息,和/或对数据进行简单处理。从而,在不同的场景下,达到对多个应用或服务之间的有效处理(示例性地,如整合、融合或合并等)。It can be understood that in different scenarios, the second application or service may participate in the process of processing the information to be processed, but in different scenarios, the roles played by the second application or service are different. For example, when When the first application or service cannot meet the user's requirement to process the information to be processed, the first application or service transfers and/or converts the user's requirement to the second application or service. At this time, the second application or service needs to process more information, and/or filter the data, and/or respond to the result, and/or process important information. When the first application or service meets user requirements and can process part or all of the information to be processed, the second application or service can process less information and/or simply process the data. Therefore, in different scenarios, effective processing (for example, such as integration, fusion or merger, etc.) of multiple applications or services is achieved.
可选地,S2的步骤,包括:Optionally, the step of S2 includes:
若所述至少两个应用或服务都不符合所述预设条件,则基于所述至少两个应用或服务确定或生成预设应用或服务;If the at least two applications or services do not meet the preset condition, then determine or generate a preset application or service based on the at least two applications or services;
所述基于所述至少两个应用或服务确定或生成预设应用或服务,包括以下至少一种:The determining or generating preset applications or services based on the at least two applications or services includes at least one of the following:
根据第一预设操作和/或第一预设规则对所述至少两个应用或服务的功能和/或权限和/或界面进行处理,确定或生成同时具有所述至少两个应用或服务的功能和/或权限和/或界面的一个新应用或服务,并确定所述新应用或服务为预设应用或服务;Process the functions and/or permissions and/or interfaces of the at least two applications or services according to the first preset operation and/or the first preset rule, and determine or generate the at least two applications or services simultaneously a new application or service with functions and/or permissions and/or interfaces, and determine that the new application or service is a default application or service;
在所述至少两个应用或服务中的任一应用或服务具有预设功能时,将所述至少两个应用或服务的功能和/或权限赋予给所述任一应用或服务,确定所述任一应用或服务为所述预设应用或服务。When any application or service in the at least two applications or services has a preset function, assign the functions and/or permissions of the at least two applications or services to the any application or service, and determine the Any application or service is the preset application or service.
在一实施方式中,若至少两个应用或服务都不符合预设条件,可以通过确定或生成新的应用或服务来进行处理。In an implementation manner, if at least two applications or services do not meet the preset conditions, processing may be performed by determining or generating new applications or services.
比如,在上述至少两个人机交互应用中无法通过其中一个人机交互应用实现对其他人机交互应用的控制,或者无法通过使用一个人机交互应用,实现与全部的人机交互应用以及用户等进行交互的目的,或者无法通过一个单独的人机交互应用来完全响应用户需求时,可以确定或生成一个新的人机交互应用作为预设人机交互应用;然后,基于确定或生成的预设人机交互应用对接收到的用户需求进行处理。示例性地,存在A、B两个人机交互应用,但A、B两个人机交互应用都不符合预设条件时,可以将A、B两个人机交互应用进行处理,生成一个超级人机交互应用,该超级人机交互应用具有A、B两个人机交互应用的所有功能,并且可以对A、B两个人机交互应用进行控制。例如,用户说“播放刘德华的恭喜发财歌曲”,但A人机交互应用不具有音乐播放权限也无法对B人机交互应用进行控制,B人机交互应用具有音乐播放权限但无法响应用户的语音指令(如,语言错误等)都无法执行用户输出的语音指令。此时,通过确定或生成一个新的人机交互应用C,然后通过人机交互应用C与用户进行交互,并对A人机交互应用和B人机交互应用进行控制,从而响应用户语音指令播放刘德华的恭喜发财歌曲,或控制B人机交互应用播放刘德华的恭喜发财歌曲。例如,C人机交互应用接收用户语音指令“刘德华的恭喜发财歌曲”,然后向具有音乐播放权限的B人机交互应用发送音乐播放请求,以播放刘德华的恭喜发财歌曲;或者C人机交互应用接收用户语音指令“刘德华的恭喜发财歌曲”后,直接响应用户指令播放刘德华的恭喜发财歌曲。For example, among the above-mentioned at least two human-computer interaction applications, one of the human-computer interaction applications cannot be used to control other human-computer interaction applications, or one human-computer interaction application cannot be used to communicate with all human-computer interaction applications and users, etc. For the purpose of interaction, or when a single human-computer interaction application cannot fully respond to user needs, a new human-computer interaction application can be determined or generated as a preset human-computer interaction application; then, based on the determined or generated preset The human-computer interaction application processes the received user requirements. Exemplarily, there are two human-computer interaction applications A and B, but when the two human-computer interaction applications A and B do not meet the preset conditions, the two human-computer interaction applications A and B can be processed to generate a super human-computer interaction application, the super human-computer interaction application has all the functions of the two human-computer interaction applications A and B, and can control the two human-computer interaction applications A and B. For example, the user says "play Andy Lau's Gong Xi Fa Cai song", but the human-computer interaction application A does not have the music playback permission and cannot control the B human-computer interaction application, and the B human-computer interaction application has the music playback permission but cannot respond to the user's voice Instructions (such as language errors, etc.) cannot execute the voice instructions output by the user. At this time, by determining or generating a new human-computer interaction application C, and then interacting with the user through the human-computer interaction application C, and controlling the A human-computer interaction application and the B human-computer interaction application, so as to respond to the user's voice command to play Andy Lau's Gong Xi Fa Cai song, or control B human-computer interaction application to play Andy Lau's Gong Xi Fa Cai song. For example, the human-computer interaction application C receives the user voice instruction "Andy Lau's Gong Xi Fa Cai song", and then sends a music playback request to the human-computer interaction application B that has the music playback permission to play Andy Lau's Gong Xi Fa Cai song; or the human-computer interaction application C After receiving the user's voice command "Andy Lau's Gong Xi Fa Cai Song", it directly responds to the user's command to play Andy Lau's Gong Xi Fa Cai song.
可选地,根据第一预设操作和/或第一预设规则对所述至少两个应用或服务的功能和/或权限和/或界面进行处理,确定或生成同时具有所述至少两个应用或服务的功能和/或权 限和/或界面的一个新应用或服务,并确定所述新应用或服务为预设应用或服务。例如,用户说“播放刘德华的恭喜发财歌曲”。但A人机交互应用没有播放音乐的权限,B人机交互应用具有音乐播放权限,却无法与A人机交互应用进行交互,也无法响应用户的语音指令(无法响应中文语音,或仅响应手势和触控等操作)。通过将A人机交互应用和B人机交互应用的功能和/或权限和/或界面进行处理,确定或生成同时具有A、B两个人机交互应用的功能和/或权限和/或界面的C人机交互应用。然后通过C人机交互应用来响应用户的语音指令,和/或控制A和B人机交互应用,打开音乐软件播放刘德华的恭喜发财。Optionally, the functions and/or permissions and/or interfaces of the at least two applications or services are processed according to the first preset operation and/or the first preset rule, and it is determined or generated that the at least two functions and/or permissions and/or interfaces of the application or service, and determine that the new application or service is a preset application or service. For example, a user says "Play Andy Lau's Gong Xi Fa Cai song". However, the human-computer interaction application A does not have the permission to play music, and the human-computer interaction application B has the permission to play music, but it cannot interact with the human-computer interaction application A, nor can it respond to the user's voice commands (cannot respond to Chinese voice, or only respond to gestures) and touch operations). By processing the functions and/or permissions and/or interfaces of the human-computer interaction application A and the human-computer interaction application B, determine or generate the functions and/or permissions and/or interfaces of the two human-computer interaction applications A and B at the same time C human-computer interaction applications. Then use the C human-computer interaction application to respond to the user's voice command, and/or control the A and B human-computer interaction applications, and open the music software to play Andy Lau's Gong Xi Fa Cai.
可选地,在所述至少两个应用或服务中的任一应用或服务具有预设功能时,将至少两个应用或服务的功能和/或权限赋予给任一应用或服务,确定任一应用或服务为预设应用或服务。例如,用户说“播放刘德华的恭喜发财歌曲”。但A人机交互应用没有播放音乐的权限,B人机交互应用具有音乐播放权限,但无法与A人机交互应用进行交互,也无法响应用户的语音指令(无法响应中文语音,或仅响应手势和触控等操作)。然后将B人机交互应用的功能、权限赋予给A人机交互应用,以使得A人机交互应用具有B人机交互应用的功能和/或权限进行处理。然后使得A人机交互应用能够响应用户的语音指令,打开音乐软件播放刘德华的恭喜发财。Optionally, when any application or service of the at least two applications or services has a preset function, the functions and/or permissions of at least two applications or services are given to any application or service, and any application or service is determined to be The application or service is a default application or service. For example, a user says "Play Andy Lau's Gong Xi Fa Cai song". But the A human-computer interaction application does not have the permission to play music, and the B human-computer interaction application has the music playback permission, but it cannot interact with the A human-computer interaction application, nor can it respond to the user's voice commands (cannot respond to Chinese voice, or only respond to gestures) and touch operations). Then, the functions and permissions of the human-computer interaction application B are given to the human-computer interaction application A, so that the human-computer interaction application A has the functions and/or permissions of the human-computer interaction application B for processing. Then enable the A human-computer interaction application to respond to the user's voice command, and open the music software to play Andy Lau's Gong Xi Fa Cai.
可选地,在至少两个应用或服务都不符合预设条件时,还可以通过输出提示信息的方式来进行决策,由用户根据需要选择对应的处理方式,符合用户在特定场景下的需求。例如,用户说“播放刘德华的恭喜发财歌曲”,但A、B和C人机交互应用都被设置在当前时间段不能播放音乐,例如在上班时间段,此时可以输出“是否延时播放”、“继续播放”等提示信息,假使用户需要现在就播放歌曲,就可以选择继续播放,如果没有收到响应提示信息的操作,则可以根据原有设置,在当前时间段不播放音乐。如此,既可以根据用户的实际需求灵活决策,又能保证交互结果的准确性。Optionally, when at least two applications or services do not meet the preset conditions, the decision can also be made by outputting prompt information, and the user can select the corresponding processing method according to the needs, which meets the needs of the user in a specific scenario. For example, the user says "play Andy Lau's Gong Xi Fa Cai song", but the human-computer interaction applications A, B and C are all set to not play music during the current time period, for example, during working hours, at this time, you can output "whether to delay the playback" , "Continue Playing" and other prompt information, if the user needs to play the song now, he can choose to continue playing. If he does not receive the operation of responding to the prompt information, he can not play the music in the current time period according to the original setting. In this way, flexible decision-making can be made according to the actual needs of users, and the accuracy of interactive results can be guaranteed.
可选地,S1的步骤之后包括:Optionally, after step S1, include:
若所述至少两个应用或服务都不符合预设条件,则从服务器获取满足所述预设条件的目标应用或服务;If the at least two applications or services do not meet the preset conditions, obtaining a target application or service that meets the preset conditions from the server;
基于所述目标应用或服务对所述至少两个应用或服务进行处理;或processing the at least two applications or services based on the target application or service; or
响应于待处理信息,基于所述目标应用或服务对所述待处理信息进行处理。In response to the information to be processed, the information to be processed is processed based on the target application or service.
示例性地,在获取到待处理信息,但A人机交互应用和B人机交互应用都不能够对待处理信息时,终端直接从服务器获取能够处理待处理信息的C人机交互应用。Exemplarily, when the information to be processed is obtained, but neither the human-computer interaction application A nor the human-computer interaction application B can process the information, the terminal directly acquires the human-computer interaction application C capable of processing the information to be processed from the server.
可选地,S2的步骤之后包括:Optionally, after step S2 includes:
响应于待处理信息,基于所述预设应用或服务对所述待处理信息进行处理。In response to the information to be processed, the information to be processed is processed based on the preset application or service.
在确认预设应用或服务后,通过预设应用或服务对接收到的待处理信息进行处理。例如,存在A和B两个人机交互应用,在确认A人机交互应用为预设应用后,接收到用户指令“打开相机”时,由A人机交互应用进行响应,B人机交互应用不进行响应,避免了A和B人机交互应用同时响应造成的冲突。After the preset application or service is confirmed, the received information to be processed is processed through the preset application or service. For example, there are two human-computer interaction applications A and B. After confirming that the human-computer interaction application A is the default application, when receiving the user command "turn on the camera", the human-computer interaction application A will respond, and the human-computer interaction application B will not To respond, avoiding the conflict caused by the simultaneous response of A and B human-computer interaction applications.
可选地,S2的步骤,包括:Optionally, the step of S2 includes:
若仅一应用或服务符合所述预设条件,则确认所述应用或服务为预设应用或服务,基于所述预设应用或服务对所述至少两个应用或服务进行处理;和/或,If only one application or service meets the preset condition, confirming that the application or service is a preset application or service, and processing the at least two applications or services based on the preset application or service; and/or ,
若存在至少两个应用或服务符合所述预设条件,则输出提示信息,响应于选择操作,根据选择结果确认所述预设应用或服务,和/或,响应于未响应所述提示信息,根据第一预设策略确认所述预设应用或服务,基于所述预设应用或服务对所述至少两个应用或服务进行处理。If there are at least two applications or services that meet the preset condition, output prompt information, and in response to the selection operation, confirm the preset application or service according to the selection result, and/or, in response to no response to the prompt information, The preset application or service is confirmed according to a first preset policy, and the at least two applications or services are processed based on the preset application or service.
示例性地,根据不同数量符合预设条件的应用或服务,采用不同的策略对符合预设条件的应用或服务进行处理。如此,可以通过合适的策略,快速确定与用户或设备、以及其他应用或服务等方式进行交互的预设应用或服务,提高了交互效果和效率。一种场景下,在A、B两个应用或服务中,A应用或服务符合预设条件时,将A应用或服务作为与用户、设备或B应用或服务进行交互的预设应用或服务。例如,用户说:“打开电视”,A人机交互应用具有电视应用控制权限,B人机交互应用不具有电视应用控制权限。此时,A人机交互应用获取用户指令后打开电视。一种场景下,有多个应用或服务符合预设条件时,输出提示信息,供用户进行决策;在用户未进行决策时,按照第一预设策略选择预设应用或服务与用户进行交互。例如,存在A人机交互应用、B人机交互应用和C人机交互应用符合预设条件,则输出可以对A、B和C三个人机交互应用进行选择的提示信息。若用户选择A人机交互应用,则确认A人机交互应用为与用户进行交互的预设人机交互应用。或,在用户没有进行选择时,可以根据第一预设策略(如,人机交互应用的使用频率、人机交互应用与用户之间的距离等)来确认其中一个人机交互应用(如,A人机交互应用)为预设人机交互应用。再例如,存在至少两个应用或服务符合所述预设条件时,获取应用或服务相关信息,并根据应用或服务相关信息,确定至少一应用或服务为预设应用或服务,由此可以匹配出最合适的应用或服务来响应待处理信息。可选地,所述应用或服务相关信息包括以下至少一种应用或服务的使用频率、应用或服务的优先级、应用或服务的权限、应用或服务的安全等级、用户使用习惯;其中,当获取到多个应用或服务相关信息时,根据应用或服务相关信息的优先级对至少两个应用或服务进行筛选。例如,当同时有3个人机交互应用符合预设条件时,获取到的应用或服务相关信息包括应用或服务的使用频率和应 用或服务的安全等级,根据应用或服务相关信息的优先级程度,应首先根据应用或服务的安全等级对3个人机交互应用进行筛选,如筛选出2个人机交互应用符合安全等级要求,然后再根据应用或服务的使用频率选取最匹配的人机交互应用来响应待处理信息。通过该技术方案,能够获得对用户来说更加具有针对性、合理性的应用或服务来为用户提供更佳的用户体验。Exemplarily, according to different numbers of applications or services meeting the preset conditions, different policies are used to process the applications or services meeting the preset conditions. In this way, a preset application or service that interacts with the user or device, and other applications or services can be quickly determined through an appropriate strategy, thereby improving the interaction effect and efficiency. In one scenario, among the two applications or services A and B, when the application or service of A meets the preset conditions, the application or service of A is used as the preset application or service for interacting with the user, device or the application or service of B. For example, the user says: "Turn on the TV", the human-computer interaction application A has the TV application control authority, and the human-computer interaction application B does not have the TV application control authority. At this time, the human-computer interaction application A turns on the TV after obtaining the user instruction. In one scenario, when multiple applications or services meet preset conditions, output prompt information for the user to make a decision; when the user does not make a decision, select a preset application or service to interact with the user according to the first preset strategy. For example, if human-computer interaction application A, human-computer interaction application B, and human-computer interaction application C meet the preset conditions, then the prompt information for selecting the three human-computer interaction applications A, B, and C is output. If the user selects the human-computer interaction application A, it is confirmed that the human-computer interaction application A is a preset human-computer interaction application for interacting with the user. Or, when the user does not make a selection, one of the human-computer interaction applications (such as, A human-computer interaction application) is a preset human-computer interaction application. For another example, when there are at least two applications or services that meet the preset conditions, obtain application or service-related information, and determine at least one application or service as the preset application or service according to the application or service-related information, so as to match The most appropriate application or service to respond to the pending information. Optionally, the application or service-related information includes at least one of the following application or service usage frequency, application or service priority, application or service permissions, application or service security level, and user usage habits; wherein, when When multiple application or service related information is obtained, at least two applications or services are screened according to the priority of the application or service related information. For example, when three human-computer interaction applications meet the preset conditions at the same time, the obtained application or service-related information includes the frequency of use of the application or service and the security level of the application or service. According to the priority of the application or service-related information, The three human-computer interaction applications should be screened first according to the security level of the application or service. For example, two human-computer interaction applications are screened out to meet the security level requirements, and then the most matching human-computer interaction application is selected according to the frequency of use of the application or service to respond Pending information. Through this technical solution, more targeted and reasonable applications or services for users can be obtained to provide users with better user experience.
示例性地,在确认预设应用或服务后,通过所述预设应用或服务与用户或设备进行交互,并将从用户处获取的信息向其他应用或服务进行传递或转化。一种场景下,预设应用或服务对待处理信息进行处理,以获取并发送第一处理请求至所述至少两个应用或服务。例如,A人机交互应用(具有翻译权限)、B人机交互应用(具有音乐播放权限)、C人机交互应用(具有拨打电话权限)。上述三个人机交互应用中,A人机交互应用符合预设条件(如,A人机交互应用可以与用户、B人机交互应用以及C人机交互应用进行交互。当用户对A人机交互应用说:“播放刘德华的恭喜发财歌曲”。A人机交互应用初步确认若要完成用户需求,则需要音乐播放权限、以及搜索到刘德华的恭喜发财后,获取B人机交互应用和C人机交互应用的功能和/或权限,检测到B人机交互应用具有音乐播放权限时,A人机交互应用向B人机交互应用发送音乐播放请求“刘德华、恭喜发财”。B人机交互应用在接收到A人机交互应用的请求后,打开音乐软件,并搜索刘德华的恭喜发财,且在搜索到对应内容时,播放歌曲。在一实施方式中,若B人机交互应用没有搜索到对应歌曲,则向A人机交互应用发送反馈信息。A人机交互应用,在接收到B人机交互与应用的反馈信息后,输出提醒信息,以提醒用户没有找到相应的歌曲。Exemplarily, after confirming the preset application or service, interact with the user or device through the preset application or service, and transfer or transform the information obtained from the user to other applications or services. In one scenario, preset applications or services process the information to be processed, so as to obtain and send a first processing request to the at least two applications or services. For example, A human-computer interaction application (with translation authority), B human-computer interaction application (with music playing authority), and C human-computer interaction application (with dialing authority). Among the above three human-computer interaction applications, the A human-computer interaction application meets the preset conditions (for example, the A human-computer interaction application can interact with the user, the B human-computer interaction application, and the C human-computer interaction application. When the user interacts with the A human-computer interaction application The app said: "Play Andy Lau's Gong Xi Fa Cai song". The A human-computer interaction application preliminarily confirms that if it wants to fulfill the user's needs, it needs the music playback permission, and after searching for Andy Lau's Gong Xi Fa Cai, obtain the B human-computer interaction application and the C human-computer interaction The functions and/or permissions of the interactive application, when it is detected that the B human-computer interaction application has the music playback permission, the A human-computer interaction application sends a music playback request "Andy Lau, Gong Xi Fa Cai" to the B human-computer interaction application. The B human-computer interaction application is in After receiving the request of the human-computer interaction application of A, open the music software, and search for Andy Lau's Gong Xi Fa Cai, and when the corresponding content is found, play the song. In one embodiment, if the human-computer interaction application of B does not search for the corresponding song , then send feedback information to the human-computer interaction application A. The human-computer interaction application A, after receiving the feedback information from the human-computer interaction and application B, outputs a reminder message to remind the user that the corresponding song has not been found.
可选地,在第一响应结果和第二响应结果都满足所述处理条件。此时,由于预设应用或服务可能无法直接完全响应所述待处理信息,可能还需要进一步结合其他应用或服务,才能完全响应所述待处理信息。一种场景下,预设应用或服务处理待处理信息中的一部分信息,并包含另一部分待处理信息的处理请求发送给应用或服务,使应用或服务对预设应用或服务不能够处理的待处理信息进行处理。例如,当待翻译内容包含不同种语言时,A人机交互应用/预设应用或服务,仅支持翻译其中的一种或一部分语言。此时,需要将其他A人机交互应用,不支持翻译的内容发送给B人机交互应用/应用或服务,由B人机交互应用,翻译A人机交互应用不支持翻译的语言。一种场景下,预设应用或服务不处理待处理信息中的信息。例如,预设应用或服务仅作为控制中心,向各应用或服务发送处理请求,由应用或服务对待处理信息进行处理,或者当待翻译内容包含A语言时,预设应用或服务向A应用或服务发送翻译请求,由A应用或服务翻译A语言。一种场景下,预设应用或服务处理待处理信息中的全部信息。例如,预设应用或服务处理了待处理信息后,不需 要再向其他应用或服务发送处理请求,或者待翻译内容包含A语言,而预设应用或服务刚好能够翻译A语言时,直接由预设应用或服务翻译A语言。Optionally, both the first response result and the second response result satisfy the processing condition. At this point, since the preset application or service may not be able to directly and completely respond to the information to be processed, it may need to be further combined with other applications or services to fully respond to the information to be processed. In one scenario, the preset application or service processes part of the information to be processed, and sends a processing request containing another part of the information to be processed to the application or service, so that the application or service can process the pending information that the preset application or service cannot process. Process information for processing. For example, when the content to be translated includes different languages, the A human-computer interaction application/preset application or service only supports translation of one or a part of the languages. At this time, it is necessary to send the content that other human-computer interaction application A does not support translation to the human-computer interaction application/application or service B, and the human-computer interaction application B translates the language that the human-computer interaction application A does not support translation. In one scenario, the preset application or service does not process the information in the information to be processed. For example, the preset application or service only acts as a control center, sending processing requests to each application or service, and the application or service processes the information to be processed, or when the content to be translated contains A language, the preset application or service sends a request to the A application or service The service sends a translation request, and the A application or service translates the A language. In one scenario, a preset application or service processes all information in the information to be processed. For example, after the preset application or service has processed the information to be processed, there is no need to send a processing request to other applications or services, or when the content to be translated contains language A, and the preset application or service can just translate A language, the preset application or service can directly translate the A language. Set the application or service to translate A language.
可选地,S1的步骤之后包括:Optionally, after step S1, include:
若所述至少两个应用或服务都符合预设条件,则获取所述至少两个应用或服务的处理能力信息;If the at least two applications or services meet preset conditions, acquiring processing capability information of the at least two applications or services;
基于所述至少两个应用的处理能力信息对第一应用或服务,和/或第二应用或服务进行处理。The first application or service, and/or the second application or service are processed based on the processing capability information of the at least two applications.
示例性地,在A人机交互应用和B人机交互应用都符合预设条件时,若A人机交互应用的处理能力超过B人机交互应用,则将A人机交互应用设置为预设人机交互应用,通过A人机交互应用来与用户进行交互,或处理待处理信息等。Exemplarily, when both the human-computer interaction application A and the human-computer interaction application B meet the preset conditions, if the processing capability of the human-computer interaction application A exceeds that of the human-computer interaction application B, the human-computer interaction application A is set as the preset The human-computer interaction application interacts with the user through the A human-computer interaction application, or processes information to be processed.
可选地,S2的步骤,包括:Optionally, the step of S2 includes:
S21:响应于待处理信息,所述预设应用或服务处理得到和/或输出第一响应结果;和/或,S21: In response to the information to be processed, the preset application or service processes to obtain and/or output a first response result; and/or,
S22:响应于待处理信息,所述预设应用或服务以外的应用或服务处理得到和/或输出至少一第二响应结果;S22: In response to the information to be processed, an application or service other than the preset application or service processes to obtain and/or output at least one second response result;
S23:响应于所述第一响应结果和/或所述至少一第二响应结果满足所述待处理信息的处理条件,对所述预设应用或服务进行第一预设处理。S23: In response to the first response result and/or the at least one second response result satisfying a processing condition of the information to be processed, perform a first preset process on the preset application or service.
在一些实施方式中,在确认预设应用或服务后,预设应用或服务对接收到的待处理信息,进行初步处理后,得到第一响应结果。第一响应结果包括:预设应用或服务能够处理待处理信息,或预设应用或服务不能够处理待处理信息。预设应用或服务将待处理信息发送给应用或服务,进行初步处理,然后获取执行应用或服务的第二响应结果。第二响应结果包括:应用或服务能够处理待处理信息、应用或服务不能够处理待处理信息。预设应用或服务获取应用或服务输出的第二响应结果。在预设应用或服务,以及应用或服务中存在能够满足待处理信息的处理条件,能够处理待处理信息时,对预设应用或服务进行处理,以使得预设应用或服务能够对各个应用或服务进行合理的分配管理,来处理待处理信息。In some implementation manners, after the preset application or service is confirmed, the preset application or service performs preliminary processing on the received information to be processed to obtain a first response result. The first response result includes: the preset application or service can process the information to be processed, or the preset application or service cannot process the information to be processed. The preset application or service sends the information to be processed to the application or service, performs preliminary processing, and then obtains a second response result of executing the application or service. The second response result includes: the application or service can process the information to be processed, and the application or service cannot process the information to be processed. The preset application or service obtains the second response result output by the application or service. When there are preset applications or services, and there are processing conditions in the applications or services that can satisfy the information to be processed and can process the information to be processed, the preset applications or services are processed so that the preset applications or services can be used for each application or The service performs reasonable allocation management to process pending information.
可选地,对所述预设应用或服务进行第一预设处理,包括以下至少一种:Optionally, performing first preset processing on the preset application or service includes at least one of the following:
所述预设应用或服务处理待处理信息中的部分信息,并向所述预设应用或服务以外的应用或服务发送处理请求,使所述预设应用或服务以外的应用或服务处理所述待处理信息中的另一部分信息;The preset application or service processes part of the information to be processed, and sends a processing request to an application or service other than the preset application or service, so that the application or service other than the preset application or service processes the Another part of the pending information;
所述预设应用或服务不处理所述待处理信息,向所述预设应用或服务以外的应用或服务发送处理请求,使所述预设应用或服务以外的应用或服务处理所述待处理信息;The preset application or service does not process the pending information, but sends a processing request to an application or service other than the preset application or service, so that the application or service other than the preset application or service processes the pending information information;
所述预设应用或服务全部处理所述待处理信息。The preset applications or services all process the information to be processed.
其中,响应于第一响应结果和/或至少一第二响应结果满足所述处理条件,即当前存在至少一应用或服务可以满足用户需求。在只有一个应用或服务满足需求时,预设应用或服务向对应的应用或服务发送处理请求,使对应应用或服务对待处理信息进行处理。在有多个应用或服务满足需求时,预设应用或服务可以对待处理信息进行拆分,将待处理信息根据应用或服务的功能和/或权限等信息拆分成多条,然后根据拆分后的待处理信息,向相应的多个应用或服务发送处理信息,使多个应用或服务协同处理待处理信息。Wherein, in response to the first response result and/or at least one second response result satisfying the processing condition, that is, there is currently at least one application or service that can satisfy the user's requirement. When only one application or service meets the requirement, the preset application or service sends a processing request to the corresponding application or service, so that the corresponding application or service processes the information to be processed. When multiple applications or services meet the requirements, the preset application or service can split the information to be processed, and split the pending information into multiple pieces according to the functions and/or permissions of the application or service, and then according to the split The final information to be processed is sent to corresponding multiple applications or services for processing, so that multiple applications or services cooperate to process the information to be processed.
通过关闭、冻结应用或服务等操作来避免冲突:Avoid conflicts by shutting down, freezing apps or services, etc.:
可选地,至少两个应用或服务进行预设处理,所述进行预设处理包括以下至少一种:启动、唤醒、运行、恢复、同时接收待处理信息;Optionally, at least two applications or services perform preset processing, and the preset processing includes at least one of the following: starting, waking up, running, recovering, and simultaneously receiving information to be processed;
所述S2的步骤,包括:The steps of S2 include:
S24:根据第二预设策略对第一应用或服务进行处理;S24: Process the first application or service according to the second preset policy;
和/或,根据第三预设策略对第二应用或服务进行处理。And/or, process the second application or service according to a third preset policy.
此时,至少两个应用或服务相关联包括:At this point, at least two applications or services are associated including:
具有相同的功能和/或权限和/或服务;have the same functions and/or permissions and/or services;
接收的处理数据相同;The processing data received is the same;
接收的处理数据由同一待处理信息得到;The received processed data is obtained from the same pending message;
由同一触发事件唤醒。Wake up by the same trigger event.
因为在多个应用或服务相关联时,在运行中可能具有冲突协调的问题。例如,手机上存在的两个语音识别的输入法工具,在进行语音识别并转换为文字时,就可能出现两个输入法工具同时进行了语音识别的问题,为了避免冲突可以将其中一个进行关闭。Because when multiple applications or services are associated, there may be conflict coordination problems during operation. For example, when there are two input method tools for voice recognition on the mobile phone, when the voice recognition is performed and converted into text, there may be a problem that the two input method tools perform voice recognition at the same time. To avoid conflicts, one of them can be turned off .
通过上述方式,当存在多个应用或服务同时在进行启动、唤醒、运行、恢复、同时接收待处理信息等预设处理的情况时,按照预设策略通过对至少一个应用或服务进行处理,可以在使用应用或服务时,对应用或服务的使用过程进行管控,充分利用不同应用或服务的功能和交互能力,改善数据安全性和/或交互效果。Through the above method, when there are multiple applications or services that are simultaneously starting, waking up, running, recovering, and receiving pending information at the same time, at least one application or service can be processed according to the preset policy. When using applications or services, control the use process of applications or services, make full use of the functions and interaction capabilities of different applications or services, and improve data security and/or interaction effects.
示例性地,在检测到至少两个人机交互应用处于运行状态时,对于当前不需要调用的人机交互应用进行关闭处理或者后台冻结。如此,可以充分利用系统资源的功能和交互能力的同时,使同时存在的多个应用或服务有序运行,避免出现不适当的干扰问题,有效提高了用户体验。Exemplarily, when it is detected that at least two human-computer interaction applications are running, the human-computer interaction applications that do not need to be invoked currently are closed or background frozen. In this way, while making full use of the functions and interaction capabilities of system resources, multiple concurrent applications or services can run in an orderly manner, avoiding inappropriate interference problems, and effectively improving user experience.
可选地,根据第二预设策略对所述第一应用或服务进行处理,和/或所述根据第三预设策略对所述第二应用或服务进行处理,包括以下至少一种:Optionally, processing the first application or service according to a second preset policy, and/or processing the second application or service according to a third preset policy includes at least one of the following:
将所述第一应用或服务和/或第二应用或服务转为后台运行状态;turning the first application or service and/or the second application or service into a background running state;
将所述第一应用或服务和/或第二应用或服务转为后台冻结状态;Turning the first application or service and/or the second application or service into a background freezing state;
将所述第一应用或服务和/或第二应用或服务转为休眠状态;putting the first application or service and/or the second application or service into a dormant state;
将所述第一应用或服务和/或第二应用或服务转为关闭状态;turning the first application or service and/or the second application or service into a closed state;
将所述第一应用或服务和/或第二应用或服务卸载;uninstalling the first application or service and/or the second application or service;
将所述第一应用或服务和/或第二应用或服务转移。Transferring the first application or service and/or the second application or service.
可选地,第二预设策略和/或第三预设策略,可以为将第一应用或服务和/或第二应用或服务转为后台运行状态。Optionally, the second preset policy and/or the third preset policy may be to turn the first application or service and/or the second application or service into a background running state.
例如,在计算机系统中的文件关键词提取服务中,当图片编辑服务启动时,可以将文件关键词提取服务暂时转为后台运行状态。后台运行可以在不干扰前台运行的应用或服务的情况下,使用系统空闲资源,增强系统的协调性,提高运行效率。For example, in the file keyword extraction service in the computer system, when the picture editing service is started, the file keyword extraction service can be temporarily turned into a background running state. Running in the background can use the idle resources of the system without interfering with the applications or services running in the foreground, so as to enhance the coordination of the system and improve the operating efficiency.
可选地,第二预设策略和/或第三预设策略,可以为将第一应用或服务和/或第二应用或服务转为后台冻结状态。Optionally, the second preset policy and/or the third preset policy may be turning the first application or service and/or the second application or service into a background freezing state.
例如,在手机游戏服务运行过程中,视频通话服务需要启动,此时,可以将游戏服务暂时后台冻结,等待视频通话服务结束后再择机解冻运行。后台冻结可以使被冻结的应用或服务不干扰前台运行的应用或服务,避免运行中造成的冲突情况,可以增强系统的流畅性。For example, during the operation of the mobile game service, the video call service needs to be started. At this time, the game service can be temporarily frozen in the background, and then unfreeze and run at an appropriate time after the end of the video call service. Background freezing can prevent frozen applications or services from interfering with applications or services running in the foreground, avoid conflicts during operation, and enhance system fluency.
可选地,第二预设策略和/或第三预设策略,可以为将第一应用或服务和/或第二应用或服务转为休眠状态。Optionally, the second preset policy and/or the third preset policy may be turning the first application or service and/or the second application or service into a dormant state.
例如,在计算机系统中,管理员账号登陆时,为了避免系统文件资源冲突,可以将游客账号转为休眠状态,等待管理员账号退出时,再择机唤醒休眠的游客账号。休眠状态可以使应用或服务暂时释放占用的资源和文件,等待必要时再进行唤醒,重新恢复休眠之前的状态。For example, in a computer system, when the administrator account logs in, in order to avoid system file resource conflicts, the guest account can be turned into a dormant state, and when the administrator account exits, the dormant guest account can be awakened at an appropriate time. The dormant state can enable the application or service to temporarily release the occupied resources and files, and then wake up when necessary, so as to restore the state before dormancy.
可选地,第二预设策略和/或第三预设策略,可以为将第一应用或服务和/或第二应用或服务转为关闭状态。Optionally, the second preset policy and/or the third preset policy may be turning the first application or service and/or the second application or service into a closed state.
例如,在手机上视频通话应用需要运行时,可以将正在运行的娱乐视频播放应用关闭。关闭状态可以从系统内存中彻底释放应用或服务占用的资源,有利于系统运行的流畅性。For example, when the video calling application on the mobile phone needs to run, the running entertainment video playing application can be closed. The closed state can completely release the resources occupied by the application or service from the system memory, which is conducive to the smooth operation of the system.
可选地,第二预设策略和/或第三预设策略,可以为将第一应用或服务和/或第二应用或服务卸载。Optionally, the second preset policy and/or the third preset policy may be to uninstall the first application or service and/or the second application or service.
例如,将手机上存在的两个安全管理应用中的其中至少一个安全管理应用卸载。卸载应用或服务不仅可以彻底释放应用或服务占用的资源,还能避免不必要的启动或唤醒,有 利于系统运行的稳定性。For example, at least one of the two security management applications existing on the mobile phone is uninstalled. Uninstalling an application or service can not only completely release the resources occupied by the application or service, but also avoid unnecessary startup or wakeup, which is conducive to the stability of the system operation.
可选地,第二预设策略和/或第三预设策略,可以为将第一应用或服务和/或第二应用或服务转移。Optionally, the second preset policy and/or the third preset policy may be to transfer the first application or service and/or the second application or service.
例如,在一个大型游戏应用中,包括互相支撑的前台显示交互服务和后台场景计算服务。在系统检测到终端工作站处理容量不足时,将后台场景计算服务转移安装在网络连接的服务器中。转移安装应用或服务可以释放特定的资源的同时,保留应用或服务的功能在其他系统运行,既避免了系统运行的冲突,也保障了功能的完整。For example, in a large-scale game application, there are mutually supporting foreground display interaction services and background scene calculation services. When the system detects that the processing capacity of the terminal workstation is insufficient, the background scene computing service is transferred and installed in the server connected to the network. Transferring and installing an application or service can release specific resources while retaining the function of the application or service to run in other systems, which not only avoids conflicts in system operation, but also ensures the integrity of functions.
可选地,第二预设策略和/或第三预设策略,可以为响应于待处理信息,唤醒或运行第一应用或服务和/或第二应用或服务。Optionally, the second preset strategy and/or the third preset strategy may be to wake up or run the first application or service and/or the second application or service in response to the information to be processed.
终端对待处理信息进行初步处理后,确认需要第一应用或服务和/或第二应用或服务协助处理所述待处理信息时,唤醒第一应用或服务和/或第二应用或服务。例如,应用或服务包括:A人机交互应用、B人机交互应用和C人机交互应用。可选地,A人机交互应用为当前运行的人机交互应用,B和C人机交互应用均为未运行状态。在检测到待处理信息需要A和C人机交互应用进行处理时,唤醒C人机交互应用。After the terminal preliminarily processes the information to be processed, and confirms that the first application or service and/or the second application or service is required to assist in processing the information to be processed, the terminal wakes up the first application or service and/or the second application or service. For example, the applications or services include: A human-computer interaction application, B human-computer interaction application, and C human-computer interaction application. Optionally, the human-computer interaction application A is currently running, and the human-computer interaction applications B and C are not running. When it is detected that the information to be processed needs to be processed by the human-computer interaction applications A and C, the human-computer interaction application C is awakened.
通过切换状态至后台运行、后台冻结、休眠、关闭、卸载或转移等不同的预设处理策略,可以对不同的应用或服务进行不同的处理。Different applications or services can be processed differently by switching the state to different preset processing strategies such as running in the background, freezing in the background, hibernating, shutting down, uninstalling, or transferring.
可选地,S24的步骤包括:Optionally, the steps of S24 include:
响应于所述第一应用或服务和所述第二应用或服务的对比结果;In response to a comparison of the first application or service and the second application or service;
检测所述第一应用或服务是否符合预设条件;Detecting whether the first application or service meets a preset condition;
若满足,则按照第二预设策略对所述第一应用或服务进行处理;和/或,If satisfied, process the first application or service according to a second preset policy; and/or,
若不满足,则响应于第二应用或服务满足所述预设条件,按照第三预设策略对所述第二应用或服务进行处理。If not, in response to the second application or service meeting the preset condition, the second application or service is processed according to a third preset policy.
示例性地,在支付场景中的遇到多个应用或服务,判断谁的隐私等级更高,如果第一应用或服务的等级低,就判断第一应用或服务是否满足预设条件。例如是否有与特定的支付应用或服务互补的功能。若没有,则关闭第一应用或服务;和/或,若有互补的功能,则就判断第二应用或服务是否没有与特定的支付应用或服务互补的功能。若第二应用或服务没有互补的功能,则关闭第二应用或服务。此外,还可以对比多个应用或服务的优先级、权限大小、占用系统资源大小、功能全面程度中的一种或多种,进而对一个或多个应用或服务进行处理。For example, when multiple applications or services are encountered in a payment scenario, it is judged whose privacy level is higher, and if the first application or service has a lower level, it is judged whether the first application or service satisfies a preset condition. For example, whether there are functionalities that complement a particular payment application or service. If not, close the first application or service; and/or, if there are complementary functions, determine whether the second application or service has no complementary functions to the specific payment application or service. If the second application or service does not have a complementary function, then close the second application or service. In addition, one or more of the priorities, permissions, occupied system resources, and comprehensive functions of multiple applications or services may be compared, and then one or more applications or services may be processed.
以下为对基于本申请的处理方法的应用场景进行说明。The application scenarios of the processing method based on the present application are described below.
图6是根据第一实施例示出的一种场景下的处理设备的界面示意图。图6所示场景为 预设应用或服务的确认场景,并以应用或服务为语音助手且语音助手均安装在处理设备上为例进行说明。图6中(a)所示显示检测结果“检测到语音助手A和语音助手B符合预设条件”。可选地,该检测步骤可以但不限于接收到待处理信息之前,也可以在接收到待处理信息之后。图6中(b)基于预先确定的策略展示提示信息“请确认预设语音助手”,以及“语音助手A”,“语音助手B”,供用户选择,使用户可以根据提示信息进行决策。图6中(c)所示的是选择成功信息以及语音助手A输出的提示信息。如,“您选择语音助手A为预设语音助手”,语音助手A以文字提示“您说,我在听...”。此时,用户可以语音输入指令,由于本申请可以对应用或服务之间的功能和交互能力进行处理(示例性地,如整合、融合或合并等),使得语音助手A所能接受的指令更为丰富,无需提示用户可输入的内容。Fig. 6 is a schematic diagram of an interface of a processing device in a scenario according to the first embodiment. The scenario shown in FIG. 6 is a confirmation scenario of a preset application or service, and the application or service is a voice assistant and the voice assistants are all installed on the processing device as an example for illustration. (a) in Fig. 6 shows the detection result "It is detected that the voice assistant A and the voice assistant B meet the preset conditions". Optionally, the detecting step may be, but not limited to, before receiving the information to be processed, or after receiving the information to be processed. (b) in Figure 6 shows the prompt information "Please confirm the preset voice assistant", as well as "Voice Assistant A" and "Voice Assistant B" based on a predetermined strategy, for users to choose, so that users can make decisions based on the prompt information. (c) in FIG. 6 shows the selection success message and the prompt message output by the voice assistant A. For example, "You choose voice assistant A as the default voice assistant", and voice assistant A prompts "You said, I'm listening..." in text. At this time, the user can input instructions by voice, and since this application can process the functions and interaction capabilities between applications or services (for example, such as integration, integration, or merging), the instructions that voice assistant A can accept are more accurate. For richness, there is no need to prompt the user for input.
图7为本申请一实施例的处理设备提示图。例如,处理设备在对两个人机交互应用进行处理时,输出“提示:A交互应用即将关闭”,和/或,“提示:B交互应用即将关闭”。或者,请参考图7,处理设备输出“请选择将A交互应用:1关闭;2后台冻结;3休眠;4卸载”。FIG. 7 is a prompt diagram of a processing device according to an embodiment of the present application. For example, when processing two human-computer interaction applications, the processing device outputs "prompt: interactive application A is about to close" and/or, "prompt: interactive application B is about to close". Or, please refer to FIG. 7 , the processing device outputs "Please choose to close the A interactive application: 1 close; 2 freeze in the background; 3 sleep; 4 uninstall".
本申请的处理方法,检测至少两个应用或服务是否符合预设条件;根据检测结果,基于预设策略和/或预设操作对至少一应用或服务进行处理,以避免冲突。如此,在存在至少两个应用或服务时,通过对至少两个应用或服务进行检测后,再对至少两个应用或服务进行处理,可以在使用应用或服务时,避免冲突,还可以使得与用户交互应用或服务的同一性,并且充分利用了不同应用或服务的功能和交互能力,改善了交互效果,提升了用户体验。The processing method of the present application detects whether at least two applications or services meet preset conditions; according to the detection results, processes at least one application or service based on preset policies and/or preset operations to avoid conflicts. In this way, when there are at least two applications or services, by detecting the at least two applications or services and then processing the at least two applications or services, conflicts can be avoided when using the applications or services, and the The user interacts with the identity of the application or service, and makes full use of the functions and interaction capabilities of different applications or services, improves the interaction effect, and enhances the user experience.
第二实施例second embodiment
图8是根据第二实施例示出的处理方法的流程示意图。如图8所示,本申请的处理方法,应用于处理设备,包括以下步骤:Fig. 8 is a schematic flowchart of a processing method according to the second embodiment. As shown in Figure 8, the processing method of the present application is applied to processing equipment, including the following steps:
S10:响应于第一应用或服务和第二应用和服务进行预设处理;S10: Perform preset processing in response to the first application or service and the second application or service;
S20:响应于至少一应用或服务满足第一预设条件,输出至少一提示信息;S20: Output at least one prompt message in response to at least one application or service satisfying a first preset condition;
S30:响应于预设操作和/或预设策略对所述第一应用或服务和/或所述第二应用或服务进行处理。S30: Process the first application or service and/or the second application or service in response to a preset operation and/or a preset policy.
处理设备可以为终端设备(如手机、平板电脑等)、可穿戴智能设备(如智能手表、智能手环、智能耳机等)、智能家居设备(如智能电视、智能音箱等)、车联网设备(如 智能汽车、车载终端等)。应用或服务可以包括人机交互应用,人机交互应用包括可以通过手势、语音、隔空手势等方式进行人机交互的应用或服务。The processing device can be a terminal device (such as a mobile phone, a tablet computer, etc.), a wearable smart device (such as a smart watch, a smart bracelet, a smart headset, etc.), a smart home device (such as a smart TV, a smart speaker, etc.), an Internet of Vehicles device ( Such as smart cars, vehicle terminals, etc.). Applications or services may include human-computer interaction applications, and human-computer interaction applications include applications or services that can perform human-computer interaction through gestures, voice, and air gestures.
可选地,所述进行预设处理包括以下至少一种:启动、唤醒、运行、恢复、同时接收待处理信息等。Optionally, performing preset processing includes at least one of the following: starting, waking up, running, recovering, receiving information to be processed at the same time, and the like.
当存在至少一个应用或服务在进行预设处理的情况时,根据其中的一个或多个应用或服务或处理设备的相关信息是否符合第一预设条件,从而可以筛选出更加符合使用条件的应用或服务。可选地,按照特定的预设策略和/或特定的预设操作通过对至少一个应用或服务进行处理,从而可以在使用应用或服务时,对应用或服务的使用过程进行管控的同时,使同时存在的多个应用或服务有序运行,避免出现不适当的干扰问题,有效提高了用户体验。When at least one application or service is performing preset processing, according to whether one or more applications or services or the relevant information of the processing device meet the first preset condition, the application that is more suitable for use can be screened out or service. Optionally, at least one application or service is processed according to a specific preset policy and/or a specific preset operation, so that when using the application or service, the process of using the application or service can be controlled, and the Multiple applications or services that exist at the same time run in an orderly manner, avoiding inappropriate interference problems, and effectively improving user experience.
可选地,第一预设条件,包括以下至少一种:Optionally, the first preset condition includes at least one of the following:
处于预设场景;in the preset scene;
处于预设模式;in default mode;
处于预设状态;in default state;
具有预设权限;have default permissions;
支持与用户进行交互;Support interaction with users;
支持待处理信息所要实现的功能;Support the functions to be realized by the information to be processed;
支持与其它应用或服务进行交互;Support interaction with other applications or services;
处于与待处理信息关联的场景和/或模式;Be in the context and/or mode associated with the information to be processed;
位于所述处理设备上,且所述处理设备是控制中心或服务器。Located on the processing device, and the processing device is a control center or a server.
例如,B人机交互应用不具有拨打电话的权限,则由A人机交互应用拨打电话,可以把B人机交互应用关闭;和/或,A人机交互应用不具有拨打电话的权限,则可以由具有拨打电话的权限的B人机交互应用拨打电话,把A人机交互应用关闭。此时,第一预设条件就是是否具有拨打电话的权限。For example, if the human-computer interaction application B does not have the authority to make calls, then the human-computer interaction application A can make a call, and the human-computer interaction application B can be closed; and/or, the human-computer interaction application A does not have the authority to make calls, then The human-computer interaction application B that has the authority to make calls can make a call, and close the human-computer interaction application A. At this time, the first preset condition is whether the user has the right to make a call.
可选地,在第一应用或服务满足预设条件时,所述S30的步骤包括:Optionally, when the first application or service satisfies a preset condition, the step of S30 includes:
S301:响应于预设操作,和/或,关联设备满足第二预设条件,基于所述第一应用或服务对关联设备中的至少一第二应用或服务进行处理,和/或输出响应结果,所述响应结果由所述第二应用或服务进行处理后得到。S301: In response to a preset operation, and/or, the associated device satisfies a second preset condition, process at least one second application or service in the associated device based on the first application or service, and/or output a response result , the response result is obtained after being processed by the second application or service.
可以理解的是,当第一应用或服务满足第一预设条件时,第一应用或服务可以对关联设备和/或第二应用或服务进行控制,和/或向第二应用或服务传递和/或转化用户需求,和/或响应待处理信息等。It can be understood that, when the first application or service satisfies the first preset condition, the first application or service may control the associated device and/or the second application or service, and/or transfer and /or convert user needs, and/or respond to pending information, etc.
当第一应用或服务满足第一预设条件时,第一应用或服务可以对自身与第二应用或服务的功能或交互能力进行合理分配,并由第一应用或服务负责处理一部分的数据处理,或负责对处理结果进行输出。例如,第一应用或服务将所有文件翻译完成后,由第二应用或服务进行校对和输出;和/或,第二应用或服务将所有文件翻译完成并校对后,由第一应用或服务进行输出;和/或,第二应用或服务辅助翻译一部分文件,由第一应用或服务输出结果;和/或,第二应用或服务将所有文件翻译完成并校对后,由第二应用或服务进行输出。When the first application or service satisfies the first preset condition, the first application or service can reasonably allocate the functions or interaction capabilities between itself and the second application or service, and the first application or service is responsible for processing part of the data processing , or is responsible for outputting the processing results. For example, after the first application or service completes the translation of all documents, the second application or service performs proofreading and output; and/or, after the second application or service completes the translation and proofreading of all documents, the first application or service conducts output; and/or, the second application or service assists in translating part of the documents, and the first application or service outputs the results; and/or, the second application or service completes the translation and proofreading of all documents, and the second application or service performs output.
可选地,第二预设条件,包括以下至少一种:Optionally, the second preset condition includes at least one of the following:
具有第二应用或服务;have a second application or service;
允许接受处理设备的控制;Allow to receive control of processing equipment;
具有预设功能,和/或模式,和/或权限。Have preset functions, and/or modes, and/or permissions.
其中,第二应用或服务可以是语音助手类应用、社交媒体类应用、资讯内容类应用、工具类应用、系统类服务等。具有预设功能,和/或模式,和/或权限可以是搜索功能、翻译功能、定时功能等。允许接受处理设备的控制可以是第一应用可以对第二应用进行控制。Wherein, the second application or service may be a voice assistant application, a social media application, an information content application, a tool application, a system service, and the like. It has preset functions, and/or modes, and/or permissions can be search functions, translation functions, timing functions, etc. Allowing to accept control of the processing device may be that the first application can control the second application.
可选地,基于所述第一应用或服务对关联设备中的至少一第二应用或服务进行处理,包括以下至少一种:Optionally, processing at least one second application or service in the associated device based on the first application or service includes at least one of the following:
响应于所述第一应用或服务的处理请求,所述第二应用或服务处理待处理信息中的全部信息;In response to the processing request of the first application or service, the second application or service processes all information in the information to be processed;
响应于所述第一应用或服务的处理请求,所述第二应用或服务处理所述待处理信息中的部分信息。In response to the processing request of the first application or service, the second application or service processes part of the information to be processed.
可选地,响应与第一应用或服务发送的处理请求,和/或预设操作,关联设备上的至少一第二应用或服务通过对待处理信息进行处理。一种场景下,当第一应用或服务能够处理部分待处理信息时,向关联设备中的至少一第二应用或服务发送处理另一部分待处理信息的处理请求,使第二应用或服务处理另一部分待处理信息。例如,用户输入待翻译内容包含多种语言时,A人机交互应用翻译一种语言,向B人机交互应用发送自身不支持翻译内容的翻译请求,使B人机交互应用翻译A人机交互应用不支持的语言。一种场景下,当第一应用或服务不对待处理信息进行处理时,向关联设备中的至少一第二应用或服务发送处理待处理信息的处理请求,使第二应用或服务处理全部待处理信息。例如,用户输入待翻译内容包含多种语言时,A人机交互应用不进行翻译,仅将待翻译内容分配给B人机交互应用和/或C人机交互应用,向B人机交互应用发送一部分翻译内容的翻译请求,向C人机交互应用发送另一部分待翻译内容的翻译请求,使B人机交互应用翻译一部分待翻译 内容,C人机交互应用翻译另一部分待翻译内容。Optionally, in response to a processing request sent by the first application or service, and/or a preset operation, at least one second application or service on the associated device processes the information to be processed. In one scenario, when the first application or service can process part of the information to be processed, it sends a processing request for processing another part of the information to be processed to at least one second application or service in the associated device, so that the second application or service can process another part of the information to be processed. A portion of pending information. For example, when the user enters that the content to be translated contains multiple languages, the human-computer interaction application A translates one language, and sends a translation request to the human-computer interaction application B that does not support the translation content, so that the human-computer interaction application B translates the human-computer interaction of A App does not support language. In one scenario, when the first application or service does not process the information to be processed, it sends a processing request for processing the information to be processed to at least one second application or service in the associated device, so that the second application or service processes all pending information information. For example, when the user inputs that the content to be translated contains multiple languages, the human-computer interaction application A does not translate, but only distributes the content to be translated to the human-computer interaction application B and/or the human-computer interaction application C, and sends the content to the human-computer interaction application B. A translation request for a part of the content to be translated sends a translation request for another part of the content to be translated to the human-computer interaction application C, so that the human-computer interaction application B translates a part of the content to be translated, and the human-computer interaction application C translates the other part of the content to be translated.
在另一实施方式中,第一应用或服务还可以确定或生成关联的至少一第三应用或服务,以处理待处理信息的另一部分处理结果,第三应用或服务可以是处理设备、关联设备或其他设备上的应用或服务。例如,A人机交互应用请求B人机交互应用处理不同类型的音频,而B人机交互应用只能处理其中几种音频。此时,A人机交互应用可以请求调用C人机交互应用处理B人机交互应用无法处理的其他类型的音频。In another embodiment, the first application or service may also determine or generate at least one associated third application or service to process another part of the processing results of the information to be processed. The third application or service may be a processing device or an associated device or other apps or services on your device. For example, the human-computer interaction application A requests the human-computer interaction application B to process different types of audio, but the human-computer interaction application B can only process several types of audio. At this time, the human-computer interaction application A may request to call the human-computer interaction application C to process other types of audio that cannot be processed by the human-computer interaction application B.
可选地,S30的步骤包括以下至少一种:Optionally, the step of S30 includes at least one of the following:
将所述第一应用或服务和/或第二应用或服务转为后台运行状态;turning the first application or service and/or the second application or service into a background running state;
将所述第一应用或服务和/或第二应用或服务转为后台冻结状态;Turning the first application or service and/or the second application or service into a background freezing state;
将所述第一应用或服务和/或第二应用或服务转为休眠状态;putting the first application or service and/or the second application or service into a dormant state;
将所述第一应用或服务和/或第二应用或服务转为关闭状态;turning the first application or service and/or the second application or service into a closed state;
将所述第一应用或服务和/或第二应用或服务卸载;uninstalling the first application or service and/or the second application or service;
将所述第一应用或服务和/或第二应用或服务转移。Transferring the first application or service and/or the second application or service.
可选地,根据预设操作和/或预设策略切换第一应用或服务和/或第二应用或服务的状态可以为将第一应用或服务和/或第二应用或服务转为后台运行状态。Optionally, switching the state of the first application or service and/or the second application or service according to a preset operation and/or a preset strategy may be turning the first application or service and/or the second application or service into the background to run state.
例如,在计算机系统中的文件关键词提取服务中,当图片编辑服务启动时,可以将文件关键词提取服务暂时转为后台运行状态。后台运行可以在不干扰前台运行的应用或服务的情况下,使用系统空闲资源,增强系统的协调性,提高运行效率。For example, in the file keyword extraction service in the computer system, when the picture editing service is started, the file keyword extraction service can be temporarily turned into a background running state. Running in the background can use the idle resources of the system without interfering with the applications or services running in the foreground, so as to enhance the coordination of the system and improve the operating efficiency.
可选地,根据预设操作和/或预设策略切换第一应用或服务和/或第二应用或服务的状态可以为将第一应用或服务和/或第二应用或服务转为后台冻结状态。Optionally, switching the state of the first application or service and/or the second application or service according to a preset operation and/or a preset policy may be turning the first application or service and/or the second application or service into a background freeze state.
例如,在手机游戏服务运行过程中,视频通话服务需要启动,此时,可以将游戏服务暂时后台冻结,等待视频通话服务结束后再择机解冻运行。后台冻结可以使被冻结的应用或服务不干扰前台运行的应用或服务,避免运行中造成的冲突情况,可以增强系统的流畅性。For example, during the operation of the mobile game service, the video call service needs to be started. At this time, the game service can be temporarily frozen in the background, and then unfreeze and run at an appropriate time after the end of the video call service. Background freezing can prevent frozen applications or services from interfering with applications or services running in the foreground, avoid conflicts during operation, and enhance system fluency.
可选地,根据预设操作和/或预设策略切换第一应用或服务和/或第二应用或服务的状态可以为将第一应用或服务和/或第二应用或服务转为休眠状态。Optionally, switching the state of the first application or service and/or the second application or service according to a preset operation and/or a preset policy may be turning the first application or service and/or the second application or service into a dormant state .
例如,在计算机系统中,管理员账号登陆时,为了避免系统文件资源冲突,可以将游客账号转为休眠状态,等待管理员账号退出时,再择机唤醒休眠的游客账号。休眠状态可以使应用或服务暂时释放占用的资源和文件,等待必要时再进行唤醒,重新恢复休眠之前的状态。For example, in a computer system, when the administrator account logs in, in order to avoid system file resource conflicts, the guest account can be turned into a dormant state, and when the administrator account exits, the dormant guest account can be awakened at an appropriate time. The dormant state can enable the application or service to temporarily release the occupied resources and files, and then wake up when necessary, so as to restore the state before dormancy.
可选地,根据预设操作和/或预设策略切换第一应用或服务和/或第二应用或服务的状 态可以为将第一应用或服务和/或第二应用或服务转为关闭状态。Optionally, switching the state of the first application or service and/or the second application or service according to a preset operation and/or a preset policy may be turning the first application or service and/or the second application or service into an off state .
例如,在手机上视频通话应用需要运行时,可以将正在运行的娱乐视频播放应用关闭。关闭状态可以从系统内存中彻底释放应用或服务占用的资源,有利于系统运行的流畅性。For example, when the video calling application on the mobile phone needs to run, the running entertainment video playing application can be closed. The closed state can completely release the resources occupied by the application or service from the system memory, which is conducive to the smooth operation of the system.
可选地,根据预设操作和/或预设策略切换第一应用或服务和/或第二应用或服务的状态可以为将第一应用或服务和/或第二应用或服务卸载。Optionally, switching the state of the first application or service and/or the second application or service according to a preset operation and/or a preset policy may be uninstalling the first application or service and/or the second application or service.
例如,将手机上存在的两个安全管理应用中的其中至少一个安全管理应用卸载。卸载应用或服务不仅可以彻底释放应用或服务占用的资源,还能避免不必要的启动或唤醒,有利于系统运行的稳定性。For example, at least one of the two security management applications existing on the mobile phone is uninstalled. Uninstalling an application or service can not only completely release the resources occupied by the application or service, but also avoid unnecessary startup or wakeup, which is conducive to the stability of the system operation.
可选地,根据预设操作和/或预设策略切换第一应用或服务和/或第二应用或服务的状态可以为将第一应用或服务和/或第二应用或服务转移。Optionally, switching the state of the first application or service and/or the second application or service according to a preset operation and/or a preset policy may be transferring the first application or service and/or the second application or service.
例如,在一个大型游戏应用中,包括互相支撑的前台显示交互服务和后台场景计算服务。在系统检测到终端工作站处理容量不足时,将后台场景计算服务转移安装在网络连接的服务器中。转移安装应用或服务可以释放特定的资源的同时,保留应用或服务的功能在其他系统运行,既避免了系统运行的冲突,也保障了功能的完整。For example, in a large-scale game application, there are mutually supporting foreground display interaction services and background scene calculation services. When the system detects that the processing capacity of the terminal workstation is insufficient, the background scene computing service is transferred and installed in the server connected to the network. Transferring and installing an application or service can release specific resources while retaining the function of the application or service to run in other systems, which not only avoids conflicts in system operation, but also ensures the integrity of functions.
通过切换状态至后台运行、后台冻结、休眠、关闭、卸载或转移等不同的预设处理策略,可以对不同的应用或服务进行不同的处理。Different applications or services can be processed differently by switching the state to different preset processing strategies such as running in the background, freezing in the background, hibernating, shutting down, uninstalling, or transferring.
可选地,S30的步骤包括:Optionally, the steps of S30 include:
若所述第一应用或服务满足所述第一预设条件,则根据第一预设策略对所述第一应用或服务进行处理;和/或,If the first application or service satisfies the first preset condition, then process the first application or service according to a first preset policy; and/or,
若所述第一应用或服务不满足所述第一预设条件,则根据第二预设策略对所述第二应用或服务进行处理。If the first application or service does not satisfy the first preset condition, the second application or service is processed according to a second preset policy.
例如,在支付场景中的遇到多个应用或服务,就判断第一应用或服务是否满足第一预设条件。例如,是否有与特定的支付应用或服务互补的功能。若没有互补的功能,则将第一应用或服务关闭。和/或,若有互补的功能,将第二应用或服务转为后台运行状态。For example, when multiple applications or services are encountered in the payment scenario, it is determined whether the first application or service satisfies the first preset condition. For example, are there features that complement a particular payment app or service. If there is no complementary function, the first application or service is closed. And/or, if there is a complementary function, turn the second application or service into the background running state.
可选地,S20的步骤之后包括:Optionally, after the step of S20, include:
若所述第一应用或服务符合第一预设条件,则输出对于处理第一应用或服务的提示信息;outputting prompt information for processing the first application or service if the first application or service meets the first preset condition;
和/或,若所述第一应用或服务不符合第一预设条件,则输出对于处理第二应用或服务的提示信息;And/or, if the first application or service does not meet the first preset condition, output prompt information for processing the second application or service;
响应于对应所述提示信息的选择操作,根据选择结果处理所述第一应用或服务;或,根据选择结果处理所述第二应用或服务。In response to the selection operation corresponding to the prompt information, the first application or service is processed according to the selection result; or, the second application or service is processed according to the selection result.
例如,在支付场景中的遇到多个应用或服务,就判断第一应用或服务是否满足第一预设条件。例如是否有与特定的支付应用或服务互补的功能。若没有互补的功能,则输出将第一应用或服务关闭的提示。和/或,若有互补的功能,则输出将第二应用或服务转为后台运行状态的提示。For example, when multiple applications or services are encountered in the payment scenario, it is determined whether the first application or service satisfies the first preset condition. For example, whether there are functionalities that complement a particular payment application or service. If there is no complementary function, output a prompt to close the first application or service. And/or, if there is a complementary function, output a prompt to turn the second application or service into a background running state.
在一些实施方式中,可以通过输出提示信息的方式来提醒用户或者协助进行决策,由用户根据需要选择对应的处理方式,符合用户在特定场景下的需求。例如,输出包含处理选项的提示信息供用户选择,也或者是提供关于即将处理一个应用或服务的提示信息,和/或,处理多个应用或服务的提示信息。例如,处理设备即将对两个人机交互应用进行处理,输出“提示:A交互应用即将关闭”,和/或,“提示:B交互应用即将关闭”。或者,请参考图7,处理设备输出“请选择将A交互应用:1关闭;2后台冻结;3休眠;4直接卸载”。需要说明的是,提示信息可以是包括选择项目的页面或窗口,也可以是包含选择项目的语音提示,甚至可以是处理设备上设置的灯光提示、闪屏提示以及震动提示。相应地,对于输出的提示信息,用户可以操作的方式可以为点击、按键、语音命令以及摇动等方式。In some implementations, the user may be reminded or assisted in decision-making by outputting prompt information, and the user may select a corresponding processing method according to the need, which meets the needs of the user in a specific scenario. For example, output prompt information including processing options for the user to choose, or provide prompt information about processing an application or service, and/or provide prompt information for processing multiple applications or services. For example, the processing device is about to process two human-computer interaction applications, and outputs "prompt: interactive application A is about to close", and/or, "prompt: interactive application B is about to close". Or, please refer to FIG. 7 , the processing device outputs "Please choose to close interactive application A: 1. Close; 2. Freeze in the background; 3. Sleep; 4. Uninstall directly". It should be noted that the prompt information may be a page or window including the selection item, or a voice prompt including the selection item, or even a light prompt, a splash screen prompt and a vibration prompt set on the processing device. Correspondingly, for the output prompt information, the user can operate in ways such as click, key, voice command, and shake.
可选地,S10的步骤之前包括:Optionally, before the step of S10 includes:
响应于预设触发事件,检测至少两个应用或服务进行预设处理。In response to a preset trigger event, at least two applications or services are detected to perform preset processing.
当系统被预设触发时间中断触发时,开始检测至少两个应用或服务是否有可能同时处于在启动、运行及恢复等情况。When the system is triggered by the preset trigger time interrupt, it starts to detect whether at least two applications or services may be in the state of starting, running and recovering at the same time.
可选地,预设触发事件可以为当前时间满足预设时间。Optionally, the preset trigger event may be that the current time meets the preset time.
例如,用户设定七月三十一日下午十一点钟的预设时间,需要特定的功能服务。当时间到了这个预设时间时,系统进行响应。For example, the user sets a preset time of 11 o'clock in the afternoon on July 31st, which requires specific functional services. When the time reaches this preset time, the system responds.
可选地,预设触发事件可以为预设功能程序被启动或唤醒。Optionally, the preset triggering event may be that a preset function program is started or awakened.
例如,系统或用户设定了儿童智能手表的支付程序启动时,需要启动通知父母手机的应用或服务。因此,当智能手表上的支付程序启动时,系统进行相应响应,对父母的手机进行相关通知。For example, when the system or the user sets the payment program of the children's smart watch to start, it needs to start the application or service that notifies the parent's mobile phone. Therefore, when the payment procedure on the smart watch is initiated, the system responds accordingly and notifies the parent's mobile phone.
可选地,预设触发事件可以为当前定位处于预设范围。Optionally, the preset trigger event may be that the current location is within a preset range.
例如,系统设定当儿童智能手表的卫星定位超出学校范围3公里时,需要启动通知家长或老师的应用或服务。因此,当智能手表上的卫星定位超出学校位置3公里时,系统进行相应响应,对家长或老师进行相关通知。For example, the system is set to start an application or service that notifies parents or teachers when the satellite positioning of a child's smart watch exceeds 3 kilometers from the school. Therefore, when the satellite positioning on the smart watch exceeds 3 kilometers from the school location, the system responds accordingly and notifies parents or teachers.
可选地,预设触发事件可以为当前功耗大于或等于预设功耗。Optionally, the preset trigger event may be that the current power consumption is greater than or equal to the preset power consumption.
例如,用户在系统设定当手机功耗超出第一功耗阈值时,需要启动电源管理服务,以 便进行相关程序管理。因此,当系统检测到手机功耗超出第一功耗阈值时,进行相应响应,启动电源管理服务。For example, when the user sets in the system that when the power consumption of the mobile phone exceeds the first power consumption threshold, the power management service needs to be started in order to manage related programs. Therefore, when the system detects that the power consumption of the mobile phone exceeds the first power consumption threshold, it responds accordingly and starts the power management service.
可选地,预设触发事件可以为当前网络状态满足预设网络条件。Optionally, the preset trigger event may be that the current network status meets a preset network condition.
例如,用户在系统设定手机上应用或服务在WIFI联网后运行下载服务。因此,当系统检测到WIFI网络成功连接时,进行相应响应,以开启应用或服务的下载服务。For example, the user sets the application or service on the mobile phone to run the download service after connecting to the WIFI network. Therefore, when the system detects that the WIFI network is successfully connected, it responds accordingly to start the download service of the application or service.
可选地,预设触发事件可以为当前环境满足预设环境条件。Optionally, the preset trigger event may be that the current environment meets a preset environmental condition.
例如,系统设置空气湿度超过第一湿度阈值时启动加热服务。因此,当系统检测到当前空气湿度超出第一湿度阈值时,进行相应响应,以开启加热服务。For example, the system is configured to start the heating service when the air humidity exceeds the first humidity threshold. Therefore, when the system detects that the current air humidity exceeds the first humidity threshold, it responds accordingly to start the heating service.
可选地,预设触发事件可以为人机交互中出现关键信息。Optionally, the preset triggering event may be that key information appears in the human-computer interaction.
例如,系统设置人机语音交互中出现动物名称的关键词时,唤起关于动物百科知识的应用。因此,当系统检测到在人机语音交互中出现“熊猫”的关键词时,进行相应响应,以唤起动物百科知识的应用。For example, when the system sets the keywords of animal names in the human-computer voice interaction, it will evoke the application of animal encyclopedia knowledge. Therefore, when the system detects that the keyword "panda" appears in the human-computer voice interaction, it responds accordingly to arouse the application of animal encyclopedia knowledge.
提前设置可以触发的事件,当发生这些预设触发事件时,发出中断触发信号,有利于对系统资源进行精准利用,提高系统效率。Set the events that can be triggered in advance. When these preset trigger events occur, an interrupt trigger signal is sent, which is conducive to the precise use of system resources and improves system efficiency.
可选地,S30的步骤包括:Optionally, the steps of S30 include:
根据第一预设操作和/或第一预设规则对所述第一应用或服务和所述第二应用或服务的功能和/或权限和/或界面进行处理,确定或生成同时具有至少两个应用或服务的功能和/或权限和/或界面的一个新应用或服务,并确定所述新应用或服务为预设应用或服务;The functions and/or permissions and/or interfaces of the first application or service and the second application or service are processed according to the first preset operation and/or the first preset rule, and it is determined or generated that at least two functions and/or permissions and/or interfaces of an application or service, and determine that the new application or service is a default application or service;
在所述第一应用或服务和所述第二应用或服务中的任一应用或服务具有预设功能时,将所述第一应用或服务或所述第二应用或服务的功能和/或权限赋予给所述任一应用或服务,确定所述任一应用或服务为所述预设应用或服务。When any one of the first application or service and the second application or service has a preset function, the function of the first application or service or the second application or service and/or The authority is granted to any application or service, and the application or service is determined to be the preset application or service.
示例性地,用户说“播放刘德华的恭喜发财歌曲”。但A人机交互应用没有播放音乐的权限,B人机交互应用具有音乐播放权限,却无法与A人机交互应用进行交互,也无法响应用户的语音指令(无法响应中文语音,或仅响应手势和触控等操作)。通过将A人机交互应用和B人机交互应用的功能和/或权限和/或界面进行处理,确定或生成同时具有A、B两个人机交互应用的功能和/或权限和/或界面的C人机交互应用。然后通过C人机交互应用来响应用户的语音指令,和/或控制A和B人机交互应用,打开音乐软件播放刘德华的恭喜发财。Exemplarily, the user says "play Andy Lau's Gong Xi Fa Cai song". However, the human-computer interaction application A does not have the permission to play music, and the human-computer interaction application B has the permission to play music, but it cannot interact with the human-computer interaction application A, nor can it respond to the user's voice commands (cannot respond to Chinese voice, or only respond to gestures) and touch operations). By processing the functions and/or permissions and/or interfaces of the human-computer interaction application A and the human-computer interaction application B, determine or generate the functions and/or permissions and/or interfaces of the two human-computer interaction applications A and B at the same time C human-computer interaction applications. Then use the C human-computer interaction application to respond to the user's voice command, and/or control the A and B human-computer interaction applications, and open the music software to play Andy Lau's Gong Xi Fa Cai.
示例性地,用户说“播放刘德华的恭喜发财歌曲”。但A人机交互应用没有播放音乐的权限,B人机交互应用具有音乐播放权限,但无法与A人机交互应用进行交互,也无法响应用户的语音指令(无法响应中文语音,或仅响应手势和触控等操作)。然后将B人机 交互应用的功能、权限赋予给A人机交互应用,以使得A人机交互应用具有B人机交互应用的功能和/或权限进行处理。然后使得A人机交互应用能够响应用户的语音指令,打开音乐软件播放刘德华的恭喜发财。Exemplarily, the user says "play Andy Lau's Gong Xi Fa Cai song". But the A human-computer interaction application does not have the permission to play music, and the B human-computer interaction application has the music playback permission, but it cannot interact with the A human-computer interaction application, nor can it respond to the user's voice commands (cannot respond to Chinese voice, or only respond to gestures) and touch operations). Then the functions and permissions of the human-computer interaction application B are given to the human-computer interaction application A, so that the human-computer interaction application A has the functions and/or permissions of the human-computer interaction application B for processing. Then enable the A human-computer interaction application to respond to the user's voice command, and open the music software to play Andy Lau's Gong Xi Fa Cai.
可选地,S30的步骤之后包括:Optionally, after step S30 includes:
响应于待处理信息,基于所述预设应用或服务对所述待处理信息进行处理。In response to the information to be processed, the information to be processed is processed based on the preset application or service.
示例性地,在确认预设应用或服务后,通过预设应用或服务对接收到的待处理信息进行处理。例如,存在A和B两个人机交互应用,在确认A人机交互应用为预设应用后,接收到用户指令“打开相机”时,由A人机交互应用进行响应,B人机交互应用不进行响应,避免了A和B人机交互应用同时响应造成的冲突。Exemplarily, after the preset application or service is confirmed, the received information to be processed is processed through the preset application or service. For example, there are two human-computer interaction applications A and B. After confirming that the human-computer interaction application A is the default application, when receiving the user command "turn on the camera", the human-computer interaction application A will respond, and the human-computer interaction application B will not To respond, avoiding the conflict caused by the simultaneous response of A and B human-computer interaction applications.
第三实施例third embodiment
本申请还提供一种处理方法,图8是本申请第三实施例的处理方法流程图。The present application also provides a processing method, and FIG. 8 is a flowchart of the processing method according to the third embodiment of the present application.
如图10所示,在一实施例中,应用于处理设备的处理方法包括:As shown in Figure 10, in one embodiment, the processing method applied to the processing device includes:
S100:响应于第一应用或服务进行预设处理,向关联设备输出第一提示信息。S100: Output first prompt information to an associated device in response to preset processing performed by a first application or service.
S200:根据关联设备的反馈信息,按照预设策略和/或预设操作进行处理,可选地,反馈信息由关联设备根据进行预设处理的第二应用或服务处理得到。S200: According to the feedback information of the associated device, perform processing according to a preset policy and/or preset operation. Optionally, the feedback information is obtained by the associated device according to a second application or service that performs preset processing.
处理设备可以为终端设备(如手机、平板电脑等)、可穿戴智能设备(如智能手表、智能手环、智能耳机等)、智能家居设备(如智能电视、智能音箱等)、车联网设备(如智能汽车、车载终端等)。应用或服务可以包括人机交互应用,人机交互应用包括可以通过手势、语音、隔空手势等方式进行人机交互的应用或服务。The processing device can be a terminal device (such as a mobile phone, a tablet computer, etc.), a wearable smart device (such as a smart watch, a smart bracelet, a smart headset, etc.), a smart home device (such as a smart TV, a smart speaker, etc.), an Internet of Vehicles device ( Such as smart cars, vehicle terminals, etc.). Applications or services may include human-computer interaction applications, and human-computer interaction applications include applications or services that can perform human-computer interaction through gestures, voice, and air gestures.
可选地,所述进行预设处理包括以下至少一种:启动、唤醒、运行、恢复、同时接收待处理信息等。Optionally, performing preset processing includes at least one of the following: starting, waking up, running, recovering, receiving information to be processed at the same time, and the like.
通过上述方式,当存在一个应用或服务在处理设备启动、运行或恢复等进行预设处理的情况时,在未知关联设备上具有第二应用或服务的情况下,为了避免发生未知不良后果,不能直接处理。此时,先向关联设备输出第一提示信息,以使关联设备对第二应用或服务进行处理。关联设备会发送处理后的反馈信息至处理设备,以助于决定对第一应用或服务进行处理。Through the above method, when there is a situation where an application or service performs preset processing when the processing device starts, runs, or resumes, and there is a second application or service on the unknown associated device, in order to avoid unknown adverse consequences, it cannot deal directly with. At this time, the first prompt information is first output to the associated device, so that the associated device processes the second application or service. The associated device will send the processed feedback information to the processing device, so as to help decide to process the first application or service.
按照预设策略通过对至少一个应用或服务进行处理,可以在使用应用或服务时,对应用或服务的使用过程进行管控的同时,使同时存在的多个应用或服务有序运行,避免出现不适当的干扰问题,有效提高了用户体验。By processing at least one application or service according to a preset strategy, when using the application or service, it is possible to control the use process of the application or service and at the same time make multiple concurrent applications or services run in an orderly manner, avoiding undesired Appropriate interference issues effectively improve user experience.
可选地,S100的步骤包括:Optionally, the steps of S100 include:
响应于第一应用或服务进行预设处理,和/或关联的第二应用或服务进行预设处理,响应于获取的操作满足预设条件,和/或至少一关联设备满足预设条件,输出至少一状态管理请求,以使得关联设备进行预设处理。In response to the first application or service performing preset processing, and/or the associated second application or service performing preset processing, in response to the acquired operation meeting the preset condition, and/or at least one associated device meeting the preset condition, outputting At least one state management request is used to enable the associated device to perform preset processing.
当检测到第一应用或服务启动、运行或恢复等情况时,又检测到在关联的第二应用或服务启动、运行或恢复等情况。此时,等待用户满足预设条件的操作,和或,至少有一个关联设备满足预设条件时,可以输出一个状态管理请求至控制中心或关联设备,使关联设备进行预设处理。例如,在行车环境下,汽车检测到汽车上的第一人机交互程序已运行,又检测到关联的电话手表中第二人机交互程序也处于运行状态。等检测到用户发动车辆开始驾驶,和/或,关联的平板电脑开始处于驾驶模式或导航状态,则可以向手机发出一关闭第二人机交互程序的管理请求,以使关联的手机或电话手表关闭第二人机交互程序。When it is detected that the first application or service starts, runs, or resumes, it detects that the associated second application or service starts, runs, or resumes. At this time, wait for the operation of the user to meet the preset condition, and or, when at least one associated device meets the preset condition, a status management request can be output to the control center or the associated device, so that the associated device can perform preset processing. For example, in a driving environment, the car detects that the first human-computer interaction program on the car is running, and detects that the second human-computer interaction program in the associated phone watch is also running. When it is detected that the user starts the vehicle and starts driving, and/or the associated tablet computer starts to be in the driving mode or navigation state, a management request to close the second human-computer interaction program can be sent to the mobile phone, so that the associated mobile phone or phone watch Close the second human-computer interaction program.
可选地,S200的步骤包括:Optionally, the steps of S200 include:
根据关联设备的反馈信息,按照预设策略和/或预设操作进行处理,反馈信息由关联设备根据进行预设处理的第二应用或服务的处理得到。According to the feedback information of the associated device, the processing is performed according to the preset strategy and/or the preset operation, and the feedback information is obtained by the associated device according to the processing of the second application or service that performs the preset processing.
例如,在发出状态管理请求后,手机反馈信息允许关闭电话手表的第二人机交互程序。此时就可以按照预设策略和/或预设操作关闭电话手表的第二人机交互程序。或者,手机反馈信息要求关闭汽车的第一人机交互程序,则按照预设策略和/或预设操作关闭第一人机交互程序。For example, after the state management request is sent, the feedback information of the mobile phone allows closing the second human-computer interaction program of the phone watch. At this point, the second human-computer interaction program of the phone watch can be closed according to the preset policy and/or preset operation. Or, if the feedback information from the mobile phone requires closing the first human-computer interaction program of the car, the first human-computer interaction program is closed according to a preset policy and/or preset operation.
可选地,在执行S200的步骤可以为将第一应用或服务和/或第二应用或服务转为后台运行状态。Optionally, the step of executing S200 may be turning the first application or service and/or the second application or service into a background running state.
例如,在计算机系统中的文件关键词提取服务中,当图片编辑服务启动时,可以将文件关键词提取服务暂时转为后台运行状态。后台运行可以在不干扰前台运行的应用或服务的情况下,使用系统空闲资源,增强系统的协调性,提高运行效率。For example, in the file keyword extraction service in the computer system, when the picture editing service is started, the file keyword extraction service can be temporarily turned into a background running state. Running in the background can use the idle resources of the system without interfering with the applications or services running in the foreground, so as to enhance the coordination of the system and improve the operating efficiency.
可选地,在执行S200的步骤可以为将第一应用或服务和/或第二应用或服务转为后台冻结状态。Optionally, the step of executing S200 may be turning the first application or service and/or the second application or service into a background freezing state.
例如,在手机游戏服务运行过程中,视频通话服务需要启动,此时,可以将游戏服务暂时后台冻结,等待视频通话服务结束后再择机解冻运行。后台冻结可以使被冻结的应用或服务不干扰前台运行的应用或服务,避免运行中造成的冲突情况,可以增强系统的流畅性。For example, during the operation of the mobile game service, the video call service needs to be started. At this time, the game service can be temporarily frozen in the background, and then unfreeze and run at an appropriate time after the end of the video call service. Background freezing can prevent frozen applications or services from interfering with applications or services running in the foreground, avoid conflicts during operation, and enhance system fluency.
可选地,在执行S200的步骤可以为将第一应用或服务和/或第二应用或服务转为休眠状态。Optionally, the step of executing S200 may be turning the first application or service and/or the second application or service into a dormant state.
例如,在计算机系统中,管理员账号登陆时,为了避免系统文件资源冲突,可以将游 客账号转为休眠状态,等待管理员账号退出时,再择机唤醒休眠的游客账号。休眠状态可以使应用或服务暂时释放占用的资源和文件,等待必要时再进行唤醒,重新恢复休眠之前的状态。For example, in a computer system, when an administrator account logs in, in order to avoid system file resource conflicts, the guest account can be turned into a dormant state, and when the administrator account exits, the dormant guest account can be awakened at an appropriate time. The dormant state can enable the application or service to temporarily release the occupied resources and files, and then wake up when necessary, so as to restore the state before dormancy.
可选地,在执行S200的步骤可以为将第一应用或服务和/或第二应用或服务转为关闭状态。Optionally, the step of executing S200 may be turning the first application or service and/or the second application or service into a closed state.
例如,在手机上视频通话应用需要运行时,可以将正在运行的娱乐视频播放应用关闭。关闭状态可以从系统内存中彻底释放应用或服务占用的资源,有利于系统运行的流畅性。For example, when the video calling application on the mobile phone needs to run, the running entertainment video playing application can be closed. The closed state can completely release the resources occupied by the application or service from the system memory, which is conducive to the smooth operation of the system.
可选地,在执行S200的步骤可以为将第一应用或服务和/或第二应用或服务卸载。Optionally, the step of executing S200 may be to uninstall the first application or service and/or the second application or service.
例如,将手机上存在的两个安全管理应用中的其中至少一个安全管理应用卸载。卸载应用或服务不仅可以彻底释放应用或服务占用的资源,还能避免不必要的启动或唤醒,有利于系统运行的稳定性。For example, at least one of the two security management applications existing on the mobile phone is uninstalled. Uninstalling an application or service can not only completely release the resources occupied by the application or service, but also avoid unnecessary startup or wakeup, which is conducive to the stability of the system operation.
可选地,在执行S200的步骤可以为将第一应用或服务和/或第二应用或服务转移。Optionally, the step of executing S200 may be to transfer the first application or service and/or the second application or service.
例如,在一个大型游戏应用中,包括互相支撑的前台显示交互服务和后台场景计算服务。在系统检测到终端工作站处理容量不足时,将后台场景计算服务转移安装在网络连接的服务器中。转移安装应用或服务可以释放特定的资源的同时,保留应用或服务的功能在其他系统运行,既避免了系统运行的冲突,也保障了功能的完整。For example, in a large-scale game application, there are mutually supporting foreground display interaction services and background scene calculation services. When the system detects that the processing capacity of the terminal workstation is insufficient, the background scene computing service is transferred and installed in the server connected to the network. Transferring and installing an application or service can release specific resources while retaining the function of the application or service to run in other systems, which not only avoids conflicts in system operation, but also ensures the integrity of functions.
通过切换状态至后台运行、后台冻结、休眠、关闭、卸载或转移等不同的预设处理策略,可以对不同的应用或服务进行不同的处理。Different applications or services can be processed differently by switching the state to different preset processing strategies such as running in the background, freezing in the background, hibernating, shutting down, uninstalling, or transferring.
在一些实施方式中,可以通过输出提示信息的方式来提醒用户或者协助进行决策,由用户根据需要选择对应的处理方式,符合用户在特定场景下的需求。例如,输出包含处理选项的提示信息供用户选择,也或者是提供关于即将处理一个应用或服务的提示信息,和/或,处理多个应用或服务的提示信息。例如,处理设备即将对两个人机交互应用进行处理,输出“提示:A交互应用即将关闭”,和/或,“提示:B交互应用即将关闭”。或者,处理设备输出“请选择将A交互应用:1关闭;2后台冻结;3休眠;4直接卸载”。或者,处理设备输出“请选择:1将A交互应用关闭;2将B交互应用关闭”。需要说明的是,提示信息可以是包括选择项目的页面或窗口,也可以是包含选择项目的语音提示,甚至可以是处理设备上设置的灯光提示、闪屏提示以及震动提示。相应地,对于输出的提示信息,用户可以操作的方式可以为点击、按键、语音命令以及摇动等方式。In some implementations, the user may be reminded or assisted in decision-making by outputting prompt information, and the user may select a corresponding processing method according to the need, which meets the needs of the user in a specific scenario. For example, output prompt information including processing options for the user to choose, or provide prompt information about processing an application or service, and/or provide prompt information for processing multiple applications or services. For example, the processing device is about to process two human-computer interaction applications, and outputs "prompt: interactive application A is about to close", and/or, "prompt: interactive application B is about to close". Alternatively, the processing device outputs "Please choose to close the A interactive application: 1 close; 2 freeze in the background; 3 sleep; 4 uninstall directly". Alternatively, the processing device outputs "please choose: 1 to close the interactive application A; 2 to close the interactive application B". It should be noted that the prompt information may be a page or window including the selection item, or a voice prompt including the selection item, or even a light prompt, a splash screen prompt and a vibration prompt set on the processing device. Correspondingly, for the output prompt information, the user can operate in ways such as click, key, voice command, and shake.
可选地,S200的步骤中包括:Optionally, the steps of S200 include:
若第一应用或服务符合第一预设条件,则输出对于处理第一应用或服务的第二提示信息;和/或,若第二应用或服务不符合第二预设条件,则输出对于处理第二应用或服务的 第三提示信息。If the first application or service meets the first preset condition, output a second prompt message for processing the first application or service; and/or, if the second application or service does not meet the second preset condition, output a message for processing The third prompt information of the second application or service.
例如,在驾车场景中,不需要其他设备的第一人机交互程序与车载的第二人机交互程序共同运行。因此,可以将第一人机交互程序关闭,此时,输出关闭第一人机交互程序的第二提示信息。和/或,若车载的第二人机交互程序在车辆熄火的情况下,则可以关闭车载的第二人机交互程序,此时输出关闭第二人机交互程序的第三提示信息。For example, in a driving scene, the first human-computer interaction program that does not require other devices runs together with the second human-computer interaction program on the vehicle. Therefore, the first human-computer interaction program can be closed, and at this time, a second prompt message for closing the first human-computer interaction program is output. And/or, if the vehicle-mounted second human-computer interaction program is turned off, the vehicle-mounted second human-computer interaction program may be closed, and at this time, a third prompt message for closing the second human-computer interaction program may be output.
可选地,在执行若第一应用或服务符合第一预设条件,则输出对于处理第一应用或服务的第二提示信息;和/或,若第二应用或服务不符合第二预设条件,则输出对于处理第二应用或服务的第三提示信息的步骤中包括:Optionally, if the first application or service meets the first preset condition during execution, output a second prompt message for processing the first application or service; and/or, if the second application or service does not meet the second preset condition condition, the step of outputting the third prompt information for processing the second application or service includes:
响应于对应第二提示信息和/或第三提示信息的选择操作,根据选择结果处理第一应用或服务和/或第二应用或服务。In response to a selection operation corresponding to the second prompt information and/or the third prompt information, the first application or service and/or the second application or service are processed according to the selection result.
在含有选项的第二提示信息及第三提示信息中,根据最终的选择操作,对第一应用或服务和/或第二应用或服务进行处理。例如,用户在提示信息中选择关闭第一人机交互程序,和/或,选择后台冻结第二人机交互程序。In the second prompt information and the third prompt information containing options, the first application or service and/or the second application or service are processed according to the final selection operation. For example, the user chooses to close the first human-computer interaction program in the prompt information, and/or chooses to freeze the second human-computer interaction program in the background.
可选地,在执行S200的步骤之前包括:Optionally, before performing the step of S200, include:
确定预设工作模式是否被开启。Determine whether the default working mode is enabled.
预设工作模式的设置可以方便地预先确定一揽子处理原则。例如授权处理设备自我优化管理的自适应模式。在对应用或服务进行相应处理之前,先判断预设工作模式是否开启。在确定预设工作模式开启的情况下,再对应用或服务进行相应处理。The setting of the preset working mode can conveniently predetermine the package treatment principle. An example is the adaptive mode of authorization processing device self-optimization management. Before performing corresponding processing on the application or service, it is first determined whether the preset working mode is enabled. When it is determined that the preset working mode is turned on, the application or service is processed accordingly.
本申请的处理方法,响应于处理设备上的第一应用或服务进行预设处理时,处理设备向关联设备发送提示信息,以便关联设备反馈将第二应用或服务根据预设策略进行处理的信息。如此,使互相关联的设备上同时存在的多个应用或服务有序运行,避免出现不适当的干扰问题,有效提高了用户体验。In the processing method of the present application, when the first application or service on the processing device performs preset processing, the processing device sends prompt information to the associated device, so that the associated device can feed back the information that the second application or service is processed according to the preset policy . In this way, multiple applications or services that exist simultaneously on interrelated devices can run in an orderly manner, avoiding inappropriate interference problems, and effectively improving user experience.
第四实施例Fourth embodiment
本申请还提供了一种应用或服务的处理方法,图9是本申请第四实施例的处理方法流程图。The present application also provides an application or service processing method, and FIG. 9 is a flowchart of the processing method according to the fourth embodiment of the present application.
如图9所示,在一实施例中,应用于关联设备的处理方法包括:As shown in FIG. 9, in an embodiment, the processing method applied to the associated device includes:
T1:响应于处理设备对于第一应用或服务进行预设处理发送的第一提示信息,处理进行预设处理的第二应用或服务。T1: In response to the first prompt information sent by the processing device to perform preset processing on the first application or service, process a second application or service that performs preset processing.
T2:根据对第二应用或服务的处理结果,发送反馈信息至处理设备,以使处理设备按照预设策略和/或预设操作对第一应用或服务进行处理。T2: Send feedback information to the processing device according to the processing result of the second application or service, so that the processing device processes the first application or service according to a preset policy and/or preset operation.
关联设备及处理设备可以为终端设备(如手机、平板电脑等)、可穿戴智能设备(如智能手表、智能手环、智能耳机等)、智能家居设备(如智能电视、智能音箱等)、车联网设备(如智能汽车、车载终端等)。应用或服务可以包括人机交互应用,人机交互应用包括可以通过手势、语音、隔空手势等方式进行人机交互的应用或服务。Associated devices and processing devices can be terminal devices (such as mobile phones, tablet computers, etc.), wearable smart devices (such as smart watches, smart bracelets, smart headphones, etc.), smart home devices (such as smart TVs, smart speakers, etc.), car Networked devices (such as smart cars, vehicle terminals, etc.). Applications or services may include human-computer interaction applications, and human-computer interaction applications include applications or services that can perform human-computer interaction through gestures, voice, and air gestures.
可选地,所述进行预设处理包括以下至少一种:启动、唤醒、运行、恢复、同时接收待处理信息等。Optionally, performing preset processing includes at least one of the following: starting, waking up, running, recovering, receiving information to be processed at the same time, and the like.
例如,在行车环境下,汽车检测到汽车上的第一人机交互程序已运行,又检测到关联的电话手表中第二人机交互程序也处于运行状态。汽车发出对于电话手表上的第二人机交互程序需要关闭或冻结的状态管理请求后,手机或电话手表反馈信息允许关闭或冻结电话手表的第二人机交互程序。此时就可以按照预设策略和/或预设操作关闭或冻结电话手表的第二人机交互程序。在第二人机交互程序关闭或冻结后,手机或电话手表发送反馈信息至汽车,以使汽车处理第一人机交互程序。或者,手机或电话手表经过检测,当前需要第二人机交互程序后台运行,因此反馈信息要求关闭或冻结汽车的第一人机交互程序,则汽车按照预设策略和/或预设操作关闭或冻结第一人机交互程序。For example, in a driving environment, the car detects that the first human-computer interaction program on the car is running, and detects that the second human-computer interaction program in the associated phone watch is also running. After the car sends a state management request that the second human-computer interaction program on the phone watch needs to be closed or frozen, the feedback information from the mobile phone or the phone watch allows closing or freezing the second human-computer interaction program on the phone watch. At this point, the second human-computer interaction program of the phone watch can be closed or frozen according to the preset policy and/or preset operation. After the second human-computer interaction program is closed or frozen, the mobile phone or the phone watch sends feedback information to the car, so that the car processes the first human-computer interaction program. Or, the mobile phone or phone watch is detected, and currently needs the second human-computer interaction program to run in the background, so the feedback information requires closing or freezing the first human-computer interaction program of the car, then the car is closed or closed according to the preset strategy and/or preset operation Freeze the first human-computer interaction program.
通过上述方式,当存在一个应用或服务在处理设备启动、运行或恢复等进行预设处理的情况时,在关联设备上具有第二应用或服务的情况下,为了避免发生未知不良后果,处理设备不能直接处理。此时,处理设备先向关联设备输出第一提示信息,关联设备根据第一提示信息对第二应用或服务进行处理。关联设备会发送处理后的反馈信息至处理设备,以助于处理设备决定对第一应用或服务进行处理。在相互关联的设备对应用或服务处理的过程中,所涉及的技术细节与以上实施例相同,在此不再赘述。Through the above method, when there is an application or service that performs preset processing when the processing device starts, runs or resumes, and there is a second application or service on the associated device, in order to avoid unknown adverse consequences, the processing device cannot be processed directly. At this time, the processing device first outputs the first prompt information to the associated device, and the associated device processes the second application or service according to the first prompt information. The associated device sends the processed feedback information to the processing device, so as to help the processing device decide to process the first application or service. During the processing of applications or services by interrelated devices, the technical details involved are the same as those in the above embodiments, and will not be repeated here.
可选地,所述T1的步骤包括:Optionally, the steps of T1 include:
响应于处理设备发送的至少一状态管理请求,所述关联设备处理进行预设处理的第二应用或服务;所述状态管理请求由所述处理设备响应于第一应用或服务进行预设处理,和/或关联的第二应用或服务进行预设处理,在获取的操作满足预设条件,和/或至少一关联设备满足预设条件时输出。In response to at least one status management request sent by the processing device, the associated device processes a second application or service for preset processing; the status management request is preset by the processing device in response to the first application or service, And/or the associated second application or service performs preset processing, and outputs when the obtained operation satisfies the preset condition, and/or at least one associated device satisfies the preset condition.
当处理设备检测到第一应用或服务启动、运行或恢复等情况时,又检测到关联的第二应用或服务同时存在启动、运行或恢复等情况。此时,等待用户满足预设条件的操作,和或,至少有一个关联设备满足预设条件时,处理设备可以输出一个状态管理请求至控制中心或关联设备,关联设备此时可以对第二应用或服务进行预设处理。例如,在行车环境下,汽车检测到汽车上的第一人机交互程序已运行,又检测到关联的电话手表中第二人机交互程序也处于运行状态。等检测到用户发动车辆开始驾驶,和/或,关联的平板电脑开始处 于驾驶模式或导航状态,则汽车可以向手机或汽车发出一关闭或冻结第二人机交互程序的管理请求,此时,手机或电话手表可以关闭或冻结第二人机交互程序。When the processing device detects that the first application or service starts, runs, or resumes, it also detects that the associated second application or service simultaneously starts, runs, or resumes. At this time, waiting for the operation of the user to meet the preset conditions, and or, when at least one associated device meets the preset conditions, the processing device can output a status management request to the control center or the associated device, and the associated device can then use the second application or service for preset processing. For example, in a driving environment, the car detects that the first human-computer interaction program on the car is running, and detects that the second human-computer interaction program in the associated phone watch is also running. When it is detected that the user starts the vehicle and starts driving, and/or the associated tablet computer starts to be in the driving mode or navigation state, the car can send a management request to the mobile phone or the car to close or freeze the second human-computer interaction program. At this time, The mobile phone or the phone watch can close or freeze the second human-computer interaction program.
可选地,T2的步骤可以为将第一应用或服务和/或第二应用或服务转为后台运行状态。Optionally, the step of T2 may be turning the first application or service and/or the second application or service into a background running state.
例如,在计算机系统中的文件关键词提取服务中,当图片编辑服务启动时,可以将文件关键词提取服务暂时转为后台运行状态。后台运行可以在不干扰前台运行的应用或服务的情况下,使用系统空闲资源,增强系统的协调性,提高运行效率。For example, in the file keyword extraction service in the computer system, when the picture editing service is started, the file keyword extraction service can be temporarily turned into a background running state. Running in the background can use the idle resources of the system without interfering with the applications or services running in the foreground, so as to enhance the coordination of the system and improve the operating efficiency.
可选地,T2的步骤可以为将第一应用或服务和/或第二应用或服务转为后台冻结状态。Optionally, the step of T2 may be turning the first application or service and/or the second application or service into a background freezing state.
例如,在手机游戏服务运行过程中,视频通话服务需要启动,此时,可以将游戏服务暂时后台冻结,等待视频通话服务结束后再择机解冻运行。后台冻结可以使被冻结的应用或服务不干扰前台运行的应用或服务,避免运行中造成的冲突情况,可以增强系统的流畅性。For example, during the operation of the mobile game service, the video call service needs to be started. At this time, the game service can be temporarily frozen in the background, and then unfreeze and run at an appropriate time after the end of the video call service. Background freezing can prevent frozen applications or services from interfering with applications or services running in the foreground, avoid conflicts during operation, and enhance system fluency.
可选地,T2的步骤可以为将第一应用或服务和/或第二应用或服务转为休眠状态。Optionally, step T2 may be turning the first application or service and/or the second application or service into a dormant state.
例如,在计算机系统中,管理员账号登陆时,为了避免系统文件资源冲突,可以将游客账号转为休眠状态,等待管理员账号退出时,再择机唤醒休眠的游客账号。休眠状态可以使应用或服务暂时释放占用的资源和文件,等待必要时再进行唤醒,重新恢复休眠之前的状态。For example, in a computer system, when the administrator account logs in, in order to avoid system file resource conflicts, the guest account can be turned into a dormant state, and when the administrator account exits, the dormant guest account can be awakened at an appropriate time. The dormant state can enable the application or service to temporarily release the occupied resources and files, and then wake up when necessary, so as to restore the state before dormancy.
可选地,T2的步骤可以为将第一应用或服务和/或第二应用或服务转为关闭状态。Optionally, step T2 may be turning the first application or service and/or the second application or service into a closed state.
例如,在手机上视频通话应用需要运行时,可以将正在运行的娱乐视频播放应用关闭。关闭状态可以从系统内存中彻底释放应用或服务占用的资源,有利于系统运行的流畅性。For example, when the video calling application on the mobile phone needs to run, the running entertainment video playing application can be closed. The closed state can completely release the resources occupied by the application or service from the system memory, which is conducive to the smooth operation of the system.
可选地,T2的步骤可以为将第一应用或服务和/或第二应用或服务卸载。Optionally, step T2 may be to uninstall the first application or service and/or the second application or service.
例如,将手机上存在的两个安全管理应用中的其中至少一个安全管理应用卸载。卸载应用或服务不仅可以彻底释放应用或服务占用的资源,还能避免不必要的启动或唤醒,有利于系统运行的稳定性。For example, at least one of the two security management applications existing on the mobile phone is uninstalled. Uninstalling an application or service can not only completely release the resources occupied by the application or service, but also avoid unnecessary startup or wakeup, which is conducive to the stability of the system operation.
可选地,T2的步骤可以为将第一应用或服务和/或第二应用或服务转移。Optionally, step T2 may be transferring the first application or service and/or the second application or service.
例如,在一个大型游戏应用中,包括互相支撑的前台显示交互服务和后台场景计算服务。在系统检测到终端工作站处理容量不足时,将后台场景计算服务转移安装在网络连接的服务器中。转移安装应用或服务可以释放特定的资源的同时,保留应用或服务的功能在其他系统运行,既避免了系统运行的冲突,也保障了功能的完整。For example, in a large-scale game application, there are mutually supporting foreground display interaction services and background scene calculation services. When the system detects that the processing capacity of the terminal workstation is insufficient, the background scene computing service is transferred and installed in the server connected to the network. Transferring and installing an application or service can release specific resources while retaining the function of the application or service to run in other systems, which not only avoids conflicts in system operation, but also ensures the integrity of functions.
通过使处理设备切换状态至后台运行、后台冻结、休眠、关闭、卸载或转移等不同的预设处理策略,可以对不同的应用或服务进行不同的处理。Different applications or services can be processed differently by switching the processing device to different preset processing strategies such as background running, background freezing, hibernation, shutdown, uninstallation, or transfer.
可选地,所述T2的步骤包括:Optionally, the steps of T2 include:
若所述第一应用或服务符合第一预设条件,则使所述处理设备输出对于处理所述第一应用或服务的第二提示信息;和/或,若所述第二应用或服务不符合第二预设条件,则使所述处理设备输出对于处理所述第二应用或服务的第三提示信息。If the first application or service meets the first preset condition, causing the processing device to output second prompt information for processing the first application or service; and/or, if the second application or service does not If the second preset condition is met, the processing device is made to output third prompt information for processing the second application or service.
在一些实施方式中,可以使处理设备通过输出提示信息的方式来提醒用户或者协助进行决策,由用户根据需要选择对应的处理方式,符合用户在特定场景下的需求。例如,处理设备输出包含处理选项的提示信息供用户选择,也或者是提供关于即将处理一个应用或服务的提示信息,和/或,处理多个应用或服务的提示信息。例如,处理设备即将对两个人机交互应用进行处理,输出“提示:A交互应用即将关闭”,和/或,“提示:B交互应用即将关闭”。或者,处理设备输出“请选择将A交互应用:1关闭;2后台冻结;3休眠;4直接卸载”。或者,处理设备输出“请选择:1将A交互应用关闭;2将B交互应用关闭”。需要说明的是,提示信息可以是包括选择项目的页面或窗口,也可以是包含选择项目的语音提示,甚至可以是处理设备上设置的灯光提示、闪屏提示以及震动提示。相应地,对于输出的提示信息,用户可以操作的方式可以为点击、按键、语音命令以及摇动等方式。In some implementations, the processing device can remind the user or assist in decision-making by outputting prompt information, and the user can select the corresponding processing method according to the needs, which meets the needs of the user in a specific scenario. For example, the processing device outputs prompt information including processing options for the user to choose, or provides prompt information about processing an application or service, and/or provides prompt information for processing multiple applications or services. For example, the processing device is about to process two human-computer interaction applications, and outputs "prompt: interactive application A is about to close", and/or, "prompt: interactive application B is about to close". Alternatively, the processing device outputs "Please choose to close the A interactive application: 1 close; 2 freeze in the background; 3 sleep; 4 uninstall directly". Alternatively, the processing device outputs "please choose: 1 to close the interactive application A; 2 to close the interactive application B". It should be noted that the prompt information may be a page or window including the selection item, or a voice prompt including the selection item, or even a light prompt, a splash screen prompt and a vibration prompt set on the processing device. Correspondingly, for the output prompt information, the user can operate in ways such as click, key, voice command, and shake.
例如,在驾车场景中,不需要其他设备的第一人机交互程序与车载的第二人机交互程序共同运行。因此,可以将第一人机交互程序关闭,此时,输出关闭第一人机交互程序的第二提示信息。和/或,若车载的第二人机交互程序在车辆熄火的情况下,则可以关闭车载的第二人机交互程序,此时输出关闭第二人机交互程序的第三提示信息。For example, in a driving scene, the first human-computer interaction program that does not require other devices runs together with the second human-computer interaction program on the vehicle. Therefore, the first human-computer interaction program can be closed, and at this time, a second prompt message for closing the first human-computer interaction program is output. And/or, if the vehicle-mounted second human-computer interaction program is turned off, the vehicle-mounted second human-computer interaction program may be closed, and at this time, a third prompt message for closing the second human-computer interaction program may be output.
可选地,所述T1的步骤之前包括:Optionally, before the step of T1 includes:
确定预设工作模式是否被开启。Determine whether the default working mode is enabled.
预设工作模式的设置可以方便地预先确定一揽子处理原则。例如授权处理设备自我优化管理的自适应模式,或者手机对于电话手表或汽车的特定功能授权模式。在对应用或服务进行相应处理之前,先判断预设工作模式是否开启。在确定预设工作模式开启的情况下,再对应用或服务进行相应处理。The setting of the preset working mode can conveniently predetermine the package treatment principle. Examples include an adaptive mode of authorization processing for device self-optimization management, or a specific function authorization mode of a mobile phone for a phone watch or a car. Before performing corresponding processing on the application or service, it is first determined whether the preset working mode is enabled. When it is determined that the preset working mode is turned on, the application or service is processed accordingly.
本申请的处理方法,可以使关联设备响应于接收到处理设备发送的提示信息,关联设备将第二应用或服务根据预设策略进行处理并反馈处理信息给处理设备。如此,使互相关联的设备上同时存在的多个应用或服务有序运行,避免出现不适当的干扰问题,有效提高了用户体验。The processing method of the present application can make the associated device respond to receiving the prompt information sent by the processing device, and the associated device processes the second application or service according to a preset strategy and feeds back the processing information to the processing device. In this way, multiple applications or services that exist simultaneously on interrelated devices can run in an orderly manner, avoiding inappropriate interference problems, and effectively improving user experience.
可选地,所述对所述待处理数据的响应结果可以是处理设备对所述待处理数据进行响 应后获得的结果,也可以是用户输入的操作或语音等。例如,假设所述待处理数据为“播放歌曲大海”,若对所述待处理数据的响应结果为“处理设备不能够播放歌曲,关联设备能够播放歌曲”,则可将位于关联设备的应用或服务确定为目标应用或目标服务;若用户继续输入语音“通过车机播放歌曲”,则可将位于车机的应用或服务确定为目标应用或目标服务。Optionally, the response result to the data to be processed may be a result obtained after the processing device responds to the data to be processed, or may be an operation or voice input by a user. For example, assuming that the data to be processed is "play the sea of songs", if the response to the data to be processed is "the processing device cannot play the song, the associated device can play the song", then the application located on the associated device or The service is determined as the target application or target service; if the user continues to input the voice "play songs through the car device", the application or service located in the car device can be determined as the target application or target service.
可选地,在实际实现中,还可根据实际情况进行组合判断,如下表1所示。Optionally, in actual implementation, combination judgments may also be made according to actual conditions, as shown in Table 1 below.
表1Table 1
Figure PCTCN2022094171-appb-000001
Figure PCTCN2022094171-appb-000001
例如,对于组合示例1,可以将与场景信息(如当前位于车辆内)和预设信息(如优先级最高)匹配的应用或服务确定为目标应用或目标服务。For example, for combination example 1, the application or service that matches the scene information (such as currently located in the vehicle) and preset information (such as the highest priority) can be determined as the target application or target service.
再如,对于组合示例2,可以将与预设信息(如处于唤醒状态)和待处理数据的相关信息(如待处理数据所需的功能)匹配的应用或服务确定为目标应用或目标服务。As another example, for combination example 2, an application or service that matches preset information (such as being in a wake-up state) and related information of the data to be processed (such as a function required by the data to be processed) can be determined as the target application or target service.
还如,对于组合示例3,可以将与场景信息(如当前位于车辆内)、待处理数据的来源信息(如获取待处理数据的位置)和待处理数据的相关信息(如待处理数据所需的隐私等级)匹配的应用或服务确定为第一目标应用或目标服务。Also, for combination example 3, information related to the scene information (such as currently located in the vehicle), the source information of the data to be processed (such as the location where the data to be processed is obtained) and the related information of the data to be processed (such as The application or service matching the privacy level of ) is determined as the first target application or target service.
再如,对于组合示例4,可以将与预设信息(如处于唤醒状态)、场景信息(如当前位于车辆内)、待处理数据的来源信息(如获取待处理数据的位置)和待处理数据的相关信息(如待处理数据所需的隐私等级)匹配的应用或服务确定为目标应用或目标服务。As another example, for combination example 4, it can be combined with preset information (such as being in the wake-up state), scene information (such as currently in the vehicle), source information of the data to be processed (such as the location where the data to be processed is obtained) and the data to be processed The application or service that matches the relevant information (such as the privacy level required for the data to be processed) is determined as the target application or target service.
通过组合方案,可以更为精确和/或智能地从多个应用或服务中确定目标应用或目标服务,进而提升用户体验。Through the combined solution, the target application or target service can be determined more accurately and/or intelligently from multiple applications or services, thereby improving user experience.
以上所列举的仅为参考示例,为了避免冗余,这里不再一一列举,实际开发或运用中,可以根据实际需要灵活组合,但任一组合均属于本申请的技术方案,也就覆盖在本申请的保护范围之内。The above listed are only reference examples. In order to avoid redundancy, they will not be listed one by one here. In actual development or application, flexible combinations can be made according to actual needs, but any combination belongs to the technical solution of this application, which also covers the Within the protection scope of this application.
示例性地,可以基于各应用或服务的使用次数多少、所支持功能信息是否能够响应待处理数据、使用场景是否与当前场景匹配、运行状态是否为运行或未运行等信息,从至少两个应用或服务中确定至少一个目标应用或目标服务。假设所述待处理数据为用户在车辆内输入的语音“请播放歌曲祖国”,且在车辆内包括设置于车机的A人机交互应用和设置于用户手机的B人机交互应用,若根据用户历史使用习惯确定用户在当前场景下偏向于使用A人机交互应用,则可将A人机交互应用确定为目标应用,以响应所述待处理数据;又或者,若A人机交互应用因正在提供导航服务而处于运行状态,B人机交互应用处于未运行状态,则可将B人机交互应用确定为目标应用,以响应所述待处理数据;又或者,若用户的注视方向为A人机交互应用所在方向,则可将A人机交互应用确定为目标应用,以响应所述待处理数据。Exemplarily, based on information such as the number of times each application or service is used, whether the supported function information can respond to the data to be processed, whether the usage scenario matches the current scenario, whether the running status is running or not running, and other information, from at least two applications or determine at least one target application or target service in the service. Assume that the data to be processed is the voice "Please play the song Motherland" input by the user in the vehicle, and the vehicle includes the A human-computer interaction application installed on the vehicle and the B human-computer interaction application installed on the user's mobile phone. If the user's historical usage habits determine that the user prefers to use the human-computer interaction application A in the current scenario, then the human-computer interaction application A can be determined as the target application in response to the data to be processed; or, if the human-computer interaction application A is due to If the navigation service is being provided and the human-computer interaction application B is not running, the human-computer interaction application B can be determined as the target application to respond to the data to be processed; or, if the user's gaze direction is A In the direction of the human-computer interaction application, the human-computer interaction application A may be determined as the target application to respond to the data to be processed.
本申请实施例还提供一种设备,设备包括存储器、处理器,存储器上存储有处理程序,处理程序被处理器执行时实现上述任一实施例中的处理方法的步骤。An embodiment of the present application further provides a device, which includes a memory and a processor, and a processing program is stored in the memory, and when the processing program is executed by the processor, the steps of the processing method in any of the foregoing embodiments are implemented.
本申请实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有处理程序,处理程序被处理器执行时实现上述任一实施例中的处理方法的步骤。An embodiment of the present application further provides a computer-readable storage medium, on which a processing program is stored, and when the processing program is executed by a processor, the steps of the processing method in any of the foregoing embodiments are implemented.
在本申请实施例提供的设备和计算机可读存储介质的实施例中,可以包含任一上述处理方法实施例的全部技术特征,说明书拓展和解释内容与上述方法的各实施例基本相同,在此不再做赘述。In the embodiments of the device and computer-readable storage medium provided in the embodiments of the present application, all the technical features of any of the above-mentioned processing method embodiments may be included, and the expansion and explanation of the description are basically the same as those of the above-mentioned method embodiments. No more details.
本申请实施例还提供一种计算机程序产品,计算机程序产品包括计算机程序代码,当计算机程序代码在计算机上运行时,使得计算机执行如上各种可能的实施方式中的方法。An embodiment of the present application further provides a computer program product, the computer program product includes computer program code, and when the computer program code is run on the computer, the computer is made to execute the methods in the above various possible implementation manners.
本申请实施例还提供一种芯片,包括存储器和处理器,存储器用于存储计算机程序,处理器用于从存储器中调用并运行计算机程序,使得安装有芯片的设备执行如上各种可能的实施方式中的方法。The embodiment of the present application also provides a chip, including 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 the device installed with the chip executes the above various possible implementation modes. Methods.
可以理解,上述场景仅是作为示例,并不构成对于本申请实施例提供的技术方案的应用场景的限定,本申请的技术方案还可应用于其他场景。例如,本领域普通技术人员可知,随着系统架构的演变和新业务场景的出现,本申请实施例提供的技术方案对于类似的技术问题,同样适用。It can be understood that the above scenario is only an example, and does not constitute a limitation on the application scenario of the technical solution provided by the embodiment of the present application, and the technical solution of the present application can also be applied to other scenarios. For example, those skilled in the art know that with the evolution of the system architecture and the emergence of new business scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.
上述本申请实施例序号仅仅为了描述,不代表实施例的优劣。The serial numbers of the above embodiments of the present application are for description only, and do not represent the advantages and disadvantages of the embodiments.
本申请实施例方法中的步骤可以根据实际需要进行顺序调整、合并和删减。The steps in the methods of the embodiments of the present application can be adjusted, combined and deleted according to actual needs.
本申请实施例设备中的单元可以根据实际需要进行合并、划分和删减。Units in the device in the embodiment of the present application may be combined, divided and deleted according to actual needs.
在本申请中,对于相同或相似的术语概念、技术方案和/或应用场景描述,一般只在第一次出现时进行详细描述,后面再重复出现时,为了简洁,一般未再重复阐述,在理解本申请技术方案等内容时,对于在后未详细描述的相同或相似的术语概念、技术方案和/或应用场景描述等,可以参考其之前的相关详细描述。In this application, descriptions of the same or similar terms, concepts, technical solutions and/or application scenarios are generally only described in detail when they appear for the first time, and when they appear repeatedly later, for the sake of brevity, they are generally not repeated. When understanding the technical solutions and other contents of the present application, for the same or similar term concepts, technical solutions and/or application scenario descriptions that are not described in detail later, you can refer to the previous relevant detailed descriptions.
在本申请中,对各个实施例的描述都各有侧重,某个实施例中没有详述或记载的部分,可以参见其它实施例的相关描述。In this application, the description of each embodiment has its own emphasis. For the parts that are not detailed or recorded in a certain embodiment, please refer to the relevant descriptions of other embodiments.
本申请技术方案的各技术特征可以进行任意的组合,为使描述简洁,未对上述实施例中的各个技术特征所有可能的组合都进行描述,然而,只要这些技术特征的组合不存在矛盾,都应当认为是本申请记载的范围。The various technical features of the technical solution of the present application can be combined arbitrarily. For the sake of concise description, all possible combinations of the various technical features in the above-mentioned embodiments are not described. However, as long as there is no contradiction in the combination of these technical features, all It should be regarded as the scope described in this application.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在如上的一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,被控终端,或者网络设备等)执行本申请每个实施例的方法。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-purpose hardware platform, and of course also by hardware, but in many cases the former is better implementation. Based on this understanding, the technical solution of the present application can be embodied in the form of a software product in essence or in other words, the part that contributes to the prior art, and the computer software product is stored in one of the above storage media (such as ROM/RAM, magnetic CD, CD), including several instructions to make a terminal device (which may be a mobile phone, computer, server, controlled terminal, or network device, etc.) execute the method of each embodiment of the present application.
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行计算机程序指令时,全部或部分地产生按照本申请实施例的流程或功能。计算机可以是通用计算机、专用计算机、计算机网络,或者其他可编程装置。计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线)或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。可用介质可以是磁性介质,(例如,软盘、存储盘、磁带)、光介质(例如,DVD),或者半导体介质(例如固态存储盘Solid State Disk(SSD))等。In the above embodiments, all or part of them may be implemented by software, hardware, firmware or any combination thereof. When implemented using software, it may be implemented in whole or in part in the form of a computer program product. A computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on the computer, the processes or functions according to the embodiments of the present application will be generated in whole or in part. The computer can be a general purpose computer, special purpose computer, a computer network, or other programmable apparatus. Computer instructions may be stored in or transmitted from one computer-readable storage medium to another computer-readable storage medium, e.g. Coaxial cable, optical fiber, digital subscriber line) or wireless (such as infrared, wireless, microwave, etc.) to another website site, computer, server or data center. The computer-readable storage medium may be any available medium that can be accessed by a computer, or a data storage device such as a server, a data center, etc. integrated with one or more available media. Usable media may be magnetic media, (eg, floppy disk, memory disk, magnetic tape), optical media (eg, DVD), or semiconductor media (eg, Solid State Disk (SSD)), among others.
以上仅为本申请的优选实施例,并非因此限制本申请的专利范围,凡是利用本申请说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本申请的专利保护范围内。The above are only preferred embodiments of the present application, and are not intended to limit the patent scope of the present application. All equivalent structures or equivalent process transformations made by using the description of the application and the accompanying drawings are directly or indirectly used in other related technical fields. , are all included in the patent protection scope of the present application in the same way.

Claims (36)

  1. 一种处理方法,其中,应用于处理设备,所述处理方法包括以下步骤:A processing method, wherein applied to processing equipment, the processing method comprises the following steps:
    S1:检测至少两个应用或服务是否符合预设条件;S1: Detect whether at least two applications or services meet a preset condition;
    S2:根据检测结果,基于预设策略和/或预设操作对至少一应用或服务进行处理,以避免冲突。S2: According to the detection result, process at least one application or service based on a preset policy and/or a preset operation, so as to avoid conflicts.
  2. 如权利要求1所述的方法,其特征在于,所述预设条件包括以下至少一种:The method according to claim 1, wherein the preset conditions include at least one of the following:
    进行预设处理;carry out preset processing;
    具有预设功能和权限;Have preset functions and permissions;
    支持与其它应用或服务进行交互;Support interaction with other applications or services;
    允许对关联设备进行控制;Allows control of associated devices;
    处于与待处理信息关联的场景和/或模式;Be in the context and/or mode associated with the information to be processed;
    支持获取其它应用或服务的功能权限;Support obtaining functional permissions of other applications or services;
    用于与用户交互,和/或,作为控制中心的预设应用或服务。Used to interact with the user, and/or, as a preset application or service of the control center.
  3. 如权利要求1所述的方法,其特征在于,所述S2的步骤,包括:The method according to claim 1, characterized in that the step of S2 comprises:
    若所述至少两个应用或服务都不符合所述预设条件,则基于所述至少两个应用或服务确定或生成预设应用或服务;If the at least two applications or services do not meet the preset condition, then determine or generate a preset application or service based on the at least two applications or services;
    所述基于所述至少两个应用或服务确定或生成预设应用或服务,包括以下至少一种:The determining or generating preset applications or services based on the at least two applications or services includes at least one of the following:
    根据第一预设操作和/或第一预设规则对所述至少两个应用或服务的功能和/或权限和/或界面进行处理,确定或生成同时具有所述至少两个应用或服务的功能和/或权限和/或界面的一个新应用或服务,并确定所述新应用或服务为预设应用或服务;Process the functions and/or permissions and/or interfaces of the at least two applications or services according to the first preset operation and/or the first preset rule, and determine or generate the at least two applications or services simultaneously a new application or service with functions and/or permissions and/or interfaces, and determine that the new application or service is a default application or service;
    在所述至少两个应用或服务中的任一应用或服务具有预设功能时,将所述至少两个应用或服务的功能和/或权限赋予给所述任一应用或服务,确定所述任一应用或服务为所述预设应用或服务。When any application or service in the at least two applications or services has a preset function, assign the functions and/or permissions of the at least two applications or services to the any application or service, and determine the Any application or service is the preset application or service.
  4. 如权利要求3所述的方法,其特征在于,所述S2的步骤之后包括:The method according to claim 3, characterized in that, after the step of S2, comprising:
    响应于待处理信息,基于所述预设应用或服务对所述待处理信息进行处理。In response to the information to be processed, the information to be processed is processed based on the preset application or service.
  5. 如权利要求1至3中任一项所述的方法,其特征在于,所述S2的步骤,包括:The method according to any one of claims 1 to 3, wherein the step of S2 includes:
    若仅一应用或服务符合所述预设条件,则确认所述应用或服务为预设应用或服务,基于所述预设应用或服务对所述至少两个应用或服务进行处理;和/或,If only one application or service meets the preset condition, confirming that the application or service is a preset application or service, and processing the at least two applications or services based on the preset application or service; and/or ,
    若存在至少两个应用或服务符合所述预设条件,则输出提示信息,响应于选择操作,根据选择结果确认所述预设应用或服务,和/或,响应于未响应所述提示信息,根据第一预设策略确认所述预设应用或服务,基于所述预设应用或服务对所述至少两个应用或服务进行 处理。If there are at least two applications or services that meet the preset condition, output prompt information, and in response to the selection operation, confirm the preset application or service according to the selection result, and/or, in response to no response to the prompt information, The preset application or service is confirmed according to a first preset policy, and the at least two applications or services are processed based on the preset application or service.
  6. 如权利要求5所述的方法,其特征在于,所述S2的步骤,包括:The method according to claim 5, characterized in that, the step of S2 comprises:
    S21:响应于待处理信息,所述预设应用或服务处理得到和/或输出第一响应结果;和/或,S21: In response to the information to be processed, the preset application or service processes to obtain and/or output a first response result; and/or,
    S22:响应于待处理信息,所述预设应用或服务以外的应用或服务处理得到和/或输出至少一第二响应结果;S22: In response to the information to be processed, an application or service other than the preset application or service processes to obtain and/or output at least one second response result;
    S23:响应于所述第一响应结果和/或所述至少一第二响应结果满足所述待处理信息的处理条件,对所述预设应用或服务进行第一预设处理。S23: In response to the first response result and/or the at least one second response result satisfying a processing condition of the information to be processed, perform a first preset process on the preset application or service.
  7. 如权利要求6所述的方法,其特征在于,对所述预设应用或服务进行第一预设处理,包括以下至少一种:The method according to claim 6, wherein performing the first preset processing on the preset application or service includes at least one of the following:
    所述预设应用或服务处理待处理信息中的部分信息,并向所述预设应用或服务以外的应用或服务发送处理请求,使所述预设应用或服务以外的应用或服务处理所述待处理信息中的另一部分信息;The preset application or service processes part of the information to be processed, and sends a processing request to an application or service other than the preset application or service, so that the application or service other than the preset application or service processes the Another part of the pending information;
    所述预设应用或服务不处理所述待处理信息,向所述预设应用或服务以外的应用或服务发送处理请求,使所述预设应用或服务以外的应用或服务处理所述待处理信息;The preset application or service does not process the pending information, but sends a processing request to an application or service other than the preset application or service, so that the application or service other than the preset application or service processes the pending information information;
    所述预设应用或服务全部处理所述待处理信息。The preset applications or services all process the information to be processed.
  8. 如权利要求1所述的方法,其特征在于,所述至少两个应用或服务进行预设处理,所述进行预设处理包括以下至少一种:启动、唤醒、运行、恢复、同时接收待处理信息;所述S2的步骤,包括:The method according to claim 1, wherein the at least two applications or services perform preset processing, and the preset processing includes at least one of the following: starting, waking up, running, recovering, and simultaneously receiving pending information; the steps of S2 include:
    S24:根据第二预设策略对第一应用或服务进行处理;S24: Process the first application or service according to the second preset policy;
    和/或,根据第三预设策略对第二应用或服务进行处理。And/or, process the second application or service according to a third preset policy.
  9. 如权利要求8所述的方法,其特征在于,所述根据第二预设策略对所述第一应用或服务进行处理,和/或所述根据第三预设策略对所述第二应用或服务进行处理,包括以下至少一种:The method according to claim 8, wherein the first application or service is processed according to a second preset policy, and/or the second application or service is processed according to a third preset policy Services for processing, including at least one of the following:
    将所述第一应用或服务和/或第二应用或服务转为后台运行状态;turning the first application or service and/or the second application or service into a background running state;
    将所述第一应用或服务和/或第二应用或服务转为后台冻结状态;Turning the first application or service and/or the second application or service into a background freezing state;
    将所述第一应用或服务和/或第二应用或服务转为休眠状态;putting the first application or service and/or the second application or service into a dormant state;
    将所述第一应用或服务和/或第二应用或服务转为关闭状态;turning the first application or service and/or the second application or service into a closed state;
    将所述第一应用或服务和/或第二应用或服务卸载;uninstalling the first application or service and/or the second application or service;
    将所述第一应用或服务和/或第二应用或服务转移。Transferring the first application or service and/or the second application or service.
  10. 如权利要求8所述的方法,其特征在于,所述S24的步骤包括:The method according to claim 8, wherein the step of S24 comprises:
    响应于所述第一应用或服务和所述第二应用或服务的对比结果;In response to a comparison of the first application or service and the second application or service;
    检测所述第一应用或服务是否符合预设条件;Detecting whether the first application or service meets a preset condition;
    若满足,则按照第二预设策略对所述第一应用或服务进行处理;和/或,If satisfied, process the first application or service according to a second preset policy; and/or,
    若不满足,则响应于第二应用或服务满足所述预设条件,按照第三预设策略对所述第二应用或服务进行处理。If not, in response to the second application or service meeting the preset condition, the second application or service is processed according to a third preset policy.
  11. 如权利要求1所述的方法,其特征在于,所述S1的步骤之后包括:The method according to claim 1, characterized in that, after the step of S1, comprising:
    若所述至少两个应用或服务都不符合预设条件,则从服务器获取满足所述预设条件的目标应用或服务;If the at least two applications or services do not meet the preset conditions, obtaining a target application or service that meets the preset conditions from the server;
    基于所述目标应用或服务对所述至少两个应用或服务进行处理;或processing the at least two applications or services based on the target application or service; or
    响应于待处理信息,基于所述目标应用或服务对所述待处理信息进行处理。In response to the information to be processed, the information to be processed is processed based on the target application or service.
  12. 如权利要求1所述的方法,其特征在于,所述S1的步骤之后包括:The method according to claim 1, characterized in that, after the step of S1, comprising:
    若所述至少两个应用或服务都符合预设条件,则获取所述至少两个应用或服务的处理能力信息;If the at least two applications or services meet preset conditions, acquiring processing capability information of the at least two applications or services;
    基于所述至少两个应用的处理能力信息对第一应用或服务,和/或第二应用或服务进行处理。The first application or service, and/or the second application or service are processed based on the processing capability information of the at least two applications.
  13. 一种处理方法,其特征在于,应用于处理设备,包括以下步骤:A processing method, characterized in that it is applied to processing equipment, comprising the following steps:
    S10:响应于第一应用或服务和第二应用和服务进行预设处理;S10: Perform preset processing in response to the first application or service and the second application or service;
    S20:响应于至少一应用或服务满足第一预设条件,输出至少一提示信息;S20: Output at least one prompt message in response to at least one application or service satisfying a first preset condition;
    S30:响应于预设操作和/或预设策略对所述第一应用或服务和/或所述第二应用或服务进行处理。S30: Process the first application or service and/or the second application or service in response to a preset operation and/or a preset policy.
  14. 如权利要求13所述的方法,其特征在于,所述第一预设条件,包括以下至少一种:The method according to claim 13, wherein the first preset condition comprises at least one of the following:
    处于预设场景;in the preset scene;
    处于预设模式;in default mode;
    处于预设状态;in default state;
    具有预设权限;have default permissions;
    支持与用户进行交互;Support interaction with users;
    支持待处理信息所要实现的功能;Support the functions to be realized by the information to be processed;
    支持与其它应用或服务进行交互;Support interaction with other applications or services;
    处于与待处理信息关联的场景和/或模式;Be in the context and/or mode associated with the information to be processed;
    位于所述处理设备上,且所述处理设备是控制中心或服务器。Located on the processing device, and the processing device is a control center or a server.
  15. 如权利要求13所述的方法,其特征在于,在第一应用或服务满足预设条件时,所述S30的步骤包括:The method according to claim 13, wherein when the first application or service satisfies a preset condition, the step of S30 comprises:
    S301:响应于预设操作,和/或,关联设备满足第二预设条件,基于所述第一应用或服务对关联设备中的至少一第二应用或服务进行处理,和/或输出响应结果,所述响应结果由所述第二应用或服务进行处理后得到。S301: In response to a preset operation, and/or, the associated device satisfies a second preset condition, process at least one second application or service in the associated device based on the first application or service, and/or output a response result , the response result is obtained after being processed by the second application or service.
  16. 如权利要求15所述的方法,其特征在于,所述第二预设条件,包括以下至少一种:具有第二应用或服务;The method according to claim 15, wherein the second preset condition includes at least one of the following: having a second application or service;
    允许接受处理设备的控制;Allow to receive control of processing equipment;
    具有预设功能,和/或模式,和/或权限。Have preset functions, and/or modes, and/or permissions.
  17. 如权利要求15所述的方法,其特征在于,基于所述第一应用或服务对关联设备中的至少一第二应用或服务进行处理,包括以下至少一种:The method according to claim 15, wherein processing at least one second application or service in the associated device based on the first application or service includes at least one of the following:
    响应于所述第一应用或服务的处理请求,所述第二应用或服务处理待处理信息中的全部信息;In response to the processing request of the first application or service, the second application or service processes all information in the information to be processed;
    响应于所述第一应用或服务的处理请求,所述第二应用或服务处理所述待处理信息中的部分信息。In response to the processing request of the first application or service, the second application or service processes part of the information to be processed.
  18. 如权利要求13所述的方法,其特征在于,所述S30的步骤包括以下至少一种:The method according to claim 13, wherein the step of S30 comprises at least one of the following:
    将所述第一应用或服务和/或第二应用或服务转为后台运行状态;turning the first application or service and/or the second application or service into a background running state;
    将所述第一应用或服务和/或第二应用或服务转为后台冻结状态;Turning the first application or service and/or the second application or service into a background freezing state;
    将所述第一应用或服务和/或第二应用或服务转为休眠状态;putting the first application or service and/or the second application or service into a dormant state;
    将所述第一应用或服务和/或第二应用或服务转为关闭状态;turning the first application or service and/or the second application or service into a closed state;
    将所述第一应用或服务和/或第二应用或服务卸载;uninstalling the first application or service and/or the second application or service;
    将所述第一应用或服务和/或第二应用或服务转移。Transferring the first application or service and/or the second application or service.
  19. 如权利要求13所述的方法,其特征在于,所述S30的步骤包括:The method according to claim 13, wherein the step of S30 comprises:
    若所述第一应用或服务满足所述第一预设条件,则根据第一预设策略对所述第一应用或服务进行处理;和/或,If the first application or service satisfies the first preset condition, then process the first application or service according to a first preset strategy; and/or,
    若所述第一应用或服务不满足所述第一预设条件,则根据第二预设策略对所述第二应用或服务进行处理。If the first application or service does not satisfy the first preset condition, the second application or service is processed according to a second preset policy.
  20. 如权利要求13至19中任一项所述的方法,其特征在于,所述S10的步骤之前包括:响应于预设触发事件,检测至少两个应用或服务进行预设处理。The method according to any one of claims 13 to 19, characterized in that before the step of S10, it comprises: in response to a preset trigger event, detecting at least two applications or services for preset processing.
  21. 如权利要求20所述的方法,其特征在于,所述预设触发事件包括以下至少一种:The method according to claim 20, wherein the preset trigger event includes at least one of the following:
    当前时间满足预设时间;The current time meets the preset time;
    预设功能程序被启动或唤醒;The preset function program is activated or awakened;
    当前定位处于预设范围;The current positioning is within the preset range;
    当前功耗大于或等于预设功耗;The current power consumption is greater than or equal to the preset power consumption;
    当前网络状态满足预设网络条件;The current network status meets the preset network conditions;
    当前环境满足预设环境条件;The current environment meets the preset environmental conditions;
    人机交互中出现关键信息。Key information emerges in human-computer interaction.
  22. 如权利要求13所述的方法,其特征在于,所述S20的步骤之后包括:The method according to claim 13, characterized in that, after the step of S20, comprising:
    若所述第一应用或服务符合第一预设条件,则输出对于处理第一应用或服务的提示信息;和/或,若所述第一应用或服务不符合第一预设条件,则输出对于处理第二应用或服务的提示信息;If the first application or service meets the first preset condition, output prompt information for processing the first application or service; and/or, if the first application or service does not meet the first preset condition, output Prompt information for processing the second application or service;
    响应于对应所述提示信息的选择操作,根据选择结果处理所述第一应用或服务;或,根据选择结果处理所述第二应用或服务。In response to the selection operation corresponding to the prompt information, the first application or service is processed according to the selection result; or, the second application or service is processed according to the selection result.
  23. 如权利要求13所述的方法,其特征在于,所述S30的步骤包括:The method according to claim 13, wherein the step of S30 comprises:
    根据第一预设操作和/或第一预设规则对所述第一应用或服务和所述第二应用或服务的功能和/或权限和/或界面进行处理,确定或生成同时具有至少两个应用或服务的功能和/或权限和/或界面的一个新应用或服务,并确定所述新应用或服务为预设应用或服务;The functions and/or permissions and/or interfaces of the first application or service and the second application or service are processed according to the first preset operation and/or the first preset rule, and it is determined or generated that at least two functions and/or permissions and/or interfaces of an application or service, and determine that the new application or service is a default application or service;
    在所述第一应用或服务和所述第二应用或服务中的任一应用或服务具有预设功能时,将所述第一应用或服务或所述第二应用或服务的功能和/或权限赋予给所述任一应用或服务,确定所述任一应用或服务为所述预设应用或服务。When any one of the first application or service and the second application or service has a preset function, the function of the first application or service or the second application or service and/or The authority is granted to any application or service, and the application or service is determined to be the preset application or service.
  24. 如权利要求23所述的方法,其特征在于,所述S30的步骤之后包括:The method according to claim 23, characterized in that, after the step of S30, comprising:
    响应于待处理信息,基于所述预设应用或服务对所述待处理信息进行处理。In response to the information to be processed, the information to be processed is processed based on the preset application or service.
  25. 一种处理方法,其特征在于,应用于处理设备,包括以下步骤:A processing method, characterized in that it is applied to processing equipment, comprising the following steps:
    S100:响应于第一应用或服务进行预设处理,向关联设备输出第一提示信息,所述进行预设处理包括以下至少一种:启动、唤醒、运行、恢复、同时接收待处理信息;S100: In response to the first application or service performing preset processing, outputting first prompt information to the associated device, the preset processing includes at least one of the following: starting, waking up, running, recovering, and simultaneously receiving information to be processed;
    S200:根据所述关联设备的反馈信息,按照预设策略和/或预设操作进行处理,所述反馈信息由所述关联设备根据进行预设处理的第二应用或服务处理得到。S200: Perform processing according to preset policies and/or preset operations according to feedback information of the associated device, where the feedback information is obtained by the associated device according to a second application or service that performs preset processing.
  26. 如权利要求25所述的方法,其特征在于,所述S100的步骤包括:The method according to claim 25, wherein the step of S100 comprises:
    响应于第一应用或服务进行预设处理,和/或关联的第二应用或服务进行预设处理,响应于获取的操作满足预设条件,和/或至少一关联设备满足预设条件,输出至少一状态管理请求,以使得所述关联设备进行预设处理。In response to the first application or service performing preset processing, and/or the associated second application or service performing preset processing, in response to the acquired operation meeting the preset condition, and/or at least one associated device meeting the preset condition, outputting At least one state management request, so that the associated device performs preset processing.
  27. 如权利要求25所述的方法,其特征在于,所述S200的步骤包括:The method according to claim 25, wherein the step of S200 comprises:
    根据所述关联设备的反馈信息,按照预设策略和/或预设操作进行处理,所述反馈信息由所述关联设备根据进行预设处理的第二应用或服务处理得到。According to the feedback information of the associated device, processing is performed according to a preset strategy and/or a preset operation, and the feedback information is obtained by the associated device according to a second application or service that performs preset processing.
  28. 如权利要求27所述的方法,其特征在于,所述按照预设策略和/或预设操作进行处理包括以下至少一种:The method according to claim 27, wherein the processing according to preset policies and/or preset operations includes at least one of the following:
    将所述第一应用或服务和/或第二应用或服务转为后台运行状态;turning the first application or service and/or the second application or service into a background running state;
    将所述第一应用或服务和/或第二应用或服务转为后台冻结状态;Turning the first application or service and/or the second application or service into a background freezing state;
    将所述第一应用或服务和/或第二应用或服务转为休眠状态;putting the first application or service and/or the second application or service into a dormant state;
    将所述第一应用或服务和/或第二应用或服务转为关闭状态;turning the first application or service and/or the second application or service into a closed state;
    将所述第一应用或服务和/或第二应用或服务卸载;uninstalling the first application or service and/or the second application or service;
    将所述第一应用或服务和/或第二应用或服务转移。Transferring the first application or service and/or the second application or service.
  29. 如权利要求28所述的方法,其特征在于,所述S200的步骤包括:The method according to claim 28, wherein the step of S200 comprises:
    若所述第一应用或服务符合第一预设条件,则输出对于处理所述第一应用或服务的第二提示信息;和/或,若所述第二应用或服务不符合第二预设条件,则输出对于处理所述第二应用或服务的第三提示信息。If the first application or service meets the first preset condition, outputting a second prompt message for processing the first application or service; and/or, if the second application or service does not meet the second preset condition condition, output third prompt information for processing the second application or service.
  30. 如权利要求29所述的方法,其特征在于,在执行所述若所述第一应用或服务符合第一预设条件,则输出对于处理所述第一应用或服务的第二提示信息;和/或,若所述第二应用或服务不符合第二预设条件,则输出对于处理所述第二应用或服务的第三提示信息的步骤中包括:The method according to claim 29, characterized in that if the first application or service meets the first preset condition during execution, outputting a second prompt message for processing the first application or service; and /Or, if the second application or service does not meet the second preset condition, the step of outputting a third prompt message for processing the second application or service includes:
    响应于对应所述第二提示信息和/或第三提示信息的选择操作,根据选择结果处理所述第一应用或服务和/或所述第二应用或服务。In response to a selection operation corresponding to the second prompt information and/or the third prompt information, the first application or service and/or the second application or service are processed according to a selection result.
  31. 一种处理方法,其特征在于,应用于关联设备,包括以下步骤:A processing method, characterized in that it is applied to an associated device, comprising the following steps:
    T1:响应于处理设备对于第一应用或服务进行预设处理发送的第一提示信息,处理进行预设处理的第二应用或服务;T1: In response to the first prompt information sent by the processing device to perform preset processing on the first application or service, process the second application or service that performs preset processing;
    T2:根据对所述第二应用或服务的处理结果,发送反馈信息至所述处理设备,以使所述处理设备按照预设策略和/或预设操作进行处理。T2: Send feedback information to the processing device according to the processing result of the second application or service, so that the processing device performs processing according to a preset policy and/or a preset operation.
  32. 如权利要求31所述的方法,其特征在于,所述T1的步骤包括:The method according to claim 31, wherein the step of T1 comprises:
    响应于所述处理设备发送的至少一状态管理请求,处理进行预设处理的第二应用或服务;所述状态管理请求由所述处理设备响应于第一应用或服务进行预设处理,和/或关联的第二应用或服务进行预设处理,在获取的操作满足预设条件,和/或至少一关联设备满足预设条件时输出。processing a second application or service for preset processing in response to at least one status management request sent by the processing device; the status management request is preset for processing by the processing device in response to the first application or service, and/or Or the associated second application or service performs preset processing, and outputs when the acquired operation satisfies the preset condition, and/or at least one associated device satisfies the preset condition.
  33. 如权利要求31所述的方法,其特征在于,所述以使所述处理设备按照预设策略和/或预设操作进行处理包括以下至少一种:The method according to claim 31, wherein the making the processing device perform processing according to preset policies and/or preset operations includes at least one of the following:
    所述处理设备将所述第一应用或服务和/或第二应用或服务转为后台运行状态;The processing device turns the first application or service and/or the second application or service into a background running state;
    所述处理设备将所述第一应用或服务和/或第二应用或服务转为后台冻结状态;The processing device turns the first application or service and/or the second application or service into a background frozen state;
    所述处理设备将所述第一应用或服务和/或第二应用或服务转为休眠状态;the processing device puts the first application or service and/or the second application or service into a sleep state;
    所述处理设备将所述第一应用或服务和/或第二应用或服务转为关闭状态;The processing device turns the first application or service and/or the second application or service into a closed state;
    所述处理设备将所述第一应用或服务和/或第二应用或服务卸载;The processing device uninstalls the first application or service and/or the second application or service;
    所述处理设备将所述第一应用或服务和/或第二应用或服务转移。The processing device transfers the first application or service and/or the second application or service.
  34. 如权利要求31至33中任一项所述的方法,其特征在于,所述T2的步骤包括:The method according to any one of claims 31 to 33, wherein the step of T2 comprises:
    若所述第一应用或服务符合第一预设条件,则使所述处理设备输出对于处理所述第一应用或服务的第二提示信息;和/或,若所述第二应用或服务不符合第二预设条件,则使所述处理设备输出对于处理所述第二应用或服务的第三提示信息。If the first application or service meets the first preset condition, causing the processing device to output second prompt information for processing the first application or service; and/or, if the second application or service does not If the second preset condition is met, the processing device is made to output third prompt information for processing the second application or service.
  35. 一种设备,其中,所述设备包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的快捷搜索程序,所述处理程序被所述处理器执行时实现如权利要求1所述的处理方法的步骤。A device, wherein the device includes: a memory, a processor, and a quick search program stored in the memory and operable on the processor, when the processing program is executed by the processor, the The steps of the treatment method described in claim 1.
  36. 一种存储介质,其中,所述存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现如权利要求1所述的处理方法的步骤。A storage medium, wherein a computer program is stored on the storage medium, and when the computer program is executed by a processor, the steps of the processing method according to claim 1 are implemented.
PCT/CN2022/094171 2021-07-07 2022-05-20 Processing method and device, and storage medium WO2023279864A1 (en)

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
CN202110768366.3 2021-07-07
CN202110768366.3A CN113220373B (en) 2021-07-07 2021-07-07 Processing method, apparatus and storage medium
CN202110800277.2 2021-07-15
CN202110800277.2A CN113254109B (en) 2021-07-15 2021-07-15 Application or service processing method and device and readable storage medium

Publications (1)

Publication Number Publication Date
WO2023279864A1 true WO2023279864A1 (en) 2023-01-12

Family

ID=84800330

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/094171 WO2023279864A1 (en) 2021-07-07 2022-05-20 Processing method and device, and storage medium

Country Status (1)

Country Link
WO (1) WO2023279864A1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110718218A (en) * 2019-09-12 2020-01-21 百度在线网络技术(北京)有限公司 Voice processing method, device, equipment and computer storage medium
CN111309857A (en) * 2020-01-20 2020-06-19 联想(北京)有限公司 Processing method and processing device
US10985970B1 (en) * 2019-10-18 2021-04-20 Splunk Inc. Automatic actionable event responder for operational clusters
CN113220373A (en) * 2021-07-07 2021-08-06 深圳传音控股股份有限公司 Processing method, apparatus and storage medium
CN113254109A (en) * 2021-07-15 2021-08-13 深圳传音控股股份有限公司 Application or service processing method, device and readable storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110718218A (en) * 2019-09-12 2020-01-21 百度在线网络技术(北京)有限公司 Voice processing method, device, equipment and computer storage medium
US10985970B1 (en) * 2019-10-18 2021-04-20 Splunk Inc. Automatic actionable event responder for operational clusters
CN111309857A (en) * 2020-01-20 2020-06-19 联想(北京)有限公司 Processing method and processing device
CN113220373A (en) * 2021-07-07 2021-08-06 深圳传音控股股份有限公司 Processing method, apparatus and storage medium
CN113254109A (en) * 2021-07-15 2021-08-13 深圳传音控股股份有限公司 Application or service processing method, device and readable storage medium

Similar Documents

Publication Publication Date Title
WO2019192598A1 (en) Data transmission method and apparatus, storage medium and electronic device
WO2021063343A1 (en) Voice interaction method and device
WO2021036714A1 (en) Voice-controlled split-screen display method and electronic device
CN113114847B (en) Application or service processing method, device and storage medium
WO2023273649A1 (en) Processing method, device, and storage medium
US9201814B2 (en) Electronic devices and methods for sharing peripheral devices in dual operating systems
US9921735B2 (en) Apparatuses and methods for inputting a uniform resource locator
WO2022262434A1 (en) Power optimization method and electronic device
CN114371803B (en) Operation method, intelligent terminal and storage medium
CN112822763B (en) Electronic price tag dynamic awakening method, electronic price tag dynamic awakening equipment and computer storage medium
CN112230877A (en) Voice operation method and device, storage medium and electronic equipment
CN103279272A (en) Method and device for starting application program in electronic device
CN113220373B (en) Processing method, apparatus and storage medium
US20240095335A1 (en) Processing method, device, and storage medium
US20240098137A1 (en) Information processing method, device, and storage medium
CN113254088A (en) Functional program awakening method, terminal and storage medium
CN113254109B (en) Application or service processing method and device and readable storage medium
WO2023279864A1 (en) Processing method and device, and storage medium
US20230216702A1 (en) Processing method, device and storage medium
CN113254092B (en) Processing method, apparatus and storage medium
WO2022156572A1 (en) Control method, control apparatus, and electronic device
WO2015067206A1 (en) File searching method and terminal
WO2022267430A1 (en) Screen capture interaction method, and mobile terminal and storage medium
WO2022226700A1 (en) Control method, mobile terminal, and storage medium
WO2022262298A1 (en) Application or service processing method, device, and storage medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22836620

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE