CN112764705A - User interface sharing method and electronic equipment - Google Patents

User interface sharing method and electronic equipment Download PDF

Info

Publication number
CN112764705A
CN112764705A CN202110105822.6A CN202110105822A CN112764705A CN 112764705 A CN112764705 A CN 112764705A CN 202110105822 A CN202110105822 A CN 202110105822A CN 112764705 A CN112764705 A CN 112764705A
Authority
CN
China
Prior art keywords
chip module
user interface
interface data
display
shared
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.)
Granted
Application number
CN202110105822.6A
Other languages
Chinese (zh)
Other versions
CN112764705B (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.)
Chongqing Unisinsight Technology Co Ltd
Original Assignee
Chongqing Unisinsight Technology Co 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 Chongqing Unisinsight Technology Co Ltd filed Critical Chongqing Unisinsight Technology Co Ltd
Priority to CN202110105822.6A priority Critical patent/CN112764705B/en
Publication of CN112764705A publication Critical patent/CN112764705A/en
Application granted granted Critical
Publication of CN112764705B publication Critical patent/CN112764705B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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/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
    • 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/1423Digital output to display device ; Cooperation and interconnection of the display device with other functional units controlling a plurality of local displays, e.g. CRT and flat panel display

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)
  • Digital Computer Display Output (AREA)

Abstract

In the user interface sharing method and the electronic device, when a first chip module receives a sharing request transmitted by a second chip module, the first chip module transmits user interface data to be shared to the second chip module; the user interface data to be shared comprises each frame of data which is down-brushed from a first display cache of the first chip module to a first display; and the second chip module writes the user interface data to be shared into a second display cache, and flushes the user interface data to be shared in the second display cache to a second display. The user interface data to be shared in the second display cache is down-brushed to a second display, so that the user interface data to be shared can be displayed on the second display; therefore, on the premise of not increasing any hardware, the purpose that the user interface is shared from the first chip module to the second chip module is achieved.

Description

User interface sharing method and electronic equipment
Technical Field
The application relates to the field of display, in particular to a user interface sharing method and electronic equipment.
Background
With the development of the security industry, massive security data are brought, and therefore various security storage and analysis devices are derived. With the increasing popularity of security storage and analysis equipment, such as NVR and back-end analysis servers, user operation interfaces are provided in the security storage and analysis equipment to directly display the user operation interfaces to play videos, display pictures and the like, and meanwhile, in order to increase the computing power, more and more security storage and analysis equipment adopting a multi-chip scheme are provided.
In the prior art, in order to effectively utilize the display capability of each chip, each chip can independently display the corresponding user interface. How to share the user interface becomes a difficult problem for those skilled in the art.
Disclosure of Invention
The present application is directed to a user interface sharing method and an electronic device, so as to at least partially improve the above problem.
In order to achieve the above purpose, the embodiments of the present application employ the following technical solutions:
in a first aspect, an embodiment of the present application provides a user interface sharing method, where the method is applied to an electronic device, where the electronic device includes a first chip module and at least one group of second chip modules, and the method includes:
when the first chip module receives the sharing request transmitted by the second chip module, the first chip module transmits user interface data to be shared to the second chip module;
the user interface data to be shared comprises each frame of data which is down-brushed from a first display cache of the first chip module to a first display, and the first display is a display connected with the first display cache;
the second chip module writes the user interface data to be shared into a second display cache, and flushes the user interface data to be shared in the second display cache to a second display;
and the second display is connected with the second display cache.
In a second aspect, an embodiment of the present application provides an electronic device, which includes a first chip module and at least one set of second chip modules;
when the first chip module receives the sharing request transmitted by the second chip module, the first chip module is used for transmitting user interface data to be shared to the second chip module;
the user interface data to be shared comprises each frame of data which is down-brushed from a first display cache of the first chip module to a first display, and the first display is a display connected with the first display cache;
the second chip module is used for writing the user interface data to be shared into a second display cache and flushing the user interface data to be shared in the second display cache to a second display;
and the second display is connected with the second display cache.
Compared with the prior art, in the user interface sharing method and the electronic device provided by the embodiment of the application, when the first chip module receives the sharing request transmitted by the second chip module, the first chip module transmits the user interface data to be shared to the second chip module; the user interface data to be shared comprises each frame of data which is down-brushed from a first display cache of the first chip module to a first display, and the first display is a display connected with the first display cache; the second chip module writes the user interface data to be shared into a second display cache, and the user interface data to be shared in the second display cache is flushed to a second display; and the second display is connected with the second display cache. The user interface data to be shared in the second display cache is down-brushed to a second display, so that the user interface data to be shared can be displayed on the second display; therefore, on the premise of not increasing any hardware, the purpose that the user interface is shared from the first chip module to the second chip module is achieved.
In order to make the aforementioned objects, features and advantages of the present application more comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and it will be apparent to those skilled in the art that other related drawings can be obtained from the drawings without inventive effort.
Fig. 1 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure;
fig. 2 is a schematic flowchart of a user interface sharing method according to an embodiment of the present application;
fig. 3 is a flowchart illustrating a user interface sharing method according to an embodiment of the present application;
fig. 4 is a schematic flowchart of sub-steps S101 and S204 provided in an embodiment of the present application;
fig. 5 is a flowchart illustrating a user interface sharing method according to an embodiment of the present application.
In the figure: 10-a first chip module; 20-a second chip module; 30-a first display; 40-second display.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. The components of the embodiments of the present application, generally described and illustrated in the figures herein, can be arranged and designed in a wide variety of different configurations.
Thus, the following detailed description of the embodiments of the present application, presented in the accompanying drawings, is not intended to limit the scope of the claimed application, but is merely representative of selected embodiments of the application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures. Meanwhile, in the description of the present application, the terms "first", "second", and the like are used only for distinguishing the description, and are not to be construed as indicating or implying relative importance.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
In the description of the present application, it should be noted that the terms "upper", "lower", "inner", "outer", and the like indicate orientations or positional relationships based on orientations or positional relationships shown in the drawings or orientations or positional relationships conventionally found in use of products of the application, and are used only for convenience in describing the present application and for simplification of description, but do not indicate or imply that the referred devices or elements must have a specific orientation, be constructed in a specific orientation, and be operated, and thus should not be construed as limiting the present application.
In the description of the present application, it is also to be noted that, unless otherwise explicitly specified or limited, the terms "disposed" and "connected" are to be interpreted broadly, e.g., as being either fixedly connected, detachably connected, or integrally connected; can be mechanically or electrically connected; they may be connected directly or indirectly through intervening media, or they may be interconnected between two elements. The specific meaning of the above terms in the present application can be understood in a specific case by those of ordinary skill in the art.
Some embodiments of the present application will be described in detail below with reference to the accompanying drawings. The embodiments described below and the features of the embodiments can be combined with each other without conflict.
The embodiment of the application provides an electronic device which can be a server device. Please refer to fig. 1, a schematic structural diagram of an electronic device. The electronic device comprises a first chip module 10 and at least one set of second chip modules 20, the first chip module 10 and the second chip modules 20 being communicatively connected.
The first chip module 10 and the second chip module 20 each include a processor, a memory, and a bus. The processor, the memory being connected by a bus, is used for executing executable modules, such as computer programs, stored in the memory.
The processor may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the user interface sharing method may be performed by instructions in the form of hardware integrated logic circuits or software in a processor. The Processor may be a general-purpose Processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like; the device can also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, a discrete Gate or transistor logic device, or a discrete hardware component.
The Memory may comprise a Random Access Memory (RAM) and may also include a non-volatile Memory, such as at least one disk Memory.
The bus may be an ISA (Industry Standard architecture) bus, a PCI (peripheral Component interconnect) bus, or an EISA (extended Industry Standard architecture) bus. Only one bi-directional arrow is shown in fig. 1, but this does not indicate only one bus or one type of bus.
The memory is used for storing programs, such as programs corresponding to the user interface sharing device. The user interface sharing means includes at least one software function module which may be stored in a memory in the form of software or firmware (firmware) or solidified in an Operating System (OS) of the electronic device. And after receiving the execution instruction, the processor executes the program to realize the user interface sharing method.
Optionally, a part of the space in the memory is divided into display buffers, the first chip module 10 corresponds to the first display buffer, and the second chip module corresponds to the second display buffer. The first display buffer is connected to the first display 30 and the second display buffer is connected to the second display 40. The data in the first display buffer is flushed to the first display 30 according to a preset frequency, so that the first display 30 displays the corresponding image content; and the data in the second display buffer is brushed into the second display 40 according to a preset frequency, so that the second display 40 displays the corresponding image content.
Possibly, the electronic device provided by the embodiment of the application further comprises a communication interface. The communication interface is connected with the processor through a bus. The processor can receive data information transmitted by other terminals through the network application layer through the communication interface.
It should be understood that the structure shown in fig. 1 is merely a structural schematic diagram of a portion of an electronic device, which may also include more or fewer components than shown in fig. 1, or have a different configuration than shown in fig. 1. The components shown in fig. 1 may be implemented in hardware, software, or a combination thereof.
Referring to fig. 2, a user interface sharing method provided in an embodiment of the present invention may be applied to, but is not limited to, an electronic device shown in fig. 1, and includes:
s101, when the first chip module receives the sharing request transmitted by the second chip module, the first chip module transmits the user interface data to be shared to the second chip module.
The user interface data to be shared includes each frame of data that is down-brushed from the first display buffer of the first chip module 10 to the first display 30, and the first display 30 is a display connected to the first display buffer.
Optionally, the to-be-shared user interface data is each frame of data that is down-brushed from the first display buffer of the first chip module to the first display 30, and the to-be-shared user interface data is displayed on the first display 30. It should be noted that the data in the first display buffer is brushed down to the first display 30 frame by frame according to a preset frequency.
And S204, the second chip module writes the user interface data to be shared into a second display cache, and flushes the user interface data to be shared in the second display cache to a second display.
The second display 40 is connected to the second display buffer.
As previously indicated, the user interface data to be shared is displayed on the first display 30. At this time, the second chip module 20 writes the user interface data to be shared into the second display buffer, and flushes the user interface data to be shared in the second display buffer to the second display 40. I.e. the user interface data to be shared will also be displayed on the second display 40; therefore, on the premise of not adding any hardware, the purpose of sharing the user interface from the first chip module 10 to the second chip module 20 is achieved.
In need of the description, the data of the user interface to be shared in the second display buffer is flushed down to the second display 40 frame by frame according to the preset frequency.
To sum up, in the user interface sharing method provided in the embodiment of the present application, when the first chip module receives the sharing request transmitted by the second chip module, the first chip module transmits the user interface data to be shared to the second chip module; the user interface data to be shared comprises each frame of data which is down-brushed from a first display cache of the first chip module to a first display, and the first display is a display connected with the first display cache; the second chip module writes the user interface data to be shared into a second display cache, and the user interface data to be shared in the second display cache is flushed to a second display; and the second display is connected with the second display cache. The user interface data to be shared in the second display cache is down-brushed to a second display, so that the user interface data to be shared can be displayed on the second display; therefore, on the premise of not increasing any hardware, the purpose that the user interface is shared from the first chip module to the second chip module is achieved.
Alternatively, the sharing request may be transmitted directly to the first chip module 10 by the second chip module 20, requesting the first chip module 10 to share its user interface data to the second chip module 20; the first chip module 10 may send a first query instruction to the second chip module 20, where the first query instruction represents whether the user interface data of the first chip module 10 needs to be shared with the second chip module 20; after receiving the first query instruction, the second chip module 20 feeds back a sharing request to the first chip module 10.
On the basis of fig. 2, regarding how the second chip module 20 processes the data to be displayed transmitted by the network application layer after transmitting the sharing request to the first chip module 10, a possible implementation manner is further provided in the embodiment of the present application, please refer to fig. 3, where the user interface sharing method further includes:
s201, after the second chip module transmits the sharing request to the first chip module, the second chip module suspends writing the second user interface data into the second display cache.
The second user interface data is the user interface data transmitted from the network application layer to the second chip module 20.
Specifically, if the second chip module 20 continuously writes the second user interface data into the second display buffer, the user interface data to be shared transmitted by the first chip module 10 may be mixed up, and the display of the second display 40 may be disordered. In order to avoid the above problem, after the second chip module 20 transmits the sharing request to the first chip module 10, the second chip module 20 suspends the writing of the second user interface data into the second display buffer.
S202, whether the second chip module transmits the sharing stop request to the first chip module is judged. If yes, go to S203; if not, S101 is executed.
Optionally, when the second chip module 20 transmits the request for stopping sharing to the first chip module 10, the first chip module 10 stops transmitting the to-be-shared user interface to the second chip module 20, and the second chip module 20 may no longer receive the to-be-shared user interface data transmitted by the first chip module 10, and at this time, S203 may be executed, which may not cause data confusion or confusion of the display content of the second display 40. Otherwise, the second chip module 20 is kept to suspend writing the second user interface data into the second display buffer, and the first chip module 10 is waited to transmit the user interface data to be shared to the second chip module 20, that is, S101 is executed.
S203, the second chip module writes the second user interface data into a second display cache frame by frame.
Optionally, the second user interface data in the second display buffer is brushed down to the second display 40 frame by frame according to a preset frequency, so that the second display displays the second user interface data.
On the basis of fig. 2, for the contents in S101 and S204, the embodiment of the present application further provides a possible implementation manner, please refer to fig. 4, where S101 includes:
s101-1, the first chip module calls a target interface to acquire user interface data to be shared.
Optionally, when the first chip module 10 receives the sharing request transmitted by the second chip module 20, the first chip module 10 calls the target interface to obtain the user interface data to be shared.
S101-2, the first chip module encodes and compresses the user interface data to be shared.
Optionally, to improve transmission efficiency, the first chip module 10 performs encoding compression on the user interface data to be shared.
And S101-3, the first chip module transmits the coded and compressed user interface data to be shared to the second chip module.
With continued reference to fig. 4, S204 includes:
s204-1, the second chip module decompresses and decodes the received user interface data to be shared.
And S204-2, the second chip module writes the decompressed and decoded user interface data to be shared into a second display cache.
And S204-3, the user interface data to be shared in the second display cache is down-brushed to the second display.
Optionally, the first chip module 10 is connected to the second chip module 20 through a PCIE bus, and the first chip module transmits the user interface data to be shared to the second chip module through the PCIE bus.
On the basis of fig. 2, regarding how to implement the sharing of the user interfaces with each other, that is, the user interfaces are exchanged, a possible implementation manner is further provided in the embodiments of the present application, please refer to fig. 5, where the user interface sharing method further includes:
s102, when the first chip module receives the exchange confirmation request transmitted by the second chip module, the first chip module suspends the writing of the first user interface data into the first display cache.
The first user interface data is the user interface data transmitted by the network application layer to the first chip module 10.
Optionally, when the first chip module 10 receives the exchange confirmation request transmitted by the second chip module 20, the second chip module 20 may transmit data to be displayed to the first chip module 10, for writing into the first display buffer of the first chip module 10. In order to avoid confusion of contents in the display buffer, the first chip module 10 is required to suspend writing of the first user interface data into the first display buffer.
S103, the first chip module transmits the first user interface data to the second chip module.
Optionally, the first chip module 10 calls a corresponding interface to encode and compress the first user interface data, and transmits the encoded and compressed first user interface data to the second chip module 20 through PCIE.
S205, the second chip module writes the received first user interface data into a second display cache, and the first user interface data in the second display cache is flushed to a second display.
And the first user interface data in the second display cache is flushed to the second display 40, that is, the first user interface data is displayed through the second display 40.
S206, when the second chip module receives the exchange confirmation request transmitted by the first chip module, the second chip module suspends the writing of the second user interface data into the second display cache.
The same reason as S102 is not described herein.
And S207, the second chip module transmits the second user interface data to the first chip module.
Optionally, the second chip module 20 calls a corresponding interface to encode and compress the second user interface data, and transmits the encoded and compressed second user interface data to the first chip module 10 through PCIE.
And S104, writing the received second user interface data into the first display cache by the first chip module, and flushing the second user interface data in the first display cache to the first display.
And the second user interface data in the first display cache is down-brushed to the first display 30, namely the second user interface data is displayed through the first display 30.
The user interface data exchange of the first chip module 10 and the second chip module 20 is completed through S102, S103, S205, S206, S207, and S104. It should be noted that the execution sequence of S102, S103, S205, S206, S207, and S104 shown in the figures is only an example, and the execution sequence of the above steps is not limited in the embodiment of the present application.
Optionally, the first chip module 10 sends a second query instruction to the second chip module 20, where the second query instruction is an instruction indicating whether user interface exchange is required, the second chip module 20 feeds back an exchange confirmation request to the first chip module 10 after receiving the second query instruction, and the first chip module 10 also feeds back an exchange confirmation request to the second chip module 20 after receiving the exchange confirmation request; alternatively, the second chip module 20 may send a second query instruction to the first chip module 10, and the same applies to the following.
Referring to fig. 1, fig. 1 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure, and optionally, the electronic device may execute the user interface sharing method.
The electronic device comprises a first chip module and at least one group of second chip modules.
And when the first chip module receives the sharing request transmitted by the second chip module, the first chip module is used for transmitting the user interface data to be shared to the second chip module.
The user interface data to be shared comprises each frame of data which is flushed to a first display by a first display cache of the first chip module, and the first display is connected with the first display cache.
The second chip module is used for writing the user interface data to be shared into the second display cache and brushing the user interface data to be shared in the second display cache to the second display.
And the second display is connected with the second display cache.
Optionally, the second chip module is further configured to suspend, after the sharing request is transmitted to the first chip module, writing of second user interface data into the second display cache by the second chip module, where the second user interface data is user interface data transmitted to the second chip module by the network application layer.
And the second chip module is used for writing the second user interface data into the second display cache frame by frame until the second chip module transmits a sharing stopping request to the first chip module.
Optionally, the first chip is further configured to module-call a target interface, and acquire user interface data to be shared; the first chip module is also used for coding and compressing the user interface data to be shared; the first chip module is also used for transmitting the coded and compressed user interface data to be shared to the second chip module.
Optionally, the second chip module is further configured to decompress and decode the received user interface data to be shared; the second chip module is also used for writing the decompressed and decoded user interface data to be shared into a second display cache; and the user interface data to be shared in the second display cache is flushed to the second display.
Optionally, the first chip module is connected to the second chip module through a PCIE bus, and the first chip module transmits the user interface data to be shared to the second chip module through the PCIE bus.
Optionally, when the first chip module receives an exchange confirmation request transmitted by the second chip module, the first chip module is further configured to suspend writing of the first user interface data into the first display cache, where the first user interface data is user interface data transmitted by the network application layer to the first chip module; the first chip module is also used for transmitting the first user interface data to the second chip module; the second chip module is further configured to write the received first user interface data into a second display cache, and to flush the first user interface data in the second display cache to a second display.
Optionally, when the second chip module receives the exchange confirmation request transmitted by the first chip module, the second chip module is further configured to suspend writing of the second user interface data into the second display cache; the second chip module is also used for transmitting the second user interface data to the first chip module; the first chip module is further configured to write the received second user interface data into the first display cache, and to flush the second user interface data in the first display cache to the first display.
It should be noted that the electronic device provided in this embodiment may execute the method flows shown in the above method flow embodiments to achieve the corresponding technical effects. For the sake of brevity, the corresponding contents in the above embodiments may be referred to where not mentioned in this embodiment.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The apparatus embodiments described above are merely illustrative, and for example, the flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In addition, functional modules in the embodiments of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
The functions, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above description is only a preferred embodiment of the present application and is not intended to limit the present application, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application shall be included in the protection scope of the present application.
It will be evident to those skilled in the art that the present application is not limited to the details of the foregoing illustrative embodiments, and that the present application may be embodied in other specific forms without departing from the spirit or essential attributes thereof. The present embodiments are therefore to be considered in all respects as illustrative and not restrictive, the scope of the application being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference sign in a claim should not be construed as limiting the claim concerned.

Claims (10)

1. A user interface sharing method is applied to an electronic device, the electronic device comprises a first chip module and at least one group of second chip modules, and the method comprises the following steps:
when the first chip module receives the sharing request transmitted by the second chip module, the first chip module transmits user interface data to be shared to the second chip module;
the user interface data to be shared comprises each frame of data which is down-brushed from a first display cache of the first chip module to a first display, and the first display is a display connected with the first display cache;
the second chip module writes the user interface data to be shared into a second display cache, and flushes the user interface data to be shared in the second display cache to a second display;
and the second display is connected with the second display cache.
2. The user interface sharing method of claim 1, wherein the method further comprises:
after the second chip module transmits a sharing request to the first chip module, the second chip module suspends writing of second user interface data into the second display cache, wherein the second user interface data is user interface data transmitted to the second chip module by a network application layer;
and after the second chip module transmits a sharing stop request to the first chip module, the second chip module writes second user interface data into the second display cache frame by frame.
3. The method for sharing a user interface according to claim 1, wherein the step of the first chip module transmitting the user interface data to be shared to the second chip module comprises:
the first chip module calls a target interface to acquire user interface data to be shared;
the first chip module encodes and compresses user interface data to be shared;
the first chip module transmits the coded and compressed user interface data to be shared to the second chip module;
the step of writing the user interface data to be shared into a second display cache by the second chip module, and flushing the user interface data to be shared in the second display cache to a second display comprises the following steps:
the second chip module decompresses and decodes the received user interface data to be shared;
the second chip module writes the decompressed and decoded user interface data to be shared into the second display cache;
and the user interface data to be shared in the second display cache is flushed to a second display.
4. The user interface sharing method of claim 1, wherein the first chip module is connected to the second chip module via a PCIE bus, and the first chip module transmits the user interface data to be shared to the second chip module via the PCIE bus.
5. The user interface sharing method of claim 1, wherein the method further comprises:
when the first chip module receives an exchange confirmation request transmitted by the second chip module, the first chip module suspends writing of first user interface data into the first display cache, wherein the first user interface data is user interface data transmitted to the first chip module by a network application layer;
the first chip module transmits first user interface data to the second chip module;
when the second chip module receives the exchange confirmation request transmitted by the first chip module, the second chip module suspends writing of second user interface data into the second display cache;
the second chip module transmits second user interface data to the first chip module;
the first chip module writes the received second user interface data into the first display cache, and the second user interface data in the first display cache is flushed to the first display;
and the second chip module writes the received first user interface data into the second display cache and flushes the first user interface data in the second display cache to the second display.
6. An electronic device, characterized in that the electronic device comprises a first chip module and at least one set of second chip modules;
when the first chip module receives the sharing request transmitted by the second chip module, the first chip module is used for transmitting user interface data to be shared to the second chip module;
the user interface data to be shared comprises each frame of data which is down-brushed from a first display cache of the first chip module to a first display, and the first display is a display connected with the first display cache;
the second chip module is used for writing the user interface data to be shared into a second display cache and flushing the user interface data to be shared in the second display cache to a second display;
and the second display is connected with the second display cache.
7. The electronic device of claim 6,
the second chip module is further configured to suspend, after transmitting the sharing request to the first chip module, writing, by the second chip module, second user interface data into the second display cache, where the second user interface data is user interface data transmitted from the network application layer to the second chip module;
and the second chip module is used for writing second user interface data into the second display cache frame by frame after the second chip module transmits a sharing stop request to the first chip module.
8. The electronic device of claim 6,
the first chip is also used for calling a target interface by a module to acquire user interface data to be shared;
the first chip module is also used for coding and compressing the user interface data to be shared;
the first chip module is also used for transmitting the coded and compressed user interface data to be shared to the second chip module;
the second chip module is also used for decompressing and decoding the received user interface data to be shared;
the second chip module is also used for writing the decompressed and decoded user interface data to be shared into the second display cache; and the user interface data to be shared in the second display cache is flushed to a second display.
9. The electronic device of claim 6, wherein the first chip module is connected to the second chip module via a PCIE bus, and the first chip module transmits user interface data to be shared to the second chip module via the PCIE bus.
10. The electronic device of claim 6,
when the first chip module receives the exchange confirmation request transmitted by the second chip module, the first chip module is further configured to suspend writing of first user interface data into the first display cache, where the first user interface data is user interface data transmitted by a network application layer to the first chip module;
the first chip module is further configured to transmit first user interface data to the second chip module;
when the second chip module receives the exchange confirmation request transmitted by the first chip module, the second chip module is also used for suspending writing of second user interface data into the second display cache;
the second chip module is also used for transmitting second user interface data to the first chip module;
the first chip module is further configured to write the received second user interface data into the first display cache, and to flush the second user interface data in the first display cache to the first display;
the second chip module is further configured to write the received first user interface data into the second display cache, and to flush the first user interface data in the second display cache to the second display.
CN202110105822.6A 2021-01-26 2021-01-26 User interface sharing method and electronic equipment Active CN112764705B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110105822.6A CN112764705B (en) 2021-01-26 2021-01-26 User interface sharing method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110105822.6A CN112764705B (en) 2021-01-26 2021-01-26 User interface sharing method and electronic equipment

Publications (2)

Publication Number Publication Date
CN112764705A true CN112764705A (en) 2021-05-07
CN112764705B CN112764705B (en) 2022-12-02

Family

ID=75705816

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110105822.6A Active CN112764705B (en) 2021-01-26 2021-01-26 User interface sharing method and electronic equipment

Country Status (1)

Country Link
CN (1) CN112764705B (en)

Citations (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040032400A1 (en) * 2002-08-14 2004-02-19 Freeman Mark T. Method and systems for managing the display of digital content
US20040179529A1 (en) * 2003-01-21 2004-09-16 Nextio Inc. Method and apparatus for shared I/O in a load/store fabric
US20050138228A1 (en) * 2003-12-22 2005-06-23 International Business Machines Corporation Pull-configured distribution of imagery
US20070067573A1 (en) * 2005-09-20 2007-03-22 Bruening Derek L Thread-shared software code caches
CN101583009A (en) * 2009-06-18 2009-11-18 中兴通讯股份有限公司 Video terminal and method thereof for realizing interface content sharing
CN102075728A (en) * 2011-01-18 2011-05-25 中兴通讯股份有限公司 Method and system for sharing audio and/or video data
US20110320719A1 (en) * 2010-06-28 2011-12-29 International Business Machines Corporation Propagating shared state changes to multiple threads within a multithreaded processing environment
WO2012106429A1 (en) * 2011-02-03 2012-08-09 L3 Communications Corporation Rasterizer packet generator for use in graphics processor
US20130111120A1 (en) * 2011-10-27 2013-05-02 Avinash N. Ananthakrishnan Enabling A Non-Core Domain To Control Memory Bandwidth
US20130160141A1 (en) * 2011-12-15 2013-06-20 Erick Tseng Multi-User Login for Shared Mobile Devices
CN103544756A (en) * 2013-10-31 2014-01-29 中国电力工程顾问集团西南电力设计院 Plant area security and protection linkage control method based on internet-of-things platform
CN103902806A (en) * 2012-12-26 2014-07-02 索尼电脑娱乐美国公司 Systems and Methods for Managing Video Game Titles and User Play Metrics for Video Game Titles Executing on a Game Cloud System
US9143818B1 (en) * 2006-09-11 2015-09-22 Nokia Corporation Remote access to shared media
WO2016154816A1 (en) * 2015-03-27 2016-10-06 华为技术有限公司 Data processing method and device
CN107333229A (en) * 2017-08-28 2017-11-07 王海峰 A kind of information sharing terminal and system
CN107613370A (en) * 2017-10-27 2018-01-19 烟台北方星空自控科技有限公司 A kind of Screen sharing frame losing optimized algorithm
CN109388620A (en) * 2018-09-30 2019-02-26 联想(北京)有限公司 A kind of method and the first electronic equipment of striding equipment access data
CN111399790A (en) * 2020-02-29 2020-07-10 惠州华阳通用电子有限公司 Picture sharing system and implementation method thereof
CN111711801A (en) * 2020-06-30 2020-09-25 重庆紫光华山智安科技有限公司 Video data transmission method, device, server and computer readable storage medium

Patent Citations (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040032400A1 (en) * 2002-08-14 2004-02-19 Freeman Mark T. Method and systems for managing the display of digital content
US20040179529A1 (en) * 2003-01-21 2004-09-16 Nextio Inc. Method and apparatus for shared I/O in a load/store fabric
US20050138228A1 (en) * 2003-12-22 2005-06-23 International Business Machines Corporation Pull-configured distribution of imagery
US20070067573A1 (en) * 2005-09-20 2007-03-22 Bruening Derek L Thread-shared software code caches
US9143818B1 (en) * 2006-09-11 2015-09-22 Nokia Corporation Remote access to shared media
CN101583009A (en) * 2009-06-18 2009-11-18 中兴通讯股份有限公司 Video terminal and method thereof for realizing interface content sharing
US20110320719A1 (en) * 2010-06-28 2011-12-29 International Business Machines Corporation Propagating shared state changes to multiple threads within a multithreaded processing environment
CN102075728A (en) * 2011-01-18 2011-05-25 中兴通讯股份有限公司 Method and system for sharing audio and/or video data
WO2012106429A1 (en) * 2011-02-03 2012-08-09 L3 Communications Corporation Rasterizer packet generator for use in graphics processor
US20130111120A1 (en) * 2011-10-27 2013-05-02 Avinash N. Ananthakrishnan Enabling A Non-Core Domain To Control Memory Bandwidth
US20130160141A1 (en) * 2011-12-15 2013-06-20 Erick Tseng Multi-User Login for Shared Mobile Devices
CN103902806A (en) * 2012-12-26 2014-07-02 索尼电脑娱乐美国公司 Systems and Methods for Managing Video Game Titles and User Play Metrics for Video Game Titles Executing on a Game Cloud System
CN103544756A (en) * 2013-10-31 2014-01-29 中国电力工程顾问集团西南电力设计院 Plant area security and protection linkage control method based on internet-of-things platform
WO2016154816A1 (en) * 2015-03-27 2016-10-06 华为技术有限公司 Data processing method and device
CN107004018A (en) * 2015-03-27 2017-08-01 华为技术有限公司 Data processing method and device
CN107333229A (en) * 2017-08-28 2017-11-07 王海峰 A kind of information sharing terminal and system
CN107613370A (en) * 2017-10-27 2018-01-19 烟台北方星空自控科技有限公司 A kind of Screen sharing frame losing optimized algorithm
CN109388620A (en) * 2018-09-30 2019-02-26 联想(北京)有限公司 A kind of method and the first electronic equipment of striding equipment access data
CN111399790A (en) * 2020-02-29 2020-07-10 惠州华阳通用电子有限公司 Picture sharing system and implementation method thereof
CN111711801A (en) * 2020-06-30 2020-09-25 重庆紫光华山智安科技有限公司 Video data transmission method, device, server and computer readable storage medium

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
李鹏等: "一种实现局域网内屏幕共享的新方法", 《成都信息工程学院学报》 *
邹航宇: "屏幕共享系统的分析与设计", 《微型电脑应用》 *

Also Published As

Publication number Publication date
CN112764705B (en) 2022-12-02

Similar Documents

Publication Publication Date Title
US9906789B2 (en) Encoding or decoding method and apparatus
CN107395209B (en) Data compression method, data decompression method and equipment thereof
WO2018103568A1 (en) Methods of encoding and decoding cloud desktop content, device, and system
RU2630750C1 (en) Device and method for encoding and decoding initial data
US11196868B2 (en) Audio data processing method, server, client and server, and storage medium
CN112954457A (en) Video playing and displaying method, device and system
CN112764705B (en) User interface sharing method and electronic equipment
US20140009563A1 (en) Non-video codecs with video conferencing
CN110324629B (en) Image transcoding method and device and electronic equipment
CN109743643B (en) Processing method and device for building intercom system
US20230144455A1 (en) Method and apparatus for video coding for machine vision
CN116668691A (en) Picture compression transmission method and device and terminal equipment
US20150049800A1 (en) Estimation of entropy encoding bits in video compression
US8600766B2 (en) Method and apparatus for encoding and decoding data with altered bit sequence
US10666986B1 (en) Sub-block based entropy coding for embedded image codec
CN111967001A (en) Decoding and coding safety isolation method based on double containers
CN115580735B (en) Video coding and decoding processing and system, coding and decoding server and plug-in module
CN112055174A (en) Video transmission method and device and computer readable storage medium
WO2023174040A1 (en) Picture processing method and related device
CN113157226A (en) Remote data display method, device, equipment and machine-readable storage medium
KR102267206B1 (en) A hybrid palette-dpcm coding for image compression
CN116828198B (en) Method for supporting VA-API hardware video acceleration interface on NVIDIA GPU
WO2023231710A1 (en) Picture processing method and related device
US20200162763A1 (en) Sub-block based entropy coding for image coding
CN114286094A (en) Encoding and decoding method and device in cloud desktop scene, electronic equipment and storage medium

Legal Events

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