Application function using method and device, electronic equipment and medium
By displaying application function icons under multiple operating systems in smart devices and using pre-established data channels to obtain target configuration parameters, the problem that users cannot directly use cross-operating system application functions is solved, and the application functions between operating systems are used across systems is realized, which improves the user experience.
Patent Information
- Application Number
- CN202311342805.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-10-16
- Publication Date
- 2025-04-18
AI Technical Summary
In smart devices with multiple operating systems, users cannot directly use the application functions across operating systems, resulting in cumbersome operations.
By displaying the application function icons deployed under multiple operating systems in the preset display area in the smart device, after the user selects the target application function, sends a transmission request to the target operating system through the pre-established target data channel, obtains the target configuration parameters and starts the application function.
It realizes pulling application function configuration parameters across systems between different operating systems, saving users' cumbersome operations of frequently switching operating systems, and improving the usability and convenience of application functions.
Smart Images

Figure CN119847592A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to data processing technology, and in particular to a method, device, electronic device and medium for using an application function. Background Art
[0002] With the development of the Internet, in order to meet different operating requirements, different operating systems may be applied in different smart devices.
[0003] For example, in order to meet the needs of users in teaching scenarios, multiple operating systems including Windows, IOS, and Android may need to be installed on different teaching smart devices. The development of each application function is based on a specific operating system, which also leads to different configuration parameters of different operating systems, which means that the functions of applications developed based on a certain operating system cannot be directly run on other operating systems.
[0004] In the related art, when a user cannot directly use a certain application function in the current operating system, he usually needs to use the corresponding application function after switching the operating system, which also makes the user operation very cumbersome. Summary of the invention
[0005] The embodiments of the present application provide a method, device, electronic device and medium for using an application function, thereby solving the problem in the related art that a user cannot directly use an application function across operating systems.
[0006] According to one aspect of an embodiment of the present application, a method for using an application function is provided, which is applied to a smart device including multiple operating systems, and the method includes:
[0007] Upon receiving a display instruction generated by a user, displaying an icon of at least one application function in a preset display area, wherein the preset display area is pre-associated with icons of application functions deployed under at least two operating systems;
[0008] Determine a target application function icon selected by the user in the preset display area, wherein the target application function is an application function deployed under a target operating system;
[0009] Sending a transmission request to the target operating system via a target data channel established in advance with a preset communication protocol, wherein the transmission request is used to request target configuration parameters corresponding to the target application function, and the target data channel is used to transmit configuration parameters corresponding to each application function deployed under the target operating system;
[0010] The target configuration parameters sent by the target operating system are received through the target data channel, and the application function corresponding to the target application function icon is started using the target configuration parameters.
[0011] Optionally, in another embodiment of the method of the present application, the receiving, through the target data channel, the target configuration parameter sent by the target operating system includes:
[0012] Acquire attribute information of the target application function;
[0013] Based on the attribute information, determining the operating system corresponding to the target application function;
[0014] The target data channel matching the operating system is determined from the multiple data channels of the smart device, and the target configuration parameters are read from the target data channel.
[0015] Optionally, in another embodiment based on the above method of the present application, the method further includes:
[0016] Obtaining the operating system currently displayed by the smart device;
[0017] When determining that the currently displayed operating system is the target operating system, reading the target configuration parameters from the currently running target data channel;
[0018] When it is determined that the currently displayed operating system is not the target operating system, the currently running data channel is switched to the target data channel, and the target configuration parameters are read from the target data channel.
[0019] Optionally, in another embodiment of the method of the present application, the reading the target configuration parameter from the target data channel includes:
[0020] Sending a transmission request for transmitting the target configuration parameters to a target operating system to which the target data channel belongs;
[0021] The target configuration parameters transmitted by the target operating system are received through the target data channel.
[0022] Optionally, in another embodiment of the above method of the present application, before receiving the display instruction generated by the user, the method further includes:
[0023] After detecting that each operating system in the smart device has been started, a data channel is established with each operating system, wherein each data channel is used to transmit configuration parameters corresponding to each application function deployed under the corresponding operating system;
[0024] The monitoring parameters are configured for each data channel, so that each data channel transmits the configuration parameters matching the transmission instruction to the opposite end operating system when receiving the transmission instruction.
[0025] Optionally, in another embodiment of the above method of the present application, before receiving the display instruction generated by the user, the method further includes:
[0026] When receiving a management instruction generated by a user under a first operating system, displaying application function icons deployed under all operating systems in the smart device to the user, the first operating system being any operating system in the smart device;
[0027] At least one application function icon selected by the user is recorded, and the selected application function icon is added to a display set, wherein the display set is used to display in the preset display area when a display instruction is received.
[0028] Optionally, in another embodiment of the method of the present application, after adding the selected application function icon to the display set, the method further includes:
[0029] The presentation set is synchronized to other operating systems in the smart device.
[0030] Optionally, in another embodiment of the method of the present application, when receiving a display instruction generated by a user, displaying an icon of at least one application function in a preset display area includes:
[0031] Obtaining a target display set associated with the user's account information;
[0032] In the preset display area, an icon of at least one application function included in the target display set is displayed.
[0033] According to another aspect of the embodiment of the present application, a device for using an application function is provided, which is applied to a smart device including multiple operating systems, and the device includes:
[0034] a display module configured to display at least one icon of an application function in a preset display area upon receiving a display instruction generated by a user, wherein the preset display area is pre-associated with icons of application functions deployed under at least two operating systems;
[0035] A determination module, configured to determine a target application function icon selected by the user in the preset display area, wherein the target application function is an application function deployed under a target operating system;
[0036] a sending module, configured to send a transmission request to the target operating system through a target data channel pre-established with a preset communication protocol, wherein the transmission request is used to request a target configuration parameter corresponding to the target application function, and the target data channel is used to transmit configuration parameters corresponding to each application function deployed under the target operating system;
[0037] The startup module is configured to receive the target configuration parameters sent by the target operating system through the target data channel, and use the target configuration parameters to start the application function corresponding to the target application function icon.
[0038] According to another aspect of the embodiments of the present application, an electronic device is provided, including:
[0039] A memory for storing executable instructions; and
[0040] The display is used to execute the executable instructions with the memory to complete the operation of the method of using any of the above-mentioned application functions.
[0041] According to another aspect of an embodiment of the present application, a computer-readable storage medium is provided for storing computer-readable instructions, which, when executed, perform operations of the method for using any of the above-mentioned application functions.
[0042] In the present application, upon receiving a display instruction generated by a user, an icon of at least one application function can be displayed in a preset display area, wherein the preset display area is pre-associated with icons of application functions deployed under at least two operating systems; a target application function icon selected by the user in the preset display area is determined, wherein the target application function is an application function deployed under the target operating system; a transmission request is sent to the target operating system through a target data channel established in advance with a preset communication protocol, wherein the transmission request is used to request target configuration parameters corresponding to the target application function, and the target data channel is used to transmit configuration parameters corresponding to each application function deployed under the target operating system; the target configuration parameters sent by the target operating system are received through the target data channel, and the application function corresponding to the target application function icon is started using the target configuration parameters.
[0043] By applying the technical solution of the present application, the application function icons deployed under various operating systems can be centrally displayed in the display area of the current operating system of the smart device, and when it is necessary to use the application function across operating systems, the corresponding configuration parameters can be pulled across systems through a pre-established data channel. So that the application function can be subsequently started based on the configuration parameters. Thereby, a method is achieved in which, when the current operating system cannot know the configuration parameters of the application function, the configuration parameters are pulled in real time through a pre-established data channel to achieve the purpose of starting and using the application function. This greatly saves users from the tedious operation of frequently switching operating systems when using smart devices with multiple operating systems.
[0044] The technical solution of the present application is further described in detail below through the accompanying drawings and embodiments. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] The accompanying drawings, which constitute a part of the specification, illustrate embodiments of the present application and, together with the description, serve to explain the principles of the present application.
[0046] The present application can be more clearly understood from the following detailed description with reference to the accompanying drawings, in which:
[0047] Figure 1 A system architecture diagram of a smart device including multiple operating systems proposed in this application;
[0048] Figure 2 A schematic diagram of a method for using an application function proposed in this application;
[0049] Figure 3 A schematic diagram of the overall process of using an application function proposed in this application;
[0050] Figure 4 A schematic diagram of the structure of the electronic device proposed in this application;
[0051] Figure 5 This is a schematic diagram of the structure of the electronic device proposed in this application. DETAILED DESCRIPTION
[0052] Various exemplary embodiments of the present application will now be described in detail with reference to the accompanying drawings. It should be noted that unless otherwise specifically stated, the relative arrangement of components and steps, numerical expressions and numerical values set forth in these embodiments do not limit the scope of the present application.
[0053] At the same time, it should be understood that for the convenience of description, the sizes of the various parts shown in the drawings are not drawn according to the actual proportional relationship.
[0054] The following description of at least one exemplary embodiment is merely illustrative in nature and is not intended to limit the present application, its application, or uses.
[0055] Technologies, methods, and equipment known to ordinary technicians in the relevant art may not be discussed in detail, but where appropriate, the technologies, methods, and equipment should be considered as part of the specification.
[0056] It should be noted that like reference numerals and letters refer to similar items in the following figures, and therefore, once an item is defined in one figure, it need not be further discussed in subsequent figures.
[0057] In addition, the technical solutions between the various embodiments of the present application can be combined with each other, but it must be based on the fact that ordinary technicians in the field can implement it. When the combination of technical solutions is contradictory or cannot be implemented, it should be deemed that such combination of technical solutions does not exist and is not within the scope of protection required by this application.
[0058] It should be noted that all directional indications in the embodiments of the present application (such as up, down, left, right, front, back, etc.) are only used to explain the relative position relationship, movement status, etc. between the components under a certain specific posture (as shown in the accompanying drawings). If the specific posture changes, the directional indication will also change accordingly.
[0059] Combine the following Figure 1-Figure 3 To describe the method for performing application functions according to the exemplary implementation of the present application. It should be noted that the following application scenarios are only shown to facilitate understanding of the spirit and principles of the present application, and the implementation of the present application is not limited in this regard. On the contrary, the implementation of the present application can be applied to any applicable scenario.
[0060] The present application also proposes a method, device, electronic device and medium for using the application function.
[0061] In the related art, with the development of the Internet, in order to meet different operating requirements, different operating systems may be applied in different smart devices.
[0062] As an example, the internal structure of the smart device 100 is as follows: Figure 1 As shown, it includes a processor, an internal memory storage medium, a network interface, a display screen, and an input device connected through a system bus.
[0063] The storage medium of the smart device 100 stores multiple operating systems, including a Windows operating system and an Android operating system.
[0064] It is understandable that the processor in the smart device 100 is used to provide computing and control capabilities to support the operation of the entire terminal, while the internal memory in the smart device 100 provides an environment for the operation of the device for each application function in the storage medium to run across the system.
[0065] In one embodiment, the memory in the smart device 100 may store computer-readable instructions, which, when executed by the processor, may cause the processor to execute a method for running an application across systems. The network interface is used to connect to a network for communication.
[0066] In another embodiment, the display screen of the smart device 100 may be a liquid crystal display screen or an electronic ink display screen, etc., and the input device may be a touch layer covered on the display screen, or a key, card slot, trackball or touchpad provided on the housing of the electronic device, or an external keyboard, touchpad or mouse, etc. The terminal may be a POS machine, a mobile phone, a tablet computer, a personal digital assistant or a wearable device, etc.
[0067] It should be noted that those skilled in the art can understand that Figure 1 The structure shown in the figure is only a block diagram of a partial structure related to the solution of the present application, and does not constitute a limitation on the terminal to which the solution of the present application is applied. The specific smart device 100 may include more or fewer components than those shown in the figure, or combine certain components, or have a different component arrangement.
[0068] Furthermore, the application functions proposed in the embodiments of the present application are functions supported by applications deployed in a certain operating system. As an example, the application functions may include a return to desktop function, an annotation function, a half-screen reduction function, a random selection function, a file transfer function, a screenshot function, a channel switching function, a timing function, a countdown function, a magnifying glass function, a keyboard function, a headcount function, a calendar function, a spotlight function, a stopwatch function, a freeze screen function, a question answering function, a metronome function, a window expansion function, a window minimize function, a forced exit function, a run function, a folder function, a file manager, and the like.
[0069] Among them, although the number of application functions in smart devices is becoming more and more abundant, since the support of each application function under different operating systems is different, this also causes a certain operating system to be unable to start all application functions stored in the smart device.
[0070] For example, the answering function and the metronome function can only be started and run under the Android operating system, while the window expansion function and the window minimization function can only be started and run under the Windows system.
[0071] In the related art, when a user cannot directly use a certain application function in the current operating system, he usually needs to switch to the corresponding operating system before using the corresponding application function, which also makes the user operation very cumbersome.
[0072] Based on the problems in the related art, this application proposes a flowchart of a method for using an application function. Figure 2 As shown, the method is applied to a smart device including multiple operating systems, including:
[0073] S101, upon receiving a display instruction generated by a user, displaying an icon of at least one application function in a preset display area, wherein the preset display area is pre-associated with icons of application functions deployed under at least two operating systems.
[0074] In one embodiment, the preset display area in the embodiment of the present application can be a display area of any position and any size on the screen of the smart device. As an example, for example, the preset display area can be a left sidebar or a sidebar on the screen.
[0075] In one embodiment, the application functions displayed in the preset display area may be one or more application functions that the user has pre-set and is interested in. It is understandable that when a user is interested in a certain application function or needs to use it frequently, the user may add the icon corresponding to the application function to the display set by dragging or the like, so that the subsequent smart device will display the multiple application function icons in a certain display area of the screen when receiving the user's display instruction.
[0076] It should be noted that the various application function icons in the preset display area of the embodiment of the present application may be icons of application functions deployed under different operating systems. For example, they may include application functions such as the answering function and the metronome function started and run under the Android operating system. They may also include application functions such as the window expansion function and the window minimization function started and run under the Windows operating system.
[0077] In other words, even if the operating system currently running on the smart device is Android, the application function icons displayed in the preset display area may also include application functions of other operating systems including the Android operating system.
[0078] S102, determining a target application function icon selected by a user in the preset display area, wherein the target application function is an application function deployed under a target operating system.
[0079] S103, sending a transmission request to the target operating system through a target data channel pre-established with a preset communication protocol, wherein the transmission request is used to request target configuration parameters corresponding to the target application function, and the target data channel is used to transmit configuration parameters corresponding to each application function deployed under the target operating system.
[0080] In one way, since the development of each application function is based on a specific operating system, the configuration parameters of the application functions corresponding to different operating systems are often different. In other words, this means that the functions of an application developed based on a certain operating system cannot be directly run on another operating system.
[0081] As an example, when the current operating system running on the smart device is Android, if you need to use the window expansion function under the Windows operating system, you need to switch the system first to obtain the configuration parameters of the window expansion function, and then you can start and use the window expansion function based on the opening method, running data and other parameters in its configuration parameters.
[0082] In order to solve the above problems, the embodiment of the present application can actively detect the running status of each operating system after the smart device is powered on. And subsequently establish a data channel between each operating system to ensure that each operating system can transmit the configuration parameters required by the other end in real time based on the data channel. This can save the cumbersome steps of users having to switch operating systems before the smart device can know the configuration parameters of cross-system application functions.
[0083] As an example, after detecting that the main system Android and the subsystem Windwos of the smart device are both powered on and ready, a network link between the two is established in advance, and the mqtt protocol is used to establish respective data channels (i.e., one Android data channel and one Windwos data channel). Furthermore, after the data channel is successfully established, the applications corresponding to the two systems register interfaces and listeners in the data channel respectively, so as to facilitate data synchronization of configuration parameters when the user uses the target application function.
[0084] In one embodiment, the preset communication protocol may include the mqtt protocol, the quic protocol, and the like.
[0085] S103, receiving target configuration parameters sent by the target operating system through the target data channel, and using the target configuration parameters to start the application function corresponding to the target application function icon.
[0086] Optionally, in another embodiment based on the above method of the present application, the method further includes:
[0087] Get the operating system currently displayed by the smart device;
[0088] When determining that the currently displayed operating system is the target operating system, reading the target configuration parameters from the currently running target data channel;
[0089] When it is determined that the currently displayed operating system is not the target operating system, the currently running data channel is switched to the target data channel, and the target configuration parameters are read from the target data channel.
[0090] In one embodiment, after reading the target configuration parameters corresponding to the target application function from the target data channel, the embodiment of the present application can start the application function corresponding to the target application function icon according to the target configuration parameters.
[0091] For example, after the smart device displays multiple icons of application functions deployed under different operating systems in the preset display area, the user can select the application function A deployed under an Android operating system that he needs (application function A is the target application function, the Android operating system is the target operating system, and the target data channel is used to transmit the configuration parameters corresponding to each application function deployed under the Android operating system).
[0092] Furthermore, the smart device needs to obtain the operating system currently displayed, which includes two situations:
[0093] First case:
[0094] When the smart device determines that the currently displayed operating system is the Android operating system (ie, the currently displayed operating system is the target operating system), the target configuration parameter A of the application function A can be directly captured from the currently running Android data channel to the application program A corresponding to the application function A.
[0095] It can be understood that subsequently, the application function A can be directly started and run in the current operating system based on the target configuration parameter A.
[0096] Second case:
[0097] When the smart device determines that the currently displayed operating system is the Windwos operating system (i.e., the currently displayed operating system is not the target operating system), the currently running Windwos data channel can be switched to the Android data channel, and then the target configuration parameter A of the application function A is captured from the switched Android data channel to the application program A corresponding to the application function A.
[0098] It can be understood that subsequently, the application function A can be directly started and run in the current operating system based on the target configuration parameter A.
[0099] By applying the technical solution of the present application, the application function icons deployed under various operating systems can be centrally displayed in the display area of the current operating system of the smart device, and when it is necessary to use an application function across operating systems, the corresponding configuration parameters can be pulled across systems through a pre-established data channel. So that the application function can be subsequently started based on the configuration parameters. Thereby, a method is implemented in which, when the current operating system cannot know the configuration parameters of the application function, the configuration parameters are pulled in real time through a pre-established data channel to achieve the purpose of starting and using the application function. This greatly saves users from the tedious operation of frequently switching operating systems when using smart devices with multiple operating systems. The disadvantage of slow storage system recovery time caused by this method is eliminated.
[0100] Optionally, in another embodiment of the method of the present application, before receiving the display instruction generated by the user, the method further includes:
[0101] After detecting that each operating system in the smart device has been started, a data channel is established with each operating system, wherein each data channel is used to transmit configuration parameters corresponding to each application function deployed under the corresponding operating system;
[0102] The monitoring parameters are configured for each data channel so that each data channel transmits the configuration parameters matching the transmission instruction to the opposite end operating system when receiving the transmission instruction.
[0103] Furthermore, the embodiment of the present application reads the target configuration parameters corresponding to the target application function from the target data channel, including:
[0104] Obtain attribute information of a target application function; based on the attribute information, determine the operating system to which the target application function corresponds; determine a target data channel that matches the operating system from multiple data channels of the smart device, and read target configuration parameters from the target data channel.
[0105] In one method, when the smart device detects that all operating systems are turned on and started, a data channel for data transmission between the operating systems can be established. As an example, when the smart device includes a first operating system Android, a second operating system Windwos and a third operating system iOS, three data channels can be established.
[0106] It can be understood that the three data channels are respectively associated with an operating system. That is, the Android data channel is used to transmit the configuration parameters corresponding to each application function deployed under the Android operating system. The Windwos data channel is used to transmit the configuration parameters corresponding to each application function deployed under the Windwos operating system. The iOS data channel is used to transmit the configuration parameters corresponding to each application function deployed under the iOS operating system.
[0107] In one approach, after the smart device determines the operating system to which the target application function selected by the user belongs, the smart device can capture configuration parameters corresponding to the target application function from a data channel associated with the operating system.
[0108] Optionally, in another embodiment based on the above method of the present application, reading target configuration parameters from the target data channel includes:
[0109] Sending a transmission request for transmitting target configuration parameters to a target operating system to which the target data channel belongs;
[0110] Receive target configuration parameters transmitted by the target operating system through the target data channel.
[0111] Optionally, in another embodiment of the method of the present application, before receiving the display instruction generated by the user, the method further includes:
[0112] When receiving a management instruction generated by a user under a first operating system, displaying application function icons deployed under all operating systems in the smart device to the user, the first operating system being any operating system in the smart device;
[0113] At least one application function icon selected by the user is recorded, and the selected application function icon is added to a display set, and the display set is used to display in a preset display area when a display instruction is received.
[0114] In one method, after the user generates a management instruction under any operating system in the smart device, the application function icons under all operating systems in the smart device can be displayed to the user, so that the user can add / remove corresponding application function icons in the display set according to his or her preference or frequency of use.
[0115] In another way, the user can also sort the application function icons added to the display set in order according to his or her preference, usage frequency, or other information.
[0116] Optionally, in another embodiment of the method of the present application, after adding the selected application function icon to the display set, the method further includes:
[0117] Synchronize your display collection to other operating systems in your smart device.
[0118] It is understandable that since the user selects the display set in the first operating system in the smart device, in order to ensure that the user can subsequently start the display instruction in any operating system, the embodiment of the application requires the smart device to synchronize the display set to other operating systems in the smart device.
[0119] Optionally, in another embodiment of the method of the present application, when a display instruction generated by a user is received, an icon of at least one application function is displayed in a preset display area, including:
[0120] Get the target display set associated with the user's account information;
[0121] In the preset display area, an icon of at least one application function included in the target display set is displayed.
[0122] In another way, Figure 3 FIG. 1 is a flow chart of a method for using the application function proposed in an embodiment of the present application, which includes:
[0123] Step 1: After detecting that each operating system in the smart device has been started, a data channel is established between each operating system.
[0124] Each data channel is used to transmit configuration parameters corresponding to each application function deployed under the corresponding operating system.
[0125] As an example, the smart device may establish an Android data channel for transmitting configuration parameters corresponding to various application functions deployed under the Android operating system, and establish a Windwos data channel for transmitting configuration parameters corresponding to various application functions deployed under the Windwos operating system.
[0126] Step 2: configure monitoring parameters for each data channel so that each data channel transmits configuration parameters matching the transmission instruction to the opposite end operating system when receiving the transmission instruction.
[0127] As an example, the smart device configures monitoring parameters for the data channel to achieve the purpose of instructing the Android data channel to transmit the configuration parameters corresponding to a certain application function to the Windwos operating system when receiving the transmission instruction. And, the smart device achieves the purpose of instructing the Windwos data channel to transmit the configuration parameters corresponding to a certain application function to the Android operating system when receiving the transmission instruction.
[0128] Step 3: upon receiving a management instruction generated by the user under the first operating system, displaying application function icons deployed under all operating systems in the smart device to the user.
[0129] The first operating system is any operating system in the smart device.
[0130] As an example, a user can generate a management instruction under the Windwos operating system so that the smart device can display the application function icons deployed in all operating systems in the smart device to the user on the screen, such as the answering function and metronome function under the Android operating system, and the window expansion function and window minimization function under the Windows system.
[0131] Step 4: Record at least one application function icon selected by the user, and add the selected application function icon to the display set.
[0132] The display set is used to display in a preset display area when a display instruction is received.
[0133] Based on the above example, when the user is interested in the question answering function under the Android operating system and the window expansion function under the Windows operating system, the user can select the "question answering function icon" and the "window expansion function icon" and add the application function icons under the two operating systems to the display set by dragging and dropping.
[0134] That is, the display set now includes the "question answering function icon" under the Android operating system and the "window expansion function icon" under the Windows operating system.
[0135] Step 5: Synchronize the display set to other operating systems in the smart device.
[0136] In one approach, the smart device also needs to synchronize the display set to the Android operating system in the smart device.
[0137] Step 6: When receiving a display instruction generated by the user, display an icon of at least one application function in a preset display area.
[0138] The preset display area is pre-associated with icons of application functions deployed under at least two operating systems.
[0139] In one method, when the smart device receives a display instruction, the "question answering function icon" and the "window expansion function icon" can be displayed in the sidebar of the screen.
[0140] Step 7: When detecting that the target application function icon selected by the user in the preset display area, the operating system currently displayed by the smart device is obtained, and then step 8a or step 8b is executed.
[0141] In one method, when the smart device detects that the user has selected the "question answering function icon" under the Android operating system, the currently running operating system can be detected.
[0142] The target application function is an application function deployed under the target operating system, and the target data channel is used to transmit configuration parameters corresponding to each application function deployed under the target operating system.
[0143] Step 8a: When it is determined that the currently displayed operating system is the target operating system, a transmission request is sent to the target operating system, and target configuration parameters are read from the currently running target data channel. Then, step 9 is executed.
[0144] In one method, when the smart device determines that the currently displayed operating system is the Android operating system (that is, the currently displayed operating system is the target operating system), the target configuration parameter A of the "answering function" can be directly captured from the currently running Android data channel to the application corresponding to the "answering function".
[0145] It can be understood that the "answering function" can be started and run directly in the current operating system based on the target configuration parameter A.
[0146] Step 8b: When it is determined that the currently displayed operating system is not the target operating system, the currently running data channel is switched to the target data channel, a transmission request is sent to the target operating system, and the target configuration parameters are read from the target data channel. Then, step 9 is executed.
[0147] In another way, when the smart device determines that the currently displayed operating system is the Windwos operating system (that is, the currently displayed operating system is not the target operating system), the currently running Windwos data channel can be switched to the Android data channel. Then, the target configuration parameter A of the "answering function" is captured from the switched Android data channel to the application corresponding to the "answering function".
[0148] Step 9: Use the target configuration parameters to start the application function corresponding to the target application function icon.
[0149] By applying the technical solution of the present application, the application function icons deployed under various operating systems can be centrally displayed in the display area of the current operating system of the smart device, and when it is necessary to use the application function across operating systems, the corresponding configuration parameters can be pulled across systems through a pre-established data channel. So that the application function can be subsequently started based on the configuration parameters. Thereby, a method is achieved in which, when the current operating system cannot know the configuration parameters of the application function, the configuration parameters are pulled in real time through a pre-established data channel to achieve the purpose of starting and using the application function. This greatly saves users from the tedious operation of frequently switching operating systems when using smart devices with multiple operating systems.
[0150] Optionally, in another embodiment of the present application, Figure 4 As shown, the present application also provides a device for using the application function. Applicable to a smart device including multiple operating systems, including:
[0151] The display module 201 is configured to display at least one icon of an application function in a preset display area upon receiving a display instruction generated by a user, wherein the preset display area is pre-associated with icons of application functions deployed under at least two operating systems;
[0152] A determination module 202 is configured to determine a target application function icon selected by the user in the preset display area, wherein the target application function is an application function deployed under a target operating system;
[0153] The sending module 203 is configured to send a transmission request to the target operating system through a target data channel pre-established with a preset communication protocol, wherein the transmission request is used to request a target configuration parameter corresponding to the target application function, and the target data channel is used to transmit configuration parameters corresponding to each application function deployed under the target operating system;
[0154] The starting module 204 is configured to receive the target configuration parameters sent by the target operating system through the target data channel, and start the application function corresponding to the target application function icon using the target configuration parameters.
[0155] By applying the technical solution of the present application, the application function icons deployed under various operating systems can be centrally displayed in the display area of the current operating system of the smart device, and when it is necessary to use an application function across operating systems, the corresponding configuration parameters can be pulled across systems through a pre-established data channel. So that the application function can be subsequently started based on the configuration parameters. Thereby, a method is implemented in which, when the current operating system cannot know the configuration parameters of the application function, the configuration parameters are pulled in real time through a pre-established data channel to achieve the purpose of starting and using the application function. This greatly saves users from the tedious operation of frequently switching operating systems when using smart devices with multiple operating systems. The disadvantage of slow storage system recovery time caused by this method is eliminated.
[0156] In another embodiment of the present application, the determination module 202 is configured to:
[0157] Acquire attribute information of the target application function;
[0158] Based on the attribute information, determining the operating system corresponding to the target application function;
[0159] The target data channel matching the operating system is determined from the multiple data channels of the smart device, and the target configuration parameters are read from the target data channel.
[0160] In another embodiment of the present application, the determination module 202 is configured to:
[0161] Obtaining the operating system currently displayed by the smart device;
[0162] When determining that the currently displayed operating system is the target operating system, reading the target configuration parameters from the currently running target data channel;
[0163] When it is determined that the currently displayed operating system is not the target operating system, the currently running data channel is switched to the target data channel, and the target configuration parameters are read from the target data channel.
[0164] In another implementation manner of the present application, the sending module 203 is configured as follows:
[0165] Sending a transmission request for transmitting the target configuration parameters to a target operating system to which the target data channel belongs;
[0166] The target configuration parameters transmitted by the target operating system are received through the target data channel.
[0167] In another embodiment of the present application, the determination module 202 is configured to:
[0168] After detecting that each operating system in the smart device has been started, a data channel is established with each operating system, wherein each data channel is used to transmit configuration parameters corresponding to each application function deployed under the corresponding operating system;
[0169] The monitoring parameters are configured for each data channel, so that each data channel transmits the configuration parameters matching the transmission instruction to the opposite end operating system when receiving the transmission instruction.
[0170] In another embodiment of the present application, the determination module 202 is configured to:
[0171] When receiving a management instruction generated by a user under a first operating system, displaying application function icons deployed under all operating systems in the smart device to the user, the first operating system being any operating system in the smart device;
[0172] At least one application function icon selected by the user is recorded, and the selected application function icon is added to a display set, wherein the display set is used to display in the preset display area when a display instruction is received.
[0173] In another embodiment of the present application, the display module 201 is configured as follows:
[0174] The presentation set is synchronized to other operating systems in the smart device.
[0175] In another embodiment of the present application, the display module 201 is configured as follows:
[0176] Obtaining a target display set associated with the user's account information;
[0177] In the preset display area, an icon of at least one application function included in the target display set is displayed.
[0178] The present application also provides an electronic device for executing the above application functions. Figure 5 , which shows a schematic diagram of an electronic device provided by some embodiments of the present application. Figure 5 As shown, the electronic device 3 includes: a processor 300, a memory 301, a bus 302 and a communication interface 303, wherein the processor 300, the communication interface 303 and the memory 301 are connected via the bus 302; the memory 301 stores a computer program that can be run on the processor 300, and when the processor 300 runs the computer program, it executes the method for using the application function provided in any of the aforementioned embodiments of the present application.
[0179] The memory 301 may include a high-speed random access memory (RAM), and may also include a non-volatile memory, such as at least one disk storage. The communication connection between the device network element and at least one other network element is realized through at least one communication interface 303 (which may be wired or wireless), and the Internet, wide area network, local area network, metropolitan area network, etc. may be used.
[0180] The bus 302 may be an ISA bus, a PCI bus, or an EISA bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc. The memory 301 is used to store programs, and the processor 300 executes the programs after receiving the execution instruction. The video transmission method disclosed in any implementation of the embodiment of the present application may be applied to the processor 300, or implemented by the processor 300.
[0181] The processor 300 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the hardware integrated logic circuit or software instructions in the processor 300. The above processor 300 can be a general-purpose processor, including a processor (Central Processing Unit, referred to as CPU), a network processor (Network Processor, referred to as NP), etc.; it can also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a readily available programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiments of the present application can be implemented or executed. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc. The steps of the method disclosed in the embodiments of the present application can be directly embodied as a hardware decoding processor to execute, or the hardware and software modules in the decoding processor can be executed. The software module can be located in a mature storage medium in the field such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory 301, and the processor 300 reads the information in the memory 301 and completes the steps of the above method in combination with its hardware.
[0182] The electronic device provided in the embodiment of the present application and the method for using the application function provided in the embodiment of the present application are based on the same inventive concept and have the same beneficial effects as the methods adopted, run or implemented therein.
[0183] It should be understood that the present application is not limited to the precise structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present application is limited only by the appended claims.
Claims
1. A method for using an application function, characterized in that: Applied to smart devices with multiple operating systems, including: Upon receiving a display instruction generated by a user, displaying an icon of at least one application function in a preset display area, wherein the preset display area is pre-associated with icons of application functions deployed under at least two operating systems; Determine a target application function icon selected by the user in the preset display area, wherein the target application function is an application function deployed under a target operating system; Sending a transmission request to the target operating system via a target data channel established in advance with a preset communication protocol, wherein the transmission request is used to request target configuration parameters corresponding to the target application function, and the target data channel is used to transmit configuration parameters corresponding to each application function deployed under the target operating system; The target configuration parameters sent by the target operating system are received through the target data channel, and the application function corresponding to the target application function icon is started using the target configuration parameters.
2. The method according to claim 1, characterized in that The receiving, through the target data channel, the target configuration parameter sent by the target operating system comprises: Acquire attribute information of the target application function; Based on the attribute information, determining the operating system corresponding to the target application function; The target data channel matching the operating system is determined from the multiple data channels of the smart device, and the target configuration parameters are read from the target data channel.
3. The method according to claim 1 or 2, characterized in that The method further comprises: Obtaining the operating system currently displayed by the smart device; When determining that the currently displayed operating system is the target operating system, reading the target configuration parameters from the currently running target data channel; When it is determined that the currently displayed operating system is not the target operating system, the currently running data channel is switched to the target data channel, and the target configuration parameters are read from the target data channel.
4. The method according to claim 3, characterized in that The reading the target configuration parameters from the target data channel includes: Sending a transmission request for transmitting the target configuration parameters to a target operating system to which the target data channel belongs; The target configuration parameters transmitted by the target operating system are received through the target data channel.
5. The method according to claim 1, characterized in that Before receiving the display instruction generated by the user, the method further includes: After detecting that each operating system in the smart device has been started, a data channel is established with each operating system, wherein each data channel is used to transmit configuration parameters corresponding to each application function deployed under the corresponding operating system; The monitoring parameters are configured for each data channel, so that each data channel transmits the configuration parameters matching the transmission instruction to the opposite end operating system when receiving the transmission instruction.
6. The method according to claim 1, characterized in that Before receiving the display instruction generated by the user, the method further includes: When receiving a management instruction generated by a user under a first operating system, displaying application function icons deployed under all operating systems in the smart device to the user, the first operating system being any operating system in the smart device; At least one application function icon selected by the user is recorded, and the selected application function icon is added to a display set, wherein the display set is used to display in the preset display area when a display instruction is received.
7. The method according to claim 6, characterized in that After adding the selected application function icon to the display set, the method further includes: The presentation set is synchronized to other operating systems in the smart device.
8. The method according to claim 1, characterized in that The method of displaying at least one application function icon in a preset display area upon receiving a display instruction generated by a user includes: Obtaining a target display set associated with the user's account information; In the preset display area, an icon of at least one application function included in the target display set is displayed.
9. A device for using an application function, characterized in that: Applied to smart devices with multiple operating systems, including: a display module configured to display at least one icon of an application function in a preset display area upon receiving a display instruction generated by a user, wherein the preset display area is pre-associated with icons of application functions deployed under at least two operating systems; A determination module, configured to determine a target application function icon selected by the user in the preset display area, wherein the target application function is an application function deployed under a target operating system; A sending module is configured to send a transmission request to the target operating system through a target data channel pre-established with a preset communication protocol, wherein the transmission request is used to request a target configuration parameter corresponding to the target application function, and the target data channel is used to transmit configuration parameters corresponding to each application function deployed under the target operating system; The startup module is configured to receive the target configuration parameters sent by the target operating system through the target data channel, and start the application function corresponding to the target application function icon using the target configuration parameters.
10. An electronic device, characterized in that: include: A memory for storing executable instructions; as well as, A processor is used to execute the executable instructions with the memory to complete the operation of the method for using the application function in any one of claims 1-8.
11. A computer-readable storage medium for storing computer-readable instructions, characterized in that: When the instruction is executed, the operation of the method for using the application function described in any one of claims 1-8 is performed.