Disclosure of Invention
The invention aims to provide an information processing method and an information processing system so as to reduce the complexity of a user operation process.
In order to achieve the purpose, the invention provides the following technical scheme:
an information processing method is applied to an electronic device, the electronic device can run at least two applications, a first application of the at least two applications corresponds to a first display interface when being displayed through a display unit, and a second application of the at least two applications corresponds to a second display interface when being displayed through the display unit, and the method comprises the following steps:
receiving a first operation of a user on the first display interface, and determining a first sub-display interface;
receiving a second operation of the user on the second display interface, and determining a second sub-display interface;
receiving a third operation of a user on the first sub-display interface and the second sub-display interface, and generating a third display interface comprising the first sub-display interface and the second sub-display interface;
when a fourth operation of a user for a first sub-display interface in the third display interface is received, acquiring a first touch point position of the fourth operation in the first sub-display interface;
and responding to the fourth operation based on the position of the first touch point, and executing an operation instruction of a function corresponding to the first application on the first sub-display interface.
The above-described process, preferably,
establishing a first window linked list for the display interface of the first application and establishing a second window linked list for the display interface of the second application, wherein each window linked list corresponds to an input cache region and a display cache region, the input cache region is used for caching input information corresponding to the window linked list, and the display cache region is used for caching display information corresponding to the window linked list;
and displaying a display interface positioned at the head of the first window linked list or a display interface positioned at the head of the second window linked list through the display unit.
The method preferably further includes, after the generating the third display interface:
and recording the position of the touch point in the first sub-display interface in the first display interface.
Preferably, the method establishes a combined application window linked list, and mounts the third display interface to the header of the combined application window linked list;
and displaying the third display interface through the display unit.
The above-described process, preferably,
determining a first area defined on the first display interface by a user as a first sub-display interface;
and determining a second area defined on the second display interface by the user as a second sub-display interface.
In the above method, preferably, the receiving a third operation of the user on the first sub-display interface and the second sub-display interface, and generating a third display interface including the first sub-display interface and the second sub-display interface includes:
acquiring an instruction which is triggered by a user and used for moving the first sub-display interface and the second sub-display interface;
and moving the first sub-display interface and the second sub-display interface to a preset area, wherein the first sub-display interface and the second sub-display interface form a third display interface in the preset area.
The above method, preferably, further comprises:
when a fifth operation of a user for a second sub-display interface in the third display interface is received, acquiring a third touch point position of the fifth operation in the second sub-display interface;
and responding to the fifth operation based on the third touch point position, and executing an operation instruction of the second application on the function corresponding to the second sub-display interface.
An information processing system applied to an electronic device, wherein the electronic device can run at least two applications, a first application of the at least two applications corresponds to a first display interface when being displayed through a display unit, and a second application of the at least two applications corresponds to a second display interface when being displayed through the display unit, the system comprising:
the first receiving module is used for receiving a first operation of a user on the first display interface and determining a first sub-display interface;
the second receiving module is used for receiving a second operation of the user on the second display interface and determining a second sub-display interface;
the generating module is used for receiving third operation of a user on the first sub-display interface and the second sub-display interface and generating a third display interface comprising the first sub-display interface and the second sub-display interface;
the first obtaining module is used for obtaining a first touch point position of a fourth operation in a first sub-display interface when the fourth operation of a user for the first sub-display interface in the third display interface is received;
and the first execution module is used for responding to the fourth operation based on the position of the first touch point and executing an operation instruction of a function corresponding to the first application on the first sub-display interface.
The above system, preferably, comprises:
the first linked list establishing module is used for establishing a first window linked list for the display interface of the first application and establishing a second window linked list for the display interface of the second application, wherein each window linked list corresponds to an input cache region and a display cache region, the input cache region is used for caching input information corresponding to the window linked list, and the display cache region is used for caching display information corresponding to the window linked list; and the display interface positioned at the head of the first window linked list or the display interface positioned at the head of the second window linked list is displayed through a display unit of the electronic equipment.
The above system, preferably, further comprises:
and the recording module is used for recording the position of the touch point in the first sub-display interface in the first display interface.
The above system, preferably, comprises:
the second linked list establishing module is used for establishing a combined application window linked list and mounting the third display interface to the head of the combined application window linked list;
and the third display interface is displayed through the display unit.
Preferably, in the system, the first receiving module is specifically configured to determine that a first area defined by a user on the first display interface is a first sub-display interface;
the second receiving module is specifically configured to determine that a second area defined by the user on the second display interface is a second sub-display interface.
In the above system, preferably, the generating module includes:
the acquisition unit is used for acquiring a command which is triggered by a user and used for moving the first sub-display interface and the second sub-display interface;
the moving unit is used for moving the first sub-display interface and the second sub-display interface to a preset area after the obtaining unit obtains an instruction for moving the first sub-display interface and the second sub-display interface triggered by a user, and the first sub-display interface and the second sub-display interface form a third display interface in the preset area.
The above system, preferably, further comprises:
the second obtaining module is used for obtaining a third touch point position of a fifth operation in a second sub-display interface when the fifth operation of a user for the second sub-display interface in the third display interface is received;
and the second execution module is used for responding to the fifth operation based on the third touch point position and executing an operation instruction of the second application on the function corresponding to the second sub-display interface.
An electronic device comprising an information processing system as claimed in any one of the above.
According to the above scheme, according to the information processing method and system provided by the application, a first sub-display interface is determined on a first display interface corresponding to a first application, a second sub-display interface is determined on a second display interface corresponding to a second application, then the first sub-display interface and the second sub-display interface are combined into a third display interface, and when a fourth operation of a user on the first sub-display interface in the third display interface is received, a first touch point position of the fourth operation in the first sub-display interface is obtained; based on the position of the first touch point, responding to the fourth operation, and executing an operation instruction of the first application on the function corresponding to the first sub-display interface, so that a user can operate the first application on a third display interface, and similarly, the user can also operate the second application on the third display interface.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, 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 making any creative effort, shall fall within the protection scope of the present invention.
The information processing method provided by the embodiment of the application is applied to electronic equipment, the electronic equipment can run at least two applications, a first application of the at least two applications corresponds to a first display interface when being displayed through a display unit of the electronic equipment, and a second application of the at least two applications corresponds to a second display interface when being displayed through the display unit of the electronic equipment.
Referring to fig. 1, fig. 1 is a flowchart of an implementation of an information processing method according to an embodiment of the present application, which may include:
step S11: receiving a first operation of a user on the first display interface, and determining a first sub-display interface;
when the first application is displayed through the display unit, the user may make a region selection on the first display interface.
Step S12: receiving a second operation of the user on the second display interface, and determining a second sub-display interface;
when the second application is displayed through the display unit, the user can also perform region selection on the second display interface.
Step S13: receiving a third operation of a user on the first sub-display interface and the second sub-display interface, and generating a third display interface comprising the first sub-display interface and the second sub-display interface;
after the first sub-display interface is determined, the user can operate the first sub-display interface, so that the first sub-display interface is moved to a first preset position of a preset area;
after the second sub-display interface is determined, the user can also operate the second sub-display interface, so that the second sub-display interface is moved to a second preset position of the preset area;
therefore, the first sub-display interface and the second sub-display interface form a new interface, namely a third display interface.
Step S14: when a fourth operation of a user for a first sub-display interface in the third display interface is received, acquiring a first touch point position of the fourth operation in the first sub-display interface;
when the fact that the user operates the third display interface is detected, if the fact that the operation is specific to the first sub display interface is determined, the position of a touch point of the operation in the first sub display interface is determined.
Similarly, if the operation is determined to be directed to the second sub-display interface, the position of the touch point of the operation in the second sub-display interface is determined.
Step S15: and responding to the fourth operation based on the position of the first touch point, and executing an operation instruction of a function corresponding to the first application on the first sub-display interface.
In the embodiment of the application, an operation instruction of the function of the first application corresponding to the position of the first touch point is determined, and the operation instruction is executed, so that the operation of the first application on a third display interface is realized.
The information processing method includes the steps that a first sub-display interface is determined on a first display interface corresponding to a first application, a second sub-display interface is determined on a second display interface corresponding to a second application, then the first sub-display interface and the second sub-display interface are combined into a third display interface, and when a fourth operation of a user on the first sub-display interface in the third display interface is received, a first touch point position of the fourth operation in the first sub-display interface is obtained; based on the position of the first touch point, responding to the fourth operation, and executing an operation instruction of the first application on the function corresponding to the first sub-display interface, so that a user can operate the first application on the third display interface, and similarly, the user can also operate the second application on the third display interface.
In the above embodiment, preferably, a first window linked list is established for the display interface of the first application, and a second window linked list is established for the display interface of the second application, where each window linked list corresponds to an input buffer area and a display buffer area, the input buffer area is used to buffer input information corresponding to the window linked list, and more specifically, the input information may input type (click, double click, slide, etc.) information, input position information, and the like, and the display buffer area is used to buffer display information corresponding to the window linked list, that is, information of the display interface in the window linked list displayed by the display unit;
in the embodiment of the application, a first window linked list corresponds to a first input cache region and a first display cache region; the second window linked list corresponds to a second input buffer area and a second display buffer area; and displaying a display interface positioned at the head of the first window linked list or a display interface positioned at the head of the second window linked list through the display unit.
When a user activates a first application, mounting a display interface of the first application to a header of a first window linked list; when the user activates the second application, mounting a display interface of the second application to the head of the second window linked list;
in the embodiment of the application, different window linked lists are established for different display windows of the application, and each window linked list corresponds to one input buffer area and one display buffer area, so that different applications can be in an activated state at the same time, namely, different applications can be operated in a foreground at the same time. Specifically, the application corresponding to the display interface mounted on the head of the first window linked list and the application corresponding to the display interface mounted on the head of the second window linked list may be in an active state at the same time.
When the display window of the first application is hung on the head of the first window linked list and the display window of the second application is hung on the head of the second window linked list, the first application and the second application are in an activated state at the same time, so that when a user operates the first sub-display interface of the third interface, the user can directly respond to the operation of the user without activating the first application first and then responding to the operation of the user. That is to say, in the embodiment of the present application, different window linked lists are established for the display window of the first application and the display window of the second application, so that the first application and the second application simultaneously process the activation state, and it is ensured that the user can timely respond to the user operation when operating the first sub-display interface of the third interface.
In the foregoing embodiment, preferably, after the third display interface is generated, the position of the touch point in the first sub-display interface in the first display interface may be recorded, so that a corresponding relationship between the position of the first sub-display interface in the first display interface and the position of the first sub-display interface in the third display interface may be established.
After the first touch point position of the fourth operation in the first sub-display interface is obtained, the second touch point position of the first touch point position in the first display interface may be determined according to the corresponding relationship between the position of the first sub-display interface in the first display interface and the position of the first sub-display interface in the third display interface, and the operation instruction of the function corresponding to the second touch point position of the first application in the first display interface is executed, so that the step of executing the operation instruction of the function corresponding to the first application in the first sub-display interface is also realized.
Similarly, after the third display interface is generated, the position of the touch point in the second sub-display interface in the second display interface may be recorded, so that the corresponding relationship between the position of the second sub-display interface in the second display interface and the position of the second sub-display interface in the third display interface may be established.
In the above embodiment, preferably, a combined application window linked list may be established, and the third display interface is mounted to the header of the combined application window linked list; the combined application window linked list corresponds to a third input cache region and a third display cache region; the third input buffer area is used for buffering input information corresponding to the combined window linked list, and the third display buffer area is used for buffering display information corresponding to the combined window linked list;
and displaying the third display interface through the display unit.
In the above embodiment, when a user performs an input operation on the first sub-display interface on the third interface, the input information may be cached in the third input cache region, and then the input information is mapped to the display window of the first application through the correspondence between the position of the first sub-display interface in the first display interface and the position of the first sub-display interface in the third display interface, so that the operation of the user performing an input operation on the first application on the third display interface is realized.
Specifically, if the coordinate input device and the display unit are in one-to-one correspondence (for example, the touch screen, that is, the touch screen itself is the coordinate input device, a user can directly contact the touch screen to input coordinates to the electronic device, and the touch screen itself can also be used as the display unit of the electronic device), the coordinates can be directly acquired, and then the input information is cached in the third input cache region; if the coordinate input device (e.g., keyboard, mouse, etc.) and the display unit are separated, the input device and the display unit may be bound by a preset rule, such as user selection, i.e., an input focus is selected by a user through a mouse or a keyboard, thereby determining input coordinates, and then inputting the input information buffer value into the third buffer area.
In the above embodiment, it may be preferable that a first area defined on the first display interface by a user is determined as a first sub-display interface; and determining a second area defined on the second display interface by the user as a second sub-display interface.
When a user demarcates a first area on the first display interface, the size and the position of the first area can be determined on the first display interface by moving and adjusting the size of the area selection frame; or, the user may draw the first area directly on the first display interface, and the size and the position of the first area are determined by detecting a sliding track of the user on the first display interface; thereby determining the first area as the first sub-display interface.
Similarly, when the user demarcates the second area on the second display interface, the size and the position of the second area can be determined on the second display interface by moving and adjusting the size of the area selection frame; or, the user may directly draw the second area on the second display interface, and the size and the position of the second area are determined by detecting a sliding track of the user on the second display interface; thereby determining the second area as the second sub-display interface.
In the foregoing embodiment, preferably, the receiving a third operation performed by the user on the first sub-display interface and the second sub-display interface, and generating a third display interface including the first sub-display interface and the second sub-display interface may include:
acquiring an instruction which is triggered by a user and used for moving the first sub-display interface and the second sub-display interface;
and moving the first sub-display interface and the second sub-display interface to a preset area, wherein the first sub-display interface and the second sub-display interface form a third display interface in the preset area.
In the embodiment of the application, after the first sub-display interface and the second sub-display interface are determined, the user can directly drag the first sub-display interface and the second sub-display interface to the preset area, or the user can select the instruction for shearing the first sub-display interface and the second sub-display interface to move the first sub-display interface and the second sub-display interface to the preset area, and in the preset area, the user can drag the first sub-display interface and the second sub-display interface according to the own requirements, so that the first sub-display interface and the second sub-display interface are placed at the favorite positions of the user.
On the basis of the embodiment shown in fig. 1, another implementation flowchart of the information processing method provided in the embodiment of the present application is shown in fig. 2, and may further include:
step S21: when a fifth operation of a user for a second sub-display interface in the third display interface is received, acquiring a third touch point position of the fifth operation in the second sub-display interface;
when the operation of the user on the third display interface is detected, if the operation is determined to be directed to the second sub-display interface, the position of a touch point of the operation in the second sub-display interface is determined.
Step S22: and responding to the fifth operation based on the third touch point position, and executing an operation instruction of the second application on the function corresponding to the second sub-display interface.
In the embodiment of the application, an operation instruction of the function of the second application corresponding to the position of the third touch point is determined, and the operation instruction is executed, so that the operation of the second application on a third display interface is realized.
Corresponding to the method embodiment, an embodiment of the present application further provides an information processing system, where the information processing system provided in the embodiment of the present application is applied to an electronic device, and the electronic device may run at least two applications, where a first application of the at least two applications corresponds to a first display interface when being displayed by a display unit of the electronic device, and a second application of the at least two applications corresponds to a second display interface when being displayed by the display unit of the electronic device, and a schematic structural diagram of the information processing system provided in the embodiment of the present application is shown in fig. 3, and may include:
afirst receiving module 31, asecond receiving module 32, a generatingmodule 33, a first obtainingmodule 34 and a first executingmodule 35; wherein,
thefirst receiving module 31 is configured to receive a first operation of the first display interface by a user, and determine a first sub-display interface;
thesecond receiving module 32 is configured to receive a second operation of the user on the second display interface, and determine a second sub-display interface;
the generatingmodule 33 is configured to receive a third operation of the user on the first sub-display interface and the second sub-display interface, and generate a third display interface including the first sub-display interface and the second sub-display interface;
the first obtainingmodule 34 is configured to, when receiving a fourth operation of the user on a first sub-display interface in the third display interface, obtain a first touch point position of the fourth operation in the first sub-display interface;
the first executingmodule 35 is configured to respond to the fourth operation based on the position of the first touch point, and execute an operation instruction of a function corresponding to the first application on the first sub-display interface.
In an information processing system provided by the embodiment of the present application, a first sub-display interface is determined on a first display interface corresponding to a first application, a second sub-display interface is determined on a second display interface corresponding to a second application, then the first sub-display interface and the second sub-display interface are combined into a third display interface, and when a fourth operation of a user on the first sub-display interface in the third display interface is received, a first touch point position of the fourth operation in the first sub-display interface is obtained; based on the position of the first touch point, responding to the fourth operation, and executing an operation instruction of the first application on the function corresponding to the first sub-display interface, so that a user can operate the first application on a third display interface, and similarly, the user can also operate the second application on the third display interface.
On the basis of the embodiment shown in fig. 3, another schematic structural diagram of the information processing system provided in the embodiment of the present application is shown in fig. 4, and may include:
a first linkedlist establishing module 41, configured to establish a first window linked list for the display interface of the first application, and establish a second window linked list for the display interface of the second application, where each window linked list corresponds to an input buffer area and a display buffer area, the input buffer area is used to buffer input information corresponding to the window linked list, and the display buffer area is used to buffer display information corresponding to the window linked list; the display interface positioned at the head of the first window linked list or the display interface positioned at the head of the second window linked list is displayed through a display unit of the electronic equipment;
on the basis of the embodiment shown in fig. 1 or fig. 3, a schematic structural diagram of another information processing system provided in the embodiment of the present application is shown in fig. 5, and may further include:
therecording module 51 is configured to record a position of a touch point in the first sub-display interface in the first display interface after thegenerating module 33 generates the third display interface, so as to establish a corresponding relationship between the position of the first sub-display interface in the first display interface and the position of the first sub-display interface in the third display interface.
Similarly, therecording module 51 may further record the position of the touch point in the second sub-display interface in the second display interface after thegenerating module 33 generates the third display interface, so as to establish a corresponding relationship between the position of the second sub-display interface in the second display interface and the position of the second sub-display interface in the third display interface.
On the basis of the embodiment shown in fig. 4, a schematic structural diagram of an information processing system provided in the embodiment of the present application is shown in fig. 6, and may further include:
a second linked list establishing module 61, configured to establish a combined application window linked list, and mount the third display interface to a header of the combined application window linked list;
and displaying the third display interface through the display unit, namely displaying the third display interface through the display unit.
In the foregoing embodiment, preferably, the first receiving module is specifically configured to determine that a first area defined on the first display interface by a user is a first sub-display interface; the second receiving module is specifically configured to determine that a second area defined by the user on the second display interface is a second sub-display interface.
In the foregoing embodiment, preferably, a schematic structural diagram of the generatingmodule 33 is shown in fig. 7, and may include:
an acquisition unit 71 and a moving unit 72; wherein,
the obtaining unit 71 is configured to obtain an instruction that is triggered by a user and moves the first sub-display interface and the second sub-display interface;
the moving unit 72 is configured to move the first sub-display interface and the second sub-display interface to a preset area after the obtaining unit obtains an instruction for moving the first sub-display interface and the second sub-display interface, where the instruction is triggered by a user, and the first sub-display interface and the second sub-display interface form a third display interface in the preset area.
On the basis of the embodiment shown in fig. 3, a schematic structural diagram of an information processing system provided in the embodiment of the present application is shown in fig. 8, and may further include:
the second obtainingmodule 81 is configured to, when a fifth operation of a user on a second sub-display interface in the third display interface is received, obtain a third touch point position of the fifth operation in the second sub-display interface;
and a second executingmodule 82, configured to respond to the fifth operation based on the third touch point position, and execute an operation instruction of the second application on a function corresponding to the second sub-display interface.
The application also provides an electronic device, and the electronic device is provided with the information processing system. The electronic equipment can be mobile terminals such as mobile phones and tablet computers, and can also be electronic equipment such as computers
Fig. 9 shows a specific example of an application of the information processing method according to the embodiment of the present application, where fig. 9-a shows a first display interface displayed by a display unit through a first application, and the first display interface is a web page; FIG. 9-b is a second display interface displayed by the second application via the display unit, showing an interface of a music player; fig. 9-c is a new interface, i.e., a third display interface, which is formed by integrating the lower half of the web page shown in fig. 9-a and the lower half of the music player shown in fig. 9-b, wherein the lower half of the web page shown in fig. 9-a is placed at the lower part of the third display interface, and the lower half of the music player shown in fig. 9-b is placed at the upper part of the third display interface. In this embodiment, the user may browse the web page on the third display interface (i.e., the interface described in fig. 9-c), or may control the music player on the third display interface.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. 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 invention. Thus, the present invention 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.