CN111031088A - Resource transmission method, equipment and system - Google Patents

Resource transmission method, equipment and system Download PDF

Info

Publication number
CN111031088A
CN111031088A CN201910974493.1A CN201910974493A CN111031088A CN 111031088 A CN111031088 A CN 111031088A CN 201910974493 A CN201910974493 A CN 201910974493A CN 111031088 A CN111031088 A CN 111031088A
Authority
CN
China
Prior art keywords
resource
address
identifier
image
acquired
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910974493.1A
Other languages
Chinese (zh)
Inventor
范志刚
徐恒森
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xian Wanxiang Electronics Technology Co Ltd
Original Assignee
Xian Wanxiang Electronics 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 Xian Wanxiang Electronics Technology Co Ltd filed Critical Xian Wanxiang Electronics Technology Co Ltd
Priority to CN201910974493.1A priority Critical patent/CN111031088A/en
Publication of CN111031088A publication Critical patent/CN111031088A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/104Peer-to-peer [P2P] networks
    • H04L67/1074Peer-to-peer [P2P] networks for supporting data block transmission mechanisms
    • H04L67/1078Resource delivery mechanisms
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/04Protocols for data compression, e.g. ROHC

Abstract

The disclosure provides a resource transmission method, a server, a terminal device, a collection device and a resource transmission system, relates to an information processing technology, and can solve the problem that a source code is easily leaked in the transmission process of a resource. The specific technical scheme is as follows: receiving a resource address acquisition request from terminal equipment, wherein the resource address acquisition request at least comprises a resource identifier of a resource to be acquired; according to the resource identifier, determining a resource address corresponding to the resource identifier from a resource list; wherein, the resource list at least comprises the corresponding relation between the resource identifier and the resource address; and sending the resource address to the terminal equipment. The method and the device are used for avoiding the problem that the source code is leaked in the transmission process of the image resource.

Description

Resource transmission method, equipment and system
Technical Field
The present disclosure relates to the field of information processing technologies, and in particular, to a resource transmission method, a server, a terminal device, a collection device, and a resource transmission system.
Background
At present, a user usually sends an instruction to a resource platform through a terminal device to access the resource platform, and the resource platform sends a corresponding image resource to the terminal device according to the instruction for the user to view. The image resource may be stored in a local server of the resource platform, or may be stored in another server.
However, for image resources with high requirements for security, the problem of source code leakage is likely to occur in the process of acquiring image resources from other servers by the resource platform, in the process of transmitting image resources to the terminal device by the resource platform, and in the process of storing image resources in the terminal device.
Disclosure of Invention
The embodiment of the disclosure provides a resource transmission method, a server, a terminal device, a collection device and a resource transmission system, which can solve the problem that a source code is easily leaked in the transmission process of an image resource. The technical scheme is as follows:
according to a first aspect of the embodiments of the present disclosure, there is provided a resource transmission method, including:
receiving a resource address acquisition request from terminal equipment, wherein the resource address acquisition request at least comprises a resource identifier of a resource to be acquired;
according to the resource identifier, determining a resource address corresponding to the resource identifier from a resource list; wherein, the resource list at least comprises the corresponding relation between the resource identifier and the resource address;
and sending the resource address to the terminal equipment.
The server sends the resource address corresponding to the resource to be acquired, which is required by the terminal equipment, to the terminal equipment, so that the terminal equipment directly accesses the image resource on the acquisition equipment through the resource address, and the problem of source code leakage of the image resource in the transmission process is avoided.
In one embodiment, the method further comprises:
receiving image resources and resource identifiers from each acquisition device;
and taking the category of the image resource as an index, storing the corresponding image resource, resource address and resource identifier, and generating the resource list.
In one embodiment, the resource address acquisition request further includes information of a resource category to be acquired;
the method further comprises the following steps:
and sending all image resources and resource addresses corresponding to the resource category information in the resource list to the terminal equipment in a list form according to the resource category information to be acquired.
In one embodiment, the determining, from a resource list according to the resource identifier, a resource address corresponding to the resource identifier includes:
according to the resource identifier, determining a resource address, in which the resource to be acquired corresponding to the resource identifier is stored, from the resource list; alternatively, the first and second electrodes may be,
and according to the resource identifier, determining a resource address capable of acquiring the resource to be acquired corresponding to the resource identifier from the resource list.
According to a second aspect of the embodiments of the present disclosure, there is provided a resource transmission method, including:
sending a resource address acquisition request to a server; the resource address acquisition request at least comprises a resource identifier of a resource to be acquired;
receiving a resource address from the server;
according to the resource address, sending a resource acquisition request to acquisition equipment corresponding to the resource address;
receiving a compressed image resource from the acquisition device.
After the terminal equipment acquires the resource address of the resource to be acquired from the server, the compressed image resource is acquired from the acquisition equipment according to the resource address, and the image resource is transmitted in a compressed video image frame mode, so that the problem of source code leakage of the image resource in the transmission process can be effectively avoided.
In one embodiment, the resource address acquisition request further includes information of a resource category to be acquired;
the method further comprises the following steps:
receiving all image resources and resource addresses which are sent by the server and correspond to the resource type information;
all image resources and resource addresses are shown in a list.
According to a third aspect of the embodiments of the present disclosure, there is provided a resource transmission method, the method including:
receiving a resource acquisition request from terminal equipment; the resource acquisition request at least comprises a resource identifier of a resource to be acquired;
acquiring an image resource corresponding to the resource identifier according to the resource identifier;
compressing the image resource according to a preset compression mode;
and sending the compressed image resource to the terminal equipment.
After receiving the resource acquisition request sent by the terminal equipment, the acquisition equipment compresses the resource to be acquired required by the terminal equipment and then sends the compressed resource to the terminal equipment, so that the problem of source code leakage of image resources in the transmission process can be effectively avoided.
In one embodiment, the obtaining, according to the resource identifier, an image resource corresponding to the resource identifier includes:
acquiring an image resource corresponding to the resource identifier from a memory according to the resource identifier; alternatively, the first and second electrodes may be,
and acquiring the image resource corresponding to the resource identifier in real time according to the resource identifier.
In one embodiment, the preset compression manner includes: a baseline coding compression mode or a progressive coding compression mode.
According to a fourth aspect of embodiments of the present disclosure, there is provided a server, including:
a receiving module, configured to receive a resource address acquisition request from a terminal device, where the resource address acquisition request at least includes a resource identifier of a resource to be acquired;
the determining module is used for determining a resource address corresponding to the resource identifier from a resource list according to the resource identifier; wherein, the resource list at least comprises the corresponding relation between the resource identifier and the resource address;
and the sending module is used for sending the resource address to the terminal equipment.
According to a fifth aspect of the embodiments of the present disclosure, there is provided a terminal device, including:
the sending module is used for sending a resource address acquisition request to the server; the resource address acquisition request at least comprises a resource identifier of a resource to be acquired;
a receiving module, configured to receive a resource address from the server;
the sending module is further used for sending a resource obtaining request to the acquisition equipment corresponding to the resource address according to the resource address;
the receiving module is further used for receiving the compressed image resource from the acquisition equipment.
According to a sixth aspect of embodiments of the present disclosure, there is provided an acquisition apparatus comprising:
a receiving module, configured to receive a resource acquisition request from a terminal device; the resource acquisition request at least comprises a resource identifier of a resource to be acquired;
the acquisition module is used for acquiring the image resource corresponding to the resource identifier according to the resource identifier;
the compression module is used for compressing the image resources according to a preset compression mode;
and the sending module is used for sending the compressed image resource to the terminal equipment.
According to a seventh aspect of the embodiments of the present disclosure, there is provided a resource transmission system, the system comprising:
a server according to the fourth aspect of the embodiments of the present disclosure, a plurality of terminal devices according to the fifth aspect of the embodiments of the present disclosure, and a plurality of acquisition devices according to the sixth aspect of the embodiments of the present disclosure.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
Fig. 1 is a flowchart of a resource transmission method on a server side according to an embodiment of the present disclosure;
fig. 2 is a flowchart of a resource transmission method on a terminal device side according to an embodiment of the present disclosure;
fig. 3 is a flowchart of a resource transmission method on the acquisition device side according to an embodiment of the present disclosure;
FIG. 4 is a block diagram of a server provided by an embodiment of the present disclosure;
fig. 5 is a structural diagram of a terminal device provided in an embodiment of the present disclosure;
FIG. 6 is a block diagram of an acquisition device provided by embodiments of the present disclosure;
fig. 7 is a block diagram of a resource transmission system provided by an embodiment of the present disclosure;
fig. 8 is a signaling interaction diagram of a resource transmission method applied to the system shown in fig. 7 according to an embodiment of the present disclosure.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
The embodiment of the present disclosure provides a resource transmission method, which may be specifically executed by a server as shown in fig. 1. The resource transmission method comprises the following steps of 101-103:
101. receiving a resource address acquisition request from the terminal equipment, wherein the resource address acquisition request at least comprises a resource identifier of a resource to be acquired.
The resource to be acquired is an image resource required by the terminal device, and the image resource may be, for example, a picture, a video, or the like. The resource address obtaining request may include a resource identifier of the resource to be obtained, and is used to enable the server to determine the resource address corresponding to the resource identifier of the resource to be obtained according to the resource identifier of the resource to be obtained.
In practical applications, the resource address obtaining request may further include a terminal device identifier, so that the server may distinguish different terminal devices according to the terminal device identifier.
102. According to the resource identifier, determining a resource address corresponding to the resource identifier from a resource list; wherein, the resource list at least comprises the corresponding relation between the resource identifier and the resource address.
In this step, the server determines, according to the resource identifier in the resource address acquisition request, which acquisition device the resource to be acquired corresponding to the resource identifier is stored on from the resource list, or which acquisition device the resource to be acquired can be acquired through. That is, the server determines the resource address where the resource to be acquired is stored, or may acquire the resource address of the resource to be acquired.
For example, the resources to be acquired in the resource list include: a first unit of language at a grade, a lesson explanation; a first secondary math unit for testing questions and answers; eight-grade english second unit, lesson explanation. The resource addresses in the resource list include: http:// www.1:. com/1:. html, http:// www.1:. com/2:. html, http:// www.2:. com/3:. html, as shown in the following table:
resource to be acquired Collecting resource addresses on a device
First unit of language, lesson explanation in one grade http://www.1**.com/1**.html
First unit of second grade mathematics, test questions and answers http://www.1**.com/2**.html
Eight-grade English second unit, text explanation http://www.2**.com/3**.html
Specifically, the resource address may be a resource link address of the resource to be acquired on the acquisition device, or the resource address may be an enabling address of the acquisition device that acquires the resource to be acquired.
In practical application, the server may also perform maintenance and update on the resource list. For example, when an image resource is newly added to a certain acquisition device, or a resource address corresponding to an original image resource is changed or deleted, the server updates the resource list in time.
103. And sending the resource address to the terminal equipment.
After determining the resource address corresponding to the resource to be acquired, the server sends the resource address to the terminal device, so that the terminal device directly accesses the resource address to acquire the resource to be acquired.
In a feasible implementation manner, the server may also perform classification management on the received image resources, and return a certain type of image resources and a corresponding resource address to the terminal device when the terminal device requests it. Specifically, the server receives image resources and resource identifiers from each acquisition device; and the category of the image resource is used as an index, and the corresponding image resource, the resource address and the resource identifier are stored to generate the resource list.
The resource address acquisition request received by the server may further include information of a resource category to be acquired. After receiving the resource address acquisition request containing the resource category information to be acquired, the server sends all image resources and resource addresses corresponding to the resource category information in the resource list to the terminal equipment in a list form according to the resource category information to be acquired. So that the terminal device is presented to the user.
Further, in this embodiment, the server may also manage the authority of the user to acquire the image resource. In a feasible manner, the level of the user can be predefined according to the role of the user, different levels correspond to different permissions, and the server can respond to the resource address acquisition request of the user at the level according to the permissions corresponding to the different levels and send the resource address to the user at the level.
For example, if the user level is one year level, the resource address of the image resource corresponding to the one year level can be acquired from the server. If the level of the user is upgraded to the second-grade level, the resource address of the image resource corresponding to the second-grade level can be acquired from the server. Or, if the user level is primary, the resource address of the image resource in the primary range corresponding to the primary can be obtained from the server; if the user level is a middle level, the resource address of the image resource in the middle level range corresponding to the middle level can be acquired from the server. This embodiment is not particularly limited thereto.
According to the resource transmission method provided by the embodiment of the disclosure, the server sends the resource address of the resource to be acquired on the acquisition device, which is required by the terminal device, to the terminal device, so that the terminal device directly accesses the image resource on the acquisition device through the resource address, and the problem of source code leakage of the image resource in the transmission process is avoided.
The embodiment of the present disclosure provides a resource transmission method, as shown in fig. 2, the resource transmission method may be specifically executed by a terminal device, and the terminal device may be, for example, a Personal Computer (PC), a zero terminal, a thin terminal, a mobile terminal, and the like.
Specifically, the resource transmission method comprises the following steps 201-204:
201. sending a resource address acquisition request to a server; the resource address acquisition request at least comprises a resource identifier of the resource to be acquired.
Wherein, the resource identifier is used for uniquely identifying the resource to be acquired. The resource to be acquired is displayed to the user through a display screen of the terminal device in the form of an information list, for example, the information list includes titles of the image resources, and the user sends a resource address acquisition request for the resource to be acquired (the image resource desired to be acquired) by clicking the title of the image resource desired to be acquired in the information list.
It should be noted that, the user may click the title of the image resource desired to be acquired in the information list through a mouse, may click the title of the image resource desired to be acquired in the information list on a touch display screen through a finger/an electronic pen, and may select the title of the image resource desired to be acquired in the information list through a voice instruction. And is not particularly limited herein.
In practical application, the terminal device stores a mapping relationship between the image resource and the resource identifier, and the terminal device can determine the resource identifier corresponding to the resource to be acquired according to the mapping relationship between the image resource and the resource identifier.
202. A resource address is received from the server.
The resource address may be a resource link address of the resource to be acquired on the acquisition device, or the resource address may be an enabling address of the acquisition device that acquires the resource to be acquired.
In practical application, if the resource to be acquired is stored in the acquisition device, the resource address received by the terminal device is the resource link address returned by the server. If the resource to be acquired needs to be acquired by the acquisition equipment in real time, correspondingly, the resource address received by the terminal equipment is the resource starting address of the acquisition equipment returned by the server.
203. And sending a resource acquisition request to acquisition equipment corresponding to the resource address according to the resource address.
Specifically, when the resource address is a resource link address, the terminal device may send a resource acquisition request to the acquisition device corresponding to the resource link address according to the resource link address, so that the acquisition device returns the image resource stored and compressed by the acquisition device.
When the resource address is a resource starting address, the terminal device may send a resource obtaining request to the acquisition device corresponding to the resource starting address according to the resource starting address, so as to trigger the acquisition device to acquire the image resource in real time, and return to the terminal device after compressing the image resource acquired in real time.
204. And receiving the compressed image resource from the acquisition device.
And the acquisition equipment encodes and compresses the image resources and then sends the image resources to the terminal equipment. The image resource is transmitted in the form of the video image frame after compression coding in the transmission process, so that the problem of source code leakage in the transmission process of the image resource in the prior art is effectively avoided.
Further, the resource address acquisition request sent by the terminal device to the server may further include resource category information to be acquired; correspondingly, the terminal equipment can receive all image resources and resource addresses which are sent by the server and correspond to the resource type information; and all the image resources and resource addresses are displayed in a list form.
After this step, after receiving the compressed image resource, the terminal device may decompress the compressed image resource, and display the decompressed image resource to the user.
It should be noted that, in the prior art, there may be problems such as an old version and an inability to update in time of an image resource stored in a server, or there may also be problems such as inconsistency of player versions and an inability to parse a file format when a terminal device is required to operate or play the image resource, and a user needs to install a plurality of players and parsers for different file formats. In this embodiment, the terminal device only needs to decode the received resource information, and there are no problems that the versions of the players are inconsistent, the file format cannot be analyzed, and the like, which not only facilitates the use of the user, but also reduces the requirement for the hardware configuration of the terminal device, thereby achieving the light weight of the terminal device and reducing the cost.
According to the resource transmission method provided by the embodiment of the disclosure, after the terminal device acquires the resource address of the image resource to be acquired from the server, the compressed image resource is acquired from the acquisition device according to the resource address, and the image resource is transmitted in the form of the compressed video image frame, so that the problem of source code leakage of the image resource in the transmission process can be effectively avoided.
The embodiment of the present disclosure provides a resource transmission method, as shown in fig. 3, the resource transmission method may be specifically executed by a collection device, where the collection device refers to a device that stores or collects resources, and the collection device may be a server, a camera, and the like, for example.
Specifically, the resource transmission method comprises the following steps 301-304:
301. receiving a resource acquisition request from terminal equipment; the resource acquisition request at least comprises a resource identifier of the resource to be acquired.
302. And acquiring the image resource corresponding to the resource identifier according to the resource identifier.
After receiving the resource acquisition request, the acquisition equipment acquires the image resource corresponding to the resource identifier from the memory according to the resource identifier; or acquiring the image resource corresponding to the resource identifier in real time according to the resource identifier.
303. And compressing the image resources according to a preset compression mode.
After the acquisition equipment acquires/acquires the image resource in real time, the acquisition equipment uses a preset compression mode to encode and compress the image resource so as to prevent the image resource from leaking source codes in the transmission process. Wherein, the preset compression mode may include: a baseline coding compression mode or a progressive coding compression mode.
304. And sending the compressed image resource to the terminal equipment.
According to the resource transmission method provided by the embodiment of the disclosure, after the acquisition device receives the resource acquisition request sent by the terminal device, the acquisition device compresses the resource to be acquired required by the terminal device and then sends the compressed resource to the terminal device, so that the problem of source code leakage of image resources in the transmission process can be effectively avoided.
Based on the resource transmission method described in the embodiment corresponding to fig. 1, the following is an embodiment of the server of the present disclosure, which may be used to execute the embodiment of the method of the present disclosure.
The embodiment of the present disclosure provides a server, as shown in fig. 4, where the server 40 includes: a receiving module 401, a determining module 402 and a sending module 403.
Specifically, the receiving module 401 is configured to receive a resource address obtaining request from a terminal device, where the resource address obtaining request at least includes a resource identifier of a resource to be obtained;
the determining module 402 is configured to determine, according to the resource identifier, a resource address corresponding to the resource identifier from the resource list; wherein, the resource list at least comprises the corresponding relation between the resource identifier and the resource address;
the sending module 403 is configured to send the resource address to the terminal device.
In one embodiment, the receiving module 401 may also be configured to receive image resources and resource identifiers from each acquisition device; and taking the category of the image resource as an index, storing the corresponding image resource, the resource address and the resource identifier, and generating a resource list.
Optionally, the resource address obtaining request further includes resource category information to be obtained; the sending module 403 may also be configured to send all image resources and resource addresses corresponding to the resource category information in the resource list to the terminal device in a form of a list according to the resource category information to be obtained.
The determining module 402 is specifically configured to determine, according to the resource identifier, a resource address where a resource to be acquired corresponding to the resource identifier is stored from the resource list; or determining the resource address of the resource to be acquired corresponding to the resource identifier from the resource list according to the resource identifier.
The server of this embodiment may be configured to execute the technical solution of the method embodiment shown in fig. 1, and the implementation principle and the technical effect are similar, which are not described herein again.
Based on the resource transmission method described in the embodiment corresponding to fig. 2, the following is an embodiment of the terminal device of the present disclosure, which may be used to execute the embodiment of the method of the present disclosure.
The embodiment of the present disclosure provides a terminal device, as shown in fig. 5, the terminal device 50 may include: a sending module 501 and a receiving module 502.
Specifically, the sending module 501 is configured to send a resource address obtaining request to a server; the resource address acquisition request at least comprises a resource identifier of a resource to be acquired;
the receiving module 502 is used for receiving a resource address from a server;
the sending module 501 is further configured to send a resource obtaining request to the acquisition device corresponding to the resource address according to the resource address;
the receiving module 502 is further configured to receive a compressed image resource from an acquisition device.
In one embodiment, the resource address acquisition request further includes information of resource types to be acquired; the receiving module 502 is further configured to receive all image resources and resource addresses corresponding to the resource category information sent by the server; the terminal device 50 may further include a display module for displaying all image resources and resource addresses in a list.
The terminal device of this embodiment may be configured to execute the technical solution of the method embodiment shown in fig. 2, and the implementation principle and the technical effect are similar, which are not described herein again.
Based on the resource transmission method described in the embodiment corresponding to fig. 3, the following is an embodiment of the acquisition device of the present disclosure, which may be used to execute the embodiment of the method of the present disclosure.
The embodiment of the present disclosure provides a terminal device, as shown in fig. 6, the collecting device 60 may include: a receiving module 601, an obtaining module 602, a compressing module 603 and a sending module 604.
The receiving module 601 is configured to receive a resource obtaining request from a terminal device; the resource acquisition request at least comprises a resource identifier of a resource to be acquired;
the obtaining module 602 is configured to obtain, according to the resource identifier, an image resource corresponding to the resource identifier;
the compression module 603 is configured to compress the image resource according to a preset compression manner.
The sending module 604 is configured to send the compressed image resource to the terminal device.
The obtaining module 602 may be specifically configured to obtain, according to the resource identifier, an image resource corresponding to the resource identifier from a memory; or acquiring the image resource corresponding to the resource identifier in real time according to the resource identifier.
Specifically, the preset compression method includes: a baseline coding compression mode or a progressive coding compression mode.
The acquisition device of this embodiment may be configured to execute the technical solution of the method embodiment shown in fig. 3, and the implementation principle and the technical effect are similar, which are not described herein again.
An embodiment of the present disclosure further provides a resource transmission system, as shown in fig. 7, the resource transmission system 70 may include the server 40 as described in the embodiment shown in fig. 4, a plurality of terminal devices 50 as described in the embodiment shown in fig. 5, and a plurality of collecting devices 60 as described in the embodiment shown in fig. 6.
The resource transmission system of the embodiment can effectively avoid the problem that the source code of the image resource is leaked in the transmission process.
Another embodiment of the present disclosure provides a resource transmission method, which may be applied to the resource transmission system provided in the embodiments of the present disclosure. The present embodiment takes a learning on demand system as an example, and further describes a resource transmission method according to the present disclosure. And not as a limitation of the present disclosure. The learning on-demand system comprises a server, a collection device and a terminal device, wherein the collection device can comprise a storage server, a camera placed in a classroom for teaching and other devices.
Referring to fig. 8, the resource transmission method provided in this embodiment includes the following steps:
801. and the terminal equipment sends a resource address acquisition request to the server.
The resource address acquisition request comprises a resource identifier of the resource to be acquired and a terminal equipment identifier.
802. And the server determines a resource address corresponding to the resource identifier from the resource list according to the received resource identifier.
The resource address may include a resource link address and/or a resource enable address.
803. And the server sends the resource address to the terminal equipment corresponding to the terminal equipment identifier.
Optionally, before sending the resource address to the terminal device, the server may determine, according to the identifier of the terminal device, whether the right corresponding to the level of the user using the terminal device can obtain the image resource corresponding to the resource address, and send the resource address to the terminal device when determining that the user has the right.
804. And the terminal equipment sends a resource acquisition request to acquisition equipment corresponding to the resource address according to the resource address.
The resource acquisition request may include a terminal device identifier and a resource identifier of a resource to be acquired.
805. And the acquisition equipment acquires the image resource corresponding to the resource identifier according to the resource identifier in the resource acquisition request.
Specifically, if the resource address is a resource link address, the acquisition device may acquire the image resource corresponding to the identifier of the resource to be acquired from the storage server. If the resource address is a resource starting address, the acquisition equipment can start a camera placed in a classroom to acquire image resources in real time.
806. And the acquisition equipment compresses the image resource according to a preset compression mode.
The preset compression mode may be a baseline coding compression mode or a progressive coding compression mode. And is not particularly limited herein.
807. And the acquisition equipment sends the compressed image resource to the terminal equipment.
The acquisition device may specifically send the compressed image resource to the terminal device corresponding to the terminal device identifier.
808. The terminal equipment decodes the compressed image resource and displays the image resource to the user.
In actual use, an APP may be installed on the terminal device, and the user may access the server through the APP to select a desired learning resource (image resource). The learning resource may be, for example, video, courseware, programming, or live classroom video. Wherein, the on-site classroom video can be collected in real time through a camera placed in a teaching professor giving lessons.
In a possible implementation manner, the right of the user to acquire the learning resource may be set in the server according to the level of the user and other personalized settings, such as the grade, school, and the like. For example, a grade user can only see the relevant learning resources of a grade course on the server. And when the user is upgraded to the second grade, unlocking the relevant learning resources of the second grade course for the user. For another example, the primary user can only see the primary course on the server, and after the learning time or the test result of the user reaches the standard, the user is upgraded to the intermediate-level user, and the intermediate-level course is unlocked for the user.
In other possible implementations, the permission of the user to obtain the learning resource from the acquisition device may also be limited. For example, a general user cannot view live classroom video captured in real time by a camera, while a VIP user can view live classroom video captured in real time by a camera.
The resource transmission method of the embodiment can effectively avoid the problem that the source code of the image resource is leaked in the transmission process.
Based on the resource transmission method described in the embodiment corresponding to fig. 1, fig. 2, or fig. 3, an embodiment of the present disclosure further provides a computer-readable storage medium, for example, the non-transitory computer-readable storage medium may be a Read Only Memory (ROM), a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like. The storage medium stores computer instructions for executing the resource transmission method described in the embodiments of fig. 1, fig. 2, or fig. 3, which are not described herein again.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (13)

1. A method for resource transmission, the method comprising:
receiving a resource address acquisition request from terminal equipment, wherein the resource address acquisition request at least comprises a resource identifier of a resource to be acquired;
according to the resource identifier, determining a resource address corresponding to the resource identifier from a resource list; wherein, the resource list at least comprises the corresponding relation between the resource identifier and the resource address;
and sending the resource address to the terminal equipment.
2. The method of claim 1, further comprising:
receiving image resources and resource identifiers from each acquisition device;
and taking the category of the image resource as an index, storing the corresponding image resource, resource address and resource identifier, and generating the resource list.
3. The method according to claim 2, wherein the resource address obtaining request further includes information of resource category to be obtained;
the method further comprises the following steps:
and sending all image resources and resource addresses corresponding to the resource category information in the resource list to the terminal equipment in a list form according to the resource category information to be acquired.
4. The method of claim 1, wherein the determining, from the resource identifier, a resource address corresponding to the resource identifier from a resource list comprises:
according to the resource identifier, determining a resource address, in which the resource to be acquired corresponding to the resource identifier is stored, from the resource list; alternatively, the first and second electrodes may be,
and according to the resource identifier, determining a resource address capable of acquiring the resource to be acquired corresponding to the resource identifier from the resource list.
5. A method for resource transmission, the method comprising:
sending a resource address acquisition request to a server; the resource address acquisition request at least comprises a resource identifier of a resource to be acquired;
receiving a resource address from the server;
according to the resource address, sending a resource acquisition request to acquisition equipment corresponding to the resource address;
receiving a compressed image resource from the acquisition device.
6. The method according to claim 5, wherein the resource address obtaining request further includes information of resource category to be obtained;
the method further comprises the following steps:
receiving all image resources and resource addresses which are sent by the server and correspond to the resource type information;
all image resources and resource addresses are shown in a list.
7. A method for resource transmission, the method comprising:
receiving a resource acquisition request from terminal equipment; the resource acquisition request at least comprises a resource identifier of a resource to be acquired;
acquiring an image resource corresponding to the resource identifier according to the resource identifier;
compressing the image resource according to a preset compression mode;
and sending the compressed image resource to the terminal equipment.
8. The method of claim 7, wherein the obtaining, according to the resource identifier, an image resource corresponding to the resource identifier comprises:
acquiring an image resource corresponding to the resource identifier from a memory according to the resource identifier; alternatively, the first and second electrodes may be,
and acquiring the image resource corresponding to the resource identifier in real time according to the resource identifier.
9. The method of claim 7, wherein the pre-set compression mode comprises: a baseline coding compression mode or a progressive coding compression mode.
10. A server, characterized in that the server comprises:
a receiving module, configured to receive a resource address acquisition request from a terminal device, where the resource address acquisition request at least includes a resource identifier of a resource to be acquired;
the determining module is used for determining a resource address corresponding to the resource identifier from a resource list according to the resource identifier; wherein, the resource list at least comprises the corresponding relation between the resource identifier and the resource address;
and the sending module is used for sending the resource address to the terminal equipment.
11. A terminal device, characterized in that the terminal device comprises:
the sending module is used for sending a resource address acquisition request to the server; the resource address acquisition request at least comprises a resource identifier of a resource to be acquired;
a receiving module, configured to receive a resource address from the server;
the sending module is further used for sending a resource obtaining request to the acquisition equipment corresponding to the resource address according to the resource address;
the receiving module is further used for receiving the compressed image resource from the acquisition equipment.
12. An acquisition device, characterized in that it comprises:
a receiving module, configured to receive a resource acquisition request from a terminal device; the resource acquisition request at least comprises a resource identifier of a resource to be acquired;
the acquisition module is used for acquiring the image resource corresponding to the resource identifier according to the resource identifier;
the compression module is used for compressing the image resources according to a preset compression mode;
and the sending module is used for sending the compressed image resource to the terminal equipment.
13. A resource transmission system, the system comprising:
a server according to claim 10, a plurality of terminal devices according to claim 11 and a plurality of acquisition devices according to claim 12.
CN201910974493.1A 2019-10-14 2019-10-14 Resource transmission method, equipment and system Pending CN111031088A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910974493.1A CN111031088A (en) 2019-10-14 2019-10-14 Resource transmission method, equipment and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910974493.1A CN111031088A (en) 2019-10-14 2019-10-14 Resource transmission method, equipment and system

Publications (1)

Publication Number Publication Date
CN111031088A true CN111031088A (en) 2020-04-17

Family

ID=70204851

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910974493.1A Pending CN111031088A (en) 2019-10-14 2019-10-14 Resource transmission method, equipment and system

Country Status (1)

Country Link
CN (1) CN111031088A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1852431A (en) * 2005-12-23 2006-10-25 华为技术有限公司 System and method for realizing video frequency information sharing
CN102546636A (en) * 2012-01-10 2012-07-04 北京邮电大学 Protected resource monitoring method and device
CN106254572A (en) * 2016-09-05 2016-12-21 深圳Tcl新技术有限公司 Resource share method, Apparatus and system
CN106254528A (en) * 2016-09-14 2016-12-21 北京佰才邦技术有限公司 A kind of resource downloading method and buffer memory device
CN106612250A (en) * 2015-10-21 2017-05-03 腾讯科技(深圳)有限公司 Resource utilization authority judgment system and method
CN108881030A (en) * 2018-06-07 2018-11-23 腾讯科技(深圳)有限公司 Gray scale issues the method for routing and device under scene
CN109246435A (en) * 2017-07-10 2019-01-18 中兴通讯股份有限公司 A kind of USB device redirects data transmission method, data transmission device, local device and remote server

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1852431A (en) * 2005-12-23 2006-10-25 华为技术有限公司 System and method for realizing video frequency information sharing
CN102546636A (en) * 2012-01-10 2012-07-04 北京邮电大学 Protected resource monitoring method and device
CN106612250A (en) * 2015-10-21 2017-05-03 腾讯科技(深圳)有限公司 Resource utilization authority judgment system and method
CN106254572A (en) * 2016-09-05 2016-12-21 深圳Tcl新技术有限公司 Resource share method, Apparatus and system
CN106254528A (en) * 2016-09-14 2016-12-21 北京佰才邦技术有限公司 A kind of resource downloading method and buffer memory device
CN109246435A (en) * 2017-07-10 2019-01-18 中兴通讯股份有限公司 A kind of USB device redirects data transmission method, data transmission device, local device and remote server
CN108881030A (en) * 2018-06-07 2018-11-23 腾讯科技(深圳)有限公司 Gray scale issues the method for routing and device under scene

Similar Documents

Publication Publication Date Title
KR101301127B1 (en) A system and method of verifying of watching content
CN103761894B (en) Interaction classroom implementation method and interaction platform
CN105184520A (en) Evaluation method and device for professional abilities of teachers
CN104463423A (en) Formative video resume collection method and system
CN111611434A (en) Online course interaction method and interaction platform
KR101576727B1 (en) Education system based on type of question using qr code and app
CN108108446A (en) Video recommendation method and device, electronic equipment, storage medium, program
CN110688574A (en) Learning content recommendation method, system, device and readable storage medium
US20190287419A1 (en) Coding training system using drone
CN112015574A (en) Remote medical education training method, device, equipment and storage medium
US20160034434A1 (en) Contextual page generation with structured content independent of responsive display devices
JP2008058539A (en) Learning support device, learning support system, and program
KR20180016032A (en) Method for providing adaptive learning contents based on learning analytics
KR20160095543A (en) Method and system for analyzing learning activities
CN110730377A (en) Short video recording method and device based on interactive classroom
CN102663907B (en) Video teaching system and video teaching method
CN111031088A (en) Resource transmission method, equipment and system
KR101672144B1 (en) Individual order type learning and analyzing service method
KR20220031957A (en) Reading level test system
KR20140056854A (en) System for providing problem solution video using qr cord
KR20140122415A (en) Method for generating learning contents and learning management system and method using the same
Zipay et al. The influence of online review videos on gross anatomy course performance among doctor of chiropractic students
KR100870146B1 (en) A system of learning using mobile unit and a method thereof
JP4218472B2 (en) Learning system
JP2008216661A (en) Storage medium for educational material learning

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