Resource processing method, device, system, equipment and storage medium
By using preloading instructions in short video APPs to obtain the multimedia resources and map resources required for map display scenarios in advance, the problem of long loading time of multimedia resources in map display scenarios is solved and the user experience is improved.
Patent Information
- Application Number
- CN202210922268.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-02
- Publication Date
- 2025-01-21
- Estimated Expiration
- 2042-08-02
AI Technical Summary
In short video APPs, the loading time of multimedia resources in map display scenarios is too long, especially in the case of poor network quality or large resources, resulting in poor user experience.
Through the preloading instruction, the client obtains multimedia resources and map resources in advance within the geographical range to which the account's current location belongs before displaying the map display scene. The server receives the client's resource acquisition request, determines the geographical scope, and returns the corresponding multimedia resources and map resources.
When the account performs a trigger operation on the map display scene, the multimedia resources and map resources that have been obtained in advance are directly displayed, which significantly reduces the loading time and improves the user experience.
Smart Images

Figure CN115460457B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of content community applications, and in particular to a resource processing method, apparatus, system, device and storage medium. Background Art
[0002] With the rapid development of short video applications (APPs), some short video APPs can display scenes on maps and display multimedia resources posted by other nearby users.
[0003] At present, when a user performs operations related to displaying a map display scene on a client that has installed such a short video APP, the client needs to obtain multimedia resources and map resources related to the map display scene. When the client's network quality is poor, or the amount of related multimedia resources and map resources is large, the client needs to spend a lot of time loading the related multimedia resources and map resources. Summary of the invention
[0004] The present disclosure provides a resource processing method, apparatus, system, device and storage medium, which can reduce the loading time of multimedia resources in a map resource display scenario.
[0005] The technical solution of the embodiment of the present disclosure is as follows:
[0006] According to a first aspect of an embodiment of the present disclosure, a resource processing method is provided, which can be applied to a client. The resource processing method includes:
[0007] Receive a preloading instruction; the preloading instruction is used to instruct to obtain multimedia resources within the geographical range to which the current location of the account belongs before displaying the map display scene;
[0008] In response to the preload instruction, acquiring multimedia resources and map resources of the geographic range;
[0009] In response to a trigger operation performed by an account on a map presentation scene, multimedia resources and map resources of a geographic scope are displayed.
[0010] Optionally, obtain multimedia resources and geographic map resources, including:
[0011] Send a resource acquisition request to the server; the resource acquisition request includes the current location of the account and the map range level; the map range level is used to determine the range area of the geographic range;
[0012] Receive multimedia resources and map resources of geographic scope returned by the server based on resource acquisition request.
[0013] Optionally, obtain multimedia resources and geographic map resources, including:
[0014] Determine the location of the center point of the geographic range;
[0015] Determine the range area of geographic scope based on the map range level;
[0016] Determine the geographic scope based on the center point location and range area, and obtain multimedia resources and map resources.
[0017] Optionally, determine the center point of the geographic range, including:
[0018] Determine the current location of the account as the center point of the geographic range;
[0019] Alternatively, the center point location of the geographic range is determined based on the current location of the account and the hotspot location; the hotspot location is a location within the geographic range where the number of published multimedia resources is greater than a preset number.
[0020] Optionally, after sending a resource acquisition request to the server, the following is also included:
[0021] The target resource cover of the multimedia resource sent by the receiving server is received; the pixels of the target resource cover are smaller than the pixels of the original resource cover of the multimedia resource.
[0022] Optionally, in response to a trigger operation performed by an account on a map display scene, multimedia resources and map resources of a geographic scope are displayed, including:
[0023] In response to a trigger operation performed by an account on a map display scene, a target resource cover of a multimedia resource is displayed on a map resource within a geographical scope.
[0024] Optionally, receive preload instructions, including:
[0025] In response to a trigger operation performed by an account on a same-city display scenario, a preloading instruction is generated.
[0026] According to a second aspect of an embodiment of the present disclosure, a resource processing method is provided, which can be applied to a server. The resource processing method includes:
[0027] Receiving a resource acquisition request sent by the client in response to the received preload instruction; the resource acquisition request includes the current location of the account logged in by the client and the map range level; the map range level is used to determine the range area of the geographical range to which the current location of the account belongs;
[0028] In response to a resource acquisition request, determining a geographic scope;
[0029] Acquire multimedia resources within a geographic scope and map resources within a geographic scope, and send the multimedia resources and map resources to a client, so that the client displays the multimedia resources and map resources in response to a trigger operation performed by an account on a map display scene.
[0030] Optionally, determine the geographic scope, including:
[0031] Determine the location of the center point of the geographic range;
[0032] Determine the range area of geographic scope based on the map range level;
[0033] Determine the geographic scope to which the account's current location belongs based on the center point location and range area.
[0034] Optionally, determine the center point of the geographic range, including:
[0035] Determine the current location of the account as the center point of the geographic range;
[0036] Alternatively, the center point location of the geographic range is determined based on the current location of the account and the hotspot location; the hotspot location is a location within the geographic range where the number of published multimedia resources is greater than a preset number.
[0037] Optionally, the resource processing method further includes:
[0038] Calling an image processing service to process the original resource cover of the multimedia resource to obtain a target resource cover of the multimedia resource; the pixel of the target resource cover is smaller than the pixel of the original resource cover;
[0039] Send the target resource cover of the multimedia resource to the client.
[0040] According to a third aspect of the embodiment of the present disclosure, a resource processing device is provided, which can be applied to a client. The resource processing device includes: a receiving unit, an acquiring unit and a display unit;
[0041] The receiving unit is used to receive a preloading instruction; the preloading instruction is used to instruct to obtain multimedia resources within the geographical range to which the current location of the account belongs before displaying the map display scene;
[0042] An acquisition unit, configured to acquire multimedia resources and map resources of a geographical range in response to a preloading instruction;
[0043] The display unit is used to display multimedia resources and map resources of a geographical range in response to a triggering operation performed by an account on a map display scene.
[0044] Optionally, obtain the unit, specifically used to:
[0045] Send a resource acquisition request to the server; the resource acquisition request includes the current location of the account and the map range level; the map range level is used to determine the range area of the geographic range;
[0046] Receive multimedia resources and map resources of geographic scope returned by the server based on resource acquisition request.
[0047] Optionally, obtain the unit, specifically used to:
[0048] Determine the location of the center point of the geographic range;
[0049] Determine the range area of geographic scope based on the map range level;
[0050] Determine the geographic scope based on the center point location and range area, and obtain multimedia resources and map resources.
[0051] Optionally, obtain the unit, specifically used to:
[0052] Determine the current location of the account as the center point of the geographic range;
[0053] Alternatively, the center point location of the geographic range is determined based on the current location of the account and the hotspot location; the hotspot location is a location within the geographic range where the number of published multimedia resources is greater than a preset number.
[0054] Optionally, the receiving unit is further used to receive a target resource cover of the multimedia resource sent by the server; the pixels of the target resource cover are smaller than the pixels of the original resource cover of the multimedia resource.
[0055] Optionally, a display unit is used to:
[0056] In response to a trigger operation performed by an account on a map display scene, a target resource cover of a multimedia resource is displayed on a map resource within a geographical scope.
[0057] Optionally, the receiving unit is specifically configured to:
[0058] In response to a trigger operation performed by an account on a same-city display scenario, a preloading instruction is generated.
[0059] According to a fourth aspect of the embodiments of the present disclosure, a resource processing device is provided, which can be applied to a server. The resource processing device includes: a receiving unit, a processing unit and a sending unit;
[0060] A receiving unit, configured to receive a resource acquisition request sent by a client in response to a received preloading instruction; the resource acquisition request includes a current location and a map range level of an account logged in by the client; the map range level is used to determine a range area of a geographical range to which the current location of the account belongs;
[0061] a processing unit, configured to determine a geographical range in response to a resource acquisition request;
[0062] The sending unit is used to obtain multimedia resources and map resources within a geographical scope, and send the multimedia resources and map resources to the client, so that the client displays the multimedia resources and map resources when responding to a trigger operation performed by the account on the map display scene.
[0063] Optionally, a processing unit is used to:
[0064] Determine the location of the center point of the geographic range;
[0065] Determine the range area of geographic scope based on the map range level;
[0066] Determine the geographic scope to which the account's current location belongs based on the center point location and range area.
[0067] Optionally, a processing unit is used to:
[0068] Determine the current location of the account as the center point of the geographic range;
[0069] Alternatively, the center point location of the geographic range is determined based on the current location of the account and the hotspot location; the hotspot location is a location within the geographic range where the number of published multimedia resources is greater than a preset number.
[0070] Optionally, the processing unit is further used to call an image processing service to process the original resource cover of the multimedia resource to obtain a target resource cover of the multimedia resource; the pixel of the target resource cover is smaller than the pixel of the original resource cover;
[0071] The sending unit is also used to send the target resource cover of the multimedia resource to the client.
[0072] According to a fifth aspect of an embodiment of the present disclosure, a client is provided, which may include: a processor and a memory for storing processor-executable instructions; wherein the processor is configured to execute the instructions to implement any one of the optional resource processing methods in the above-mentioned first aspect.
[0073] According to the sixth aspect of an embodiment of the present disclosure, a server is provided, which may include: a processor and a memory for storing processor executable instructions; wherein the processor is configured to execute the instructions to implement any one of the optional resource processing methods in the above-mentioned second aspect.
[0074] According to a seventh aspect of an embodiment of the present disclosure, a resource processing system is provided, comprising the client as described in the fifth aspect, and the server as described in the sixth aspect; the client and the server are communicatively connected.
[0075] According to an eighth aspect of an embodiment of the present disclosure, a computer-readable storage medium is provided, on which instructions are stored. When the instructions in the computer-readable storage medium are executed by a processor of a client, the client is enabled to execute any one of the optional resource processing methods in the first aspect above.
[0076] According to the ninth aspect of an embodiment of the present disclosure, a computer-readable storage medium is provided, on which instructions are stored. When the instructions in the computer-readable storage medium are executed by a processor of a server, the server is enabled to execute any one of the optional resource processing methods in the second aspect above.
[0077] According to a tenth aspect of an embodiment of the present disclosure, a computer program product is provided, which includes computer instructions. When the computer instructions are executed on a client, the client executes the resource processing method as described in any optional implementation of the first aspect.
[0078] According to an eleventh aspect of an embodiment of the present disclosure, a computer program product is provided, which includes computer instructions. When the computer instructions are executed on a server, the server executes the resource processing method as described in any optional implementation of the second aspect.
[0079] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure.
[0080] The technical solution provided by the embodiments of the present disclosure brings at least the following beneficial effects:
[0081] Based on any of the above aspects, in the present disclosure, since the preloading instruction is used to instruct to obtain multimedia resources within the geographical scope to which the current location of the account belongs before displaying the map display scene, the client can respond to the preloading instruction after receiving the preloading instruction to obtain multimedia resources and map resources of the geographical scope. Subsequently, the client can display multimedia resources and map resources of the geographical scope in response to the trigger operation performed by the account on the map display scene. In this way, before displaying the map display scene, the client can respond to the preloading instruction to obtain multimedia resources and map resources of the geographical scope in advance. In this way, when the account performs a trigger operation on the map display scene, the multimedia resources and map resources of the geographical scope can be directly displayed, which solves the technical problem of long multimedia resource loading time in the map resource display scene and enriches the user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0082] The drawings herein are incorporated into and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and together with the description are used to explain the principles of the present disclosure, and do not constitute improper limitations on the present disclosure.
[0083] Figure 1 A schematic diagram of a communication system provided by an embodiment of the present disclosure is shown;
[0084] Figure 2 A schematic diagram of a process flow of a resource processing method provided by an embodiment of the present disclosure is shown;
[0085] Figure 3 A schematic diagram showing a flow chart of another resource processing method provided by an embodiment of the present disclosure;
[0086] Figure 4 A schematic diagram showing a flow chart of another resource processing method provided by an embodiment of the present disclosure;
[0087] Figure 5 A schematic diagram showing a flow chart of another resource processing method provided by an embodiment of the present disclosure;
[0088] Figure 6 A schematic diagram showing a flow chart of another resource processing method provided by an embodiment of the present disclosure;
[0089] Figure 7 A schematic diagram showing a flow chart of another resource processing method provided by an embodiment of the present disclosure;
[0090] Figure 8 A schematic diagram showing a flow chart of another resource processing method provided by an embodiment of the present disclosure;
[0091] Fig. 9 A schematic diagram showing a flow chart of another resource processing method provided by an embodiment of the present disclosure;
[0092] Fig.10 A schematic diagram showing a flow chart of another resource processing method provided by an embodiment of the present disclosure;
[0093] Fig.11 A schematic diagram of the structure of a resource processing device provided by an embodiment of the present disclosure is shown;
[0094] Fig.12 A schematic diagram showing the structure of another resource processing device provided by an embodiment of the present disclosure is shown;
[0095] Fig.13 A schematic diagram of the structure of a client provided by an embodiment of the present disclosure is shown;
[0096] Fig.14 A schematic diagram of the structure of a server provided by an embodiment of the present disclosure is shown. DETAILED DESCRIPTION
[0097] In order to enable ordinary persons in the art to better understand the technical solutions of the present disclosure, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the accompanying drawings.
[0098] It should be noted that the terms "first", "second", etc. in the specification and claims of the present disclosure and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present disclosure described herein can be implemented in an order other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.
[0099] It should also be understood that the term “comprising” indicates the presence of described features, integers, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integers, steps, operations, elements and / or components.
[0100] It should be noted that the user information (including but not limited to user device information, user personal information, user behavior information, etc.) and data (including but not limited to image data) involved in this disclosure may be data authorized by the user or fully authorized by all parties.
[0101] In the related art, when a user performs operations related to displaying a map display scene on a client that has installed a short video APP, the client needs to obtain multimedia resources and map resources related to the map display scene. When the network quality of the client is poor, or the amount of related multimedia resources and map resources is large, the client needs to spend a lot of time loading the related multimedia resources and map resources.
[0102] Based on this, the embodiment of the present disclosure provides a resource processing method. Since the preloading instruction is used to instruct to obtain multimedia resources within the geographical scope to which the current location of the account belongs before displaying the map display scene, after receiving the preloading instruction, the client can respond to the preloading instruction to obtain the multimedia resources and the map resources of the geographical scope. Subsequently, the client can respond to the triggering operation performed by the account on the map display scene to display the multimedia resources and the map resources of the geographical scope.
[0103] As can be seen from the above, before displaying the map display scene, the client can respond to the preload instruction and obtain multimedia resources and map resources of the geographical scope in advance. In this way, when the account triggers the operation performed on the map display scene, the multimedia resources and map resources of the geographical scope can be directly displayed, which solves the technical problem of long multimedia resource loading time in the map resource display scene and enriches the user experience.
[0104] The resource processing method provided by the embodiment of the present disclosure is exemplarily described below with reference to the accompanying drawings:
[0105] Figure 1 A communication system schematic diagram provided in an embodiment of the present disclosure is shown in FIG. Figure 1 As shown, the communication system may include: a server 110 and a client 120. The server 110 may establish a connection with the client 120 via a wired network or a wireless network.
[0106] The server 110 is used to send resource streams to the client. The resource streams include multimedia resource streams and map resource streams. When the server 110 sends multimedia resource streams to the client, the server can obtain corresponding multimedia resources from the server that provides the multimedia resources.
[0107] Optionally, the server providing multimedia resources may be independently provided with the server 110, or may be integrated into the same server.
[0108] When the server providing multimedia resources is integrated with the server 110 on the same server, the server 110 may be a data server of some multimedia resource service platforms, which may be used to store and process multimedia resources. For example, the multimedia resource service platform may be a short video application service platform, a news service platform, a live broadcast service platform, a shopping service platform, a takeaway service platform, a sharing service platform, a functional website, etc. Among them, the multimedia resources provided by the short video application service platform may be some short video works, the multimedia resources provided by the news service platform may be some news information, the multimedia resources provided by the live broadcast service platform may be live broadcast works, etc., and the rest will not be described one by one. The present disclosure does not limit the specific types of multimedia resource service platforms.
[0109] In the present disclosure, the server 110 may include multiple short video application service platforms, each of which corresponds to a unique application. The application is installed on the client 120 and displays multimedia resources on the resource processing interface of the client 120. The server 110 is mainly used to store relevant data of the content community application installed on the client 120, and can send the corresponding data to the client upon receiving a data acquisition request sent by the client 120.
[0110] In some embodiments, the server 110 may be a single server, or a server cluster composed of multiple servers. In some implementations, the server cluster may also be a distributed cluster. The present disclosure does not limit the specific implementation of the server 110.
[0111] In some other embodiments, the server 110 may also include a database or be connected to a database, and the multimedia resources of the multimedia resource service platform may be stored in the database. The client 120 may access the multimedia resources in the database through the server 110 .
[0112] The client 120 may be a mobile phone, tablet computer, desktop, laptop, handheld computer, notebook computer, ultra-mobile personal computer (UMPC), netbook, cellular phone, personal digital assistant (PDA), augmented reality (AR)\virtual reality (VR) device, etc., which can install and use content community applications (such as Kuaishou), and the present disclosure does not impose any special restrictions on the specific form of the client. It can interact with the user through one or more methods such as keyboard, touchpad, touch screen, remote control, voice interaction or handwriting device.
[0113] Optionally, the above Figure 1 In the communication system shown, the server 110 can be connected to at least one client 120. The present disclosure does not limit the number and type of the client 120.
[0114] The resource processing method provided in the embodiment of the present disclosure can be applied to the aforementioned Figure 1 The client and server in the application scenario shown.
[0115] like Figure 2 As shown, when the resource processing method is applied to the client, the resource processing method may include:
[0116] S201: The client receives a preloading instruction.
[0117] Specifically, in order to prevent the client from taking too long to load multimedia resources in a map resource display scene, the client may receive a preloading instruction before displaying the map resource display scene.
[0118] The preloading instruction is used to instruct to obtain multimedia resources within the geographical scope to which the current location of the account belongs before displaying the map display scene.
[0119] Optionally, the multimedia resources in the above-mentioned map resource display scenario may also be referred to as multimedia resource streams in the map resource display scenario, that is, map feed streams.
[0120] Optionally, the geographical scope to which the current location of the account belongs can be a geographical scope with the current location of the client as the center point, or it can be a geographical scope to which the center point belongs after the center point is determined based on a pre-set hotspot location and the current location of the account. This disclosure does not limit this.
[0121] The map display scene can be a type of display scene in short video apps. In this display scene, the client can display the map information around the current client location and display the multimedia resources published by surrounding users on the map information.
[0122] Optionally, the method for the client to receive the preloading instruction specifically includes:
[0123] The client generates a preloading instruction in response to the triggering operation performed by the account on the same-city display scene.
[0124] In actual applications, the entrance to the map display scene is usually located in the display interface of the same-city display scene. Therefore, when the user enters the same-city display scene, the client can receive the preload instruction generated at this time, and then obtain the multimedia resources within the geographical scope to which the current location of the account belongs in advance. In this way, when the account triggers the map display scene, the multimedia resources within the geographical scope to which the current location of the account belongs and the map resources within the geographical scope can be directly displayed, which solves the technical problem of long multimedia resource loading time in the map resource display scene and enriches the user experience.
[0125] Optionally, the entrance to the map display scene can also be located in the display interface of other display scenes. In this case, when the user enters the display scene, the client can receive the preload instruction generated at this time, and then obtain the multimedia resources within the geographical range to which the current location of the account belongs in advance.
[0126] Optionally, the client can also generate a preload instruction when the short video APP is started. The preload instruction can also be generated after a certain period of time after the short video APP is started, which is not limited in the present disclosure.
[0127] S202: The client obtains multimedia resources and map resources of a geographical range in response to the preloading instruction.
[0128] Specifically, after receiving the preloading instruction, the client can respond to the preloading instruction and obtain the multimedia resources and map resources within the geographical scope to which the current location of the account belongs. In this way, the client can obtain the multimedia resources and map resources within the geographical scope to which the current location of the account belongs in advance before displaying the map resource display scene.
[0129] Optionally, when the client obtains multimedia resources, it can send a request to the server to request multimedia resources within the geographical scope of the account's current location, or it can select multimedia resources within the geographical scope of the account's current location from the resource stream pre-dispatched by the server.
[0130] Optionally, when the client obtains the map resources of the geographical scope to which the current location of the account belongs, it can send a request to the server to request the map resources of the geographical scope to which the current location of the account belongs from the server, or it can select the map resources of the geographical scope to which the current location of the account belongs from pre-stored map resources.
[0131] S203: The client displays multimedia resources and map resources of a geographical range in response to a triggering operation performed by the account on the map display scene.
[0132] Specifically, after acquiring the multimedia resources and map resources of the geographical scope to which the current location of the account belongs, the client can store the multimedia resources and map resources of the geographical scope in the cache. When the account logged into the client performs an operation for displaying a map display scene, the client can extract and display the multimedia resources and map resources of the geographical scope to which the current location of the account belongs from the cache in response to the triggering operation performed by the account on the map display scene.
[0133] Optionally, when the client displays the multimedia resources and map resources of the geographical scope to which the current location of the account belongs, the multimedia resources and map resources of the geographical scope to which the current location of the account belongs can be rendered first, so that the display form and display content of the multimedia resources and map resources of the geographical scope to which the current location of the account belongs can be richer.
[0134] The technical solution provided by the above embodiment brings at least the following beneficial effects: As can be seen from S201-S203, before displaying the map display scene, the client can respond to the preload instruction and obtain the multimedia resources and map resources of the geographical scope to which the current location of the account belongs in advance. In this way, when the account triggers the map display scene, the multimedia resources and map resources of the geographical scope to which the current location of the account belongs can be directly displayed, which solves the technical problem of long multimedia resource loading time in the map resource display scene and enriches the user experience.
[0135] In one embodiment, in combination Figure 2 ,like Figure 3 As shown, in the above S201, the method for the client to obtain multimedia resources and map resources of a geographical range specifically includes:
[0136] S301: The client sends a resource acquisition request to the server.
[0137] The resource acquisition request includes the current location of the account and the map range level. The map range level is used to determine the range area of the geographic range.
[0138] That is, the map range level is used to indicate the range size of the map displayed by the client on the map display scene.
[0139] For example, when the map range level is city level, the client can display a city map of the city where the client is currently located on the map display scene. When the map range level is 500 meters, the client can display a map within 500 meters around the client's current location on the map display scene.
[0140] S302: The client receives multimedia resources and map resources of a geographical range returned by the server based on the resource acquisition request.
[0141] Specifically, after the client sends a resource acquisition request to the server, since the resource acquisition request includes the current location and map range level of the account to which the account belongs, the server can determine the geographical range according to the current location and map range level of the account in the resource acquisition request, and acquire the multimedia resources and map resources of the geographical range. Then, the server can return the acquired multimedia resources and map resources to the client based on the resource acquisition request. Correspondingly, the client receives the multimedia resources and map resources of the geographical range sent by the server.
[0142] The technical solution provided by the above embodiment brings at least the following beneficial effects: From S301-S302, it can be seen that when the client obtains multimedia resources and map resources of a geographical scope, it can quickly and accurately obtain the multimedia resources and map resources of a geographical scope sent by the server by sending a resource acquisition request to the server.
[0143] In one embodiment, in combination Figure 2 ,like Figure 4 As shown, in the above S201, the method for the client to obtain multimedia resources and map resources of a geographical range specifically includes:
[0144] S401: The client determines the center point of the geographical range.
[0145] In one possible implementation, the client can obtain multimedia resources and map resources of a geographical scope not only through the server, but also through its own data processing capabilities or resources.
[0146] Specifically, when the client obtains multimedia resources and map resources of a geographic range through its own data processing capabilities or resources, it can first determine the center point position of the geographic range.
[0147] In one practicable manner, the method for the client to determine the center point position of the geographic range specifically includes:
[0148] The client determines the account's current location as the center point of the geographic range.
[0149] In another achievable manner, the method for the client to determine the center point position of the geographic range specifically includes:
[0150] The client determines the center point of the geographic range based on the account's current location and the hotspot location.
[0151] The hotspot location is a location within a geographical range where the number of published multimedia resources is greater than a preset number.
[0152] For example, the current location of the account is shopping mall B in city A. The client may first determine that shopping mall B belongs to city A. Then, the hotspot location C in city A is obtained.
[0153] Then, the client can determine the middle position of the path between shopping mall B and hotspot location C as the center point position of the geographical range, or determine any position in the middle of the path between shopping mall B and hotspot location C as the center point position of the geographical range, or determine the center point position through other rules, which is not limited in this disclosure.
[0154] In one achievable manner, when city A includes multiple hotspot locations, the client may determine the center point location of the geographic range based on the hotspot location with the highest heat value and the current location of the account.
[0155] In this way, the client can not only determine the center point of the geographic range by using the current location of the account, but also flexibly determine the center point of the geographic range based on the hotspot location and the current location of the account, thus enriching the forms of determining the center point of the geographic range.
[0156] S402: The client determines a range area of a geographic range according to a map range level.
[0157] Specifically, since the map range level is used to indicate the range size of the map displayed by the client on the map display scene, the client can determine the range area of the geographical range according to the map range level.
[0158] Exemplarily, the map range level is a map within 500 meters around the center point position. In this case, the client can determine the range area of the geographic range to be 500 meters around the center point position.
[0159] S403: The client determines the geographic range according to the center point location and the range area, and obtains multimedia resources and map resources.
[0160] After determining the center point location and the range area, the client can determine the geographic range based on the center point location and the range area.
[0161] Optionally, the client may determine the longitude and latitude of the upper left corner and the lower right corner of the geographic range according to the center point position and the range area, thereby defining a map range and determining the map range as the geographic range.
[0162] After determining the geographic scope, the client can send a resource acquisition request to the server to obtain multimedia resources and map resources within the geographic scope.
[0163] Optionally, the database of the client may pre-store a large amount of multimedia resources and map resources. After determining the geographical range, the client may also obtain the multimedia resources and map resources of the geographical range from the database.
[0164] The technical solution provided by the above embodiment brings at least the following beneficial effects: As can be seen from S401-S403, the client can not only obtain multimedia resources and map resources of a geographical scope through the server, but also obtain multimedia resources and map resources of a geographical scope through its own data processing capabilities or resources, thereby enriching the methods for the client to obtain multimedia resources and map resources of a geographical scope.
[0165] In one embodiment, in combination Figure 3 ,like Figure 5 As shown, after the client sends a resource acquisition request to the server, it also includes:
[0166] S501: The client receives a target resource cover of a multimedia resource sent by the server.
[0167] Specifically, after the client sends a resource acquisition request to the server, the server can also call an image processing service to process the original resource cover of the multimedia resource to obtain the target resource cover of the multimedia resource, and send the target resource cover of the multimedia resource to the client. Correspondingly, the client receives the target resource cover of the multimedia resource sent by the server.
[0168] The pixels of the target resource cover are smaller than the pixels of the original resource cover of the multimedia resource.
[0169] Optionally, the image processing service may be an image hosting service or other services for processing images, which is not limited in the present disclosure.
[0170] The technical solution provided by the above embodiment brings at least the following beneficial effects: As can be seen from S501, after the client sends a resource acquisition request to the server, it can also receive a low-pixel cover of the target multimedia resource sent by the server, saving the client time in downloading and rendering the cover.
[0171] In one embodiment, in combination Figure 5 ,like Figure 6 As shown, in the above S203, the method for the client to display multimedia resources and map resources of a geographical range in response to the triggering operation performed by the account on the map display scene specifically includes:
[0172] S601: In response to a trigger operation performed by an account on a map display scene, the client displays a target resource cover of a multimedia resource on a map resource within a geographical scope.
[0173] In this way, the client can display a low-pixel cover of the target multimedia resource on the map resource within the geographic range in response to the trigger operation performed by the account on the map display scene, saving the client time in downloading and rendering the cover.
[0174] like Figure 7 As shown, when the resource processing method is applied to the server, the resource processing method may include:
[0175] S701: The server receives a resource acquisition request sent by the client in response to a received preloading instruction.
[0176] The resource acquisition request includes the current location of the account logged in by the client and the map range level. The preload instruction is used to instruct to acquire multimedia resources within the geographical range before displaying the map display scene. The map range level is used to determine the range area of the geographical range to which the current location of the account belongs.
[0177] That is, the map range level is used to indicate the range size of the map displayed by the client on the map display scene.
[0178] S702: The server determines a geographical scope in response to the resource acquisition request.
[0179] S703. The server obtains multimedia resources and map resources within the geographic scope, and sends the multimedia resources and map resources to the client, so that the client displays the multimedia resources and map resources when responding to the trigger operation performed by the account on the map display scene.
[0180] Optionally, the multimedia resources and map resources within the geographical scope may be stored in the server from which the resources are issued. After determining the geographical scope, the server may send a resource acquisition request to the server to request the multimedia resources and map resources within the geographical scope.
[0181] Optionally, the server that sends the resources may be a reco server.
[0182] Optionally, the multimedia resources and the map resources within the geographical scope may also be stored in a database of the server. After determining the geographical scope, the server may obtain the multimedia resources and the map resources within the geographical scope from the database.
[0183] The technical solution provided by the above-mentioned embodiment brings at least the following beneficial effects: As can be seen from S701-S703, after receiving the resource acquisition request sent by the client in response to the received preloading instruction, the server can respond to the resource acquisition request to determine the geographical scope to which the current location of the account logged in by the client belongs. Subsequently, the server can obtain the multimedia resources within the geographical scope and the map resources of the geographical scope, and send the multimedia resources and the map resources to the client, so that the client can display the multimedia resources and the map resources when responding to the trigger operation performed by the account on the map display scene. In this way, when the account performs a trigger operation on the map display scene, the client can directly display the multimedia resources and the map resources of the geographical scope to which the current location of the account belongs, which solves the technical problem of the long loading time of multimedia resources in the map resource display scenario and enriches the user experience.
[0184] In one embodiment, in combination Figure 7 ,like Figure 8As shown, in the above S702, the method for the server to determine the geographical range specifically includes:
[0185] S801. The server determines the center point of the geographical range.
[0186] In one embodiment, the method for the server to determine the center point position of the geographical range specifically includes:
[0187] The server determines the current location of the account as the center point of the geographic range.
[0188] In another embodiment, the method for the server to determine the center point position of the geographical range specifically includes:
[0189] The server determines the center point of the geographic range based on the account's current location and hotspot locations.
[0190] The hotspot location is a location within a geographical range where the number of published multimedia resources is greater than a preset number.
[0191] For example, the current location of the account is shopping mall B in city A. The server may first determine that shopping mall B belongs to city A. Then, the hotspot location C in city A is obtained.
[0192] Then, the server can determine the middle position of the path between shopping mall B and hotspot location C as the center point position of the geographical range, or determine any position in the middle of the path between shopping mall B and hotspot location C as the center point position of the geographical range, or determine the center point position through other rules, which is not limited in this disclosure.
[0193] In one practicable manner, when city A includes multiple hotspot locations, the server may determine the center point location of the geographic range based on the hotspot location with the highest heat value and the current location of the account.
[0194] In this way, the server can not only determine the center point of the geographic range by using the current location of the account, but also flexibly determine the center point of the geographic range based on the hotspot location and the current location of the account, thereby enriching the forms of determining the center point of the geographic range.
[0195] S802: The server determines the range area of the geographic range according to the map range level.
[0196] Specifically, since the map range level is used to indicate the range size of the map displayed by the client on the map display scene, the server can determine the range area of the geographic range according to the map range level.
[0197] For example, the map range level is a map within 500 meters around the center point location. In this case, the server can determine the range area of the geographic range as 500 meters around the center point location.
[0198] S803. The server determines the geographical scope to which the current location of the account belongs based on the center point location and the range area.
[0199] After determining the center point location and the range area, the server can determine the geographic range based on the center point location and the range area.
[0200] Optionally, the server may determine the longitude and latitude of the upper left corner and the lower right corner of the geographic range according to the center point position and the range area, thereby defining a map range and determining the map range as the geographic range.
[0201] The technical solution provided by the above embodiment brings at least the following beneficial effects: As can be seen from S801-S803, the server can determine the center point position of the geographic range, and determine the range area of the geographic range according to the map range level. Subsequently, the server can determine the geographic range according to the center point position and the range area. A specific implementation method for determining the geographic range is given.
[0202] In one embodiment, in combination Figure 7 ,like Fig. 9 As shown, the resource processing method also includes:
[0203] S901. The server calls an image processing service to process an original resource cover of a multimedia resource to obtain a target resource cover of the multimedia resource.
[0204] Among them, the pixels of the target resource cover are smaller than the pixels of the original resource cover.
[0205] Optionally, the image processing service may be an image hosting service or other services for processing images, which is not limited in the present disclosure.
[0206] S902: The server sends a target resource cover of a multimedia resource to the client.
[0207] It should be noted that the server sends the target resource cover of the multimedia resource to the client and the server sends the multimedia resource and the map resource to the client in any order. The server may first send the target resource cover of the multimedia resource to the client, and then send the multimedia resource and the map resource to the client; or first send the multimedia resource and the map resource to the client, and then send the target resource cover of the multimedia resource to the client; or send the multimedia resource and the map resource to the client at the same time, as well as the target resource cover of the multimedia resource.
[0208] The technical solution provided by the above embodiment brings at least the following beneficial effects: As can be seen from S901-S902, the server can call the image processing service on the server to process the original resource cover of the multimedia resource to obtain the target resource cover of the multimedia resource, and send the target resource cover of the target multimedia resource to the client. Since the pixels of the target resource cover are smaller than the pixels of the original resource cover, the server can save the time of downloading and rendering the cover for the client.
[0209] Combine the following Fig.10 , this embodiment is explained with reference to the specific process of interaction between the server and the client.
[0210] Fig.10 FIG. 2 shows another flow chart of the resource processing method provided by the embodiment of the present disclosure. Fig.10 As shown, the resource processing method may include:
[0211] S1001. The client receives a preloading instruction.
[0212] The preloading instruction is used to instruct to obtain multimedia resources within the geographical scope to which the current location of the account belongs before displaying the map display scene.
[0213] S1002: The client sends a resource acquisition request to the server in response to the preloading instruction.
[0214] The resource acquisition request includes the current location of the account and the map range level.
[0215] S1003: The server determines the geographical scope to which the current location of the account belongs in response to the resource acquisition request.
[0216] S1004: The server sends a resource acquisition request to a server that provides multimedia resources and map resources within a geographical range.
[0217] S1005. The server receives multimedia resources and map resources within the geographical range sent by the server.
[0218] S1006: The server calls an image processing service to process the original resource cover of the multimedia resource to obtain a target resource cover of the multimedia resource.
[0219] S1007: The server sends multimedia resources and map resources, as well as a target resource cover of the multimedia resources, to the client.
[0220] S1008: The client displays a target resource cover of the multimedia resource on the map resource within the geographical scope in response to the triggering operation performed by the account on the map display scene.
[0221] It is understandable that, in actual implementation, the client / server described in the embodiment of the present disclosure may include one or more hardware structures and / or software modules for implementing the aforementioned corresponding resource processing method, and these execution hardware structures and / or software modules may constitute an electronic device. Those skilled in the art should easily realize that, in combination with the algorithm steps of each example described in the embodiment disclosed herein, the present disclosure can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present disclosure.
[0222] Based on such understanding, the embodiments of the present disclosure also provide a resource processing device that can be applied to a client. Fig.11 FIG. 1 shows a schematic diagram of the structure of a resource processing device provided by an embodiment of the present disclosure. Fig.11 As shown, the resource processing device may include: a receiving unit 1101, an acquiring unit 1102 and a display unit 1103;
[0223] The receiving unit 1101 is used to receive a preloading instruction; the preloading instruction is used to instruct to obtain multimedia resources within the geographical range to which the current location of the account belongs before displaying the map display scene;
[0224] The acquisition unit 1102 is used to acquire multimedia resources and map resources of a geographical range in response to the preloading instruction;
[0225] The display unit 1103 is used to display multimedia resources and map resources of a geographical range in response to a triggering operation performed by an account on a map display scene.
[0226] Optionally, the acquiring unit 1102 is specifically configured to:
[0227] Send a resource acquisition request to the server; the resource acquisition request includes the current location of the account and the map range level; the map range level is used to determine the range area of the geographic range;
[0228] Receive multimedia resources and map resources of geographic scope returned by the server based on resource acquisition request.
[0229] Optionally, the acquiring unit 1102 is specifically configured to:
[0230] Determine the location of the center point of the geographic range;
[0231] Determine the range area of geographic scope based on the map range level;
[0232] Determine the geographic scope based on the center point location and range area, and obtain multimedia resources and map resources.
[0233] Optionally, the acquiring unit 1102 is specifically configured to:
[0234] Determine the current location of the account as the center point of the geographic range;
[0235] Alternatively, the center point location of the geographic range is determined based on the current location of the account and the hotspot location; the hotspot location is a location within the geographic range where the number of published multimedia resources is greater than a preset number.
[0236] Optionally, the receiving unit 1101 is further configured to receive a target resource cover of the multimedia resource sent by the server; the pixels of the target resource cover are smaller than the pixels of the original resource cover of the multimedia resource.
[0237] Optionally, the display unit 1103 is specifically used for:
[0238] In response to a trigger operation performed by an account on a map display scene, a target resource cover of a multimedia resource is displayed on a map resource within a geographical scope.
[0239] Optionally, the receiving unit 1101 is specifically configured to:
[0240] In response to a trigger operation performed by an account on a same-city display scenario, a preloading instruction is generated.
[0241] According to a fourth aspect of an embodiment of the present disclosure, a resource processing device is provided, which can be applied to a server. Fig.12 FIG. 1 shows a schematic diagram of the structure of a resource processing device provided by an embodiment of the present disclosure. Fig.12 As shown, the resource processing device includes: a receiving unit 1201, a processing unit 1202 and a sending unit 1203;
[0242] The receiving unit 1201 is used to receive a resource acquisition request sent by the client in response to the received preloading instruction; the resource acquisition request includes the current location and map range level of the account logged in by the client; the map range level is used to determine the range area of the geographical range to which the current location of the account belongs;
[0243] The processing unit 1202 is configured to determine a geographical range in response to the resource acquisition request;
[0244] The sending unit 1203 is used to obtain multimedia resources and map resources within a geographical scope, and send the multimedia resources and map resources to the client, so that the client displays the multimedia resources and map resources when responding to a trigger operation performed by the account on the map display scene.
[0245] Optionally, the processing unit 1202 is specifically configured to:
[0246] Determine the location of the center point of the geographic range;
[0247] Determine the range area of geographic scope based on the map range level;
[0248] Determine the geographic scope to which the account's current location belongs based on the center point location and range area.
[0249] Optionally, the processing unit 1202 is specifically configured to:
[0250] Determine the current location of the account as the center point of the geographic range;
[0251] Alternatively, the center point location of the geographic range is determined based on the current location of the account and the hotspot location; the hotspot location is a location within the geographic range where the number of published multimedia resources is greater than a preset number.
[0252] Optionally, the processing unit 1202 is further configured to call an image processing service to process the original resource cover of the multimedia resource to obtain a target resource cover of the multimedia resource; the pixel of the target resource cover is smaller than the pixel of the original resource cover;
[0253] The sending unit 1203 is further configured to send the target resource cover of the multimedia resource to the client.
[0254] As described above, the embodiments of the present disclosure can divide the server / client into functional modules according to the above method examples. Among them, the above integrated modules can be implemented in the form of hardware or in the form of software functional modules. In addition, it should be noted that the division of modules in the embodiments of the present disclosure is schematic and is only a logical function division. There may be other division methods in actual implementation. For example, each functional module can be divided corresponding to each function, or two or more functions can be integrated into one processing module.
[0255] Regarding the resource processing device in the above embodiment, the specific manner in which each module performs operations and the beneficial effects possessed have been described in detail in the above method embodiment and will not be repeated here.
[0256] The disclosed embodiment also provides a client, which may be a user client such as a mobile phone or a computer. Fig.13 The schematic diagram of the structure of the client provided by the embodiment of the present disclosure is shown. The client may be a resource processing device which may include at least one processor 61 , a communication bus 62 , a memory 63 and at least one communication interface 64 .
[0257] The processor 61 may be a central processing unit (CPU), a microprocessing unit, an ASIC, or one or more integrated circuits for controlling the execution of the program of the disclosed solution.
[0258] The communication bus 62 may include a pathway for transmitting information between the above-mentioned components.
[0259] The communication interface 64 uses any transceiver-like device for communicating with other devices or communication networks, such as a server, Ethernet, a radio access network (RAN), a wireless local area network (WLAN), etc.
[0260] The memory 63 may be a read-only memory (ROM) or other types of static storage devices that can store static information and instructions, a random access memory (RAM) or other types of dynamic storage devices that can store information and instructions, or an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compressed optical disc, laser disc, optical disc, digital versatile disc, Blu-ray disc, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store the desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto. The memory may exist independently and be connected to the processing unit through a bus. The memory may also be integrated with the processing unit.
[0261] The memory 63 is used to store application code for executing the solution of the present disclosure, and the execution is controlled by the processor 61. The processor 61 is used to execute the application code stored in the memory 63, so as to realize the functions in the method of the present disclosure.
[0262] In a specific implementation, as an embodiment, the processor 61 may include one or more CPUs, such as Fig.13 CPU0 and CPU1 in.
[0263] In a specific implementation, as an embodiment, the resource processing client may include multiple processors, such as Fig.1361 and 65 in the embodiment of the present invention. Each of these processors may be a single-CPU processor or a multi-CPU processor. The processor herein may refer to one or more devices, circuits, and / or processing cores for processing data (e.g., computer program instructions).
[0264] In a specific implementation, as an embodiment, the resource processing client may further include an input device 66 and an output device 67. The input device 66 communicates with the output device 67 and may receive user input in a variety of ways. For example, the input device 66 may be a mouse, a keyboard, a touch screen device, or a sensor device. The output device 67 communicates with the processor 61 and may display information in a variety of ways. For example, the output device 61 may be a liquid crystal display (LCD), a light emitting diode (LED) display device, or the like.
[0265] Those skilled in the art will understand that Fig.13 The structure shown in the figure does not constitute a limitation on the client, and may include more or less components than those shown in the figure, or combine certain components, or adopt a different component arrangement.
[0266] The disclosed embodiment also provides a server. Fig.14 A schematic diagram of the structure of the server provided by an embodiment of the present disclosure is shown. The server may be a resource processing device. The server may have relatively large differences due to different configurations or performances, and may include one or more processors 71 and one or more memories 72. Among them, at least one instruction is stored in the memory 72, and at least one instruction is loaded and executed by the processor 71 to implement the resource processing method provided by the above-mentioned various method embodiments. Of course, the server may also have components such as a wired or wireless network interface, a keyboard, and an input and output interface for input and output. The server may also include other components for implementing device functions, which will not be repeated here.
[0267] The present disclosure also provides a resource processing system, which includes a client and a server;
[0268] The client is used to execute the above Figure 1-Figure 6 The resource processing method shown.
[0269] The server is used to execute the above Figure 7-Figure 9 The resource processing method shown.
[0270] The present disclosure also provides a computer-readable storage medium including instructions, and the computer-readable storage medium stores instructions, and when the instructions in the computer-readable storage medium are executed by the processor of a computer device, the computer can execute the resource processing method provided by the above-mentioned embodiment. For example, the computer-readable storage medium may be a memory 63 including instructions, and the above instructions may be executed by the processor 61 of the client to complete the above method. For another example, the computer-readable storage medium may be a memory 72 including instructions, and the above instructions may be executed by the processor 71 of the server to complete the above method. Optionally, the computer-readable storage medium may be a non-temporary computer-readable storage medium, for example, the non-temporary computer-readable storage medium may be a ROM, RAM, CD-ROM, magnetic tape, floppy disk, optical data storage device, etc.
[0271] The present disclosure also provides a computer program product, which includes computer instructions. When the computer instructions are executed on a client, the client executes the above Figure 7-Figure 9 The resource processing method shown in any one of the accompanying drawings.
[0272] The present disclosure also provides a computer program product, which includes computer instructions. When the computer instructions are executed on the server, the server executes the above Figure 2-Figure 6 The resource processing method shown in any one of the accompanying drawings.
[0273] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. The present disclosure is intended to cover any variations, uses or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The description and examples are to be considered exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.
[0274] It should be understood that the present disclosure is not limited to the exact structures that have been 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
1. A resource processing method, characterized in that: include: receiving a preload instruction; The preloading instruction is used to instruct to obtain multimedia resources within the geographical range to which the current location of the account belongs before displaying the map display scene; In response to the preloading instruction, determining the center point location of the geographical range according to the current location of the account and the hotspot location; the hotspot location is a location within the geographical range where the number of published multimedia resources is greater than a preset number; determining a range area of the geographic range according to a map range level; Determine the geographic range according to the center point position and the range area, and obtain the multimedia resources and the map resources; In response to a triggering operation performed by the account on the map presentation scene, the multimedia resource and the map resource of the geographic range are displayed.
2. The resource processing method according to claim 1, characterized in that: The displaying of the multimedia resource and the map resource of the geographical range in response to the triggering operation performed by the account on the map display scene comprises: In response to a trigger operation performed by the account on the map display scene, a target resource cover of the multimedia resource is displayed on the map resource of the geographic range.
3. The resource processing method according to claim 1 or 2, characterized in that: The receiving of the preloading instruction comprises: The preloading instruction is generated in response to a triggering operation performed by the account on the same-city display scene.
4. A resource processing method, characterized in that: include: Receiving a resource acquisition request sent by the client in response to the received preloading instruction; the resource acquisition request includes the current location and map range level of the account logged in by the client; The map range level is used to determine the range area of the geographic range to which the current location of the account belongs; In response to the resource acquisition request, determining the center point location of the geographical range according to the current location of the account and the hotspot location; the hotspot location is a location within the geographical range where the number of published multimedia resources is greater than a preset number; determining a range area of the geographic range according to a map range level; Determine the geographical range to which the current location of the account belongs based on the central point location and the range area; Acquire multimedia resources within the geographic scope and map resources within the geographic scope, and send the multimedia resources and the map resources to the client, so that the client displays the multimedia resources and the map resources in response to a trigger operation performed by the account on the map display scene.
5. The resource processing method according to claim 4, characterized in that: Also includes: Invoke an image processing service to process the original resource cover of the multimedia resource to obtain a target resource cover of the multimedia resource; The pixels of the target resource cover are smaller than the pixels of the original resource cover; Sending the target resource cover of the multimedia resource to the client.
6. A resource processing device, characterized in that: include: Receiving unit, acquiring unit and displaying unit; The receiving unit is used to receive a preloading instruction; The preloading instruction is used to instruct to obtain multimedia resources within the geographical range to which the current location of the account belongs before displaying the map display scene; The acquisition unit is used to acquire the multimedia resource and the map resource of the geographical range in response to the preloading instruction; The display unit is used to display the multimedia resources and the map resources of the geographical range in response to the triggering operation performed by the account on the map display scene; The acquisition unit is specifically used for: Determine the location of the center point of the geographic range; determining a range area of the geographic range according to a map range level; Determine the geographic range according to the center point position and the range area, and obtain the multimedia resources and the map resources; The acquisition unit is specifically used for: The center point position of the geographical range is determined according to the current position of the account and the hotspot position; the hotspot position is a position within the geographical range where the number of published multimedia resources is greater than a preset number.
7. The resource processing device according to claim 6, characterized in that: The display unit is specifically used for: In response to a trigger operation performed by the account on the map display scene, a target resource cover of the multimedia resource is displayed on the map resource of the geographic range.
8. The resource processing device according to claim 6 or 7, characterized in that: The receiving unit is specifically used for: The preloading instruction is generated in response to a triggering operation performed by the account on the same-city display scene.
9. A resource processing device, characterized in that: include: Receiving unit, processing unit and sending unit; The receiving unit is used to receive a resource acquisition request sent by the client in response to the received preloading instruction; The resource acquisition request includes the current location and map range level of the account logged in by the client; The map range level is used to determine the range area of the geographic range to which the current location of the account belongs; The processing unit is configured to determine the geographical range in response to the resource acquisition request; The sending unit is used to obtain multimedia resources within the geographical range and map resources within the geographical range, and send the multimedia resources and the map resources to the client, so that the client displays the multimedia resources and the map resources in response to the triggering operation performed by the account on the map display scene; The processing unit is specifically used for: Determine the location of the center point of the geographic range; determining a range area of the geographic range according to a map range level; Determine the geographical range to which the current location of the account belongs based on the central point location and the range area; The processing unit is specifically used for: The center point position of the geographical range is determined according to the current position of the account and the hotspot position; the hotspot position is a position within the geographical range where the number of published multimedia resources is greater than a preset number.
10. The resource processing device according to claim 9, characterized in that: The processing unit is further used to call an image processing service to process the original resource cover of the multimedia resource to obtain a target resource cover of the multimedia resource; the pixel of the target resource cover is smaller than the pixel of the original resource cover; The sending unit is further used to send the target resource cover of the multimedia resource to the client.
11. A resource processing system, characterized in that: The resource processing system includes: a client and a server; The client is used to execute the resource processing method according to any one of claims 1 to 3; The server is used to execute the resource processing method as described in claim 4 or 5.
12. A client, characterized in that: The client comprises: processor; a memory for storing instructions executable by the processor; The processor is configured to execute the instructions to implement the resource processing method according to any one of claims 1 to 3.
13. A server, characterized in that: The server includes: processor; a memory for storing instructions executable by the processor; The processor is configured to execute the instructions to implement the resource processing method as claimed in claim 4 or 5.
14. A computer-readable storage medium having instructions stored thereon, characterized in that: When the instructions in the computer-readable storage medium are executed by a processor of a client, the client is enabled to execute the resource processing method according to any one of claims 1 to 3; Alternatively, when the instructions in the computer-readable storage medium are executed by a processor of the server, the server is enabled to execute the resource processing method as described in claim 4 or 5.
15. A computer program product comprising instructions, characterized in that When the instruction is executed on the client, the client executes the resource processing method according to any one of claims 1 to 3; Alternatively, when the instruction is executed on the server, the server executes the resource processing method as claimed in claim 4 or 5.
Citation Information
Patent Citations
Method, device and system for recommending multimedia object, terminal and server
CN106649400A
Resource acquisition method, server, client and electronic device
CN110110194A
Video display method and device thereof, electronic equipment and storage medium
CN113194351A