Movatterモバイル変換


[0]ホーム

URL:


CN109799944A - The method and device of interaction - Google Patents

The method and device of interaction
Download PDF

Info

Publication number
CN109799944A
CN109799944ACN201811506584.4ACN201811506584ACN109799944ACN 109799944 ACN109799944 ACN 109799944ACN 201811506584 ACN201811506584 ACN 201811506584ACN 109799944 ACN109799944 ACN 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 CorpfiledCriticalNeusoft Corp
Priority to CN201811506584.4ApriorityCriticalpatent/CN109799944A/en
Publication of CN109799944ApublicationCriticalpatent/CN109799944A/en
Pendinglegal-statusCriticalCurrent

Links

Landscapes

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 riderDeng.
However, in some scenes, there is the phenomenon that being inconvenient to operate wherein certain block display screen in people.For example, driverBe 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 realizingOperation 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 systemThe 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 advanceFound the binding relationship between the first application and the second application on the Android system difference display screen.This method comprises: responseIn receiving the operation requests that first application issues by the communication interface in the Service application layer, according to described theBinding relationship between one application and second application generates the second behaviour that the operation requests correspond to second applicationIt instructs;Second operational order is sent to and first application by the communication interface in the Service application layerSecond 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 applicationInstruction;The operation requests are corresponded to in the Service application layer by the communication interface the first behaviour of first applicationMake 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 dataThe 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 describedGenerating operation requests to correspond to the second operational order of second application includes: to generate the broadcasting adjusting to request corresponding useRegulating command is played in adjust the second application plays state second, the second broadcasting regulating command makes described second to answerSynchronous 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 firstWith 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 andIt generates.The second operational order that the generation operation requests correspond to second application includes: to generate the tangent screen to playRequest corresponds to the unlatching play instruction of second application, and the unlatchings play instruction makes second application into described theOne 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 transportingHost, 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 mouldBlock, be configured as in advance Android system Service application layer creation for the application on the Android system difference display screenThe communication interface of communication, and pre-establish tying up between the first application and the second application on the Android system difference display screenDetermine relationship.Second directive generation module is configured to respond to receive in the Service application layer by the communication interfaceThe operation requests that first application issues are generated according to the binding relationship between first application and second applicationThe operation requests correspond to the second operational order of second application.Second instruction sending module, is configured as describedSecond operational order is sent to by Service application layer by the communication interface has binding relationship with first applicationIt 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 requestsIn the first operational order of first application.First instruction sending module is configured as passing through institute in the Service application layerIt states communication interface and the first operational order that the operation requests correspond to first application is sent to first application, withMake 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 usingIn 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 showDisplay screen, wherein first display screen is for showing first application, and the second display screen is for showing that described second answersWith.
In the third aspect of the embodiment of the present disclosure, a kind of computer readable storage medium is provided, is stored thereon withComputer 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 thereonThere is computer program;Processor, for executing the computer program in the memory, to realize disclosure first aspectAny 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 AndroidThe communication interface of application communication on system difference display screen, and first pre-established on the Android system difference display screen answersTherefore the first application can be received by the communication interface in Service application layer with the binding relationship between the second applicationWhen the operation requests of sending, according to binding relationship, the second operational order for corresponding to the second application is generated, which is referred toIt 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 advanceThe communication interface across screen communication of Service application layer creation realizes operational interaction.It is shown when people are inconvenient to operate certain blockIt is on screen in application, can by operate on other display screens application carry out interactive operation, realize as user's operation providerJust purpose.For example, driver can lead to when driving under the scene that disclosed technique scheme is applied to vehicle electronic deviceThe 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-operatedSafety.
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 toolBody 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 disclosureFigure.
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 retouchedThe 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 ringBorder may include: vehicle electronic device 110.Wherein, vehicle electronic device 110 may include host 111, be connected with host 111Middle control on screen 112, screen 113 and instrument panel 114 under middle control.Vehicle electronic device 110 is based on Android system, integrating automotiveInstrument, navigation, multimedia recreation, vehicle-mounted manipulation and a plurality of third-party applications are in one and multihead display.It should be noted thatThe disclosure can allow android system to support multihead display, android system by modifying Android primary code AMS, WMSSupport multiple display screens on application can on respective screen independent operating.Application for identical packet name, such as twoVideo player or two navigation applications can make it by using different packet names while operate in same host systemDifferent screen.
As shown in Figure 1, main Video Applications are shown on screen 113 under the middle control of vehicle electronic device 110VideoMain shields in middle control and auxiliary Video Applications VideoPlayer is shown on 112.Wherein, main Video ApplicationsVideoMain and auxiliary Video Applications VideoPlayer are run independently of each other on different screen, may be performed simultaneously different behaviourMake, 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 simultaneouslyPart.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 device110 Android system Service application layer creation for in middle control screen 112 auxiliary Video Applications VideoPlayer and middle control underThe communication interface of the main Video Applications VideoMain communication of screen 113, and pre-establish auxiliary Video Applications VideoPlayer and masterBinding relationship between Video Applications VideoMain.The disclosure is unlimited to the Starting mode of two Video Applications, for example, inClicking 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 breviaryIt 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 controlColumn, 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 constituteLimitation 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 belowIt 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 aobviousShow, 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 screenOperation.And then by the creation of the inter-process communication mechanisms of Android system for the application communication on Android system difference display screenCommunication 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 needsIt communicates, it, can be using AIDL service as interprocess communication machine used by the disclosure under the more demanding scene of real time communicationSystem 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 canIn advance in the Service application layer creation of Android system for logical with the application communication on the Android system difference display screenBelieve 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 layerThe operation requests of sending generate the operation requests according to the binding relationship between first application and second applicationThe second operational order corresponding to second application.
In the disclosure, first application may include one or more application.Second application may include oneA 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 controlUsing or middle control under 113 display of screen main Video Applications the two in one, second application then can be in the twoAnother.
The disclosure is to interaction meaning involved in the operation requests and is not limited, can be default according to implementing to needAllow received different operation requests.For example, the operation requests can adjust request to play, interaction meaning be can beThe 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 feelingsCondition judgement.
The disclosure to the operation requests correspond to it is described second application the second operational order generating mode withoutLimitation.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 orderFormula 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 requestThe first application request the status information of broadcast state reached, such as including broadcasting pause, F.F., rewind, volume adjustment, brightDegree 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 toIt enables.
For another example can be carried according to tangent screen playing request in the case where the operation requests are tangent screen playing requestThe first application be presently in the broadcast nodes information of broadcast nodes, generate and enter first application for opening the second applicationBroadcast 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 layerThere is second application of binding relationship with first application, so that the second operation described in second application execution refers toIt enables.
In addition, according to actual implementation needs, can also in the Service application layer by the communication interface by the behaviourMake request and be sent to first application corresponding to the first operational order of first application, so that first application executionFirst operational order.In this embodiment, the method for the interaction that the disclosure provides is equivalent to server-side, needs multi-screen mutualDynamic application is equivalent to client, and client notifies server-side after issuing operation requests, by each visitor of server-side notice bindingFamily 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 requestsThe 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 secondThe 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 systemThe communication interface of application communication on different display screens, and pre-establish on the Android system difference display screen first application withTherefore binding relationship between second application can receive the first application by the communication interface in Service application layer and issueOperation requests when, according to binding relationship, generate the second operational order for corresponding to the second application, which led toIt 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 advanceThe communication interface across screen communication of application layer creation realizes operational interaction.When people are inconvenient to operate on certain block display screenIn application, can by operate on other display screens application carry out interactive operation, realize and provided easily for user's operationPurpose.
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-mountedElectronic equipment include for run the host of the Android system, the first display screen being connected with the host and with the masterThe connected second display screen of machine;Wherein, for showing first application, the second display screen is used for first display screenShow 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 drivingThe 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 allowingApplication 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 advanceIt 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 screenMouthful, and the binding relationship between the first application and the second application on the Android system difference display screen is pre-established, it is describedFirst application and the multimedia application that the second application is that multimedia database is shared.As shown in figure 3, this method may include followingStep:
In the step 310, in response to receiving first application by the communication interface in the Service application layerThe broadcasting of sending adjusts request, according to the binding relationship between first application and second application, generates the operationRequest 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 reachedThe 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 broadcastingState information, such as including playing pause, F.F., rewind, volume adjustment, brightness regulation information, generate for adjusting the second applicationBroadcast 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 forThe the first broadcasting regulating command for adjusting the first application plays state is sent to first application, so that first applicationIt 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 forThe the second broadcasting regulating command for adjusting the second application plays state is sent to second application, so that second applicationDescribed second is executed using shared multimedia database and plays regulating command, and the second broadcasting regulating command makes described secondSynchronous 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 broadcastingsIt 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 theThe synchronous broadcast state of one application, the first application can be shared with the second application comprising playlist, media information, map datumEtc. data multimedia database, refer to so that the second application can use shared multimedia database and execute second and play to adjustIt 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 screensWhen 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 forIt 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 applicationAfter asking, it can further judge whether the first application needs simultaneously operating with the second application, for example, can decide whether that second answersIt is playing same video with the first application, plays regulating command hair if so, will play adjust request corresponding first againThe first application is given, the second broadcasting regulating command is sent to the second application, enters second application and first applicationSynchronous 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 firstWith, 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 answeredWhen with playing different videos, all controls are independent of each other independently of each other all just for current screen video being played on.WhenWhen 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 viewsScreen 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 intoThe state synchronizeds such as degree, volume, brightness, realize to play and adjust operational interaction, to show when people are inconvenient to operate certain blockWhen multimedia application on screen, can by operating the multimedia application on other display screens come simultaneously operating, realize forFamily 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. 4Figure 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 partyIn formula, in advance Android system Service application layer creation for the application communication on the Android system difference display screenCommunication interface, and the binding pre-established between the first application and the second application on the Android system difference display screen is closedSystem.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 layerThe tangent screen playing request of sending generates the tangent screen according to the binding relationship between first application and second applicationPlaying 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 describedFirst 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 requestBreath.It is presently in the broadcast nodes information of broadcast nodes according to the first application that tangent screen playing request carries, generates for openingSecond 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 requestPlay instruction is sent to second application, so as to open play instruction described in second application execution, the unlatching is playedInstructing, 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, thenThe corresponding play instruction that exits of the tangent screen playing request can be sent to by institute by the communication interface in Service application layerThe first application is stated, so as to exit play instruction described in first application execution, the play instruction that exits makes described first to answerIt 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 needsBroadcasting is exited in first application, otherwise, can determine the first application without exiting broadcasting, thus the first application and the second application playsIt 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 canSo that first application exits broadcasting pictures according to the direction that gesture is slided, the unlatching play instruction can make described secondEnter 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 piecesScreen 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 fromFrom 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 asFig. 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 screenActivity 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 directionChange the embodiment of picture, can show user by gesture sliding by navigation application or multimedia application from one piece of screenThe 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 operationInteraction, to can be slided by gesture when people are inconvenient to operate the multimedia application on certain block display screen and open broadcastingMultimedia 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. 6Example property implements the Android system architecture diagram exemplified, applies VideoMain across screen in Android system under implementation environment shown in Fig. 1Interaction with VideoPlayer is illustrated.As shown in fig. 6, C1, C2, C3, C4, C5 are control stream, D1, D2 are data flow.It is logicalControl stream C1 is crossed, is VideoMain, VideoPlayer realizes communication interface in Service application layer in a manner of AIDL.Pass through controlThe AIDL server-side that stream C2, VideoMain and VideoPlayer is realized by Intent with the method interacted using the disclosureEstablish binding relationship.Flow C3 by control, after connection is successfully established, return Binder object to VideoMain andVideoPlayer.AIDL can be called to take by the Binder returned by control stream C4, VideoMain and VideoPlayerThe 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 realizedThe method that RemoteCallbackList traversal calls binding application.Operation requests are issued by data flow D1, VideoMainThe AIDL server-side realized using the method that the disclosure interacts.It is real using the method institute of disclosure interaction by data flow D2The 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 instituteShow, 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 peaceThe communication interface of application communication on tall and erect system difference display screen, and pre-establish on the Android system difference display screenBinding 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 layerThe operation requests that interface is issued to first application, according to the binding between first application and second applicationRelationship 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 layerSecond operational order is sent to second application for having binding relationship with first application, so that described second answersWith 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 systemThe communication interface of application communication on different display screens, and pre-establish on the Android system difference display screen first application withTherefore binding relationship between second application can receive the first application by the communication interface in Service application layer and issueOperation requests when, according to binding relationship, generate the second operational order for corresponding to the second application, which led toIt 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 advanceThe communication interface across screen communication of application layer creation realizes operational interaction.When people are inconvenient to operate on certain block display screenIn application, can by operate on other display screens application carry out interactive operation, realize and provided easily for user's operationPurpose.
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-mountedElectronic equipment include for run the host of the Android system, the first display screen being connected with the host and with the masterThe connected second display screen of machine;Wherein, for showing first application, the second display screen is used for first display screenShow 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 drivingThe 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 allowingApplication 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 disclosureShown, the device 800 of the interaction can also include: the first directive generation module 740, can be configured as the generation operation and askSeek the first operational order for corresponding to first application.First instruction sending module 750, can be configured as in the serviceThe first operational order that the operation requests correspond to first application is sent to institute by the communication interface by application layerThe first application is stated, so that the first operational order described in first application execution.In this embodiment, the first application and secondUsing the operational order just specifically movement of execution user is only received, avoiding transmitting time-consuming of the data between different processes causesAsynchronous operation problem.
Optionally, the operation requests can adjust request to play, and first application and the second application are multimediaThe multimedia application of Database vendors.In this embodiment, first directive generation module 740 can be configured as generationDescribed play adjusts corresponding the first broadcasting regulating command for adjusting the first application plays state of request.Described secondIt is corresponding for adjusting second application plays that directive generation module 720 can be configured as the generation broadcasting adjusting requestThe second of state plays regulating command, and the second broadcasting regulating command makes second application utilize shared multi-medium dataLibrary, which enters, applies synchronous broadcast state with described first.Through this embodiment, it can control to synchronize across screen multimedia application and broadcastAdjusting 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 peopleWhen being inconvenient to operate the multimedia application on certain block display screen, can by operate the multimedia application on other display screens comeSimultaneously 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 instituteThe 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 multimediaGesture sliding and generate.In this embodiment, second directive generation module 720, which can be configured as, generates the tangent screenPlaying request corresponds to the unlatching play instruction of second application, and the unlatching play instruction makes second application enter instituteThe first application is stated to be presently in broadcast nodes and continue to play the multimedia.Through this embodiment, it can control across screen multimediaIt 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 screenWhen broadcasting is opened in body application, the multimedia application on other display screens can be slided by gesture to be switched on purpose display screenIt 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 methodEmbodiment 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 setStandby 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 interactionIn all or part of the steps.Memory 902 is for storing various types of data to support the behaviour in the electronic equipment 900To make, these data for example may include the instruction of any application or method for operating on the electronic equipment 900, withAnd the relevant data of application program, such as contact data, the message of transmitting-receiving, picture, audio, video etc..The memory 902It can be realized by any kind of volatibility or non-volatile memory device or their combination, such as static random-access is depositedReservoir (Static Random Access Memory, abbreviation SRAM), electrically erasable programmable read-only memory(Electrically Erasable Programmable Read-Only Memory, abbreviation EEPROM), erasable programmableRead-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 asROM), magnetic memory, flash memory, disk or CD.Multimedia component 903 may include screen and audio component.WhereinScreen for example can be touch screen, and audio component is used for output and/or input audio signal.For example, audio component may includeOne microphone, microphone is for receiving external audio signal.The received audio signal can be further stored in storageDevice 902 is sent by communication component 905.Audio component further includes at least one loudspeaker, is used for output audio signal.I/OInterface 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 otherWired or wireless communication is carried out between equipment.Wireless communication, such as Wi-Fi, bluetooth, near-field communication (Near FieldCommunication, abbreviation NFC), 2G, 3G or 4G or they one or more of combination, therefore corresponding communicationComponent 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 (DigitalSignal 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 memberPart 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 shouldThe step of method of above-mentioned interaction is realized when program instruction is executed by processor.For example, the computer readable storage medium canThink the above-mentioned memory 902 including program instruction, above procedure instruction can be executed by the processor 901 of electronic equipment 900 withThe 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 realityThe 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 disclosureMonotropic 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 lanceIn the case where shield, it can be combined in any appropriate way.In order to avoid unnecessary repetition, the disclosure to it is various canNo 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 originallyDisclosed thought equally should be considered as disclosure disclosure of that.

Claims (10)

CN201811506584.4A2018-12-102018-12-10The method and device of interactionPendingCN109799944A (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201811506584.4ACN109799944A (en)2018-12-102018-12-10The method and device of interaction

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201811506584.4ACN109799944A (en)2018-12-102018-12-10The method and device of interaction

Publications (1)

Publication NumberPublication Date
CN109799944Atrue CN109799944A (en)2019-05-24

Family

ID=66556585

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201811506584.4APendingCN109799944A (en)2018-12-102018-12-10The method and device of interaction

Country Status (1)

CountryLink
CN (1)CN109799944A (en)

Cited By (3)

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

Citations (7)

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

Cited By (5)

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

Similar Documents

PublicationPublication DateTitle
US9558162B2 (en)Dynamic multimedia pairing
US7434165B2 (en)Programmed apparatus and system of dynamic display of presentation files
KR20210092220A (en) Real-time video special effects systems and methods
JP2022506929A (en) Display page interaction control methods and devices
JP2019054510A (en)Method and system for processing comment included in moving image
WO2017193612A1 (en)Apparatus employing mobile terminal to operate electronic apparatus, system, and method
US20110119587A1 (en)Data model and player platform for rich interactive narratives
CN109799944A (en)The method and device of interaction
US12149858B2 (en)Video processing method and apparatus, and terminal and storage medium
CN113392260B (en)Interface display control method, device, medium and electronic equipment
US11010036B2 (en)Edit experience for transformation of digital content
CN102215427A (en)Method and device for synchronously playing multimedia information on television, and television
CN115605837A (en) Game console application with action card chain
CN104699468A (en)Client side and interface generation method thereof
CN109542430B (en)Method and device for realizing interface interaction effect and electronic equipment
EP4489408A1 (en)Short video playback method and apparatus, and electronic device
CN118827890A (en) Video production method, device, equipment and storage medium
KR101827863B1 (en)System and method for providing multimedia contents
RU2698421C2 (en)Cinematization of output in compound device environment
EP4465640A1 (en)Method and apparatus for multimedia resource processing, device, medium, and program product
KR20180109442A (en)Screen configuration method and screen configuration systema for reducing cognitive load
KR102512879B1 (en) Method and system for controlling media player
EP4555408A1 (en)System and method for generating customized user interface with multi-application functionality
US20100040346A1 (en)System having movie clip object controlling an external native application
JP2021149683A (en)Program, system, and method for producing moving image

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
RJ01Rejection of invention patent application after publication

Application publication date:20190524

RJ01Rejection of invention patent application after publication

[8]ページ先頭

©2009-2025 Movatter.jp