CN107613364B - Cross-storage-area picture carousel method and system - Google Patents

Cross-storage-area picture carousel method and system Download PDF

Info

Publication number
CN107613364B
CN107613364B CN201710675045.2A CN201710675045A CN107613364B CN 107613364 B CN107613364 B CN 107613364B CN 201710675045 A CN201710675045 A CN 201710675045A CN 107613364 B CN107613364 B CN 107613364B
Authority
CN
China
Prior art keywords
picture
storage
address
unit
calling
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710675045.2A
Other languages
Chinese (zh)
Other versions
CN107613364A (en
Inventor
陈剑波
徐良
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Chengdu Luxingtong Information Technology Co ltd
Original Assignee
Chengdu Luxingtong Information 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 Chengdu Luxingtong Information Technology Co ltd filed Critical Chengdu Luxingtong Information Technology Co ltd
Priority to CN201710675045.2A priority Critical patent/CN107613364B/en
Publication of CN107613364A publication Critical patent/CN107613364A/en
Application granted granted Critical
Publication of CN107613364B publication Critical patent/CN107613364B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The embodiment of the application discloses a method and a system for alternately broadcasting pictures in a cross-storage area, wherein the method comprises the following steps: setting a storage unit in each storage area; acquiring a picture address of each storage area; storing the acquired picture address in a storage unit corresponding to a picture storage area; calling an address of a picture to be played from a storage unit to form a playing unit; and calling the picture address in the playing unit, and performing carousel on the pictures to be played. According to the technical scheme, the technical scheme provided by the embodiment of the invention effectively avoids the complicated operation process of frequently downloading the non-local storage pictures to the local storage area, simply, conveniently and effectively realizes the common carousel of the pictures in the cross-storage area, enhances the operation convenience of a user, and simultaneously reduces the waste of local storage resources.

Description

Cross-storage-area picture carousel method and system
Technical Field
The present application relates to the field of picture data processing technologies, and in particular, to a method and a system for carousel pictures across storage areas.
Background
In many e-commerce home pages, scenes in which pictures are played in turns are often seen, which is very attractive to users. Generally, the pictures are special pictures of activities or pictures of subject commodities placed by merchants, and are used for guiding users to click and view the pictures so as to obtain details of the activities and take full part in wild events.
In the existing picture alternate playing technology, pictures stored in different storage areas are usually played respectively, and when pictures stored in non-local storage and pictures stored in local storage are played in turn, the prior art has great limitation, and generally downloads the pictures in different storage areas to the same storage space first and then plays the pictures. For example, when pictures stored in the network storage device and the local storage device respectively need to be played in turn, the pictures stored in the network storage are usually downloaded to the local storage, and then the image playing in turn is realized. The prior art needs to occupy a local storage space, causes great waste of storage resources, and also has the problems of complex operation, poor user experience and the like. Therefore, it is desirable to provide a new picture carousel method for implementing common carousel of pictures in different storage areas.
Disclosure of Invention
The embodiment of the invention provides a method and a system for carousel pictures across storage areas, which aim to solve the problems of local storage resource waste and complex operation caused by carousel pictures in different storage areas in the prior art.
In a first aspect, an embodiment of the present invention provides a method for carousel pictures across storage areas, including the following steps:
step S100: setting a storage unit in each storage area;
step S200: acquiring a picture address of each storage area;
step S300: storing the acquired picture address into a storage unit corresponding to a picture storage area;
step S400: calling an address of a picture to be played from the storage unit to form a playing unit;
step S500: and calling the picture address in the playing unit, and performing carousel on the pictures to be played.
Optionally, after setting a storage unit in each storage area and before acquiring the picture address of each storage area, the method further includes:
step S110: acquiring a page picture corresponding to a page to be played;
step S120: and storing the page picture address in a storage area.
Optionally, the calling an address of a picture to be played from the storage unit to form a playing unit includes:
calling a single storage unit to form a playing unit; or
Calling a plurality of storage units to form a playing unit; or
And calling part of picture addresses in the storage unit to form a playing unit.
Optionally, the storage area includes a local storage area, a network storage area, and a mobile storage area.
Optionally, the storage unit includes a set, an array, and a block.
Optionally, the calling an address of a picture to be played from the storage unit to form a playing unit includes: and sequentially calling the picture addresses according to the storage sequence or the preset sequence of the picture addresses in the storage unit.
Optionally, the retrieving an address of a picture to be played from the storage unit to form a playing unit further includes: and acquiring the click times of the picture corresponding to the picture address in the storage unit, and calling the picture address in the storage unit according to the click times.
In a second aspect, an embodiment of the present invention further provides a system for carousel pictures across storage areas, including:
the first setting module is used for setting a storage unit in each storage area;
the address acquisition module is used for acquiring the picture address of each storage area;
the address storage module is used for storing the acquired picture address in a storage unit corresponding to a picture storage area;
the second setting module is used for calling the address of the picture to be played from the storage unit to form a playing unit;
and the picture playing module is used for calling the picture address in the playing unit and performing carousel on the pictures to be played.
Optionally, the system further comprises:
the page acquisition module is used for acquiring a page picture corresponding to a page to be played;
and the page storage module is used for storing the page picture address in a storage area.
Optionally, the picture playing module further includes a picture playing sub-unit,
the device is used for sequentially calling the picture addresses according to the storage sequence or the preset sequence of the picture addresses in the storage unit; or
And the system is used for acquiring the click times of the picture corresponding to the picture address in the storage unit and calling the picture address in the storage unit according to the click times.
According to the technical scheme provided by the embodiment of the invention, the picture addresses corresponding to the pictures in different storage areas are stored in the corresponding storage units, and when the pictures need to be played in turn, the pictures in different storage areas can be played in turn together only by calling the address of the picture to be played in the storage unit. The method avoids the complicated operation process of downloading the non-local storage area pictures to the local storage area, simply, conveniently and effectively realizes the common carousel of the pictures across the storage areas, enhances the operation convenience of users, and simultaneously reduces the waste of local storage resources.
Drawings
In order to more clearly explain the technical solution of the present application, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious to those skilled in the art that other drawings can be obtained according to the drawings without any creative effort.
Fig. 1 is a flowchart of a method for carousel pictures across storage areas according to an embodiment of the present disclosure.
Fig. 2 is a schematic structural diagram of a cross-storage-area picture carousel system according to an embodiment of the present application.
Detailed Description
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and together with the description, serve to explain the principles of the application.
In order to make those skilled in the art better understand the technical solution of the present invention, the technical solution in the embodiment of the present invention will be clearly and completely described below with reference to the drawings in the embodiment of the present invention, and it is obvious that the described embodiment is only a part of the embodiment of the present invention, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Fig. 1 is a flowchart of a method for carousel pictures across storage areas according to an embodiment of the present application. As shown in fig. 1, the method includes:
in step S100, one memory cell is set for each memory area.
Optionally, the storage area includes a local storage area, a network storage area, and a mobile storage area. The local storage area includes a local hard disk of the computer. The network storage area comprises a webpage, a cloud disk, a network disk and the like. The mobile storage area comprises a U disk, a mobile hard disk and the like.
Specifically, a local storage unit is established in a local storage area; establishing a network storage unit in a network storage area; and establishing a mobile storage unit in the mobile storage area.
Alternatively, the storage units may be sets, arrays, or blocks.
In step S200, a picture address of each storage area is obtained.
In the embodiment of the present invention, the storage area may include a local storage area, a network storage area, a mobile storage area, and the like, for example, an address of acquiring all or part of pictures of a local hard disk, an address of acquiring pictures in a network server, or an address of acquiring all or part of pictures in a cloud disk or a network disk, and an address of acquiring all or part of pictures of a mobile hard disk and a mobile terminal.
In the prior art, the playing of the webpage is often not realized in the process of carousel the pictures. Therefore, in an alternative embodiment of the present invention, after step S100 and before step S200, the carousel of web pages may also be implemented by the following steps. For example, in the embodiment of the present invention, a webpage to be played is converted into a picture, and then the picture address of the webpage is stored in the corresponding storage area, so that when the webpage needs to be played, the picture can be called from the storage unit for playing. It should be noted that the address of the page picture may be stored in a local storage area, a network storage area, or a mobile storage area.
And step S300, storing the acquired picture address in a storage unit corresponding to the picture storage area.
The storage unit referred to herein includes a local storage unit, a network storage unit, and a mobile storage unit.
Specifically, the picture address corresponding to the picture in the local storage area is stored in the local storage unit. And storing the picture address corresponding to the picture in the network storage area in a network storage unit. And storing the picture address corresponding to the picture in the mobile storage area in the mobile storage unit.
Step S400, the address of the picture to be played is called from the storage unit to form a playing unit.
Optionally, the step may form the playing unit according to the requirement of the user by the following three ways:
calling a single storage unit to form a playing unit, that is, playing pictures stored in the storage unit at all addresses in turn, for example, calling a network storage unit alone to form a playing unit, and playing all pictures in the storage unit in turn.
For example, when pictures of the network storage unit and the local storage unit need to be played simultaneously, the storage units are taken as units, a plurality of storage units which need to be played in turns are selected to form an integral playing unit, and the pictures are ordered according to the storage sequence or the number of clicks and the like and played in turns.
In some scenes, when pictures in the whole storage unit do not need to be played in turn, the partial picture addresses in any one or more storage units are allowed to be called for playing in turn, for example, the partial picture addresses in the network storage unit are selected to form an independent playing unit, and the alternate playing is realized.
Step S500, calling the picture address in the playing unit, and performing carousel on the picture to be played.
Optionally, the playing order of the pictures in the unit to be played may be specifically realized by the following sorting modes:
and sequentially calling the picture addresses according to the storage sequence or the preset sequence of the picture addresses in the storage unit. Or, for example, the pictures played in the round-robin fashion are sorted in the sequence of the storage time, so as to sort the selection sequence of playing the pictures or the storage units, or other preset conditions, and the picture addresses in the storage units are called according to the number of clicks of the pictures corresponding to the picture addresses in the storage units and the number of clicks. Generally, the special pictures or the subject commodity pictures of the carousel activities appear in a plurality of E-commerce home pages, and are used for guiding users to click and view so as to obtain activity details and participate in various sales activities. The merchant has certain requirements on the playing times of each picture based on the purpose of maximizing promotion for each promoted item.
For example, when multiple pictures are played, the number of clicks of the first played picture may be the largest, and in order to balance the number of clicks of the multiple pictures to a certain degree, the picture addresses in the storage unit need to be sequentially called based on a descending order of the number of clicks to achieve a desired picture carousel effect.
And randomly calling the picture addresses in the storage unit, randomly calling the picture addresses according to a certain algorithm by different playing systems or playing tools, and playing the pictures in sequence in a random mode.
In another optional embodiment of the present invention, for the non-local storage picture to be played, in order to avoid that the non-local storage picture to be played is invalid when the connection with the local storage is disconnected, the picture may also be copied to a standby local storage area while storing the picture address, and then the address of the local storage picture is stored in the storage unit as a standby.
According to the technical scheme provided by the embodiment of the invention, the picture addresses corresponding to the pictures in different storage areas are stored in the corresponding storage units, and when the pictures need to be played in turn, the pictures in different storage areas can be played in turn together only by calling the addresses of the pictures to be played in the storage units. The complicated operation process of frequently downloading the non-local storage pictures to the local storage area is effectively avoided, the common carousel of the pictures across the storage areas is simply, conveniently and effectively realized, the operation convenience of a user is enhanced, and the waste of local storage resources is reduced.
Based on the method embodiment, the invention also provides a cross-storage-area picture carousel system. Fig. 2 is a schematic structural diagram of a cross-storage-area picture carousel system according to an embodiment of the present invention, as shown in fig. 2, the system includes:
a first setting module 201, configured to set a storage unit in each storage area; an address obtaining module 202, configured to obtain a picture address of each storage area; the address storage module 203 is used for storing the acquired picture address in a storage unit corresponding to the picture storage area; the second setting module 204 is used for calling the address of the picture to be played from the storage unit to form a playing unit; the picture playing module 205 is configured to call a picture address in the playing unit, and perform carousel on pictures to be played.
In an optional embodiment of the present invention, the cross-storage-area picture carousel system further includes: the page acquisition module is used for acquiring a page picture corresponding to a page to be played; and the page storage module is used for storing the page picture in a storage area.
In an optional embodiment of the present invention, the picture playing module in the cross-storage-area picture carousel system further includes: and the picture playing subunit is used for sequentially calling the picture addresses according to the storage sequence or the preset sequence of the picture addresses in the storage unit. Or the image processing device is used for acquiring the click times of the image corresponding to the image address in the storage unit and calling the image address in the storage unit according to the click times.
The relationship between the functional modules or units in the cross-storage-area picture carousel system provided in the embodiment of the present invention may refer to the steps in the foregoing method embodiments, and for the sake of brevity, details are not repeated herein.
In specific implementation, the present invention further provides a computer storage medium, wherein the computer storage medium may store a program, and the program may include some or all of the steps in the embodiments of the method provided by the present invention when executed. The storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM) or a Random Access Memory (RAM).
Those skilled in the art will readily appreciate that the techniques of the embodiments of the present invention may be implemented as software plus a required general purpose hardware platform. Based on such understanding, the technical solutions in the embodiments of the present invention may be essentially or partially implemented in the form of a software product, which may be stored in a storage medium, such as ROM/RAM, magnetic disk, optical disk, etc., and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method according to the embodiments or some parts of the embodiments.
The same and similar parts in the various embodiments in this specification may be referred to each other. Especially, for the system embodiment and the terminal embodiment, since they are basically similar to the method embodiment, the description is simple, and the relevant points can be referred to the description in the method embodiment.
The above-described embodiments of the present invention should not be construed as limiting the scope of the present invention.

Claims (10)

1. A method for alternately broadcasting pictures in a cross-storage area is characterized by comprising the following steps:
setting a storage unit in each storage area;
acquiring a picture address of each storage area;
storing the acquired picture address into a storage unit corresponding to a picture storage area;
calling an address of a picture to be played from the storage unit to form a playing unit;
calling the picture address in the playing unit, and performing carousel on the pictures to be played;
the storage area comprises a local storage area, a network storage area and a mobile storage area.
2. The method for picture carousel across storage areas according to claim 1, wherein after setting a storage unit in each storage area, before obtaining the picture address of each storage area, the method further comprises:
acquiring a page picture corresponding to a page to be played;
and storing the page picture address in a storage area.
3. The method for picture carousel across storage areas according to claim 1, wherein the step of calling the address of the picture to be played from the storage unit to form a playing unit comprises:
calling a single storage unit to form a playing unit; or
Calling a plurality of storage units to form a playing unit; or
And calling part of picture addresses in the storage unit to form a playing unit.
4. The method for picture carousel across storage areas according to claim 2, wherein the step of calling the address of the picture to be played from the storage unit to form a playing unit comprises:
calling a single storage unit to form a playing unit; or
Calling a plurality of storage units to form a playing unit; or
And calling part of picture addresses in the storage unit to form a playing unit.
5. The cross-storage-area picture carousel method according to claim 1, wherein the storage units comprise sets, arrays and blocks.
6. The method for picture carousel across storage areas according to any one of claims 1 to 5, wherein the step of calling the address of the picture to be played from the storage unit to form a playing unit comprises:
and sequentially calling the picture addresses according to the storage sequence or the preset sequence of the picture addresses in the storage unit.
7. The method for picture carousel across storage areas according to any one of claims 1 to 5, wherein the step of calling the address of the picture to be played from the storage unit to form a playing unit further comprises:
and acquiring the click times of the picture corresponding to the picture address in the storage unit, and calling the picture address in the storage unit according to the click times.
8. A cross-storage-area picture carousel system, comprising:
the first setting module is used for setting a storage unit in each storage area;
the address acquisition module is used for acquiring the picture address of each storage area;
the address storage module is used for storing the acquired picture address into a storage unit corresponding to a picture storage area;
the second setting module is used for calling the address of the picture to be played from the storage unit to form a playing unit;
the picture playing module is used for calling the picture address in the playing unit and performing carousel on the pictures to be played;
the storage area comprises a local storage area, a network storage area and a mobile storage area.
9. The cross-storage-area picture carousel system according to claim 8, further comprising:
the page acquisition module is used for acquiring a page picture corresponding to a page to be played;
and the page storage module is used for storing the page picture address in a storage area.
10. The cross-storage-area picture carousel system of claim 8, wherein the picture playing module further comprises a picture playing sub-unit,
the device is used for sequentially calling the picture addresses according to the storage sequence or the preset sequence of the picture addresses in the storage unit; or
And the system is used for acquiring the click times of the picture corresponding to the picture address in the storage unit and calling the picture address in the storage unit according to the click times.
CN201710675045.2A 2017-08-09 2017-08-09 Cross-storage-area picture carousel method and system Active CN107613364B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710675045.2A CN107613364B (en) 2017-08-09 2017-08-09 Cross-storage-area picture carousel method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710675045.2A CN107613364B (en) 2017-08-09 2017-08-09 Cross-storage-area picture carousel method and system

Publications (2)

Publication Number Publication Date
CN107613364A CN107613364A (en) 2018-01-19
CN107613364B true CN107613364B (en) 2020-06-02

Family

ID=61064944

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710675045.2A Active CN107613364B (en) 2017-08-09 2017-08-09 Cross-storage-area picture carousel method and system

Country Status (1)

Country Link
CN (1) CN107613364B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112104907B (en) * 2019-06-17 2024-02-23 西安光启智能技术有限公司 Picture playing method and device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6571392B1 (en) * 1999-04-20 2003-05-27 Webtv Networks, Inc. Receiving an information resource from the internet if it is not received from a broadcast channel
CN106230804A (en) * 2016-07-27 2016-12-14 努比亚技术有限公司 Picture sharing method, terminal and server

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015106827A (en) * 2013-11-29 2015-06-08 株式会社東芝 Electronic apparatus and video display method thereof, and video display program
US20160224192A1 (en) * 2015-01-29 2016-08-04 Net2.Tv, Ltd Systems and methods for a multiplatform video player

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6571392B1 (en) * 1999-04-20 2003-05-27 Webtv Networks, Inc. Receiving an information resource from the internet if it is not received from a broadcast channel
CN106230804A (en) * 2016-07-27 2016-12-14 努比亚技术有限公司 Picture sharing method, terminal and server

Also Published As

Publication number Publication date
CN107613364A (en) 2018-01-19

Similar Documents

Publication Publication Date Title
CN107645561B (en) Picture preview method of cloud mobile phone
CN104572278B (en) The method, device and equipment of light application calling local side ability
CN110086877B (en) Application program sharing and information sharing display method, device, equipment and medium
CN102033931A (en) Clothing matching information searching method, device and system
CN104090899B (en) A kind of method and apparatus of feedback display content information
US20170116299A1 (en) Method and electronic device for synchronizing member benefits among multiple devices
CN107391108B (en) Notification bar information correction method and device and electronic equipment
CN107798135B (en) Paging query method and device and electronic equipment
CN103577207A (en) Loading method and loading device for interface components in custom interface system
CN111460279A (en) Information recommendation method and device, storage medium and computer equipment
CN108875035B (en) Data storage method of distributed file system and related equipment
KR101712570B1 (en) Apparatus, method and computer program for providing contents sharing service
CN104796351A (en) Network data downloading method and device
CN107613364B (en) Cross-storage-area picture carousel method and system
CN114884962A (en) Load balancing method and device and electronic equipment
CN107329832B (en) Data receiving method and device
CN103559091B (en) A kind of data dispatching method and split type terminal system
CN111414371A (en) Data information processing method and device, storage medium and processor
CN109886861A (en) A kind of high efficiency map file format HEIF image loading method and device
CN104834728B (en) A kind of method for pushing and device for subscribing to video
CN114615276B (en) Domain name scheduling method and device for content distribution network
CN103502977B (en) The stand-by period of the application program serviced is reduced by intended pretreatment
CN111046206A (en) Head portrait list display method and device, electronic equipment and storage medium
CN114662689A (en) Pruning method, device, equipment and medium for neural network
CN114579506A (en) Inter-processor communication method, system, storage medium, and processor

Legal Events

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