CN112783593B - Information processing method, information processing device, electronic equipment and storage medium - Google Patents

Information processing method, information processing device, electronic equipment and storage medium Download PDF

Info

Publication number
CN112783593B
CN112783593B CN202110118820.0A CN202110118820A CN112783593B CN 112783593 B CN112783593 B CN 112783593B CN 202110118820 A CN202110118820 A CN 202110118820A CN 112783593 B CN112783593 B CN 112783593B
Authority
CN
China
Prior art keywords
target
application program
display mode
target application
function
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110118820.0A
Other languages
Chinese (zh)
Other versions
CN112783593A (en
Inventor
程涛
史晓岩
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN202110118820.0A priority Critical patent/CN112783593B/en
Publication of CN112783593A publication Critical patent/CN112783593A/en
Application granted granted Critical
Publication of CN112783593B publication Critical patent/CN112783593B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/541Interprogram communication via adapters, e.g. between incompatible applications
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/54Indexing scheme relating to G06F9/54
    • G06F2209/545Gui

Abstract

The embodiment of the application discloses an information processing method, an information processing device, electronic equipment and a storage medium, wherein when the electronic equipment is in a target display mode and a target application program is started, whether a target function of the target application program is matched with the target display mode is judged; if the system is adapted, enabling the target function of the target application program, thereby ensuring that the target function of the target application program can normally run under the condition of adapting the system; and if the target display mode is not matched, the target function of the target application program is disabled, so that the target application program is prevented from running under the condition that the target display mode is not matched, and the target application program is prevented from being abnormal. Based on the application, the normal operation of the target function of the target application program in the system adaptation process is not influenced, and the abnormal condition of the target application program caused by the fact that the target application program operates under the condition that the system is not adapted is avoided.

Description

Information processing method, information processing device, electronic equipment and storage medium
Technical Field
The present application relates to the field of information processing technologies, and in particular, to an information processing method and apparatus, an electronic device, and a storage medium.
Background
With the intelligent development of portable electronic devices (e.g., mobile phones, tablet computers, etc.), more and more portable electronic devices can support multiple display modes, such as a full screen mode, a multi-window display mode (i.e., multiple windows can be displayed simultaneously as a computer), a split screen mode, and the like.
However, for any application, the current system of the portable electronic device only supports a specific version of the application in some display modes (such as a multi-window display mode, a split-screen mode, etc.), and once the version of the application is upgraded, the application may have an abnormal situation, such as a program crash, in some cases when the application is run in the display modes. If the system of the portable electronic device is upgraded, since the upgraded system can only support the upgraded version of the application program, and the versions of the same application program in different portable electronic devices may be different, there may be some cases where the application program is abnormal when the lower version of the application program is run in the display modes after the system of the portable electronic device is upgraded.
Therefore, how to avoid the abnormal situation of the application program in each display mode becomes a technical problem to be solved urgently.
Disclosure of Invention
The application aims to provide an information processing method, an information processing device, an electronic device and a storage medium, and the method comprises the following technical scheme:
an information processing method applied to an electronic device, the method comprising:
under a target display mode, starting a target application program, and judging whether a target function of the target application program is matched with the target display mode;
and enabling the target function of the target application program under the condition that the judgment result is adaptive, otherwise, disabling the target function of the target application program.
In the above method, preferably, the determining whether the target function of the target application program is adapted to the target display mode includes:
judging whether the target function of the target application program is matched with the target display mode or not according to a preset matching relation;
the adaptation relation represents whether the target function of each application program in the electronic equipment is adapted to the target display mode or not; the target functions of different applications may be the same or different.
Preferably, the above method, determining whether the target function of the target application program is adapted to the target display mode according to a preset adaptation relationship includes:
judging whether the target function of the target application program is matched with the target display mode or not according to the locally stored matching relation; alternatively, the first and second electrodes may be,
judging whether the target function of the target application program is matched with the target display mode or not according to the matching relation stored by the server; alternatively, the first and second electrodes may be,
and judging whether the target function of the target application program is matched with the target display mode or not according to the locally stored matching relation and the matching relation stored by the server.
The above method, preferably, when the adaptation relationship is locally stored, further includes:
receiving an updated adaptation relation sent by a server;
and the updated adaptation relation is sent by the server after receiving the query request of the electronic equipment, or the updated adaptation relation is sent by the server after monitoring that the adaptation relation is updated.
In the method, preferably, the electronic device sends a query request to the server according to a preset period corresponding to the electronic device;
the preset periods corresponding to different electronic devices are the same or different.
In the method, preferably, the preset period corresponding to the electronic device is randomly determined when the electronic device enters the target display mode.
Preferably, the method for disabling the target function of the target application includes:
prohibiting display of interaction information associated with the target function of the target application; alternatively, the first and second electrodes may be,
and prohibiting an input operation of triggering a target function of the target application program in response to an operation body.
An information processing apparatus applied to an electronic device, the apparatus comprising:
the judging module is used for starting a target application program in a target display mode and judging whether a target function of the target application program is matched with the target display mode or not;
and the processing module is used for enabling the target function of the target application program under the condition that the judgment result is adaptive, and otherwise, forbidding the target function of the target application program.
An electronic device, comprising:
a memory for storing a program;
and the processor is used for calling and executing the program in the memory, and realizing the steps of the information processing method according to any one of the above items by executing the program.
A readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the information processing method as described in any one of the above.
According to the scheme, the information processing method, the information processing device, the electronic equipment and the storage medium provided by the application judge whether the target function of the target application is matched with the target display mode or not when the target application is started under the target display mode of the electronic equipment; if the system is adapted, enabling the target function of the target application program, thereby ensuring that the target function of the target application program can normally run under the condition of adapting the system; and if the target display mode is not matched, the target function of the target application program is forbidden, so that the target application program is prevented from running under the condition that the target display mode is not matched, and the target application program is prevented from being abnormal. Based on the application, the normal operation of the target function of the target application program in the system adaptation process is not influenced, and the target application program is prevented from being abnormal due to the fact that the target application program operates under the condition that the system is not adapted.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on the drawings without creative efforts.
Fig. 1 is a flowchart of an implementation of an information processing method according to an embodiment of the present application;
fig. 2a is an exemplary diagram of an electronic device dividing a screen into two parts, where two windows of an application program are displayed in the divided screen;
fig. 2b is an exemplary diagram of an electronic device supporting a pd mode according to an embodiment of the present application;
fig. 2c is a diagram illustrating an example of an electronic device supporting a window free control mode according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of an information processing apparatus according to an embodiment of the present application;
fig. 4 is a block diagram of a hardware structure of an electronic device according to an embodiment of the present disclosure.
The terms "first," "second," "third," "fourth," and the like in the description and in the claims, as well as in the drawings described above, if any, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It should be understood that the data so used may be interchanged under appropriate circumstances such that embodiments of the application described herein may be implemented in other sequences than those illustrated.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without inventive step, are within the scope of the present disclosure.
The information processing method provided by the embodiment of the application can be used in the electronic equipment, and the information processing method can be arranged in the electronic equipment as a service in an operating system of the electronic equipment, and the electronic equipment is provided with the application program.
As shown in fig. 1, an implementation flowchart of an information processing method provided in an embodiment of the present application may include:
step S101: and under the target display mode, starting the target application program, and judging whether the target function of the target application program is matched with the target display mode.
The target display mode of the electronic device may be any one of the following:
1. a split screen display mode: the electronic equipment supports split screen display windows, namely, a screen is divided into N (N is an integer larger than 1), and windows of N application programs are displayed at the same time. The display mode of the window of the target application program indicated by the target display mode is as follows: and displaying in a partial area of the screen of the electronic device, namely displaying the window of the target application program only in the partial area of the screen of the electronic device. As shown in fig. 2a, an exemplary view of a screen of an electronic device provided in an embodiment of the present application is divided into two, and windows of two applications are displayed in a split screen manner.
2. Picture-in-picture mode: the mode is mainly directed to a video playing window, and in the mode, the video playing window is always displayed in a small window at the topmost layer, and other functions of the electronic device, such as chatting through an instant messaging tool, can be used at the same time. The display mode of the window of the target application program indicated by the target display mode is as follows: and the windows of the target application are displayed in a picture-in-picture mode, namely, the windows of the target application are only displayed on the top layer in a small window mode. As shown in fig. 2b, an exemplary diagram of an electronic device supporting a picture-in-picture mode is provided for the embodiment of the present application.
3. Free control mode: in this mode, the window of the application program can be freely dragged and resized by the user, and the like, similar to a common windows operating system. The display mode of the window of the target application program indicated by the target display mode is as follows: the display is in a window free control mode, i.e., the window of the target application program can be displayed in a preset size, and the window can be dragged and/or the size of the window can be changed in response to a user operation. As shown in fig. 2c, an exemplary diagram for supporting a window free control mode for an electronic device according to an embodiment of the present application is provided.
In any of the above modes, in response to a maximum operation of an operation body (such as a finger of a user, a mouse, or the like) with respect to a window of a target application, the window of the target application may be displayed in a full screen.
In addition to the above-mentioned several window display modes, when the electronic device is in the non-target display mode, the display mode of the window of the target application program is usually a full-screen display mode.
The target application may be any application in the electronic device. The target application program starting can be cold starting, hot starting or switching from background running to foreground running.
Alternatively, the target function of the target application may be any function provided by the target application.
Alternatively, if it can be determined that some functions provided by the target application program do not generate an incompatibility problem in the target display mode, in this embodiment of the application, the target function of the target application program may also be a function provided by the target application program that may generate an incompatibility problem in the target display mode of the electronic device, for example, the target function of the target application program may include, but is not limited to, any one of the following: resizing windows, popping windows, maximizing windows via a maximize button, etc.
The problem that the function of the target application (for convenience of description, denoted as function a) is incompatible in the target display mode of the electronic device means that the target application is abnormal in the process of implementing the function a in the target display mode of the electronic device, for example, after the electronic device obtains an instruction for triggering the function a, the target application does not implement the function a but exits the target application, or does not respond.
The purpose of judging whether the target function of the target application program is matched with the target display mode is to judge whether the target application program generates an exception when the target function is realized in the target display mode of the electronic equipment.
Step S102: and enabling the target function of the target application program under the condition that the judgment result is adaptive, otherwise, disabling the target function of the target application program.
If the result of the judgment is adaptive, which indicates that the target application program does not generate an abnormality when the target application program realizes the target function in the target display mode of the electronic device, the target application program may be allowed to realize the target function, and if the result of the judgment is not adaptive, which indicates that the target application program generates an abnormality when the target application program realizes the target function in the target display mode of the electronic device, the target application program is not allowed to realize the target function.
A state flag may be set for a target function of a target application to set a value of the state flag to indicate whether to enable or disable the target function of the target application. For example, if the value of the state identifier corresponding to the target function (for convenience of description, denoted as target function B) of the target application is a first value, it indicates that the target function B of the target application is enabled, and if the value of the state identifier corresponding to the target function B of the target application is a second value, it indicates that the target function B of the target application is disabled.
After the target function of the target application is disabled, the target application does not perform an operation to achieve the target function.
According to the information processing method provided by the embodiment of the application, when the electronic equipment is in the target display mode and the target application program is started, whether the target function of the target application program is matched with the target display mode is judged; if the system is adapted, enabling the target function of the target application program, thereby ensuring that the target function of the target application program can normally run under the condition of adapting the system; and if the target display mode is not matched, the target function of the target application program is disabled, so that the target application program is prevented from running under the condition that the target display mode is not matched, and the target application program is prevented from being abnormal. In this way, no matter which version the application program is, the situation that the running abnormity occurs because the target display mode is not matched does not occur. Therefore, based on the application, the normal operation of the target function of the target application program in the system adaptation process is not influenced, and the target application program is prevented from being abnormal due to the fact that the target application program operates under the condition that the system is not adapted.
In an optional embodiment, one implementation manner of the foregoing determining whether the target function of the target application program is adapted to the target display mode may be:
and judging whether the target function of the target application program is matched with the target display mode or not according to the preset matching relation.
The adaptation relation represents whether the target function and the target display mode of each application program in the electronic equipment are adapted or not; the target functions of different applications may be the same or different.
That is to say, whether the target function of the target application program matches the target display mode is preset, and the preset adaptation relationship may be stored locally in the electronic device, or in the network server, or both the electronic device and the network server store the adaptation relationship.
The adaptation relation stored in the electronic device may be issued to the electronic device by the network server.
In an alternative embodiment, the adaptation relation only represents functions, which are not adapted to the target display mode, in each application program in the electronic device.
In an optional embodiment, one implementation manner of determining whether the target function of the target application program and the target display mode are adapted according to the preset adaptation relationship may be:
under the condition that the electronic device locally stores the adaptation relation, whether the target function of the target application program is adapted to the target display mode or not can be judged according to the locally stored adaptation relation.
Alternatively, the first and second electrodes may be,
and under the condition that the electronic equipment does not locally store the adaptation relation, judging whether the target function of the target application program is adapted to the target display mode or not according to the adaptation relation stored by the server. At this time, the electronic device may send an inquiry request to the server, where the inquiry request carries information such as the identification and version number of the target application program, the identification of the target function of the target application program, and the like, and the server searches for a corresponding result of whether to adapt in the adaptation relationship according to the identification and version number of the target application program, and the identification of the target function of the target application program, and returns the searched adaptation result to the electronic device.
Alternatively, the first and second electrodes may be,
and judging whether the target function of the target application program is matched with the target display mode or not according to the locally stored matching relation and the matching relation stored by the server.
Optionally, a query request may be sent to the server to query whether the adaptation relationship of the server side is updated, and if so, whether the target function of the target application program is adapted to the target display mode is determined according to the adaptation relationship stored in the server. And if not, judging whether the target function of the target application program is matched with the target display mode or not according to the matching relation locally stored in the electronic equipment.
In the embodiment of the application, the query request can be sent to the server when the target application program is started.
In an optional embodiment, in a case that the electronic device locally stores the adaptation relationship, the information processing method provided in the embodiment of the present application may further include:
and receiving the updated adaptation relation sent by the server.
The updated adaptation relation is sent by the server after receiving the query request of the electronic device, or the updated adaptation relation is sent by the server after monitoring that the adaptation relation is updated.
Along with the update of the version of the application program, the adaptation relationship may also change, for example, the 1 st function of the 1 st version of the target application program is not adapted to the target display mode of the electronic device, but when the target application is upgraded from version 1 to version 2 by the target application provider, the 1 st function is optimized, so that the 1 st function of the 2 nd version target application program is matched with the target display mode of the electronic equipment, therefore, the adaptation relationship needs to be updated, and the adaptation relationship between at least part of the functions of the version 2 target application and the target display mode of the electronic device needs to be increased, for example, only the adaptation relationship between the functions of the version 2 target application that are not adapted to the target display mode of the electronic device and the target display mode needs to be increased, or adding the adaptation relation of all functions in the target application program of the 2 nd version and the target display mode.
In addition, when a new application program is launched, in order to avoid the situation that the new application program has abnormal operation because the new application program is not adapted to the target display mode, the adaptation relationship can also be updated, that is, the adaptation relationship between at least part of functions of the newly launched application program and the target display mode of the electronic device is increased.
Optionally, after the target application program has a new version, the developer of the target application program may upload the adaptation relationship between at least part of functions of the target application program of the new version and the target display mode of the electronic device to the server, and after the server receives the adaptation relationship between at least part of functions of the target application program of the new version and the target display mode of the electronic device, the server updates the adaptation relationship locally stored in the server, that is, increases the adaptation relationship between at least part of functions of the target application program of the new version and the target display mode of the electronic device.
In addition, under the condition that the version of the target application program is not changed, the developer of the target application program may only perform some repairs on the target application program, if the repairs on the target application program change the adaptation relationship between the target function of the target application program and the target display mode of the electronic device, the developer of the target application program may also upload the adaptation relationship between at least part of the functions of the repaired target application program and the target display mode of the electronic device to the server, and after receiving the adaptation relationship between at least part of the functions of the repaired target application program and the target display mode of the electronic device, the server updates the adaptation relationship corresponding to the target application program, and may update all the adaptation relationships or only update the changed adaptation relationship.
The inventor of the present application finds that, at present, for any application program (which may be a newly launched application program or a new version of an existing application program) that may be installed in an electronic device, the application program is determined to be pushed to the electronic device, and then is generally not pushed to the electronic device immediately, but is pushed to the electronic device after a period of time from the time when the application program is determined to be pushed to the electronic device, for example, a version update prompt of the application program a in the electronic device is generally pushed to the electronic device after 1 month after a developer determines the new version of the application program a, that is, the electronic device generally knows that the application program a has a new version after 1 month after the developer determines the new version of the application program a. Therefore, the server can obtain the adaptive relation between the functions of the application program and the target display mode of the electronic device before the application program is pushed to the electronic device.
In an alternative embodiment, the electronic device may send a query request to the server after monitoring an update notification for the target application. Wherein the update notification characterizes that the version of the target application is upgraded, or that the target application is repaired by a patch.
In an optional embodiment, the electronic device may also send a query request to the server according to a preset period corresponding to the electronic device; the preset periods corresponding to different electronic devices are the same or different.
That is to say, in the embodiment of the present application, the periods of sending the query requests to the server by different electronic devices are not completely the same, but are different to a certain extent, so that it is possible to avoid that a large number of electronic devices send query requests to the server at the same time, which causes too much server pressure, and query efficiency is improved.
In an optional embodiment, the preset period corresponding to the electronic device is randomly determined when the electronic device enters the target display mode. That is to say, when the electronic device enters the target display mode, the period for sending the query request to the server is randomly determined, so that it is ensured that the preset periods corresponding to at least part of the electronic devices are different.
In an optional embodiment, the disabling the target function of the target application may include:
display of interaction information associated with a target functionality of the target application is inhibited. For example, if the target function to disable is a function that maximizes a window of an application, the implementation of disabling the window maximization function may be to not display a maximize button. For another example, if the disabled target function is to pop up a message prompt box (e.g., a message prompt box of "send successful" popped up when the message is successfully sent, a message prompt box of "pay successful" popped up when the payment is successful, etc.), the interaction information that is prohibited from being displayed and associated with the target function of the target application may be to not pop up a message prompt box (e.g., a message prompt box of "send successful" is not popped up, a message prompt box of "pay successful" is not popped up, etc.).
Alternatively, the first and second electrodes may be,
an input operation for triggering a target function of a target application in response to an operation body (e.g., a finger of a user, or a stylus pen, etc.) is prohibited. In this embodiment, the interface for inputting the target function of the trigger target application may be continuously displayed, and the user may see the interface, but when the user performs a preset input operation on the interface, the interface does not respond to the input operation, thereby achieving the purpose of disabling the target function of the target application.
Corresponding to the method embodiment, an embodiment of the present application further provides an information processing apparatus, and a schematic structural diagram of the information processing apparatus provided in the embodiment of the present application is shown in fig. 3, and the information processing apparatus may include:
a judging module 301 and a processing module 302; wherein, the first and the second end of the pipe are connected with each other,
the judging module 301 is configured to start a target application program in a target display mode, and judge whether a target function of the target application program is adapted to the target display mode;
the processing module 302 is configured to enable the target function of the target application program if the determination result is the adaptation, and otherwise, disable the target function of the target application program.
The information processing device provided by the embodiment of the application judges whether the target function of the target application program is matched with the target display mode or not when the target application program is started under the target display mode of the electronic equipment; if the system is adapted, enabling the target function of the target application program, thereby ensuring that the target function of the target application program can normally run under the condition of adapting the system; and if the target display mode is not matched, the target function of the target application program is disabled, so that the target application program is prevented from running under the condition that the target display mode is not matched, and the target application program is prevented from being abnormal. In this way, no matter which version the application program is, the situation that the running abnormity occurs because the target display mode is not matched does not occur. Therefore, based on the application, the normal operation of the target function of the target application program in the system adaptation process is not influenced, and the target application program is prevented from being abnormal due to the fact that the target application program operates under the condition that the system is not adapted.
In an optional embodiment, when the determining module 301 determines whether the target function of the target application program is suitable for the target display mode, it is specifically configured to:
judging whether the target function of the target application program is matched with the target display mode or not according to a preset matching relation;
the adaptation relation represents whether the target function of each application program in the electronic equipment is adapted to the target display mode or not; the target functions of different applications may be the same or different.
In an optional embodiment, when the determining module 301 determines, according to a preset adaptation relationship, whether a target function of the target application program is adapted to the target display mode, the determining module is specifically configured to:
judging whether the target function of the target application program is matched with the target display mode or not according to the locally stored matching relation; alternatively, the first and second liquid crystal display panels may be,
judging whether the target function of the target application program is matched with the target display mode or not according to the matching relation stored by the server; alternatively, the first and second electrodes may be,
and judging whether the target function of the target application program is matched with the target display mode or not according to the locally stored matching relation and the matching relation stored by the server.
In an optional embodiment, in the case of locally storing the adaptation relationship, the apparatus further includes:
the receiving module is used for receiving the updated adaptation relation sent by the server;
and the updated adaptation relation is sent by the server after receiving the query request of the electronic equipment, or the updated adaptation relation is sent by the server after monitoring that the adaptation relation is updated.
In an optional embodiment, the apparatus further comprises:
the sending module is used for sending a query request to the server according to a preset period corresponding to the electronic equipment;
the preset periods corresponding to different electronic devices are the same or different.
In an optional embodiment, the preset period corresponding to the electronic device is randomly determined when the electronic device enters the target display mode.
In an optional embodiment, when the processing module 302 disables the target function of the target application, it is specifically configured to:
prohibiting display of interaction information associated with the target function of the target application; alternatively, the first and second electrodes may be,
and prohibiting an input operation of triggering a target function of the target application program in response to an operation body.
Corresponding to the method embodiment, the application also provides an electronic device, such as a portable electronic device (mobile phone, PAD), a PC terminal, and the like. Optionally, fig. 4 shows a block diagram of a hardware structure of an electronic device provided in an embodiment of the present application, and referring to fig. 4, the hardware structure of the electronic device may include: at least one processor 1, at least one communication interface 2, at least one memory 3 and at least one communication bus 4;
in the embodiment of the application, the number of the processor 1, the communication interface 2, the memory 3 and the communication bus 4 is at least one, and the processor 1, the communication interface 2 and the memory 3 complete mutual communication through the communication bus 4;
the processor 1 may be a central processing unit CPU, or an application Specific Integrated circuit asic, or one or more Integrated circuits configured to implement embodiments of the present invention, etc.;
the memory 3 may include a high-speed RAM memory, and may further include a non-volatile memory (non-volatile memory) or the like, such as at least one disk memory;
wherein the memory stores a computer program, the processor can call the computer program stored in the memory, and the following steps are realized by executing the program:
under a target display mode, starting a target application program, and judging whether a target function of the target application program is matched with the target display mode;
and enabling the target function of the target application program under the condition that the judgment result is adaptive, otherwise, disabling the target function of the target application program.
Alternatively, the detailed function and the extended function of the program may be as described above.
Embodiments of the present application further provide a storage medium, where a computer program suitable for being executed by a processor may be stored, where the computer program is configured to:
under a target display mode, starting a target application program, and judging whether a target function of the target application program is matched with the target display mode;
and enabling the target function of the target application program under the condition that the judgment result is adaptive, otherwise, disabling the target function of the target application program.
Alternatively, the detailed function and the extended function of the program may be as described above.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
It should be understood that the technical problems can be solved by combining and combining the features of the embodiments from the claims.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solutions of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. An information processing method applied to an electronic device, the method comprising:
under a target display mode, starting a target application program, and judging whether a target function of the target application program is matched with the target display mode;
and if the judgment result is the adaptation, enabling the target function of the target application program, otherwise, forbidding the target function of the target application program to avoid the abnormity of the target application program in the process of realizing the target function in the target display mode.
2. The method of claim 1, wherein the determining whether the target function of the target application is adapted to the target display mode comprises:
judging whether the target function of the target application program is matched with the target display mode or not according to a preset matching relation;
the adaptation relation represents whether the target function of each application program in the electronic equipment is adapted to the target display mode or not; the target functions of different applications may be the same or different.
3. The method of claim 2, wherein the determining whether the target function of the target application is adapted to the target display mode according to a preset adaptation relationship comprises:
judging whether the target function of the target application program is matched with the target display mode or not according to the matching relation stored locally; alternatively, the first and second electrodes may be,
judging whether the target function of the target application program is matched with the target display mode or not according to the matching relation stored by the server; alternatively, the first and second electrodes may be,
and judging whether the target function of the target application program is matched with the target display mode or not according to the locally stored matching relation and the matching relation stored by the server.
4. The method of claim 3, in the case of locally storing the adaptation relationship, further comprising:
receiving an updated adaptation relation sent by a server;
and the updated adaptation relation is sent by the server after receiving the query request of the electronic equipment, or the updated adaptation relation is sent by the server after monitoring that the adaptation relation is updated.
5. The method of claim 4, wherein the electronic device sends a query request to the server according to a preset period corresponding to the electronic device;
the preset periods corresponding to different electronic devices are the same or different.
6. The method of claim 5, wherein the preset period corresponding to the electronic device is randomly determined when the electronic device enters the target display mode.
7. The method of claim 1, the disabling target functionality of the target application, comprising:
prohibiting display of interaction information associated with a target functionality of the target application; alternatively, the first and second liquid crystal display panels may be,
and prohibiting the input operation of triggering the target function of the target application program by responding to the operation body.
8. An information processing apparatus applied to an electronic device, the apparatus comprising:
the judging module is used for starting a target application program in a target display mode and judging whether a target function of the target application program is matched with the target display mode or not;
and the processing module is used for enabling the target function of the target application program under the condition that the judgment result is adaptive, otherwise, forbidding the target function of the target application program so as to avoid the target application program from generating abnormity in the process of realizing the target function in the target display mode.
9. An electronic device, comprising:
a memory for storing a program;
a processor for calling and executing the program in the memory, the respective steps of the information processing method according to any one of claims 1 to 7 being realized by executing the program.
10. A readable storage medium on which a computer program is stored which, when being executed by a processor, carries out the steps of the information processing method according to any one of claims 1 to 7.
CN202110118820.0A 2021-01-28 2021-01-28 Information processing method, information processing device, electronic equipment and storage medium Active CN112783593B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110118820.0A CN112783593B (en) 2021-01-28 2021-01-28 Information processing method, information processing device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110118820.0A CN112783593B (en) 2021-01-28 2021-01-28 Information processing method, information processing device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN112783593A CN112783593A (en) 2021-05-11
CN112783593B true CN112783593B (en) 2022-09-23

Family

ID=75759448

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110118820.0A Active CN112783593B (en) 2021-01-28 2021-01-28 Information processing method, information processing device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112783593B (en)

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8499254B2 (en) * 2008-10-27 2013-07-30 Microsoft Corporation Surfacing and management of window-specific controls
CN104850373A (en) * 2014-02-18 2015-08-19 中兴通讯股份有限公司 Method and device for processing split screen
CN105094762A (en) * 2014-04-30 2015-11-25 联发科技(新加坡)私人有限公司 Communication device and multi-window display method
CN104238949B (en) * 2014-10-12 2017-10-03 福州瑞芯微电子股份有限公司 A kind of multi-screen display method and device
CN106055252B (en) * 2016-05-30 2019-04-30 努比亚技术有限公司 Mobile terminal and its split screen display available processing method
CN109976657A (en) * 2019-03-28 2019-07-05 维沃移动通信有限公司 A kind of control method and mobile terminal

Also Published As

Publication number Publication date
CN112783593A (en) 2021-05-11

Similar Documents

Publication Publication Date Title
US10552263B2 (en) System running method and intelligent terminal
EP3073379B1 (en) Firmware recovery method, device and terminal
CN110096329B (en) Display content control method, electronic device and computer readable storage medium
CN107181858B (en) Method and terminal for displaying notification message
CN106951335B (en) Process daemon method and mobile terminal
US20030157930A1 (en) Server device, mobile communications terminal, information transmitting system and information transmitting method
CN106445309B (en) Application download entry display method and device
CN106980442B (en) Icon management method and electronic equipment
KR20190089069A (en) Method and Apparatus for Authorized Login
US20100138918A1 (en) Keyboard Security Status Check Module and Method
CN105324753A (en) Invoking an application from a web page or other application
CN114257551A (en) Distributed current limiting method and system and storage medium
CN106681813B (en) System management method and device
CN103532938A (en) Application data protection method and system
CN113835588A (en) Shortcut setting method and device, electronic equipment and storage medium
CN110989877B (en) Message management method, related equipment and computer readable storage medium
CN113867585B (en) Interface display method, device, electronic equipment and storage medium
US20140282058A1 (en) Electronic device with a funiction of applying applications of different operating systems, system and method thereof
CN112783593B (en) Information processing method, information processing device, electronic equipment and storage medium
CN113412480B (en) Mounting processing method, mounting processing device, electronic equipment and computer readable storage medium
CN109976790B (en) Application updating method, device, terminal and storage medium
CN110569097B (en) Information display method and device
CN108282783B (en) Public wifi authentication method, device, user terminal and storage medium
CN107968799B (en) Information acquisition method, terminal equipment and system
CN113721936A (en) Application management method, intelligent terminal, device and storage medium

Legal Events

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