Movatterモバイル変換


[0]ホーム

URL:


CN111586340B - Image data loading and providing method and device - Google Patents

Image data loading and providing method and device
Download PDF

Info

Publication number
CN111586340B
CN111586340BCN202010383896.1ACN202010383896ACN111586340BCN 111586340 BCN111586340 BCN 111586340BCN 202010383896 ACN202010383896 ACN 202010383896ACN 111586340 BCN111586340 BCN 111586340B
Authority
CN
China
Prior art keywords
image data
resource request
slice
loading
data
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
CN202010383896.1A
Other languages
Chinese (zh)
Other versions
CN111586340A (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.)
Qingdao Hisense Digital Medical Technology Co ltd
Original Assignee
Qingdao Hisense Medical Equipment 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 Qingdao Hisense Medical Equipment Co LtdfiledCriticalQingdao Hisense Medical Equipment Co Ltd
Priority to CN202010383896.1ApriorityCriticalpatent/CN111586340B/en
Publication of CN111586340ApublicationCriticalpatent/CN111586340A/en
Application grantedgrantedCritical
Publication of CN111586340BpublicationCriticalpatent/CN111586340B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Images

Classifications

Landscapes

Abstract

Translated fromChinese

本申请公开了影像数据的加载、提供方法及装置,用以解决在多方影像协同会诊的场景下造成的资源请求失败、加载过慢的问题,提高影像数据的资源获取效率。本申请提供的一种影像数据的加载方法,包括:确定参加网络虚拟会议的多个端当前对影像数据片段的加载状态,所述影像数据片段是预先对所述网络虚拟会议需要讨论的整体影像数据进行划分得到的影像数据片段;确定本端当前未加载的影像数据片段;根据所述多个端当前对影像数据片段的加载状态,针对当前未加载的影像数据片段发送数据资源请求,并完成影像数据片段的加载。

Figure 202010383896

The present application discloses a method and device for loading and providing image data, which are used to solve the problems of resource request failure and too slow loading caused in the scenario of multi-party image collaborative consultation, and improve the resource acquisition efficiency of image data. A method for loading image data provided by the present application includes: determining the current loading status of image data fragments by multiple terminals participating in a virtual network conference, where the image data fragments are the overall images that need to be discussed in the virtual network conference in advance. Image data segments obtained by dividing the data; determine the image data segments that are not currently loaded at the local end; send a data resource request for the currently unloaded image data segments according to the current loading status of the multiple ends for the image data segments, and complete Loading of image data fragments.

Figure 202010383896

Description

Image data loading and providing method and device
Technical Field
The present application relates to the field of network technologies, and in particular, to a method and an apparatus for loading and providing image data.
Background
In a multi-party image collaborative consultation scene, when each party participant client (hereinafter referred to as C-side for convenience of description) joins a network virtual conference room, consultation image data needs to be requested from an image server (hereinafter referred to as S-side for convenience of description), and as collaborative operation (an operation synchronization mechanism among multiple parties) has a high requirement on real-time performance, a lazy loading mode is adopted, which brings problems to collaboration. Therefore, image data with a volume of hundreds of megabits or even hundreds of megabits needs to be buffered from the single S end to the C end. And the C-side usually enters the network virtual meeting room in an approximate time period, which causes two problems:
the first and the S terminals lose the request due to the large instantaneous load of the network, so that the C terminal fails to request resources;
secondly, even if the request is not lost, the problem of too slow loading speed is brought, and the time of the participant is wasted.
Disclosure of Invention
The embodiment of the application provides a method and a device for loading and providing image data, which are used for solving the problems of failure in resource request and too slow loading caused in a scene of multi-party image collaborative consultation and improving the resource acquisition efficiency of the image data.
At a data request end, a method for loading image data provided by an embodiment of the present application includes:
determining the current loading state of a plurality of terminals participating in the network virtual conference on image data fragments, wherein the image data fragments are obtained by dividing the whole image data to be discussed of the network virtual conference in advance;
determining the image data segment which is not loaded at the current end;
and sending a data resource request aiming at the image data fragment which is not loaded currently according to the loading state of the plurality of terminals to the image data fragment currently, and completing the loading of the image data fragment.
By the method, the current loading state of a plurality of terminals participating in the network virtual conference on the image data segment is determined, wherein the image data segment is obtained by dividing the whole image data to be discussed of the network virtual conference in advance; determining the image data segment which is not loaded at the current end; according to the current loading state of the image data fragments by the plurality of terminals, sending a data resource request aiming at the image data fragments which are not loaded currently, and completing the loading of the image data fragments, thereby solving the problems of resource request failure and slow loading caused in the scene of multi-party image collaborative consultation, and improving the resource acquisition efficiency of the image data.
Optionally, the determining the current loading state of the plurality of terminals participating in the network virtual conference on the image data segment specifically includes:
and determining a resource request state two-dimensional array, wherein the resource request state two-dimensional array comprises the loading state of each image data fragment currently loaded by a plurality of terminals participating in the network virtual conference.
Optionally, the determining a resource request state two-dimensional array specifically includes:
broadcasting resource state array request information to a plurality of terminals participating in the network virtual conference;
receiving any end C participating in the network virtual conferencetThe end C of transmissiontA data state array maintained including the terminal CtStatus information indicating whether each of the image data segments has been loaded;
according to said CtAnd the maintained data state array determines a resource request state two-dimensional array.
Optionally, the determining the currently unloaded image data segment at the local end specifically includes:
and determining the current unloaded image data segments according to a data state array maintained by the home terminal, wherein the data state array comprises state information of whether each image data segment is loaded by the home terminal.
Optionally, after each loading of an image data segment is completed, the method further includes:
and updating the data state array maintained by the local terminal.
Optionally, the sending a data resource request for a currently unloaded image data fragment specifically includes:
randomly selecting an unloaded image data segment slice from a plurality of image data segments which are not loaded at the present time of the local terminalj
Determining that the slice has been loadedjSet ofc
Set from the SetcIn randomly selecting one end CkTo the end CkSending a data resource request for acquiring the slicej
Correspondingly, at a data providing end, the method for providing image data provided by the embodiment of the application comprises the following steps:
receiving a data resource request sent by an opposite terminal participating in a network virtual conference and aiming at an image data fragment which is not loaded at the opposite terminal currently, wherein the image data fragment is an image data fragment obtained by dividing the whole image data which needs to be discussed in the network virtual conference in advance;
and providing the requested image data fragment to the opposite terminal according to the data resource request.
Another embodiment of the present application provides a computing device, which includes a memory and a processor, wherein the memory is used for storing program instructions, and the processor is used for calling the program instructions stored in the memory and executing any one of the above methods according to the obtained program.
Another embodiment of the present application provides a computer storage medium having stored thereon computer-executable instructions for causing a computer to perform any one of the methods described above.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic diagram of a multi-source loading network topology provided in an embodiment of the present application;
FIG. 2 is a schematic flow chart of a multi-source loading algorithm provided in an embodiment of the present application;
fig. 3 is a schematic view of a video collaboration main service flow provided in the embodiment of the present application;
fig. 4 is a schematic flowchart illustrating a method for loading image data according to an embodiment of the present disclosure;
fig. 5 is a flowchart illustrating a method for providing image data according to an embodiment of the present disclosure;
FIG. 6 is a schematic structural diagram of a computing device according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of an image data loading device according to an embodiment of the present disclosure;
fig. 8 is a schematic structural diagram of an apparatus for providing image data according to an embodiment of the present disclosure.
Detailed Description
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 only a part of the embodiments of the present application, and not all of the embodiments. 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.
The embodiment of the application provides a method and a device for loading and providing image data, which are used for solving the problems of failure in resource request and too slow loading caused in a scene of multi-party image collaborative consultation and improving the resource acquisition efficiency of the image data.
The method and the device are based on the same application concept, and because the principles of solving the problems of the method and the device are similar, the implementation of the device and the method can be mutually referred, and repeated parts are not repeated.
Various embodiments of the present application will be described in detail below with reference to the accompanying drawings. It should be noted that the display sequence of the embodiment of the present application only represents the sequence of the embodiment, and does not represent the merits of the technical solutions provided by the embodiments.
According to the technical scheme provided by the embodiment of the application, the problems are solved through a strategy of combining multi-source loading and image data division. Specifically, the image data division, for example: firstly, dividing image data to be requested into 10 equal parts (the 10 equal parts are determined according to the number of participants and the size of data volume in the image collaborative consultation scene, and the following description takes the 10 equal parts as an example, which can be determined according to actual needs in the actual implementation process); then, the 10 equal parts of image data are not requested from a single S terminal any more, but are randomly requested to the client terminals C of other participantsiAnd the purpose of multi-source loading is achieved. The following describes the implementation of the multi-source loading strategy and the image data dividing and controlling strategy.
Firstly, a multi-source loading strategy:
1. definition of multi-source loading strategy:
referring to fig. 1, a so-called multi-source loading policy is different from a traditional manner of loading image data from a single S-side, and allows participating clients to load image data from clients C of other participating partiesiThe terminal and the S terminal request data simultaneously, and the concurrent request mode can solve the problem of overlarge instantaneous load of a single server and can greatly accelerate the loading speed of image data.
2. Referring to fig. 2, the working modes of the multi-source loading strategy include:
obtaining image data requests of 10 equal parts through an image data dividing and controlling strategy, and defining a request array and a resource state array, wherein the request array is as follows:
reque stData=[slice0,slice1,...,slice9]
wherein, sliceiThe value of the (i + 1) th equal part representing the image data to be requested is 0 or 1, wherein 0 represents that the slice is not loaded on the current clientiData; otherwise, 1 indicates that the current client has loaded the slice completediAnd (4) data.
The resource state array is:
dataS tate=[state0,state1,...,state9]
wherein, state _ i indicates whether the local client has finished loading the (i + 1) th slice, specifically, 1 indicates loaded, and 0 indicates unloaded; different from slice _ i in requestData, slice _ i in requestData indicates whether i +1 th slice of other clients completes loading, which is described in detail in the following DataStates two-dimensional matrix.
Each C-terminal stores a list of all C-terminals currently establishing connection with the S-terminal, defined as: p ═ S, C1,...,Cn]Wherein n is the number of all C terminals. The array P can be updated in real time according to the online and offline conditions of the C terminal.
CiThe process of end-loading image data is as follows:
first step, CiThe terminal needs to broadcast the resource state array request information to all terminals in the P array, when C in the P arraytEnd receives CiWhen the resource state array of the terminal requests information, C is immediately senttThe dataS tate array in the end returns to CiEnd, last CiThe client will generate the two-dimensional array DataS tables of the resource request state as shown in the following table:
slice0slice1slice2slice3slice4slice5slice6slice7slice8slice9
S1111111111
C10010000100
C20001000010
C30000100001
Cn1100000001
the value of the two-dimensional array is 0 or 1, and 0 represents that the slice is loaded at the endiOtherwise, 1 means that the slice is not loaded on the terminali. For example, according to the above table, the S terminal has all the image data loaded, C1Loaded slice2、slice7
That is, CiThe terminal can know the current terminals (including the terminal S and the terminal C) through the two-dimensional array1~CnEnd) for each partial image data slice0~slice9The loading state of (c).
Second step, CiThe terminal acquires the C according to the own database state arrayiIf the loading condition of the image data is detected by the end, a certain slice is foundiIf the loading is not finished, acquiring which ends currently contain slice according to the two-dimensional array DataS tagsi(i.e., loaded slice)i) Then send out slice to the endiThe data resource request of completing the loading of the image resourceAnd meanwhile, updating the data state array of the user.
In the above process, assume sliceiIs currently already at the S terminal, CjTerminal, CkTerminal, CmThe terminals are loaded, and n terminals are not loaded to the sliceiThen the desired scene is n slices from these n endsiResource request is uniformly transmitted by the S terminal and the C terminaljTerminal, CkTerminal, CmEnd receiving is carried out, so that the situation that a single certain end simultaneously receives the slices of the n ends is avoidediResource blocking caused by resource requests. In addition, it should be considered that if one of the terminals CiThe multiple slice data resource requests sent to the same end still cause resource blocking. Then, in order to ensure that the data resource requests can be uniformly distributed, rather than uniformly requesting to the S-side, a reasonable sampling scheme must be adopted.
According to the above analysis, sampling needs to satisfy two requirements:
the first aspect is to select a slice to be selected from among 10 image data segments at a current equal probabilityi
The second aspect is selected sliceiTo a certain target C with equal probabilityjI.e. to select a request source with equal probability.
The sampling process is as follows: firstly, a random sampling method is adopted, and one slice is randomly selected from unloaded slices in a database state arrayj
Then inquiring the loaded completion slice in the DataS tatesjSet ofcSetcThe system can comprise a client and a server;
from set by means of random samplingcIn randomly selecting one end Ck,CkCan be a client, CkOr the server side, so that the sampling process is completed.
Third step, CiThe terminal obtains image data slice to be requested according to the last sampling stepjAnd request target CkLoading image data, synchronously updating the data S date array after loading,so that the other end is requesting slicejWhen image data is available, CiThe terminal can bear part of the responsibilities of the server and provide slice for other clientsjImage data.
And fourthly, circularly inquiring the database state array, if the unloaded image data still exist, repeating the first step to the third step until the image data are completely loaded, and exiting the circulation of the fourth step.
Secondly, image data dividing and treating strategy:
the data dividing and controlling strategy is an auxiliary strategy for realizing a multi-source loading strategy, and the core is data slicing processing, namely, carrying out average segmentation on a complete image data resource request to form a plurality of slices. For example, a complete image data resource request contains 300 images, and if 10 equal slices are performed, each slice contains 30 images. And each C end maintains the state of data recorded by a data array, and once a slice is loaded, the data array is updated to realize division and treatment of the image data.
Fig. 3 is a flowchart of an upper layer application in the method provided by the embodiment of the present application, and describes an application scenario of the method provided by the embodiment of the present application.
In addition, the working mode of the multi-source loading strategy adopts a random sampling method to generate the data slice to be requestedjAnd request target CkAll requests are distributed equally to the client as well as to the server. In an actual application scenario, the server often has better performance than a common client and can bear more load, and therefore, the data to be requested and the request target can also be generated in a weighted sampling manner, so that the server bears more load, and the specific weight can be determined by combining the performance of the server, the performance of the client and the like, which is not limited in the embodiment of the present application. The weighted sampling means that a server is given a larger weight. For example: currently, there are 10 clients and one server, and then the weight of the server may be given by 0.5, and the weight of other clients may be given by 0.05, so that the total weight of each client and server is guaranteed to be 1. Described by geometric thinking in a length of 1The server occupies an interval length of 0.5, the other clients occupy an interval length of 0.05, and if a point randomly falls on the interval with the length of 1, the probability that the point falls on the interval where the server is located is 50%, and the probability that the point falls on a certain client is 5%. In this way, the server with better performance can obtain more image resource loading requests.
In summary, referring to fig. 4, at the data request end, the method for loading image data provided in the embodiment of the present application includes:
s101, determining the current loading state of a plurality of terminals participating in a network virtual conference on image data fragments, wherein the image data fragments are obtained by dividing the whole image data to be discussed in the network virtual conference in advance;
the image data segment, e.g. slice as described abovei
S102, determining image data segments which are not loaded at the local end currently;
s103, according to the current loading state of the plurality of terminals on the image data fragments, sending a data resource request aiming at the image data fragments which are not loaded currently, and completing the loading of the image data fragments.
By the method, the current loading state of a plurality of terminals participating in the network virtual conference on the image data segment is determined, wherein the image data segment is obtained by dividing the whole image data to be discussed of the network virtual conference in advance; determining the image data segment which is not loaded at the current end; according to the current loading state of the image data fragments by the plurality of terminals, sending a data resource request aiming at the image data fragments which are not loaded currently, and completing the loading of the image data fragments, thereby solving the problems of resource request failure and slow loading caused in the scene of multi-party image collaborative consultation, and improving the resource acquisition efficiency of the image data.
Optionally, the determining the current loading state of the plurality of terminals participating in the network virtual conference on the image data segment specifically includes:
and determining a resource request state two-dimensional array, wherein the resource request state two-dimensional array comprises the loading state of each image data fragment currently loaded by a plurality of terminals participating in the network virtual conference.
Optionally, the determining a resource request state two-dimensional array specifically includes:
broadcasting resource state array request information to a plurality of terminals participating in the network virtual conference;
receiving any end C participating in the network virtual conferencetThe end C of transmissiontA data state array maintained including the terminal CtStatus information indicating whether each of the image data segments has been loaded;
according to said CtAnd the maintained data state array determines a resource request state two-dimensional array.
Optionally, the determining the currently unloaded image data segment at the local end specifically includes:
and determining the current unloaded image data segments according to a data state array maintained by the home terminal, wherein the data state array comprises state information of whether each image data segment is loaded by the home terminal.
Optionally, after each loading of an image data segment is completed, the method further includes:
and updating the data state array maintained by the local terminal.
Optionally, the sending a data resource request for a currently unloaded image data fragment specifically includes:
randomly selecting an unloaded image data segment slice from a plurality of image data segments which are not loaded at the present time of the local terminalj
Determining that the slice has been loadedjSet ofc
Set from the SetcIn randomly selecting one end CkTo the end CkSending a data resource request for acquiring the slicej
The data request end according to the embodiment of the present application may be, for example, any client participating in a network virtual conference.
Accordingly, at the data providing end, referring to fig. 5, the method for providing image data provided by the embodiment of the present application includes:
s201, receiving a data resource request sent by an opposite terminal participating in a network virtual conference and aiming at an image data fragment which is not loaded at the opposite terminal currently, wherein the image data fragment is an image data fragment obtained by dividing the whole image data which needs to be discussed in the network virtual conference in advance;
s202, according to the data resource request, providing the requested image data segment to the opposite terminal.
The data provider according to the embodiment of the present application may be, for example, any client participating in a network virtual conference, or may be a server.
Referring to fig. 6, an embodiment of the present application provides a computing device, which includes amemory 11 and aprocessor 12, where the memory is used to store program instructions, and the processor is used to call the program instructions stored in the memory, and perform any one of the above methods according to the obtained program.
The computing device described in the present application may be a server, or may be a client, and may be any user device or network device with computing capability. For example, a computer, a mobile phone, a television, a tablet computer, etc.
Specifically, if the computing device is used as a data request end, the processor is configured to call the program instructions stored in the memory, and execute, according to the obtained program:
determining the current loading state of a plurality of terminals participating in the network virtual conference on image data fragments, wherein the image data fragments are obtained by dividing the whole image data to be discussed of the network virtual conference in advance;
determining the image data segment which is not loaded at the current end;
and sending a data resource request aiming at the image data fragment which is not loaded currently according to the loading state of the plurality of terminals to the image data fragment currently, and completing the loading of the image data fragment.
Optionally, the determining the current loading state of the plurality of terminals participating in the network virtual conference on the image data segment specifically includes:
and determining a resource request state two-dimensional array, wherein the resource request state two-dimensional array comprises the loading state of each image data fragment currently loaded by a plurality of terminals participating in the network virtual conference.
Optionally, the determining a resource request state two-dimensional array specifically includes:
broadcasting resource state array request information to a plurality of terminals participating in the network virtual conference;
receiving any end C participating in the network virtual conferencetThe end C of transmissiontA data state array maintained including the terminal CtStatus information indicating whether each of the image data segments has been loaded;
according to said CtAnd the maintained data state array determines a resource request state two-dimensional array.
Optionally, the determining the currently unloaded image data segment at the local end specifically includes:
and determining the current unloaded image data segments according to a data state array maintained by the home terminal, wherein the data state array comprises state information of whether each image data segment is loaded by the home terminal.
Optionally, after each loading of an image data segment, the processor is further configured to:
and updating the data state array maintained by the local terminal.
Optionally, the sending a data resource request for a currently unloaded image data fragment specifically includes:
randomly selecting an unloaded image data segment slice from a plurality of image data segments which are not loaded at the present time of the local terminalj
Determining that the slice has been loadedjSet ofc
Set from the SetcIn randomly selecting one end CkTo the end CkSendingA data resource request for obtaining the slicej
If the computing device is used as a data providing end, the processor is used for calling the program instructions stored in the memory and executing the following steps according to the obtained program:
receiving a data resource request sent by an opposite terminal participating in a network virtual conference and aiming at an image data fragment which is not loaded at the opposite terminal currently, wherein the image data fragment is an image data fragment obtained by dividing the whole image data which needs to be discussed in the network virtual conference in advance;
and providing the requested image data fragment to the opposite terminal according to the data resource request.
Referring to fig. 7, another image data loading apparatus provided in the embodiment of the present application includes:
afirst unit 21, configured to determine a current loading state of a plurality of terminals participating in a network virtual conference on an image data segment, where the image data segment is an image data segment obtained by dividing overall image data that needs to be discussed in the network virtual conference in advance;
asecond unit 22, configured to determine an image data segment that is not currently loaded at the local end;
athird unit 23, configured to send a data resource request for a currently unloaded image data segment according to a current loading state of the image data segment by the multiple terminals, and complete loading of the image data segment.
Optionally, the determining the current loading state of the plurality of terminals participating in the network virtual conference on the image data segment specifically includes:
and determining a resource request state two-dimensional array, wherein the resource request state two-dimensional array comprises the loading state of each image data fragment currently loaded by a plurality of terminals participating in the network virtual conference.
Optionally, the determining a resource request state two-dimensional array specifically includes:
broadcasting resource state array request information to a plurality of terminals participating in the network virtual conference;
receiving participation in the networkEither end of the virtual conference CtThe end C of transmissiontA data state array maintained including the terminal CtStatus information indicating whether each of the image data segments has been loaded;
according to said CtAnd the maintained data state array determines a resource request state two-dimensional array.
Optionally, the determining the currently unloaded image data segment at the local end specifically includes:
and determining the current unloaded image data segments according to a data state array maintained by the home terminal, wherein the data state array comprises state information of whether each image data segment is loaded by the home terminal.
Optionally, after each loading of an image data segment, thethird unit 23 is further configured to:
and updating the data state array maintained by the local terminal.
Optionally, the sending a data resource request for a currently unloaded image data fragment specifically includes:
randomly selecting an unloaded image data segment slice from a plurality of image data segments which are not loaded at the present time of the local terminalj
Determining that the slice has been loadedjSet ofc
Set from the SetcIn randomly selecting one end CkTo the end CkSending a data resource request for acquiring the slicej
The loading device of the image data can be a server or a client.
Referring to fig. 8, another image data providing device according to an embodiment of the present application includes:
a receivingunit 31, configured to receive a data resource request sent by an opposite end participating in a network virtual conference and sent for an image data fragment that is not currently loaded by the opposite end, where the image data fragment is an image data fragment obtained by dividing, in advance, overall image data that needs to be discussed in the network virtual conference;
a providingunit 32, configured to provide the requested image data segment to the peer end according to the data resource request.
The device for providing the image data can be a server or a client.
It should be noted that the division of the unit in the embodiment of the present application is schematic, and is only a logic function division, and there may be another division manner in actual implementation. In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit 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 may be substantially implemented or contributed by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, a network device, or the like) or a processor (processor) 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: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The embodiment of the present application provides a computing device, which may specifically be a desktop computer, a portable computer, a smart phone, a tablet computer, a Personal Digital Assistant (PDA), and the like. The computing device may include a Central Processing Unit (CPU), memory, input/output devices, etc., the input devices may include a keyboard, mouse, touch screen, etc., and the output devices may include a Display device, such as a Liquid Crystal Display (LCD), a Cathode Ray Tube (CRT), etc.
The memory may include Read Only Memory (ROM) and Random Access Memory (RAM), and provides the processor with program instructions and data stored in the memory. In the embodiments of the present application, the memory may be used for storing a program of any one of the methods provided by the embodiments of the present application.
The processor is used for executing any one of the methods provided by the embodiment of the application according to the obtained program instructions by calling the program instructions stored in the memory.
Embodiments of the present application provide a computer storage medium for storing computer program instructions for an apparatus provided in the embodiments of the present application, which includes a program for executing any one of the methods provided in the embodiments of the present application.
The computer storage media may be any available media or data storage device that can be accessed by a computer, including, but not limited to, magnetic memory (e.g., floppy disks, hard disks, magnetic tape, magneto-optical disks (MOs), etc.), optical memory (e.g., CDs, DVDs, BDs, HVDs, etc.), and semiconductor memory (e.g., ROMs, EPROMs, EEPROMs, non-volatile memory (NAND FLASH), Solid State Disks (SSDs)), etc.
The above method process flow may be implemented by a software program, which may be stored in a storage medium, and when the stored software program is called, the above method steps are performed.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present application without departing from the spirit and scope of the application. Thus, if such modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is intended to include such modifications and variations as well.

Claims (5)

Translated fromChinese
1.一种影像数据的加载方法,其特征在于,该方法包括:1. A method for loading image data, characterized in that the method comprises:确定参加网络虚拟会议的多个端当前对影像数据片段的加载状态,所述影像数据片段是根据网络虚拟会议的参会方数以及网络虚拟会议需要讨论的整体影像数据的数据量大小,预先对所述网络虚拟会议需要讨论的整体影像数据进行划分得到的影像数据片段;Determine the current loading state of the video data segments by the multiple ends participating in the network virtual conference, and the video data segments are pre-registered according to the number of participants in the network virtual conference and the data amount of the overall image data to be discussed in the network virtual conference. Image data segments obtained by dividing the overall image data to be discussed in the virtual network conference;根据本端维护的数据状态数组,确定当前未加载的影像数据片段,所述数据状态数组中包括本端对各个影像数据片段是否已加载的状态信息;Determine the currently unloaded image data segments according to the data state array maintained by the local end, where the data state array includes state information on whether each image data segment has been loaded by the local end;根据所述多个端当前对影像数据片段的加载状态,针对当前未加载的影像数据片段slicej发送数据资源请求,并完成影像数据片段slicej的加载,以及更新本端维护的数据状态数组,从而使得本端能够承担服务器的部分职责,向其他客户端提供影像数据片段slicejAccording to the current loading states of the image data segments by the multiple ends, a data resource request is sent for the currently unloaded image data segment slicej , the loading of the image data segment slicej is completed, and the data state array maintained by the local end is updated, Thus, the local end can undertake part of the responsibilities of the server and provide the image data segment slicej to other clients;其中,所述确定参加网络虚拟会议的多个端当前对影像数据片段的加载状态,具体包括:Wherein, the determining the current loading state of the video data fragments by the multiple terminals participating in the virtual conference specifically includes:确定资源请求状态二维数组,所述资源请求状态二维数组中包括参加网络虚拟会议的多个端当前对各个影像数据片段的加载状态;determining a two-dimensional array of resource request statuses, where the two-dimensional array of resource request statuses includes the current loading status of each image data segment by multiple terminals participating in the virtual network conference;针对当前未加载的影像数据片段发送数据资源请求,具体包括:Send a data resource request for an image data fragment that is not currently loaded, including:从本端当前未加载的多个影像数据片段中随机选择一个未加载的影像数据片段slicejRandomly select an unloaded image data segment slicej from multiple image data segments that are not currently loaded at the local end;确定已加载所述slicej的集合Setc;集合Setc中包括客户端和服务器端;Determine that the set Setc of the slicej has been loaded; the set Setc includes the client and the server;从所述集合Setc中随机选择一个端Ck,Ck为客户端或服务器端,向该端Ck发送数据资源请求,用于获取所述slicejA terminal Ck is randomly selected from the set Setc , and Ck is a client or a server terminal, and a data resource request is sent to the terminal Ck for obtaining the slicej ;其中,通过随机选择所述未加载的影像数据片段slicej以及端Ck,从而避免单一客户端同时接收到多个端的针对同一影像数据片段的资源请求,以及避免单一客户端的多个影像数据片段的资源请求发送到同一端,进而保证数据资源请求能够实现均匀分布到多个端,避免造成资源阻塞。Wherein, by randomly selecting the unloaded image data segment slicej and the terminal Ck , it is possible to prevent a single client from receiving resource requests for the same image data segment from multiple terminals at the same time, and to avoid multiple image data segments from a single client. The resource requests are sent to the same end, so as to ensure that the data resource requests can be evenly distributed to multiple ends and avoid resource blocking.2.根据权利要求1所述的方法,其特征在于,所述确定资源请求状态二维数组,具体包括:2. The method according to claim 1, wherein the determining a two-dimensional array of resource request states specifically comprises:向参加所述网络虚拟会议的多个端广播资源状态数组请求信息;Broadcasting resource status array request information to multiple ends participating in the network virtual conference;接收参加所述网络虚拟会议的任一端Ct发送的该端Ct维护的数据状态数组,所述数据状态数组中包括该端Ct对各个所述影像数据片段是否已加载的状态信息;receiving a data state array maintained by the end Ct sent by any end Ct participating in the network virtual conference, where the data state array includes the state information of whether the end Ct has loaded each of the image data segments;根据所述Ct维护的数据状态数组,确定资源请求状态二维数组。According to the data state array maintained by the Ct , a two-dimensional array of resource request states is determined.3.一种影像数据的提供方法,其特征在于,该方法包括:3. A method for providing image data, characterized in that the method comprises:接收参加网络虚拟会议的对端发送的针对该对端当前未加载的影像数据片段发送的数据资源请求,所述影像数据片段是根据网络虚拟会议的参会方数以及网络虚拟会议需要讨论的整体影像数据的数据量大小,预先对所述网络虚拟会议需要讨论的整体影像数据进行划分得到的影像数据片段;Receive a data resource request sent by a peer participating in a virtual network conference for an image data segment that is not currently loaded by the peer, and the image data segment is based on the number of participants in the virtual conference and the overall content to be discussed in the virtual conference. The size of the image data, the image data segments obtained by dividing the overall image data to be discussed in the virtual network conference in advance;根据所述数据资源请求,向所述对端提供所请求的影像数据片段;According to the data resource request, provide the requested image data segment to the opposite end;其中,所述数据资源请求是所述对端根据参加网络虚拟会议的多个端当前对影像数据片段的加载状态,针对所述对端当前未加载的影像数据片段发送的数据资源请求;其中,所述对端发送所述数据资源请求,具体包括:所述对端从当前未加载的多个影像数据片段中随机选择一个未加载的影像数据片段slicej;确定已加载所述slicej的集合Setc;集合Setc中包括客户端和服务器端;从所述集合Setc中随机选择一个端Ck,Ck为客户端或服务器端,向该端Ck发送数据资源请求,用于获取所述slicej;其中,通过随机选择所述未加载的影像数据片段slicej以及端Ck,从而避免单一客户端同时接收到多个端的针对同一影像数据片段的资源请求,以及避免单一客户端的多个影像数据片段的资源请求发送到同一端,进而保证数据资源请求能够实现均匀分布到多个端,避免造成资源阻塞;Wherein, the data resource request is a data resource request sent by the opposite end according to the current loading status of the video data segments of multiple ends participating in the network virtual conference for the video data segments that are not currently loaded by the opposite end; wherein, Sending the data resource request by the peer end specifically includes: the peer end randomly selects an unloaded image data segment slicej from a plurality of currently unloaded image data segments; determining that the set of the slicej has been loaded Setc ; a client and a server are included in the set Setc ; a terminal Ck is randomly selected from the set Setc , and Ck is a client or a server, and sends a data resource request to the terminal Ck for obtaining the slicej ; wherein, by randomly selecting the unloaded image data segment slicej and the terminal Ck , it is possible to prevent a single client from receiving resource requests for the same image data segment from multiple terminals at the same time, and to avoid a single client Resource requests for multiple image data fragments are sent to the same end, thereby ensuring that data resource requests can be evenly distributed to multiple ends and avoiding resource congestion;其中,所述加载状态是所述对端通过如下方式确定的:The loading state is determined by the peer end in the following manner:确定资源请求状态二维数组,所述资源请求状态二维数组中包括参加网络虚拟会议的多个端当前对各个影像数据片段的加载状态。A two-dimensional array of resource request states is determined, where the two-dimensional array of resource request states includes the current loading states of each image data segment by multiple terminals participating in the network virtual conference.4.一种计算设备,其特征在于,包括:4. A computing device, comprising:存储器,用于存储程序指令;memory for storing program instructions;处理器,用于调用所述存储器中存储的程序指令,按照获得的程序执行权利要求1至3任一项所述的方法。The processor is configured to call the program instructions stored in the memory, and execute the method according to any one of claims 1 to 3 according to the obtained program.5.一种计算机存储介质,其特征在于,所述计算机存储介质存储有计算机可执行指令,所述计算机可执行指令用于使所述计算机执行权利要求1至3任一项所述的方法。5. A computer storage medium, wherein the computer storage medium stores computer-executable instructions, the computer-executable instructions being used to cause the computer to execute the method of any one of claims 1 to 3.
CN202010383896.1A2020-05-082020-05-08Image data loading and providing method and deviceActiveCN111586340B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN202010383896.1ACN111586340B (en)2020-05-082020-05-08Image data loading and providing method and device

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN202010383896.1ACN111586340B (en)2020-05-082020-05-08Image data loading and providing method and device

Publications (2)

Publication NumberPublication Date
CN111586340A CN111586340A (en)2020-08-25
CN111586340Btrue CN111586340B (en)2021-11-19

Family

ID=72125705

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN202010383896.1AActiveCN111586340B (en)2020-05-082020-05-08Image data loading and providing method and device

Country Status (1)

CountryLink
CN (1)CN111586340B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN104410620A (en)*2014-11-242015-03-11联想(北京)有限公司Information processing method and server
CN106201330A (en)*2015-05-292016-12-07浙江格林蓝德信息技术有限公司A kind of image data dispatching method, Apparatus and system
CN106686083A (en)*2016-12-292017-05-17北京奇艺世纪科技有限公司Video file downloading method and device
CN107396204A (en)*2017-06-122017-11-24江苏大学A kind of P2P video request program node selecting methods based on linear programming and intensified learning
CN108390914A (en)*2018-01-232018-08-10阿里巴巴集团控股有限公司 A service update method, device, and system
CN109617959A (en)*2018-12-072019-04-12深圳市网心科技有限公司 A data loading method, device, system and storage medium

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN100361436C (en)*2001-10-262008-01-09客得富移动通信股份有限公司 System and method for performing mutual authentication between mobile terminal and server
CN101764831B (en)*2008-12-242012-09-19中国移动通信集团公司 A streaming media data sharing method, sharing system and streaming media node
US8625635B2 (en)*2010-04-262014-01-07Cleversafe, Inc.Dispersed storage network frame protocol header
CN102724223B (en)*2011-03-302016-06-29中国电信股份有限公司P2P mobile flow medium node scheduling method, server and system
CN103227826B (en)*2013-04-232016-08-03蓝汛网络科技(北京)有限公司A kind of document transmission method and device
CN107948324B (en)*2017-12-292019-07-05Oppo广东移动通信有限公司request transmission system, method, device and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN104410620A (en)*2014-11-242015-03-11联想(北京)有限公司Information processing method and server
CN106201330A (en)*2015-05-292016-12-07浙江格林蓝德信息技术有限公司A kind of image data dispatching method, Apparatus and system
CN106686083A (en)*2016-12-292017-05-17北京奇艺世纪科技有限公司Video file downloading method and device
CN107396204A (en)*2017-06-122017-11-24江苏大学A kind of P2P video request program node selecting methods based on linear programming and intensified learning
CN108390914A (en)*2018-01-232018-08-10阿里巴巴集团控股有限公司 A service update method, device, and system
CN109617959A (en)*2018-12-072019-04-12深圳市网心科技有限公司 A data loading method, device, system and storage medium

Also Published As

Publication numberPublication date
CN111586340A (en)2020-08-25

Similar Documents

PublicationPublication DateTitle
US11126595B2 (en)Network coded storage with multi-resolution codes
CN111314741B (en)Video super-resolution processing method and device, electronic equipment and storage medium
US8438226B2 (en)Dynamic adjustment of user-received communications for a real-time multimedia communications event
US11386350B2 (en)Model parameter combination method and apparatus
US11070385B1 (en)Methods and apparatus for taking a break after seamless transition between network conferences
US9729347B2 (en)System and method for selection of a conference bridge master server
US11539919B1 (en)Dynamic cloud video composition
CN110827000A (en)Conference room reservation method and device
CN107277134A (en)A kind of data transmission method and system based on peer-to-peer network
US10708320B2 (en)Selective internal forwarding in conferences with distributed media servers
CN113382065B (en)File downloading method, device, system, equipment and storage medium
CN109995817A (en)A kind of service scheduling method and device
CN108810052A (en)The selection method and device of direct broadcast server
CN111163130A (en) A network service system and data transmission method thereof
CN111586437B (en)Barrage message processing method, system, computing device and storage medium
CN106453668A (en)Reverse file uploading method and system
CN111478781B (en)Message broadcasting method and device
CN115412682B (en)Video carousel method, device, computer equipment and storage medium
CN118075539A (en)Interactive method, device, equipment and storage medium
CN107959667B (en)Media fragment pushing method, server and client
CN111586340B (en)Image data loading and providing method and device
CN113784170B (en)Content data preheating method and device, computer equipment and storage medium
CN118963850B (en)Method for starting video conference operation and electronic equipment
CN116760791B (en)Image transmission method, device, equipment and storage medium
CN115396500B (en)Service platform switching method and system based on private network and electronic equipment

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant
TR01Transfer of patent right

Effective date of registration:20250722

Address after:266000 Shandong Province, Qingdao City, Laoshan District, Songling Road 399, Room B3F3-307

Patentee after:Qingdao Hisense Digital Medical Technology Co.,Ltd.

Country or region after:China

Address before:266100 Shandong Province, Qingdao city Laoshan District Songling Road No. 399

Patentee before:QINGDAO HISENSE MEDICAL EQUIPMENT Co.,Ltd.

Country or region before:China

TR01Transfer of patent right

[8]ページ先頭

©2009-2025 Movatter.jp