CN104679759B - A kind of method of information sharing, the first electronic equipment and the second electronic equipment - Google Patents

A kind of method of information sharing, the first electronic equipment and the second electronic equipment Download PDF

Info

Publication number
CN104679759B
CN104679759B CN201310616921.6A CN201310616921A CN104679759B CN 104679759 B CN104679759 B CN 104679759B CN 201310616921 A CN201310616921 A CN 201310616921A CN 104679759 B CN104679759 B CN 104679759B
Authority
CN
China
Prior art keywords
information
electronic equipment
shared
analysis result
mark
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201310616921.6A
Other languages
Chinese (zh)
Other versions
CN104679759A (en
Inventor
肖剑峰
智勇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201310616921.6A priority Critical patent/CN104679759B/en
Publication of CN104679759A publication Critical patent/CN104679759A/en
Application granted granted Critical
Publication of CN104679759B publication Critical patent/CN104679759B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04817Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1454Digital output to display device ; Cooperation and interconnection of the display device with other functional units involving copying of the display data of a local workstation or window to a remote workstation or window so that an actual copy of the data is displayed simultaneously on two or more displays, e.g. teledisplay

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a kind of methods of information sharing, are applied to the first electronic equipment, and this method includes:There is information when shared to the second electronic equipment, is judging whether the first information in information to be shared has shared to the second electronic equipment;When the judging result characterization first information has shared to the second electronic equipment, second information and third information are encoded, and identify the second information and third information and correspond to the first information, by after coding and mark the second information and third information be sent to the second electronic equipment;When the judging result characterization first information does not share to the second electronic equipment, the first information, the second information and third information are encoded, and the first information, the second information and the third information after coding are sent to the second electronic equipment.The invention also discloses the methods of another information sharing, are applied to the second electronic equipment.The invention also discloses a kind of first electronic equipment and the second electronic equipments.

Description

A kind of method of information sharing, the first electronic equipment and the second electronic equipment
Technical field
The present invention relates to the Information Sharing Technology field of equipment room more particularly to a kind of method of information sharing, the first electricity Sub- equipment and the second electronic equipment.
Background technology
With the development of intelligent electronic device, user's urgent need carries out the interaction of electric room, and most directly most Effective interaction mode is exactly the shared of interface and operation content;Interface content is shared at present needs interface content interception, pressure Contracting and transmission, under current bandwidth condition, can not accomplish that facile transport, user experience are poor.Therefore how to ensure interface and behaviour Make being shared under limited bandwidth condition for content and reach facile transport, and reaches enough clarity and accurate interactive behaviour Make, is current urgent problem to be solved.
Invention content
In view of this, the present invention provides a kind of method of information sharing, the first electronic equipment and the second electronic equipment, so that Realize that interface and being shared under limited bandwidth condition for operation content reach facile transport less, and reach enough clarity and Accurate interactive operation.
The technical proposal of the invention is realized in this way:
A kind of method of information sharing, is applied to the first electronic equipment, and first electronic equipment is to the second electronic equipment Shared information, shared information include the first information, the second information and third information, the method includes:
There is information when shared to second electronic equipment, is judging that the first information in information to be shared is It is no to have shared to second electronic equipment;
When judging result, which characterizes the first information, has shared to second electronic equipment, to second information and Third information is encoded, and identifies second information and third information corresponds to the first information, after coding and mark Second information and third information be sent to second electronic equipment;
When judging result, which characterizes the first information, does not share to second electronic equipment, to the first information, Second information and third information are encoded, and the first information, the second information and the third information after coding are sent to Second electronic equipment.
A kind of method of information sharing, is applied to the second electronic equipment, and second electronic equipment receives the first electronics and sets Standby information sharing, shared information include the first information, the second information and third information, the method includes:
The coded data from first electronic equipment and parsing are received, is judged in analysis result with the presence or absence of described the One information;
When judging result characterizes in the analysis result there are when the first information, according to the in the analysis result One information, the second information and third information architecture display interface, and locally preserve the first information;
When judging result characterizes, and the first information is not present in the analysis result, according in the analysis result Second information and third information call the corresponding first information locally preserved, and according to second in the analysis result Information and third information and the first information structure display interface locally called.
A kind of first electronic equipment, first electronic equipment is to the second electronic equipment shared information, shared packet The first information, the second information and third information are included, first electronic equipment includes:
First judging unit judges information to be shared for having information when shared to second electronic equipment In the first information whether shared to second electronic equipment;
First processing units have shared to second electronic equipment for characterizing the first information in judging result When, second information and third information are encoded, and identify second information and third information corresponds to described first Information;When judging result characterizes the first information and do not share to second electronic equipment, to the first information, second Information and third information are encoded;
First communication unit, for second information and third letter after the first processing units are encoded and identified Breath is sent to second electronic equipment, alternatively, the first information, the second information after the first processing units are encoded It is sent to second electronic equipment with third information.
A kind of second electronic equipment, second electronic equipment receive the information sharing of the first electronic equipment, shared letter Breath includes the first information, the second information and third information, and second electronic equipment includes:
Second communication unit, for receiving the coded data from first electronic equipment;
Second judgment unit judges in analysis result with the presence or absence of described for being parsed to the coded data One information;
Second processing unit, in characterizing the analysis result in judging result there are when the first information, according to The first information, the second information in the analysis result and third information architecture display interface, and locally preserve first letter Breath;When the first information is not present during judging result characterizes the analysis result, according to second in the analysis result Information and third information call the corresponding first information locally preserved, and according to the second information in the analysis result Display interface is built with third information and the first information locally called.
Method, the first electronic equipment and the second electronic equipment of a kind of information sharing provided by the present invention, realize boundary Face and being shared under limited bandwidth condition for operation content reach facile transport, and reach enough clarity and it is accurate mutually Dynamic operation.
Description of the drawings
Fig. 1 is a kind of method flow diagram of information sharing being applied to the first electronic equipment of the embodiment of the present invention;
Fig. 2 is a kind of method flow diagram of information sharing being applied to the second electronic equipment of the embodiment of the present invention;
Fig. 3 is a kind of composed structure schematic diagram of first electronic equipment of the embodiment of the present invention;
Fig. 4 is a kind of composed structure schematic diagram of second electronic equipment of the embodiment of the present invention;
Fig. 5 is the entity schematic diagram of a kind of electronic equipment of the embodiment of the present invention.
Specific implementation mode
The technical solution of the present invention is further elaborated in the following with reference to the drawings and specific embodiments.
An embodiment of the present invention provides a kind of method for the information sharing being applied to the first electronic equipment, first electronics Equipment is to the second electronic equipment shared information, and shared information includes the first information, the second information and third information, such as Fig. 1 institutes Show, this method includes:
Step 101, there is information when shared to the second electronic equipment, judging that the first information in information to be shared is It is no to have shared to the second electronic equipment.
Since the method for information sharing shown in FIG. 1 is applied to the first electronic equipment, the executive agent of step 101 is First electronic equipment.
In a kind of preferable embodiment, step 101 may particularly include:
Being identified as the first information that preservation has shared to the second electronic equipment has shared logo collection;
There is information when shared to the second electronic equipment, by the mark of the first information in information to be shared and is being total to Logo collection is enjoyed to be compared, if shared in logo collection there are the mark of the first information in information to be shared, Judge that the first information in information to be shared has shared to the second electronic equipment;Otherwise, judge in information to be shared One information does not share to the second electronic equipment.
Step 102, when the judging result characterization first information has shared to the second electronic equipment, to the second information and third Information is encoded, and is identified the second information and third information and is corresponded to the first information, by after coding and mark the second information with Third information is sent to the second electronic equipment;When the judging result characterization first information does not share to the second electronic equipment, to the One information, the second information and third information are encoded, and the first information, the second information and the third information after coding are sent To the second electronic equipment.
Since the method for information sharing shown in FIG. 1 is applied to the first electronic equipment, the executive agent of step 102 is First electronic equipment.
In a kind of preferable embodiment, this method further includes:The first information, the second information after it will encode and When three information are sent to the second electronic equipment, logo collection has been shared described in the mark deposit by the first information of transmission In.
In a kind of preferable embodiment, it is sent in second information by after coding and mark and third information After second electronic equipment, alternatively, being sent to the second electricity in the first information, the second information and the third information by after coding After sub- equipment, this method further includes:
The feedback information of the second electronic equipment and parsing are received, according to the mark of analysis result and feedback information, is locally held Processing of the row pair corresponding with the feedback information first information, the second information and third information.
An embodiment of the present invention provides a kind of method for the information sharing being applied to the second electronic equipment, second electronics Equipment receives the information sharing of the first electronic equipment, and shared information includes the first information, the second information and third information, is such as schemed Shown in 2, this method includes:
Step 201, the coded data from the first electronic equipment and parsing are received, is judged in analysis result with the presence or absence of the One information.
Since the method for information sharing shown in Fig. 2 is applied to the second electronic equipment, the executive agent of step 201 is Second electronic equipment.
Step 202, when judging result characterizes in analysis result there are when the first information, according to the first letter in analysis result Breath, the second information and third information architecture display interface, and locally preserve the first information;When judging result characterizes in analysis result There is no when the first information, according to the second information and third information in analysis result, corresponding first letter locally preserved is called Breath, and according in analysis result the second information and third information and the first information that locally calls build display interface.
Since the method for information sharing shown in Fig. 2 is applied to the second electronic equipment, the executive agent of step 202 is Second electronic equipment.
In a kind of preferable embodiment, after building display interface, this method further includes:
It obtains for the operational order with the interface relevant second information and third information, and to the operational order It is encoded to obtain feedback information, identifies the feedback information and the corresponding first information is corresponding;
The feedback information is sent to the first electronic equipment.
In a kind of preferable embodiment, second information and third information according in analysis result calls this The corresponding first information that ground preserves, including:
The analysis result includes the mark of the first information corresponding with the second information and third information, according to the solution The mark of the first information in result is analysed, the first information corresponding with the second information and third information locally preserved is called.
In addition, the method for corresponding information sharing shown in FIG. 1, the embodiment of the present invention additionally provides the first electronics of one kind and sets Standby, for first electronic equipment to the second electronic equipment shared information, shared information includes the first information, the second information and Three information, as shown in figure 3, first electronic equipment includes:
First judging unit 10 judges for having information when shared to the second electronic equipment in information to be shared The first information whether shared to the second electronic equipment;
First processing units 20, for when the judging result characterization first information has shared to the second electronic equipment, to the Two information and third information are encoded, and the second information of mark and third information correspond to the first information;It is characterized in judging result When the first information does not share to the second electronic equipment, the first information, the second information and third information are encoded;
First communication unit 30, for the second information and third information hair after first processing units 20 are encoded and identified The second electronic equipment is given, alternatively, the first information, the second information and third information after first processing units are encoded are sent to Second electronic equipment.
In a kind of preferable embodiment, the first judging unit 10 is further used for, and preservation has shared to the second electronics Logo collection has been shared in being identified as the first information of equipment;There is information when shared to the second electronic equipment, it will be to be shared Information in the mark of the first information be compared with logo collection has been shared, waited for altogether if having shared and having existed in logo collection The mark of the first information in the information enjoyed then judges that the first information in information to be shared has shared to the second electronics and set It is standby;Otherwise, judge that the first information in information to be shared does not share to the second electronic equipment.
In a kind of preferable embodiment, the first judging unit 10 is further used for, and will be compiled in the first communication unit 30 When the first information, the second information and third information after code are sent to the second electronic equipment, by the mark of the first information of transmission Deposit has been shared in logo collection.
In a kind of preferable embodiment, the first communication unit 30 is further used for, and after it will encode and identify Two information and third information are sent to after the second electronic equipment, alternatively, the first information, the second information after it will encode and Three information are sent to after the second electronic equipment, receive the feedback information of the second electronic equipment;
First processing units 20 are further used for, and parse the feedback information, according to analysis result and the feedback information Mark, locally execute the processing pair corresponding with the feedback information first information, the second information and third information.
It should be noted that above-mentioned first judging unit 10 and first processing units 20 can be by the centers of the first electronic equipment Processor(CPU, Central Processing Unit), microprocessor(MPU, Micro Processing Unit), number Signal processor(DSP, Digital Signal Processor)It realizes;First communication unit 30 can be by the first electronic equipment Signal receiving/transmission device is realized.
The method of corresponding information sharing shown in Fig. 2, the embodiment of the present invention additionally provides a kind of second electronic equipment, described Second electronic equipment receives the information sharing of the first electronic equipment, and shared information includes the first information, the second information and third Information, as shown in figure 4, second electronic equipment includes:
Second communication unit 40, for receiving the coded data from the first electronic equipment;
Second judgment unit 50 judges to whether there is the first information in analysis result for parsing coded data;
Second processing unit 60, in characterizing the analysis result in judging result there are when the first information, according to solution The first information, the second information and the third information architecture display interface in result are analysed, and locally preserves the first information;Judging to tie Fruit characterizes when the first information being not present in the analysis result, according to the second information and third information in the analysis result, Call the corresponding first information that locally preserves, and according to the second information and third information and local in the analysis result The first information of calling builds display interface.
In a kind of preferable embodiment, second processing unit 60 is further used for, and after building display interface, obtains It takes for the operational order with interface relevant second information and third information, and the operational order encode To feedback information, identifies the feedback information and the corresponding first information is corresponding;
Second communication unit 40 is further used for, and the feedback information is sent to the first electronic equipment.
In a kind of preferable embodiment, the analysis result includes corresponding with the second information and third information The mark of one information,
Second processing unit 60 is further used for, and according to the mark of the first information in the analysis result, calls local The first information corresponding with the second information and third information preserved.
It should be noted that above-mentioned second judgment unit 50 and second processing unit 60 can be by the centers of the second electronic equipment Processor(CPU, Central Processing Unit), microprocessor(MPU, Micro Processing Unit), number Signal processor(DSP, Digital Signal Processor)It realizes;Second communication unit 40 can be by the second electronic equipment Signal receiving/transmission device is realized.
In specific implementation process, the shared information of the embodiment of the present invention can be in the interface and operation of electronic equipment Hold, the interface and operation content are usually made of textures resource, interface layout and event response, then the textures resource is made For the first information of the embodiment of the present invention, second information of the interface layout as the embodiment of the present invention, the event response Third information as the embodiment of the present invention.Wherein, the textures resource is to constitute the basic content of interface skin;The interface Layout is the space for constituting the basic content of various layouts on interface, such as the position of button is occupied with it on interface;The thing Part response is to constitute the basic content of button can respond on interface event or operation, such as defines some button on interface It can respond and click or long-press event etc..In addition, in specific implementation process, the first electronic equipment of the embodiment of the present invention and Two electronic equipments can be the equipment of the types such as mobile phone, tablet computer, laptop.
Below by interface and operation content electric room it is shared for, be further elaborated on this hair in conjunction with example The information sharing method of bright embodiment.
Example one
In the example one of the present invention, the first electronic equipment needs the interface content of itself screen shows sharing to second Electronic equipment needs to establish short-range communication, the side of the short-range communication between the first electronic equipment and the second electronic equipment Formula can be by WIFI, bluetooth etc.;The interactive process of information sharing includes mainly the following contents:
First electronic equipment is being needed the interface content of itself screen shows(Including textures resource, interface layout and thing Part responds)When sharing to the second electronic equipment, judge whether the textures resource in the interface content has shared to second The realization method of electronic equipment, judgement is:First electronic equipment preserves the textures resource for having shared to the second electronic equipment It is identified as and has shared logo collection, the first electronic equipment is by the mark of the textures resource needed in interface content to be sharing and has been total to It enjoys logo collection to be compared, if shared in logo collection, there are the marks of the textures resource in interface content to be shared Know, then judges that the textures resource in interface content to be shared has shared to the second electronic equipment, if having shared mark There is no the mark of the textures resource in interface content to be shared in set, then the textures in interface content to be shared are judged Resource does not share to the second electronic equipment;
When judging result, which characterizes the textures resource in interface content to be shared, has shared to the second electronic equipment, first Electronic equipment encodes interface layout and event response, and interface identification layout corresponds to the textures money with event response Source, by after coding and mark interface layout and event response be sent to the second electronic equipment;When judging result characterization is to be shared Interface content in textures resource when not sharing to the second electronic equipment, the first electronic equipment is in interface content to be shared Textures resource, interface layout and event response encoded, and by textures resource, interface layout and the event response after coding It is sent to the second electronic equipment, and the mark deposit of the textures resource of transmission has been shared logo collection by the first electronic equipment In, for indicating that corresponding textures resource has shared to the second electronic equipment;
Second electronic equipment receives the coded data from the first electronic equipment and parsing, judges whether deposited in analysis result In textures resource, the second electronic equipment can judge parsing knot by searching in analysis result with the presence or absence of textures resource identification It whether there is textures resource in fruit;
When judging result characterizes in analysis result there are when textures resource, the second electronic equipment is according to the patch in analysis result Image resource, interface layout and event response build display interface, and locally preserve the textures resource;It is solved when judging result characterizes It analyses in result there is no when textures resource, according to the interface layout and event response in analysis result, calls the phase locally preserved Answer textures resource, and according in analysis result interface layout and event response and the textures resource construction that locally calls it is aobvious Show interface;Wherein, the realization method of corresponding textures resource locally preserved is called to be:The analysis result includes interface layout The mark of textures resource corresponding with event response calls local protect according to the mark of the textures resource in the analysis result The corresponding textures resource deposited;
After building display interface, the second electronic equipment is obtained to be rung for the relevant interface layout in the interface and event The operational order answered, and the operational order is encoded to obtain feedback information, identify the feedback information and corresponding patch Image resource corresponds to, and the feedback information is sent to the first electronic equipment;
First electronic equipment receives the feedback information of the second electronic equipment and parsing, according to analysis result and feedback information Mark, locally executes the processing pair corresponding with feedback information textures resource, interface layout and event response.
In the example one of aforementioned present invention, the interface of electronic equipment and operation content are usually by textures resource, interface cloth Office and event response composition, these information can all encode, and textures resource most occupies transmission flow in these information, It is seldom that interface layout and event response occupy transmission flow;To be shared in interface and operation in electric room in example one Rong Shi need not repeat to transmit identical textures resource for identical textures resource transmission primaries when transmitting next time(Second Electronic equipment is from local calling), and only transmit newer interface layout and event response.In this way, in compared with prior art every time It shares all comprising for complete textures resource, interface layout and event response, the transmission code stream of present example one obtains greatly It is big to reduce, it can realize that interface and being shared under limited bandwidth condition for operation content reach facile transport;In addition, for The operational order for interface layout and event response of two electronic equipments feedback, the first electronic equipment are also primary by parsing At, therefore what is received for the first electronic equipment is control one by one, rather than such as frame-by-frame cartoons in the prior art, Be not in boundary in the prior art so the first electronic equipment can accurately recognize the event response of the second electronic equipment very much Common maloperation when face and shared operation content.
Example two
For the example two of the present invention on the basis of example one, event response is button(button), the interaction of information sharing Process includes mainly the following contents:
First electronic equipment obtains the attribute of button(That is interface layout), such as:A length of 100dip of button, width are 20dip, it is laterally centered, it is longitudinally intermediate;First electronic equipment also obtains the corresponding textures resources of button, response click event Deng;
It it is the button points when judging that the first electronic equipment did not shared the textures resource to the second electronic equipment With unique number 001, which is also used for uniquely identifying the textures resource, category of first electronic equipment to the button Property, corresponding textures resource and response click event coding after be sent to the second electronic equipment;
Second electronic equipment receives the coded data from the first electronic equipment and parsing, judges there is patch in analysis result Image resource, and then display interface, structure are built according to the attribute of textures resource, button in analysis result and response click event The middle position for the display interface built includes an a length of 100dip, the button that width is 20dip;Second electronic equipment also preserves The textures resource;
Then, the user of the first electronic equipment moves the button in the first electronic equipment display interface to display interface The upper left corner, new attribute, textures resource and the response click event of the button of the first electronic equipment acquisition at this time;First electronic equipment Judgement shared same textures resource to the second electronic equipment, and number 001 is still distributed for the button(Number is not Become), which is also used for uniquely identifying the textures resource, and the first electronic equipment is only to the new attribute and sound of the button It is sent to the second electronic equipment after answering click event to encode, i.e., repeated encoding does not send the textures resource, because of the second electronics Equipment has locally preserved same textures resource;
Second electronic equipment receives the coded data from the first electronic equipment and parsing, judges to be not present in analysis result Textures resource calls the corresponding textures locally preserved according to the new attribute of the button in analysis result and response click event Resource, and according to the new attribute of the button in analysis result and response click event and the textures resource structure locally called Display interface is built, the position of button is moved to the upper left corner at interface in the display interface of structure;
Then, the user click of the second electronic equipment button in the upper left corner, second electronic equipment obtain described in click Event obtains feedback information after coding, identifies the feedback information and corresponding textures resource is corresponding, and by the feedback information It is sent to the first electronic equipment;
First electronic equipment receives the feedback information of the second electronic equipment and parsing, according to analysis result and feedback information Mark triggers the click event of identical button on the first interface of electronic equipment, and the internal list for executing the triggering button Hit the respective handling after event(Respond the click event of the button).
In the example two of aforementioned present invention, transmission code stream is greatly reduced, and can realize interface and operation content It is shared under limited bandwidth condition and reaches facile transport;In addition, for the list for button of the second electronic equipment feedback Event is hit, the first electronic equipment is to be generated by parsing reduction, therefore what is received for the first electronic equipment is one A control, rather than such as frame-by-frame cartoons in the prior art, so the first electronic equipment can accurately recognize the second electricity very much The button click events of sub- equipment, common maloperation when being not in prior art median surface and shared operation content.
Example three
For the example three of the present invention on the basis of example one, the second electronic equipment has projecting function, can be by the second electricity Sub- device screen(Follow-up abbreviation equipment screen)The interface content of upper display(Including textures resource, interface layout and event response)It throws It is shown on shadow to projection screen;Second electronic equipment also has the function of action recognition, can identify user on the projection screen Action.The projecting function of electronic equipment is shown in Figure 5.The interactive process of information sharing includes mainly the following contents:
First electronic equipment is in the interface content for needing to show equipment of itself screen(Including textures resource, interface layout and Event response)When sharing to the second electronic equipment, judge whether the textures resource in the interface content has shared to Two electronic equipments;
When judging result, which characterizes the textures resource in interface content to be shared, has shared to the second electronic equipment, first Electronic equipment encodes interface layout and event response, and interface identification layout corresponds to the textures money with event response Source, by after coding and mark interface layout and event response be sent to the second electronic equipment;When judging result characterization is to be shared Interface content in textures resource when not sharing to the second electronic equipment, the first electronic equipment is in interface content to be shared Textures resource, interface layout and event response encoded, and by textures resource, interface layout and the event response after coding It is sent to the second electronic equipment, and the mark deposit of the textures resource of transmission has been shared logo collection by the first electronic equipment In, for indicating that corresponding textures resource has shared to the second electronic equipment;
Second electronic equipment receives the coded data from the first electronic equipment and parsing, judges whether deposited in analysis result In textures resource, the second electronic equipment can judge parsing knot by searching in analysis result with the presence or absence of textures resource identification It whether there is textures resource in fruit;
When judging result characterizes in analysis result there are when textures resource, the second electronic equipment is according to the patch in analysis result Image resource, interface layout and event response build display interface, and locally preserve the textures resource;It is solved when judging result characterizes It analyses in result there is no when textures resource, according to the interface layout and event response in analysis result, calls the phase locally preserved Answer textures resource, and according in analysis result interface layout and event response and the textures resource construction that locally calls it is aobvious Show interface;Wherein, the display interface of structure is projected and is shown on projection screen also by its projecting function by the second electronic equipment Show;
After building display interface, the second electronic equipment is obtained to be rung for the relevant interface layout in the interface and event The operational order answered, and the operational order is encoded to obtain feedback information, identify the feedback information and corresponding patch Image resource corresponds to, and the feedback information is sent to the first electronic equipment;Wherein, the second electronic equipment can be according to user The operational order is got to the operation of equipment screen, can also be the action recognition function using the second electronic equipment, according to The operation of user on the projection screen gets the operational order;
First electronic equipment receives the feedback information of the second electronic equipment and parsing, according to analysis result and feedback information Mark, locally executes the processing pair corresponding with feedback information textures resource, interface layout and event response;First electronics is set It is standby that by treated, interface content includes on its equipment screen.
In the example three of aforementioned present invention, not only transmission code stream is greatly reduced, and can be realized in interface and operation Being shared under limited bandwidth condition for holding reaches facile transport, can accurately recognize very much event response, be not in existing Common maloperation when technology median surface and shared operation content;Moreover, knowing with the projecting function of the second electronic equipment and action Other function combines, and can realize interface and operation content being total between different equipment screens, between equipment screen and projection screen It enjoys, the content shared between electronic equipment intuitively embodies on the projection screen.
Example four
For the example four of the present invention on the basis of example one, the first electronic equipment has projecting function, can be by the first electricity Sub- device screen(Follow-up abbreviation equipment screen)The interface content of upper display(Including textures resource, interface layout and event response)It throws It is shown on shadow to projection screen;First electronic equipment also has the function of action recognition, can identify user on the projection screen Action.The projecting function of electronic equipment is shown in Figure 5.The interactive process of information sharing includes mainly the following contents:
First electronic equipment is in the interface content for needing to show equipment of itself screen(Including textures resource, interface layout and Event response)When sharing to the second electronic equipment, judge whether the textures resource in the interface content has shared to Two electronic equipments;Wherein, the foundation that the first electronic equipment obtains the interface content can be following any:One, the first electronics The operation of interface content on equipment equipment of itself screen and the user that recognizes to equipment screen, the two, first electronic equipment itself The operation of interface content on equipment screen and the user that recognizes to projection screen;
When judging result, which characterizes the textures resource in interface content to be shared, has shared to the second electronic equipment, first Electronic equipment encodes interface layout and event response, and interface identification layout corresponds to the textures money with event response Source, by after coding and mark interface layout and event response be sent to the second electronic equipment;When judging result characterization is to be shared Interface content in textures resource when not sharing to the second electronic equipment, the first electronic equipment is in interface content to be shared Textures resource, interface layout and event response encoded, and by textures resource, interface layout and the event response after coding It is sent to the second electronic equipment, and the mark deposit of the textures resource of transmission has been shared logo collection by the first electronic equipment In, for indicating that corresponding textures resource has shared to the second electronic equipment;
Second electronic equipment receives the coded data from the first electronic equipment and parsing, judges whether deposited in analysis result In textures resource, the second electronic equipment can judge parsing knot by searching in analysis result with the presence or absence of textures resource identification It whether there is textures resource in fruit;
When judging result characterizes in analysis result there are when textures resource, the second electronic equipment is according to the patch in analysis result Image resource, interface layout and event response build display interface, and locally preserve the textures resource;It is solved when judging result characterizes It analyses in result there is no when textures resource, according to the interface layout and event response in analysis result, calls the phase locally preserved Answer textures resource, and according in analysis result interface layout and event response and the textures resource construction that locally calls it is aobvious Show interface;
After building display interface, the second electronic equipment is obtained for the relevant interface layout in interface and thing on equipment screen The operational order of part response, and is encoded to obtain feedback information to the operational order, identify the feedback information with it is corresponding Textures resource correspond to, and the feedback information is sent to the first electronic equipment;
First electronic equipment receives the feedback information of the second electronic equipment and parsing, according to analysis result and feedback information Mark, locally executes the processing pair corresponding with feedback information textures resource, interface layout and event response;First electronics is set It is standby will treated that interface content includes on its equipment screen, and by its projecting function, the content of equipment screen display is thrown It is mapped on projection screen.
In the example four of aforementioned present invention, not only transmission code stream is greatly reduced, and can be realized in interface and operation Being shared under limited bandwidth condition for holding reaches facile transport, can accurately recognize very much event response, be not in existing Common maloperation when technology median surface and shared operation content;Moreover, knowing with the projecting function of the first electronic equipment and action Other function combines, and can realize interface and operation content being total between different equipment screens, between equipment screen and projection screen It enjoys, the content shared between electronic equipment intuitively embodies on the projection screen.
Example five
For the example five of the present invention on the basis of example one, the first electronic equipment and the second electronic equipment all have projection work( Can, it can be by electronic equipment screen(Follow-up abbreviation equipment screen)The interface content of upper display(Including textures resource, interface layout and Event response)It projects on projection screen and shows;First electronic equipment and the second electronic equipment also have the function of action recognition, i.e., It can identify the action of user on the projection screen.The projecting function of electronic equipment is shown in Figure 5.The interactive process of information sharing It include mainly the following contents:
First electronic equipment is in the interface content for needing to show equipment of itself screen(Including textures resource, interface layout and Event response)When sharing to the second electronic equipment, judge whether the textures resource in the interface content has shared to Two electronic equipments;Wherein, the foundation that the first electronic equipment obtains the interface content can be following any:One, the first electronics The operation of interface content on equipment equipment of itself screen and the user that recognizes to equipment screen, the two, first electronic equipment itself The operation of interface content on equipment screen and the user that recognizes to projection screen;
When judging result, which characterizes the textures resource in interface content to be shared, has shared to the second electronic equipment, first Electronic equipment encodes interface layout and event response, and interface identification layout corresponds to the textures money with event response Source, by after coding and mark interface layout and event response be sent to the second electronic equipment;When judging result characterization is to be shared Interface content in textures resource when not sharing to the second electronic equipment, the first electronic equipment is in interface content to be shared Textures resource, interface layout and event response encoded, and by textures resource, interface layout and the event response after coding It is sent to the second electronic equipment, and the mark deposit of the textures resource of transmission has been shared logo collection by the first electronic equipment In, for indicating that corresponding textures resource has shared to the second electronic equipment;
Second electronic equipment receives the coded data from the first electronic equipment and parsing, judges whether deposited in analysis result In textures resource, the second electronic equipment can judge parsing knot by searching in analysis result with the presence or absence of textures resource identification It whether there is textures resource in fruit;
When judging result characterizes in analysis result there are when textures resource, the second electronic equipment is according to the patch in analysis result Image resource, interface layout and event response build display interface, and locally preserve the textures resource;It is solved when judging result characterizes It analyses in result there is no when textures resource, according to the interface layout and event response in analysis result, calls the phase locally preserved Answer textures resource, and according in analysis result interface layout and event response and the textures resource construction that locally calls it is aobvious Show interface;Wherein, the display interface of structure is projected and is shown on projection screen also by its projecting function by the second electronic equipment Show;
After building display interface, the second electronic equipment is obtained to be rung for the relevant interface layout in the interface and event The operational order answered, and the operational order is encoded to obtain feedback information, identify the feedback information and corresponding patch Image resource corresponds to, and the feedback information is sent to the first electronic equipment;Wherein, the second electronic equipment can be according to user The operational order is got to the operation of equipment screen, can also be the action recognition function using the second electronic equipment, according to The operation of user on the projection screen gets the operational order;
First electronic equipment receives the feedback information of the second electronic equipment and parsing, according to analysis result and feedback information Mark, locally executes the processing pair corresponding with feedback information textures resource, interface layout and event response;First electronics is set It is standby will treated that interface content includes on its equipment screen, and by its projecting function, the content of equipment screen display is thrown It is mapped on projection screen.
In the example five of aforementioned present invention, not only transmission code stream is greatly reduced, and can be realized in interface and operation Being shared under limited bandwidth condition for holding reaches facile transport, can accurately recognize very much event response, be not in existing Common maloperation when technology median surface and shared operation content;Moreover, the throwing with the first electronic equipment and the second electronic equipment Shadow function and action recognition function combine, and can realize interface and operation content between different equipment screens, equipment screen and throwing Shared between shadow screen, between projection screen, the content shared between electronic equipment can intuitively embody on the projection screen.
It should also be noted that, the electronic equipment in specific implementation process can be provided simultaneously with the of the embodiment of the present invention The function of the function of one electronic equipment and the second electronic equipment.
In several embodiments provided by the present invention, it should be understood that disclosed method, apparatus and electronic equipment, It may be implemented in other ways.Apparatus embodiments described above are merely indicative, for example, the unit is drawn Point, only a kind of division of logic function, formula that in actual implementation, there may be another division manner, such as:Multiple units or component can To combine, or it is desirably integrated into another system, or some features can be ignored or not executed.In addition, shown or discussed The mutual coupling of each component part or direct-coupling or communication connection can be by some interfaces, equipment or unit INDIRECT COUPLING or communication connection can be electrical, mechanical or other forms.
The above-mentioned unit illustrated as separating component can be or may not be and be physically separated, aobvious as unit The component shown can be or may not be physical unit, you can be located at a place, may be distributed over multiple network lists In member;Some or all of wherein unit can be selected according to the actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in various embodiments of the present invention can be fully integrated into a processing unit, also may be used It, can also be during two or more units be integrated in one unit to be each unit individually as a unit;It is above-mentioned The form that hardware had both may be used in integrated unit is realized, can also be realized in the form of hardware adds SFU software functional unit.
One of ordinary skill in the art will appreciate that:Realize that all or part of step of above method embodiment can pass through The relevant hardware of program instruction is completed, and program above-mentioned can be stored in a computer read/write memory medium, the program When being executed, step including the steps of the foregoing method embodiments is executed;And storage medium above-mentioned includes:It is movable storage device, read-only Memory(ROM, Read-Only Memory), random access memory(RAM, Random Access Memory), magnetic disc or The various media that can store program code such as person's CD.
If alternatively, the above-mentioned integrated unit of the embodiment of the present invention is realized in the form of software function module and as independence Product sale or in use, can also be stored in a computer read/write memory medium.Based on this understanding, this hair Substantially the part that contributes to existing technology can body in the form of software products in other words for the technical solution of bright embodiment Reveal and, which is stored in a storage medium, including some instructions are with so that a computer is set It is standby(Can be personal computer, server or network equipment etc.)Execute the whole of each embodiment the method for the present invention Or part.And storage medium above-mentioned includes:Movable storage device, read-only memory(ROM, Read-Only Memory), with Machine accesses memory(RAM, Random Access Memory), various Jie that can store program code such as magnetic disc or CD Matter.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain Lid is within protection scope of the present invention.Therefore, protection scope of the present invention should be based on the protection scope of the described claims.

Claims (14)

1. a kind of method of information sharing, it is applied to the first electronic equipment, which is characterized in that first electronic equipment is to second Electronic equipment shared information, shared information include the first information, the second information and third information, the first information, described Second information and the third information are to build the information of display interface, the method includes:
There is information when shared to second electronic equipment, is judging the first information in information to be shared whether Share to second electronic equipment;
When judging result, which characterizes the first information, has shared to second electronic equipment, to second information and third Information is encoded, and identifies second information and third information corresponds to the first information, by the institute after coding and mark It states the second information and third information is sent to second electronic equipment;
When judging result, which characterizes the first information, does not share to second electronic equipment, to the first information, second Information and third information are encoded, and the first information, the second information and the third information after coding are sent to described Second electronic equipment.
2. the method for information sharing according to claim 1, which is characterized in that described to there is information to wait for second electronics When collaborative share, judge whether the first information in information to be shared has shared to second electronic equipment, including:
Being identified as the first information that preservation has shared to second electronic equipment has shared logo collection;
There is information when shared to second electronic equipment, by the mark of the first information in the information to be shared Knowledge is compared with the logo collection of having shared, and has shared in logo collection that there are in the information to be shared if described The first information mark, then judge that the first information in the information to be shared has shared to second electronics and set It is standby;Otherwise, judge that the first information in the information to be shared does not share to second electronic equipment.
3. the method for information sharing according to claim 2, which is characterized in that the method further includes:
When the first information, the second information and the third information after coding are sent to the second electronic equipment, described in transmission It has been shared in logo collection described in the mark deposit of the first information.
4. according to the shared method of claim 1,2 or 3 described informations, which is characterized in that it is described by coding and mark after Second information and third information are sent to after second electronic equipment, alternatively, in first letter by after coding Breath, the second information and third information are sent to after second electronic equipment, and the method further includes:
The feedback information of second electronic equipment and parsing are received, according to the mark of analysis result and the feedback information, originally Ground executes the processing pair corresponding with the feedback information first information, the second information and third information.
5. a kind of method of information sharing, it is applied to the second electronic equipment, which is characterized in that second electronic equipment receives the The information sharing of one electronic equipment, shared information include the first information, the second information and third information, the method includes:
The coded data from first electronic equipment and parsing are received, judges to believe with the presence or absence of described first in analysis result Breath;
When judging result characterizes in the analysis result there are when the first information, according to the first letter in the analysis result Breath, the second information and third information architecture display interface, and locally preserve the first information;
When judging result characterizes, and the first information is not present in the analysis result, according to second in the analysis result Information and third information call the corresponding first information locally preserved, and according to the second information in the analysis result Display interface is built with third information and the first information locally called.
6. the method for information sharing according to claim 5, which is characterized in that described after the structure display interface Method further includes:
It obtains for the operational order with the interface relevant second information and third information, and to the operational order It is encoded to obtain feedback information, identifies the feedback information and the corresponding first information is corresponding;
The feedback information is sent to first electronic equipment.
7. according to the shared method of claim 5 or 6 described informations, which is characterized in that described according in the analysis result Second information and third information call the corresponding first information locally preserved, including:
The analysis result includes the mark of the first information corresponding with second information and third information, according to institute The mark of the first information in analysis result is stated, calling locally preserves corresponding with second information and third information The first information.
8. a kind of first electronic equipment, which is characterized in that first electronic equipment is shared to the second electronic equipment shared information Information include the first information, the second information and third information, the first information, second information and the third information It is the information for building display interface, first electronic equipment includes:
First judging unit judges for having information when shared to second electronic equipment in information to be shared Whether the first information has shared to second electronic equipment;
First processing units are right for when judging result characterizes the first information and shared to second electronic equipment Second information and third information are encoded, and identify second information and third information corresponds to the first information; When judging result characterizes the first information and do not share to second electronic equipment, to the first information, the second information It is encoded with third information;
First communication unit, for second information and third information hair after the first processing units are encoded and identified Second electronic equipment is given, alternatively, the first information, the second information and the after the first processing units are encoded Three information are sent to second electronic equipment.
9. the first electronic equipment according to claim 8, which is characterized in that first judging unit is further used for,
Being identified as the first information that preservation has shared to second electronic equipment has shared logo collection;
There is information when shared to second electronic equipment, by the mark of the first information in the information to be shared Knowledge is compared with the logo collection of having shared, and has shared in logo collection that there are in the information to be shared if described The first information mark, then judge that the first information in the information to be shared has shared to second electronics and set It is standby;Otherwise, judge that the first information in the information to be shared does not share to second electronic equipment.
10. the first electronic equipment according to claim 9, which is characterized in that first judging unit is further used for, It, will when the first information, the second information and third information after coding is sent to the second electronic equipment by first communication unit It has been shared in logo collection described in the mark deposit of the first information sent.
11. according to first electronic equipment of claim 8,9 or 10, which is characterized in that
First communication unit is further used for, and the second information and third information after it will encode and identify are sent to second After electronic equipment, alternatively, by coding after the first information, the second information and third information be sent to the second electronic equipment it Afterwards, the feedback information of second electronic equipment is received;
The first processing units are further used for, and parse the feedback information, according to analysis result and the feedback information Mark, locally executes the processing pair corresponding with the feedback information first information, the second information and third information.
12. a kind of second electronic equipment, which is characterized in that the information that second electronic equipment receives the first electronic equipment is total It enjoys, shared information includes the first information, the second information and third information, and second electronic equipment includes:
Second communication unit, for receiving the coded data from first electronic equipment;
Second judgment unit judges to believe with the presence or absence of described first in analysis result for parsing the coded data Breath;
Second processing unit, in characterizing the analysis result in judging result there are when the first information, according to described The first information, the second information in analysis result and third information architecture display interface, and locally preserve the first information; Judging result characterizes when the first information being not present in the analysis result, according in the analysis result the second information and Third information calls the corresponding first information locally preserved, and according to the second information and third in the analysis result Information and the first information structure display interface locally called.
13. according to the second electronic equipment described in claim 12, which is characterized in that
The second processing unit is further used for, and after building display interface, obtains and is directed to and the relevant institute in the interface It states the operational order of the second information and third information, and is encoded to obtain feedback information to the operational order, described in mark Feedback information and the corresponding first information are corresponding;
Second communication unit is further used for, and the feedback information is sent to first electronic equipment.
14. according to second electronic equipment of claim 12 or 13, which is characterized in that the analysis result include with it is described The mark of second information and the corresponding first information of third information,
The second processing unit is further used for, and according to the mark of the first information in the analysis result, calls this The first information corresponding with second information and third information that ground preserves.
CN201310616921.6A 2013-11-27 2013-11-27 A kind of method of information sharing, the first electronic equipment and the second electronic equipment Active CN104679759B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310616921.6A CN104679759B (en) 2013-11-27 2013-11-27 A kind of method of information sharing, the first electronic equipment and the second electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310616921.6A CN104679759B (en) 2013-11-27 2013-11-27 A kind of method of information sharing, the first electronic equipment and the second electronic equipment

Publications (2)

Publication Number Publication Date
CN104679759A CN104679759A (en) 2015-06-03
CN104679759B true CN104679759B (en) 2018-08-10

Family

ID=53314821

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310616921.6A Active CN104679759B (en) 2013-11-27 2013-11-27 A kind of method of information sharing, the first electronic equipment and the second electronic equipment

Country Status (1)

Country Link
CN (1) CN104679759B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
ES2789023T3 (en) * 2015-10-23 2020-10-23 Huawei Tech Co Ltd Method, device and system for information interaction
CN105975762B (en) * 2016-04-29 2018-12-14 联想(北京)有限公司 A kind of information processing method and electronic equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101064713A (en) * 2006-04-26 2007-10-31 深圳Tcl新技术有限公司 Control method for realizing remote tabletop using television set platform
CN101447998A (en) * 2008-12-25 2009-06-03 广东威创视讯科技股份有限公司 Desktop sharing method and system
CN101741986A (en) * 2009-12-31 2010-06-16 优视科技有限公司 Page cache method for mobile communication equipment terminal

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5857443B2 (en) * 2011-05-12 2016-02-10 ソニー株式会社 Content sharing system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101064713A (en) * 2006-04-26 2007-10-31 深圳Tcl新技术有限公司 Control method for realizing remote tabletop using television set platform
CN101447998A (en) * 2008-12-25 2009-06-03 广东威创视讯科技股份有限公司 Desktop sharing method and system
CN101741986A (en) * 2009-12-31 2010-06-16 优视科技有限公司 Page cache method for mobile communication equipment terminal

Also Published As

Publication number Publication date
CN104679759A (en) 2015-06-03

Similar Documents

Publication Publication Date Title
CN105677329B (en) A kind of control method and electronic equipment
CN104918225B (en) The implementation method and device of the bilateral function of double card single-pass terminal
CN109683771A (en) Three-dimensional touch menu configuration method, mobile terminal and computer readable storage medium
CN109213401A (en) Double-sided screen application icon method for sorting, mobile terminal and readable storage medium storing program for executing
CN108038827A (en) Image processing method, mobile terminal and computer-readable recording medium
CN115643359B (en) Enhanced video call method and system and electronic equipment
CN106686545B (en) A kind of application method and device of Wireless Fidelity national code
CN105940672B (en) Detect the pattern described on the screen of user equipment
CN105404578B (en) Method and apparatus for showing the occupied memory of application program
CN106375478A (en) Synchronizing method, device and system for mobile terminal data
CN107678798A (en) A kind of SIM card fast initializing method, device and computer-readable recording medium
CN108536480A (en) Input method configuration method and related product
CN107911547A (en) Interactive system, the method for interface layout
CN104679759B (en) A kind of method of information sharing, the first electronic equipment and the second electronic equipment
CN104660780B (en) Electronic equipment and its control method
CN107992768A (en) A kind of method of information protection, terminal device and storage medium
CN104519185B (en) A kind of information processing method and electronic equipment
CN108135023A (en) Connection method, equipment and the computer readable storage medium of Wireless LAN
CN107800776A (en) A kind of document handling method, terminal, server and computer-readable medium
CN108062669A (en) A kind of method of payment, terminal and computer readable storage medium
CN110418004A (en) Screenshot processing method, terminal and computer readable storage medium
CN107484144A (en) A kind of information acquisition method, terminal, server and computer-readable storage medium
CN105988759B (en) Page display method, apparatus and system
CN109889660A (en) Temporary information recording method, storage medium and mobile terminal
CN107896285A (en) data reporting method, device, mobile terminal and computer-readable medium

Legal Events

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