CN109799944A - The method and device of interaction - Google Patents

The method and device of interaction Download PDF

Info

Publication number
CN109799944A
CN109799944A CN201811506584.4A CN201811506584A CN109799944A CN 109799944 A CN109799944 A CN 109799944A CN 201811506584 A CN201811506584 A CN 201811506584A CN 109799944 A CN109799944 A CN 109799944A
Authority
CN
China
Prior art keywords
application
screen
operational order
operation requests
display screen
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201811506584.4A
Other languages
Chinese (zh)
Inventor
田宇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Neusoft Corp
Original Assignee
Neusoft Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Neusoft Corp filed Critical Neusoft Corp
Priority to CN201811506584.4A priority Critical patent/CN109799944A/en
Publication of CN109799944A publication Critical patent/CN109799944A/en
Pending legal-status Critical Current

Links

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

This disclosure relates to a kind of method and device of interaction.This method is created in the Service application layer of Android system for the communication interface with the application communication on Android system difference display screen in advance, and pre-establishes the binding relationship between the first application and the second application on Android system difference display screen.This method may include:, according to the binding relationship between the first application and the second application, to generate the second operational order that operation requests correspond to the second application in response to receiving the operation requests that the first application issues by communication interface in Service application layer;The second operational order is sent to by the second application by communication interface in Service application layer, make second the second operational order of application execution, to which the application of cross-screen operation realizes operational interaction, when people are inconvenient to operate the application on certain block display screen, it can carry out interactive operation by the application operated on other display screens, realize and provide convenient purpose for user's operation.

Description

The method and device of interaction
Technical field
This disclosure relates to computer application field, and in particular, to a kind of method and device of interaction.
Background technique
With the raising that people require intelligence and entertainment, the Android system environment of multi-screen has been had already appeared.For example, Vehicle-mounted machine with multi-screen plays music, video, navigation away from oneself closer display screen using in vehicle-mounted machine convenient for rider Deng.
However, in some scenes, there is the phenomenon that being inconvenient to operate wherein certain block display screen in people.For example, driver Be inconvenient to operate away from oneself closer display screen when driving and navigation, switching multi-media picture etc. are set.
Summary of the invention
In view of this, being interacted by different application across screen present disclose provides a kind of method and device of interaction with realizing Operation is to provide convenient purpose for user's operation.
In the first aspect of the embodiment of the present disclosure, a kind of method of interaction is provided.This method is in advance in Android system The Service application layer of system is created for the communication interface with the application communication on the Android system difference display screen, and is built in advance Found the binding relationship between the first application and the second application on the Android system difference display screen.This method comprises: response In receiving the operation requests that first application issues by the communication interface in the Service application layer, according to described the Binding relationship between one application and second application generates the second behaviour that the operation requests correspond to second application It instructs;Second operational order is sent to and first application by the communication interface in the Service application layer Second application with binding relationship, so that the second operational order described in second application execution.
Optionally, this method can also include: the first operation for generating the operation requests and corresponding to first application Instruction;The operation requests are corresponded to in the Service application layer by the communication interface the first behaviour of first application Make instruction and be sent to first application, so that the first operational order described in first application execution.
Optionally, the operation requests are to play to adjust request, and first application and the second application are multi-medium data The shared multimedia application in library.The generation operation requests correspond to the first operational order that described first applies and include: It generates described play and adjusts corresponding the first broadcasting regulating command for adjusting the first application plays state of request.It is described Generating operation requests to correspond to the second operational order of second application includes: to generate the broadcasting adjusting to request corresponding use Regulating command is played in adjust the second application plays state second, the second broadcasting regulating command makes described second to answer Synchronous broadcast state is applied with described first with entering using shared multimedia database.
Optionally, the operation requests are tangent screen playing request, wherein the tangent screen playing request is answered by described first With play multimedia when in response to user it is described first application touch screen carries out the gesture being consistent with desired guiding trajectory slide and It generates.The second operational order that the generation operation requests correspond to second application includes: to generate the tangent screen to play Request corresponds to the unlatching play instruction of second application, and the unlatchings play instruction makes second application into described the One application is presently in broadcast nodes and continues to play the multimedia.
Optionally, this method is applied to the Android system of vehicle electronic device.The vehicle electronic device includes for transporting Host, the first display screen being connected with the host and the second display screen being connected with the host of the row Android system; Wherein, first display screen is for showing first application, and the second display screen is for showing second application.
In the second aspect of the embodiment of the present disclosure, a kind of device of interaction is provided.The device includes: preset mould Block, be configured as in advance Android system Service application layer creation for the application on the Android system difference display screen The communication interface of communication, and pre-establish tying up between the first application and the second application on the Android system difference display screen Determine relationship.Second directive generation module is configured to respond to receive in the Service application layer by the communication interface The operation requests that first application issues are generated according to the binding relationship between first application and second application The operation requests correspond to the second operational order of second application.Second instruction sending module, is configured as described Second operational order is sent to by Service application layer by the communication interface has binding relationship with first application It is described second application so that the second operational order described in second application execution.
Optionally, which can also include: the first directive generation module, and it is corresponding to be configurable to generate the operation requests In the first operational order of first application.First instruction sending module is configured as passing through institute in the Service application layer It states communication interface and the first operational order that the operation requests correspond to first application is sent to first application, with Make the first operational order described in first application execution.
Optionally, which can be configured at the Android system of vehicle electronic device, and the vehicle electronic device includes using In the host for running the Android system, the first display screen being connected with the host and what is be connected with the host second show Display screen, wherein first display screen is for showing first application, and the second display screen is for showing that described second answers With.
In the third aspect of the embodiment of the present disclosure, a kind of computer readable storage medium is provided, is stored thereon with Computer program, when which is executed by processor the step of any one of realization disclosure first aspect the method.
In the 4th aspect of the embodiment of the present disclosure, a kind of electronic equipment is provided, comprising: memory stores thereon There is computer program;Processor, for executing the computer program in the memory, to realize disclosure first aspect Any one of the method the step of.
By disclosure above-mentioned technical proposal, due in advance the Service application layer creation of Android system for the Android The communication interface of application communication on system difference display screen, and first pre-established on the Android system difference display screen answers Therefore the first application can be received by the communication interface in Service application layer with the binding relationship between the second application When the operation requests of sending, according to binding relationship, the second operational order for corresponding to the second application is generated, which is referred to It enables and the second application with binding relationship is sent to by the communication interface, so that the application of cross-screen operation by existing in advance The communication interface across screen communication of Service application layer creation realizes operational interaction.It is shown when people are inconvenient to operate certain block It is on screen in application, can by operate on other display screens application carry out interactive operation, realize as user's operation provider Just purpose.For example, driver can lead to when driving under the scene that disclosed technique scheme is applied to vehicle electronic device The operation by passenger on other display screens of vehicle device is crossed to control the operation of driver's vehicle device main screen, ensure that driver-operated Safety.
Other feature and advantage of the disclosure will the following detailed description will be given in the detailed implementation section.
Detailed description of the invention
Attached drawing is and to constitute part of specification for providing further understanding of the disclosure, with following tool Body embodiment is used to explain the disclosure together, but does not constitute the limitation to the disclosure.In the accompanying drawings:
Implementation environment schematic diagram of the Fig. 1 shown according to one exemplary embodiment of the disclosure.
Fig. 2 is a kind of flow chart of the method for interaction shown according to an exemplary embodiment of the disclosure.
Fig. 3 is a kind of instruction interaction schematic diagram of the method for interaction shown according to an exemplary embodiment of the disclosure.
Fig. 4 is illustrated according to a kind of instruction interaction of the method for interaction shown in the another exemplary embodiment of the disclosure Figure.
Fig. 5 a is according to the tangent screen effect diagram shown in an exemplary embodiment of the disclosure.
Fig. 5 b is according to the tangent screen effect diagram shown in the another exemplary embodiment of the disclosure.
Fig. 6 is according to the Android system architecture diagram shown in an exemplary embodiment of the disclosure.
Fig. 7 is a kind of block diagram of the device of interaction shown according to an exemplary embodiment of the disclosure.
Fig. 8 is the block diagram according to a kind of device of interaction shown in the another exemplary embodiment of the disclosure.
Fig. 9 is the block diagram according to a kind of electronic equipment shown in an exemplary embodiment of the disclosure.
Specific embodiment
It is described in detail below in conjunction with specific embodiment of the attached drawing to the disclosure.It should be understood that this place is retouched The specific embodiment stated is only used for describing and explaining the disclosure, is not limited to the disclosure.
Fig. 1 is the implementation environment schematic diagram shown according to one exemplary embodiment of the disclosure.As shown in Figure 1, the implementation ring Border may include: vehicle electronic device 110.Wherein, vehicle electronic device 110 may include host 111, be connected with host 111 Middle control on screen 112, screen 113 and instrument panel 114 under middle control.Vehicle electronic device 110 is based on Android system, integrating automotive Instrument, navigation, multimedia recreation, vehicle-mounted manipulation and a plurality of third-party applications are in one and multihead display.It should be noted that The disclosure can allow android system to support multihead display, android system by modifying Android primary code AMS, WMS Support multiple display screens on application can on respective screen independent operating.Application for identical packet name, such as two Video player or two navigation applications can make it by using different packet names while operate in same host system Different screen.
As shown in Figure 1, main Video Applications are shown on screen 113 under the middle control of vehicle electronic device 110 VideoMain shields in middle control and auxiliary Video Applications VideoPlayer is shown on 112.Wherein, main Video Applications VideoMain and auxiliary Video Applications VideoPlayer are run independently of each other on different screen, may be performed simultaneously different behaviour Make, is independent of each other.Such as different video files can be played simultaneously on two pieces of screens, same video text can also be played simultaneously Part.The method of interaction described in the disclosure can be applied to the Android system of vehicle electronic device 110.In advance in vehicle electronic device 110 Android system Service application layer creation for in middle control screen 112 auxiliary Video Applications VideoPlayer and middle control under The communication interface of the main Video Applications VideoMain communication of screen 113, and pre-establish auxiliary Video Applications VideoPlayer and master Binding relationship between Video Applications VideoMain.The disclosure is unlimited to the Starting mode of two Video Applications, for example, in Clicking video button in control 113 homepages of lower screen will shield under the list of videos page to middle control for starting main Video Applications VideoMain, The list of videos page, which is clicked a certain video thumbnails and then started, shields 113 under video playing picture to middle control, when long-pressing video breviary It then can star when figure and shield 112 on the broadcasting page to middle control of auxiliary Video Applications VideoPlayer, the video playing page has control Column, user can operate broadcasting pause, fast forwarding and fast rewinding etc..
It should be noted that implementation environment shown in Fig. 1 is only used for illustrating method provided in an embodiment of the present invention, do not constitute Limitation to the embodiment of the present disclosure.
In order to understand the embodiment of the present disclosure more easily, the implementation of the communication interface described in the disclosure is carried out below It is simple to introduce.Under Android system, modification Android primary code AMS, WMS can be first passed through, Android system is allowed to support that multi-screen is aobvious Show, the application on multiple display screens is made to be separately operable the different processes in same Android system, it can be independent on respective screen Operation.And then by the creation of the inter-process communication mechanisms of Android system for the application communication on Android system difference display screen Communication interface.The disclosure is to the inter-process communication mechanisms that can be implemented and is not limited, including such as file-sharing, AIDL (Android Interface Definition Language, Android Interface Definition Language), Messenger, ContentProvider, Socket etc. can be selected according to practical application scene needs.For example, one-to-many concurrent in needs It communicates, it, can be using AIDL service as interprocess communication machine used by the disclosure under the more demanding scene of real time communication System carries out overall control, realizes the data sharing between multiple applications, message communicating, operation interaction.
Fig. 2 is a kind of flow chart of the method for interaction shown according to an exemplary embodiment of the disclosure.This method can In advance in the Service application layer creation of Android system for logical with the application communication on the Android system difference display screen Believe interface, and pre-establishes the binding relationship between the first application and the second application on the Android system difference display screen. As shown in Fig. 2, this method may comprise steps of:
In step 210, in response to receiving first application by the communication interface in the Service application layer The operation requests of sending generate the operation requests according to the binding relationship between first application and second application The second operational order corresponding to second application.
In the disclosure, first application may include one or more application.Second application may include one A or multiple applications.For example, implementation environment as shown in Figure 1, first application can be the auxiliary video of 112 display of screen in middle control Using or middle control under 113 display of screen main Video Applications the two in one, second application then can be in the two Another.
The disclosure is to interaction meaning involved in the operation requests and is not limited, can be default according to implementing to need Allow received different operation requests.For example, the operation requests can adjust request to play, interaction meaning be can be The second application of request, which applies to enter with first, is played simultaneously state.For another example the operation requests can be tangent screen playing request, It, which interacts meaning, can be the second application of request into broadcast state, and whether the first application exits broadcasting then can be according to practical feelings Condition judgement.
The disclosure to the operation requests correspond to it is described second application the second operational order generating mode without Limitation.The interaction meaning for corresponding to the second application can be requested previously according to different operation, to the generation side of the second operational order Formula is set.
For example, can be carried according to playing to adjust in request in the case where the operation requests are to play to adjust request The first application request the status information of broadcast state reached, such as including broadcasting pause, F.F., rewind, volume adjustment, bright Degree adjusts information etc., and the broadcast state that generation is used to adjust the second application enters the second broadcasting adjusting synchronous with the first application and refers to It enables.
For another example can be carried according to tangent screen playing request in the case where the operation requests are tangent screen playing request The first application be presently in the broadcast nodes information of broadcast nodes, generate and enter first application for opening the second application Broadcast nodes are presently in continue to play the multimedia unlatching play instruction.
In a step 220, second operational order is sent to by the communication interface in the Service application layer There is second application of binding relationship with first application, so that the second operation described in second application execution refers to It enables.
In addition, according to actual implementation needs, can also in the Service application layer by the communication interface by the behaviour Make request and be sent to first application corresponding to the first operational order of first application, so that first application execution First operational order.In this embodiment, the method for the interaction that the disclosure provides is equivalent to server-side, needs multi-screen mutual Dynamic application is equivalent to client, and client notifies server-side after issuing operation requests, by each visitor of server-side notice binding Family end executes instruction.It is just specific that first application and the second application only receive the operational order that server-side is issued according to operation requests The movement for executing user avoids asynchronous operation problem caused by transmitting time-consuming of the data between different processes.
It should be noted that limitation of the first operational order and the second operational order described in the disclosure without transmission sequentially, For example, can be sent simultaneously according to synchronous needs.The disclosure the first operational order corresponding to the operation requests and second The particular content of operational order is not limited.First operational order and the second operational order can instruct for same operation, It can be instructed for different operation, specifically can preset the generating mode of operational order according to actual implementation needs.
As it can be seen that due to disclosed technique scheme in advance Android system Service application layer creation for the Android system The communication interface of application communication on different display screens, and pre-establish on the Android system difference display screen first application with Therefore binding relationship between second application can receive the first application by the communication interface in Service application layer and issue Operation requests when, according to binding relationship, generate the second operational order for corresponding to the second application, which led to It crosses the communication interface and is sent to the second application with binding relationship, so that the application of cross-screen operation by servicing in advance The communication interface across screen communication of application layer creation realizes operational interaction.When people are inconvenient to operate on certain block display screen In application, can by operate on other display screens application carry out interactive operation, realize and provided easily for user's operation Purpose.
For example, the method for the interaction that the disclosure provides can be applied to the Android system of vehicle electronic device.It is described vehicle-mounted Electronic equipment include for run the host of the Android system, the first display screen being connected with the host and with the master The connected second display screen of machine;Wherein, for showing first application, the second display screen is used for first display screen Show second application.Implementation environment as shown in connection with fig. 1, driver, can be main on 113 by shielding under passenger's centering control when driving The operation of Video Applications controls the auxiliary Video Applications shielded on 112 to control driver in nearby.As it can be seen that the embodiment is by allowing Application on other display screens of passenger operation is applied on driver's display screen to control, and ensure that driver-operated safety.
In the following, a kind of instruction interaction schematic diagram of the method for interaction shown in an exemplary embodiment as shown in connection with fig. 3, By taking the operation requests are to play adjusting request as an example, the embodiment of the present disclosure is described in detail.In this embodiment, in advance It first creates in the Service application layer of Android system and is connect for the communication with the application communication on the Android system difference display screen Mouthful, and the binding relationship between the first application and the second application on the Android system difference display screen is pre-established, it is described First application and the multimedia application that the second application is that multimedia database is shared.As shown in figure 3, this method may include following Step:
In the step 310, in response to receiving first application by the communication interface in the Service application layer The broadcasting of sending adjusts request, according to the binding relationship between first application and second application, generates the operation Request corresponds to the second broadcasting regulating command of second application.
For example, it may include playing pause, F.F., rewind, volume adjustment, brightness regulation etc. to broadcast that the broadcasting, which adjusts request, Put adjusting request.It is understood that can carry the first application in the broadcasting adjusting request requests the broadcasting shape reached The status information of state, so as to adjust the shape that the broadcast state reached is requested in the carry in request first application according to broadcasting State information, such as including playing pause, F.F., rewind, volume adjustment, brightness regulation information, generate for adjusting the second application Broadcast state enter the second broadcasting regulating command synchronous with the first application.
In step 320, the broadcasting is adjusted by the communication interface in Service application layer and requests corresponding be used for The the first broadcasting regulating command for adjusting the first application plays state is sent to first application, so that first application It executes described first and plays regulating command.
The first application can be made to reach its broadcast state for requesting to reach by executing the first broadcasting regulating command.
In a step 330, the broadcasting is adjusted by the communication interface in Service application layer and requests corresponding be used for The the second broadcasting regulating command for adjusting the second application plays state is sent to second application, so that second application Described second is executed using shared multimedia database and plays regulating command, and the second broadcasting regulating command makes described second Synchronous broadcast state is applied with described first using entering.
It should be noted that step 320 described in the disclosure and step 330 are without the limitation executed sequentially.
Wherein, described first regulating command and the second broadcasting regulating command are played, adjusts request phase from different broadcastings It answers, may include playing the instruction such as pause, F.F., rewind, volume adjustment, brightness regulation.In order to which the second application enters and the The synchronous broadcast state of one application, the first application can be shared with the second application comprising playlist, media information, map datum Etc. data multimedia database, refer to so that the second application can use shared multimedia database and execute second and play to adjust It enables, reaches and apply synchronous broadcast state with first.
In some possible embodiments, it is possible to exist and be not suitable for the case where being played simultaneously.For example, in two display screens When playing different video, all controls need to be independent of each other independently of each other just for current screen video being played on, be not suitable for It is played simultaneously, and two display screens play same video and are then suitble to be played simultaneously.Therefore, it is asked in the operation for receiving the first application After asking, it can further judge whether the first application needs simultaneously operating with the second application, for example, can decide whether that second answers It is playing same video with the first application, plays regulating command hair if so, will play adjust request corresponding first again The first application is given, the second broadcasting regulating command is sent to the second application, enters second application and first application Synchronous broadcast state is answered if it is not, then will only play the corresponding first broadcasting regulating command of adjusting request and be sent to first With, make the first application execution first play regulating command.
Implementation environment as shown in connection with fig. 1, the video for shielding 113 two screens in the middle control shown in Fig. 1 under screen 112 and middle control are answered When with playing different videos, all controls are independent of each other independently of each other all just for current screen video being played on.When When shielding the 113 same video of broadcasting under screen 112 and middle control in middle control, the striding course communication service end for passing through the disclosure controls two views Screen applies simultaneously operating.
As it can be seen that through this embodiment, can control and adjusting operation is played simultaneously across screen multimedia application, make its play into The state synchronizeds such as degree, volume, brightness, realize to play and adjust operational interaction, to show when people are inconvenient to operate certain block When multimedia application on screen, can by operating the multimedia application on other display screens come simultaneously operating, realize for Family operation provides convenient purpose.
In the following, a kind of instruction interaction signal of the method for interaction shown in another exemplary embodiment as shown in connection with fig. 4 Figure is described in detail the embodiment of the present disclosure so that the operation requests can be for tangent screen playing request as an example.In the embodiment party In formula, in advance Android system Service application layer creation for the application communication on the Android system difference display screen Communication interface, and the binding pre-established between the first application and the second application on the Android system difference display screen is closed System.As shown in figure 4, this method may comprise steps of:
In step 410, in response to receiving first application by the communication interface in the Service application layer The tangent screen playing request of sending generates the tangent screen according to the binding relationship between first application and second application Playing request corresponds to the unlatching play instruction of second application.
Wherein, the tangent screen playing request can be by when the first application plays multimedia in response to user described First application touch screen carry out be consistent with desired guiding trajectory gesture sliding and generation.
Wherein, described play can carry the broadcast nodes letter that the first application is presently in broadcast nodes in adjusting request Breath.It is presently in the broadcast nodes information of broadcast nodes according to the first application that tangent screen playing request carries, generates for opening Second application is presently in broadcast nodes into first application and continues to play the multimedia unlatching play instruction.
At step 420, in Service application layer by the communication interface by the corresponding unlatching of the tangent screen playing request Play instruction is sent to second application, so as to open play instruction described in second application execution, the unlatching is played Instructing, which makes second application be presently in broadcast nodes into first application, continues to play the multimedia.
In addition, the first application, which can exit broadcasting, can continue to play according to needs are implemented.It exits if necessary, then The corresponding play instruction that exits of the tangent screen playing request can be sent to by institute by the communication interface in Service application layer The first application is stated, so as to exit play instruction described in first application execution, the play instruction that exits makes described first to answer It is played with exiting.It is not in broadcast state before executing the second operational order for example, can apply according to second, determines and needs Broadcasting is exited in first application, otherwise, can determine the first application without exiting broadcasting, thus the first application and the second application plays It is synchronous.
In the case where broadcasting is exited in the application of needs first, further, in order to make image switching process more smooth, The primary Activity of Android can be cooperated according to gesture glide direction image switching.Specifically, the play instruction that exits can So that first application exits broadcasting pictures according to the direction that gesture is slided, the unlatching play instruction can make described second Enter broadcasting pictures using the direction slided according to gesture.
For example, as shown in tangent screen effect diagram of Fig. 5 a according to an exemplary embodiment of the disclosure, when two pieces Screen or so is put, it is that user slides left screen from left to right in application, can make the Activity of left screen execute from From left to right exits picture, and at the same time, the Activity of right screen executes entrance picture from left to right.For another example such as Fig. 5 b is put above and below two pieces of screens according to the tangent screen effect diagram shown in the another exemplary embodiment of the disclosure, User slide from the bottom up it is lower shield in application, can make lower screen Activity execute from the bottom up exit picture, upper screen Activity executes the picture that enters from the bottom up, on the contrary then execute opposite screen switching.As it can be seen that by being cut by gestures direction Change the embodiment of picture, can show user by gesture sliding by navigation application or multimedia application from one piece of screen The visual effect on another piece of screen is slided into, makes handoff procedure more smooth.
As it can be seen that through this embodiment, can control and played across screen multimedia application tangent screen, realized in tangent screen play operation Interaction, to can be slided by gesture when people are inconvenient to operate the multimedia application on certain block display screen and open broadcasting Multimedia application on other display screens plays to be switched on purpose display screen, realizes and provides convenient mesh for user's operation 's.
In order to which the method for the interaction for providing the disclosure more easily understands, show below in conjunction with the disclosure one shown in Fig. 6 Example property implements the Android system architecture diagram exemplified, applies VideoMain across screen in Android system under implementation environment shown in Fig. 1 Interaction with VideoPlayer is illustrated.As shown in fig. 6, C1, C2, C3, C4, C5 are control stream, D1, D2 are data flow.It is logical Control stream C1 is crossed, is VideoMain, VideoPlayer realizes communication interface in Service application layer in a manner of AIDL.Pass through control The AIDL server-side that stream C2, VideoMain and VideoPlayer is realized by Intent with the method interacted using the disclosure Establish binding relationship.Flow C3 by control, after connection is successfully established, return Binder object to VideoMain and VideoPlayer.AIDL can be called to take by the Binder returned by control stream C4, VideoMain and VideoPlayer The method at business end.C5 is flowed by control, can be passed through using the AIDL server-side that the method that the disclosure interacts is realized The method that RemoteCallbackList traversal calls binding application.Operation requests are issued by data flow D1, VideoMain The AIDL server-side realized using the method that the disclosure interacts.It is real using the method institute of disclosure interaction by data flow D2 The corresponding operational order of operation requests is sent to VideoMain and VideoPlayer by existing AIDL server-side.
Fig. 7 is a kind of block diagram of the device 700 of interaction shown according to an exemplary embodiment of the disclosure.Such as Fig. 7 institute Show, the apparatus may include: preset module 710, the second directive generation module 720 and the second instruction sending module 730.
The preset module 710, can be configured as in advance Android system Service application layer creation for the peace The communication interface of application communication on tall and erect system difference display screen, and pre-establish on the Android system difference display screen Binding relationship between one application and the second application.
Second directive generation module 720 can be configured as in response to passing through the communication in the Service application layer The operation requests that interface is issued to first application, according to the binding between first application and second application Relationship generates the second operational order that the operation requests correspond to second application.
Second instruction sending module 730, can be configured as will by the communication interface in the Service application layer Second operational order is sent to second application for having binding relationship with first application, so that described second answers With execution second operational order.
As it can be seen that due to disclosed technique scheme in advance Android system Service application layer creation for the Android system The communication interface of application communication on different display screens, and pre-establish on the Android system difference display screen first application with Therefore binding relationship between second application can receive the first application by the communication interface in Service application layer and issue Operation requests when, according to binding relationship, generate the second operational order for corresponding to the second application, which led to It crosses the communication interface and is sent to the second application with binding relationship, so that the application of cross-screen operation by servicing in advance The communication interface across screen communication of application layer creation realizes operational interaction.When people are inconvenient to operate on certain block display screen In application, can by operate on other display screens application carry out interactive operation, realize and provided easily for user's operation Purpose.
For example, the device for the interaction that the disclosure provides can be configured at the Android system of vehicle electronic device.It is described vehicle-mounted Electronic equipment include for run the host of the Android system, the first display screen being connected with the host and with the master The connected second display screen of machine;Wherein, for showing first application, the second display screen is used for first display screen Show second application.Implementation environment as shown in connection with fig. 1, driver, can be main on 113 by shielding under passenger's centering control when driving The operation of Video Applications controls the auxiliary Video Applications shielded on 112 to control driver in nearby.As it can be seen that the embodiment is by allowing Application on other display screens of passenger operation is applied on driver's display screen to control, and ensure that driver-operated safety.
Optionally, the block diagram of the device 800 of a kind of interaction as shown in Fig. 8 according to the another exemplary embodiment of the disclosure Shown, the device 800 of the interaction can also include: the first directive generation module 740, can be configured as the generation operation and ask Seek the first operational order for corresponding to first application.First instruction sending module 750, can be configured as in the service The first operational order that the operation requests correspond to first application is sent to institute by the communication interface by application layer The first application is stated, so that the first operational order described in first application execution.In this embodiment, the first application and second Using the operational order just specifically movement of execution user is only received, avoiding transmitting time-consuming of the data between different processes causes Asynchronous operation problem.
Optionally, the operation requests can adjust request to play, and first application and the second application are multimedia The multimedia application of Database vendors.In this embodiment, first directive generation module 740 can be configured as generation Described play adjusts corresponding the first broadcasting regulating command for adjusting the first application plays state of request.Described second It is corresponding for adjusting second application plays that directive generation module 720 can be configured as the generation broadcasting adjusting request The second of state plays regulating command, and the second broadcasting regulating command makes second application utilize shared multi-medium data Library, which enters, applies synchronous broadcast state with described first.Through this embodiment, it can control to synchronize across screen multimedia application and broadcast Adjusting operation is put, the state synchronizeds such as its playback progress, volume, brightness are made, realizes and plays the operational interaction of adjusting, to work as people When being inconvenient to operate the multimedia application on certain block display screen, can by operate the multimedia application on other display screens come Simultaneously operating realizes and provides convenient purpose for user's operation.
Optionally, the operation requests can be tangent screen playing request.Wherein, the tangent screen playing request can be by institute The hand being consistent with desired guiding trajectory is carried out in the touch screen of first application in response to user when stating the first application plays multimedia Gesture sliding and generate.In this embodiment, second directive generation module 720, which can be configured as, generates the tangent screen Playing request corresponds to the unlatching play instruction of second application, and the unlatching play instruction makes second application enter institute The first application is stated to be presently in broadcast nodes and continue to play the multimedia.Through this embodiment, it can control across screen multimedia It is played using tangent screen, realizes the interaction in tangent screen play operation, thus when people are inconvenient to operate more matchmakers on certain block display screen When broadcasting is opened in body application, the multimedia application on other display screens can be slided by gesture to be switched on purpose display screen It plays, realizes and provide convenient purpose for user's operation.
About the device in above-described embodiment, wherein modules execute the concrete mode of operation in related this method Embodiment in be described in detail, no detailed explanation will be given here.
Fig. 9 is the block diagram of a kind of electronic equipment 900 shown according to an exemplary embodiment.As shown in figure 9, the electronics is set Standby 900 may include: processor 901, memory 902.The electronic equipment 900 can also include multimedia component 903, input/ Export one or more of (I/O) interface 904 and communication component 905.
Wherein, processor 901 is used to control the integrated operation of the electronic equipment 900, the method to complete above-mentioned interaction In all or part of the steps.Memory 902 is for storing various types of data to support the behaviour in the electronic equipment 900 To make, these data for example may include the instruction of any application or method for operating on the electronic equipment 900, with And the relevant data of application program, such as contact data, the message of transmitting-receiving, picture, audio, video etc..The memory 902 It can be realized by any kind of volatibility or non-volatile memory device or their combination, such as static random-access is deposited Reservoir (Static Random Access Memory, abbreviation SRAM), electrically erasable programmable read-only memory (Electrically Erasable Programmable Read-Only Memory, abbreviation EEPROM), erasable programmable Read-only memory (Erasable Programmable Read-Only Memory, abbreviation EPROM), programmable read only memory (Programmable Read-Only Memory, abbreviation PROM), and read-only memory (Read-Only Memory, referred to as ROM), magnetic memory, flash memory, disk or CD.Multimedia component 903 may include screen and audio component.Wherein Screen for example can be touch screen, and audio component is used for output and/or input audio signal.For example, audio component may include One microphone, microphone is for receiving external audio signal.The received audio signal can be further stored in storage Device 902 is sent by communication component 905.Audio component further includes at least one loudspeaker, is used for output audio signal.I/O Interface 904 provides interface between processor 901 and other interface modules, other above-mentioned interface modules can be keyboard, mouse, Button etc..These buttons can be virtual push button or entity button.Communication component 905 is for the electronic equipment 900 and other Wired or wireless communication is carried out between equipment.Wireless communication, such as Wi-Fi, bluetooth, near-field communication (Near Field Communication, abbreviation NFC), 2G, 3G or 4G or they one or more of combination, therefore corresponding communication Component 905 may include: Wi-Fi module, bluetooth module, NFC module.
In one exemplary embodiment, electronic equipment 900 can be by one or more application specific integrated circuit (Application Specific Integrated Circuit, abbreviation ASIC), digital signal processor (Digital Signal Processor, abbreviation DSP), digital signal processing appts (Digital Signal Processing Device, Abbreviation DSPD), programmable logic device (Programmable Logic Device, abbreviation PLD), field programmable gate array (Field Programmable Gate Array, abbreviation FPGA), controller, microcontroller, microprocessor or other electronics member Part realization, the method for executing above-mentioned interaction.
In a further exemplary embodiment, a kind of computer readable storage medium including program instruction is additionally provided, it should The step of method of above-mentioned interaction is realized when program instruction is executed by processor.For example, the computer readable storage medium can Think the above-mentioned memory 902 including program instruction, above procedure instruction can be executed by the processor 901 of electronic equipment 900 with The method for completing above-mentioned interaction.
The preferred embodiment of the disclosure is described in detail in conjunction with attached drawing above, still, the disclosure is not limited to above-mentioned reality The detail in mode is applied, in the range of the technology design of the disclosure, a variety of letters can be carried out to the technical solution of the disclosure Monotropic type, these simple variants belong to the protection scope of the disclosure.
It is further to note that specific technical features described in the above specific embodiments, in not lance In the case where shield, it can be combined in any appropriate way.In order to avoid unnecessary repetition, the disclosure to it is various can No further explanation will be given for the combination of energy.
In addition, any combination can also be carried out between a variety of different embodiments of the disclosure, as long as it is without prejudice to originally Disclosed thought equally should be considered as disclosure disclosure of that.

Claims (10)

1. a kind of method of interaction, which is characterized in that in advance Android system Service application layer creation for the Android The communication interface of application communication on system difference display screen, and pre-establish on the Android system difference display screen first Using the binding relationship between the second application, which comprises
In response to receiving the operation requests that first application issues, root by the communication interface in the Service application layer According to the binding relationship between first application and second application, generates the operation requests and correspond to second application The second operational order;
Second operational order is sent to by the communication interface in the Service application layer and is had with first application There is second application of binding relationship, so that the second operational order described in second application execution.
2. the method according to claim 1, wherein further include:
Generate the first operational order that the operation requests correspond to first application;
The operation requests are corresponded to in the Service application layer by the communication interface the first behaviour of first application Make instruction and be sent to first application, so that the first operational order described in first application execution.
3. according to the method described in claim 2, it is characterized in that, the operation requests be play adjust request, described first It is the shared multimedia application of multimedia database using with the second application;
The generation operation requests correspond to the first operational order that described first applies and include:
It generates described play and adjusts corresponding the first broadcasting regulating command for adjusting the first application plays state of request;
The generation operation requests correspond to the second operational order that described second applies and include:
It generates described play and adjusts corresponding the second broadcasting regulating command for adjusting the second application plays state of request, It is same with first application that the second broadcasting regulating command enters second application using shared multimedia database The broadcast state of step.
4. method according to claim 1 or 2, which is characterized in that the operation requests are tangent screen playing request, wherein The tangent screen playing request is the touch screen by applying in response to user described first when the first application plays multimedia Carry out be consistent with desired guiding trajectory gesture sliding and generation;
The generation operation requests correspond to the second operational order that described second applies and include:
The unlatching play instruction that the tangent screen playing request corresponds to second application is generated, the unlatching play instruction makes institute It states the second application and enters first application and be presently in broadcast nodes and continue to play the multimedia.
5. the method according to claim 1, wherein the method is applied to the Android system of vehicle electronic device System;
The vehicle electronic device includes the first display for running the host of the Android system, being connected with the host Screen and the second display screen being connected with the host;
Wherein, first display screen is for showing first application, and the second display screen is for showing that described second answers With.
6. a kind of device of interaction characterized by comprising
Preset module is configured as creating in the Service application layer of Android system for showing with the Android system difference in advance The communication interface of application communication on screen, and pre-establish the first application on the Android system difference display screen and answered with second Binding relationship between;
Second directive generation module is configured to respond to receive in the Service application layer by the communication interface described The operation requests that first application issues, according to the binding relationship between first application and second application, described in generation Operation requests correspond to the second operational order of second application;
Second instruction sending module is configured as referring to second operation by the communication interface in the Service application layer Second application for being sent to and there is binding relationship with first application is enabled, so that second described in second application execution Operational order.
7. device according to claim 6, which is characterized in that further include:
First directive generation module, the first operation for being configurable to generate the operation requests corresponding to first application refer to It enables;
First instruction sending module is configured as the operation requests pair in the Service application layer through the communication interface First operational order of the first application described in Ying Yu is sent to first application, so that first described in first application execution Operational order.
8. device according to claim 6, which is characterized in that described device is configured at the Android system of vehicle electronic device System;
The vehicle electronic device includes the first display for running the host of the Android system, being connected with the host Screen and the second display screen being connected with the host;
Wherein, first display screen is for showing first application, and the second display screen is for showing that described second answers With.
9. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is held by processor The step of any one of claim 1-5 the method is realized when row.
10. a kind of electronic equipment characterized by comprising
Memory is stored thereon with computer program;
Processor, for executing the computer program in the memory, to realize described in any one of claim 1-5 The step of method.
CN201811506584.4A 2018-12-10 2018-12-10 The method and device of interaction Pending CN109799944A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811506584.4A CN109799944A (en) 2018-12-10 2018-12-10 The method and device of interaction

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811506584.4A CN109799944A (en) 2018-12-10 2018-12-10 The method and device of interaction

Publications (1)

Publication Number Publication Date
CN109799944A true CN109799944A (en) 2019-05-24

Family

ID=66556585

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811506584.4A Pending CN109799944A (en) 2018-12-10 2018-12-10 The method and device of interaction

Country Status (1)

Country Link
CN (1) CN109799944A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110377207A (en) * 2019-07-25 2019-10-25 诚迈科技(南京)股份有限公司 A kind of method and system of onboard instruments and middle control changing interface
CN110764724A (en) * 2019-09-25 2020-02-07 东软集团股份有限公司 Display equipment control method, device, equipment and storage medium
CN112672435A (en) * 2020-11-24 2021-04-16 深圳市广和通无线股份有限公司 Communication method, communication apparatus, computer device, and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101980144A (en) * 2010-11-05 2011-02-23 深圳市合正汽车电子有限公司 On-board computer multi-screen display method and system
CN103856807A (en) * 2014-03-25 2014-06-11 北京奇艺世纪科技有限公司 Method and device for controlling interaction between screens
DE102014225161A1 (en) * 2013-12-18 2015-06-18 Hyundai Motor Company Multi-operating system and method using a touchpad of an operating system of a vehicle
CN105530531A (en) * 2014-09-29 2016-04-27 深圳市赛格导航科技股份有限公司 Method and system for vehicle audio-video multi-screen playing
CN106052698A (en) * 2016-07-10 2016-10-26 苏州长风航空电子有限公司 Interactive double-screen vehicular navigator
CN108556740A (en) * 2018-04-17 2018-09-21 上海商泰汽车信息系统有限公司 Multi-screen shares device and method, computer-readable medium, mobile unit
CN108958677A (en) * 2017-05-17 2018-12-07 中兴通讯股份有限公司 A kind of application control method and device of double screen terminal

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101980144A (en) * 2010-11-05 2011-02-23 深圳市合正汽车电子有限公司 On-board computer multi-screen display method and system
DE102014225161A1 (en) * 2013-12-18 2015-06-18 Hyundai Motor Company Multi-operating system and method using a touchpad of an operating system of a vehicle
CN103856807A (en) * 2014-03-25 2014-06-11 北京奇艺世纪科技有限公司 Method and device for controlling interaction between screens
CN105530531A (en) * 2014-09-29 2016-04-27 深圳市赛格导航科技股份有限公司 Method and system for vehicle audio-video multi-screen playing
CN106052698A (en) * 2016-07-10 2016-10-26 苏州长风航空电子有限公司 Interactive double-screen vehicular navigator
CN108958677A (en) * 2017-05-17 2018-12-07 中兴通讯股份有限公司 A kind of application control method and device of double screen terminal
CN108556740A (en) * 2018-04-17 2018-09-21 上海商泰汽车信息系统有限公司 Multi-screen shares device and method, computer-readable medium, mobile unit

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110377207A (en) * 2019-07-25 2019-10-25 诚迈科技(南京)股份有限公司 A kind of method and system of onboard instruments and middle control changing interface
CN110377207B (en) * 2019-07-25 2022-05-06 诚迈科技(南京)股份有限公司 Method and system for switching vehicle-mounted instrument and central control interface
CN110764724A (en) * 2019-09-25 2020-02-07 东软集团股份有限公司 Display equipment control method, device, equipment and storage medium
CN112672435A (en) * 2020-11-24 2021-04-16 深圳市广和通无线股份有限公司 Communication method, communication apparatus, computer device, and storage medium
CN112672435B (en) * 2020-11-24 2023-05-05 深圳市广和通无线股份有限公司 Communication method, communication device, computer equipment and storage medium

Similar Documents

Publication Publication Date Title
US7434165B2 (en) Programmed apparatus and system of dynamic display of presentation files
US9558162B2 (en) Dynamic multimedia pairing
US9135956B2 (en) Method and computer program product for establishing playback timing correlation between different contents to be playbacked
KR20210092220A (en) Real-time video special effects systems and methods
WO2017193612A1 (en) Apparatus employing mobile terminal to operate electronic apparatus, system, and method
CN109799944A (en) The method and device of interaction
JP2022506929A (en) Display page interaction control methods and devices
US20110119587A1 (en) Data model and player platform for rich interactive narratives
CN109905721A (en) A kind of direct broadcasting room exchange method, system, equipment and computer-readable medium
CN104699468A (en) Client side and interface generation method thereof
JP2003092706A (en) Effect attaching device, effect attaching method, and effect attaching program
US20240129427A1 (en) Video processing method and apparatus, and terminal and storage medium
CN109542430B (en) Method and device for realizing interface interaction effect and electronic equipment
CN115605837A (en) Game console application with action fob
JP2019532385A (en) System for configuring or modifying a virtual reality sequence, configuration method, and system for reading the sequence
CN113392260B (en) Interface display control method, device, medium and electronic equipment
WO2006132021A1 (en) Gui content reproducing device and program
US11010036B2 (en) Edit experience for transformation of digital content
KR101827863B1 (en) System and method for providing multimedia contents
KR101918705B1 (en) Screen configuration method and screen configuration systema for reducing cognitive load
RU2698421C2 (en) Cinematization of output in compound device environment
WO2023165363A1 (en) Short video playback method and apparatus, and electronic device
US20240020135A1 (en) System and method for generating customized user interface with multi-application functionality
Kuwahara et al. Proposal for a theatre optique simulated experience application
WO2022062899A1 (en) Vr scene-based video previewing method, electronic device, and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20190524

RJ01 Rejection of invention patent application after publication