CN110134905A - A kind of renewal of the page display methods, device, equipment and storage medium - Google Patents

A kind of renewal of the page display methods, device, equipment and storage medium Download PDF

Info

Publication number
CN110134905A
CN110134905A CN201910425951.6A CN201910425951A CN110134905A CN 110134905 A CN110134905 A CN 110134905A CN 201910425951 A CN201910425951 A CN 201910425951A CN 110134905 A CN110134905 A CN 110134905A
Authority
CN
China
Prior art keywords
data
list item
item data
page
traversed
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910425951.6A
Other languages
Chinese (zh)
Other versions
CN110134905B (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.)
Beijing ByteDance Network Technology Co Ltd
Original Assignee
Beijing ByteDance Network 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 Beijing ByteDance Network Technology Co Ltd filed Critical Beijing ByteDance Network Technology Co Ltd
Priority to CN201910425951.6A priority Critical patent/CN110134905B/en
Publication of CN110134905A publication Critical patent/CN110134905A/en
Application granted granted Critical
Publication of CN110134905B publication Critical patent/CN110134905B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/901Indexing; Data structures therefor; Storage structures
    • G06F16/9014Indexing; Data structures therefor; Storage structures hash tables
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Human Computer Interaction (AREA)
  • Controls And Circuits For Display Device (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the present disclosure discloses a kind of renewal of the page display methods, device, equipment and storage medium, wherein method includes: to obtain the first data and the second data;The first data and the second data are traversed respectively, determine the more new state of each list item data in the first data and the second data, wherein more new state is used to indicate the update operation for each list item data;According to the more new state of list item data each in the first data and the second data, on the basis of current display page, each list item data in the first data and the second data is adjusted, obtains the update page of current display page, and show the update page.The technical solution of the embodiment of the present disclosure solves to be needed to render full page again to the process of renewal of the page and display in the prior art, it takes a long time and problem that complexity is high, realize the operating process of simplified page furbishing, the resource of page furbishing called is saved, to reduce the page furbishing time.

Description

A kind of renewal of the page display methods, device, equipment and storage medium
Technical field
The embodiment of the present disclosure be related to computer software application technical field more particularly to a kind of renewal of the page display methods, Device, equipment and storage medium.
Background technique
In some applications, the especially stronger application of social interaction, it will usually have some real-time dynamics of interface display The content of update, such as the live streaming room that shows of live streaming platform and singing for volcano small video see room, each in user's browse displays When the page in a room, there may be room to be over live streaming or singing activity, it is also possible to there is room to be just created, therefore The timeliness for needing to guarantee to show during user browses each room page, guarantees that the room that user sees all is newest 's.
In the prior art, using the method for being timed refreshing to the page, to guarantee the real-time of page data. Specifically timing downloads page data from server, and the old page data that will be had been displayed is deleted, while new based on downloading Page data carries out page rendering and shows.But the process of above-mentioned renewal of the page and display needs to carry out full page weight New rendering, takes a long time, complexity is higher.
Disclosure
The embodiment of the present disclosure provides a kind of renewal of the page display methods, device, equipment and storage medium, to realize simplification The operating process of page furbishing, saves the resource of page furbishing called, to reduce the page furbishing time.
In a first aspect, the embodiment of the present disclosure provides a kind of renewal of the page display methods, this method comprises:
Obtain the first data and the second data, wherein first data include each list items in current display page Data, second data include each list item data in the page to be updated of the current display page;
First data and second data are traversed respectively, are determined each in first data and second data The more new state of list item data, wherein the more new state is used to indicate the update operation for each list item data;
According to the more new state of each list item data in first data and second data, in the current display On the basis of the page, each list item data in first data and second data is adjusted, the current display page is obtained The update page in face, and show the update page.
Optionally, first data and second data are traversed respectively, determine first data and described second The more new state of each list item data in data, comprising:
Each list item data in first data is traversed, judges that the list item data currently traversed is One of the no list item data with second data is identical, if so, by the update of the list item data currently traversed State is set as skipping, and otherwise, the more new state of the list item data currently traversed is set as deleting;
Each list item data in second data is traversed, judges that the list item data currently traversed is One of the no list item data with first data is identical, if so, judge the position of the current list item data with it is described Whether the position of identical list item data is identical in first data, if so, more by the list item data currently traversed New state is set as skipping, and otherwise, sets mobile for the more new state of the list item data currently traversed, if current traversal To list item data be all different with each list item data in first data, then the list item number that will currently traverse According to more new state be set as being inserted into.
Optionally, according to the more new state of each list item data in first data and second data, described On the basis of current display page, each list item data in first data and second data is adjusted, obtains described work as The update page of the preceding display page, comprising:
Each list item data in first data is traversed, if the list item data currently traversed is more New state is to delete, then deletes the list item data of current display page;
Each list item data in second data is traversed, if the list item data currently traversed is more New state is movement, then the position based on the list item data currently traversed in second data is to current display page The list item data to carry out position mobile, will be current if the more new state of the list item data currently traversed is insertion The list item data traversed is inserted into current display page after the last item list item data.
Optionally, the update page is shown, comprising:
The list item data that more new state is insertion is rendered and shown.
Optionally, the first data and the second data are obtained, comprising:
The first data and the second data are obtained according to prefixed time interval.
Optionally, the list item data that currently traverses of judgement whether with one of the list item data in second data It is identical, comprising:
Judge the mark or cryptographic Hash of the list item data currently traversed, if with the list items in second data The mark or cryptographic Hash of one of data are identical;Correspondingly, whether the list item data that judgement currently traverses counts with described first One of list item data in is identical, comprising:
Judge the mark or cryptographic Hash of the list item data currently traversed, if with the list items in first data The mark or cryptographic Hash of one of data are identical.
Second aspect, the embodiment of the present disclosure additionally provide a kind of renewal of the page display device, which includes:
Data acquisition module, for obtaining the first data and the second data, wherein first data include current display Each list item data in the page, second data include each list items in the page to be updated of the current display page Data;
It updates state confirmation module and determines described first for traversing first data and second data respectively The more new state of each list item data in data and second data, wherein the more new state is used to indicate for each column The update of list item data operates;
Renewal of the page module, for the update shape according to each list item data in first data and second data State adjusts each list item data in first data and second data, obtains on the basis of the current display page To the update page of the current display page, and show the update page.
Optionally, state confirmation module is updated to be specifically used for:
Each list item data in first data is traversed, judges that the list item data currently traversed is One of the no list item data with second data is identical, if so, by the update of the list item data currently traversed State is set as skipping, and otherwise, the more new state of the list item data currently traversed is set as deleting;
Each list item data in second data is traversed, judges that the list item data currently traversed is One of the no list item data with first data is identical, if so, judge the position of the current list item data with it is described Whether the position of identical list item data is identical in first data, if so, more by the list item data currently traversed New state is set as skipping, and otherwise, sets mobile for the more new state of the list item data currently traversed, if current traversal To list item data be all different with each list item data in first data, then the list item number that will currently traverse According to more new state be set as being inserted into.
Optionally, renewal of the page module is specifically used for:
Each list item data in first data is traversed, if the list item data currently traversed is more New state is to delete, then deletes the list item data of current display page;
Each list item data in second data is traversed, if the list item data currently traversed is more New state is movement, then the position based on the list item data currently traversed in second data is to current display page The list item data to carry out position mobile, will be current if the more new state of the list item data currently traversed is insertion The list item data traversed is inserted into current display page after the last item list item data.
Optionally, renewal of the page module is used for:
The list item data that more new state is insertion is rendered and shown.
Optionally, data acquisition module is specifically used for:
The first data and the second data are obtained according to prefixed time interval.
Optionally, state confirmation module is updated to be specifically used for:
Judge the mark or cryptographic Hash of the list item data currently traversed, if with the list items in second data The mark or cryptographic Hash of one of data are identical;Correspondingly, whether the list item data that judgement currently traverses counts with described first One of list item data in is identical, comprising:
Judge the mark or cryptographic Hash of the list item data currently traversed, if with the list items in first data The mark or cryptographic Hash of one of data are identical.
The third aspect, the embodiment of the present disclosure additionally provide a kind of electronic equipment, which includes:
One or more processing units;
Storage device, for storing one or more programs;
When one or more of programs are executed by one or more of processing units, so that one or more of places Manage renewal of the page display methods of the device realization as described in any embodiment in the disclosure.
Fourth aspect, the embodiment of the present disclosure additionally provide a kind of computer storage medium, are stored thereon with computer program, Renewal of the page display methods provided by disclosure any embodiment is realized when the program is executed by processor.
The embodiment of the present disclosure passes through the page to be updated traversed respectively in current display page and current display page List item data determines the more new state of each list items, so on the basis of current display page according to each list items more New state adjusts current display page as unit of list item data, obtains the update page of current display page, solves existing Have in technology and the process of renewal of the page and display is needed to render full page again, takes a long time and complexity is high Problem realizes the operating process of simplified page furbishing, saves the resource of page furbishing called, to reduce page brush The new time keeps renewal of the page process more smooth.
Detailed description of the invention
Fig. 1 is the flow chart for the renewal of the page display methods that the embodiment of the present disclosure one provides;
Fig. 2 is the structural schematic diagram for the renewal of the page display device that the embodiment of the present disclosure two provides;
Fig. 3 is the structural schematic diagram for the electronic equipment that the embodiment of the present disclosure three provides.
Specific embodiment
To keep the purposes, technical schemes and advantages of the disclosure clearer, hereinafter with reference to attached in the embodiment of the present disclosure Figure, the technical solution of the disclosure is clearly and completely described by embodiment, it is clear that described embodiment is the disclosure one Section Example, instead of all the embodiments.Based on the embodiment in the disclosure, those of ordinary skill in the art are not being done Every other embodiment obtained under the premise of creative work out belongs to the range of disclosure protection.Following each embodiments In, optional feature and example are provided simultaneously in each embodiment, each feature recorded in embodiment can be combined, and be formed The embodiment of each number should not be considered merely as a technical solution by multiple optinal plans.
Embodiment one
Fig. 1 shows the flow chart of the renewal of the page display methods of the offer of the embodiment of the present disclosure one, and the embodiment of the present disclosure can The case where showing renewal of the page suitable for terminal applies, this method can be realized by renewal of the page display device, can specifically be passed through Software and/or hardware in electronic equipment is implemented.
As shown in Figure 1, the renewal of the page display methods that the embodiment of the present disclosure provides specifically includes:
S110, the first data and the second data are obtained, wherein first data include each column in current display page List item data, second data include each list item data in the page to be updated of the current display page.
Specifically, list item data is the display member in the page to be updated of current display page or current display page Element can be any one customized data structure.For example, display page presentation is the live streaming room being broadcast live, that One list item data is exactly the title in a live streaming room, room number, the information such as spectator attendance that room is broadcast live.If aobvious Show that the ranking list refreshed in real time is shown in the page, then a list item data is then one on the ranking list list Object.
When user is always held at a display interface, and the content of the display interface is when dynamic variation updates, can With according to the demand of the refreshing frequency of current display page, according to prefixed time interval obtain the first data and the second data to Current display interface is updated, for example, carrying out a Refresh Data in current page every five seconds.In addition, when user exits current display Behind interface, it is also required to obtain refresh data when reentering the display interface.
S120, first data and second data are traversed respectively, determine first data and second number The more new state of each list item data in, wherein the more new state is used to indicate the update behaviour for each list item data Make.
Specifically, can first traverse to each list item data in the first data, the column currently traversed are judged Whether list item data are identical as one of list item data in second data, if so, the list items that will currently traverse The more new state of data is set as skipping, and otherwise, the more new state of the list item data currently traversed is set as deleting.Example Such as, the list item data A in the first data, also exists in the second data, then shows after current page updates, list items Data A is still remained, without rendering display again to list item data A;List item data B in first data, exists only in In first data, without existing simultaneously in the second data, then show that list item data B does not appear in current display page It updates in the page, can directly delete.For the live streaming room of a live streaming platform shows the page, list item data A can To be a live streaming room still remaining after current display page update, list item data B can be one and work as It is over the room of live streaming after preceding display page furbishing, will not be displayed on again in the updated page.
Wherein, the list item data that currently traverses of judgement whether with one of list item data in second data phase It together, is the mark or cryptographic Hash of the list item data by judging currently to traverse, if with the list in second data The mark or cryptographic Hash of one of item data are identical.Each list items has a mark data, can be by comparing each list items Mark data judge whether list item data identical.It, can be according to each column if mark data cannot identify the current list item The cryptographic Hash of list item, which is compared, to be determined whether for identical list item data.For example, when the mark letter of a list item data Breath only indicates the title of list item data, and when the title of list items does not become, but one of important parameter of list items occurs Variation, that is, show that the list item data has occurred that variation, at this point, the identification information of this list items just can not indicate to join List items after number variation cannot judge whether the identical list items of two identification informations are identical by indicating information, this When just need to be judged according to the cryptographic Hash of list item data because any one parameter of a list item data becomes When change, the cryptographic Hash of the list items will change.
Further, each list item data in the second data is traversed, judges the list items currently traversed Whether data are identical as one of list item data in the first data, if so, judging position and the institute of the current list item data Whether the position for stating identical list item data in the first data is identical, if so, by the list item data currently traversed More new state is set as skipping, and otherwise, sets mobile for the more new state of the list item data currently traversed, if current time The list item data gone through is all different with each list item data in first data, then the list items that will currently traverse The more new state of data is set as being inserted into.Wherein, it skips, indicates to still remain in the display page of the list items in the updated And position does not change, without being operated to the list item data;It is mobile to indicate in the page of the list items in the updated It still remains still position to be changed, needs to carry out it movement of position;Insertion then indicates that a list item data exists It first appears, may be not present and the current display page before update in the updated display page.Likewise, the current traversal of judgement To list item data it is whether identical as one of list item data in first data, can currently be traversed by judgement List item data mark or cryptographic Hash, if mark or cryptographic Hash with one of list item data in first data It is identical.
What needs to be explained here is that in this step, first the list item data in the second data can also be traversed, Then it traverses, specific traversal order is not defined to the list item data in the first data.
S130, according to the more new state of each list item data in first data and second data, work as described On the basis of the preceding display page, each list item data in first data and second data is adjusted, is obtained described current It shows the update page of the page, and shows the update page.
Specifically, firstly, being traversed to each list item data in the first data, if the list items currently traversed The more new state of data is to delete, then deletes the list item data of current display page.Then, in the second data Each list item data traversed, if the more new state of the list item data currently traversed is movement, based on current Position of the list item data traversed in second data carries out position to the list item data of current display page It is mobile, if the more new state of the list item data currently traversed is insertion, the list item data currently traversed is inserted into Into current display page after the last item list item data.To which the updated display page of current display page can be obtained The list item data arranged according to respective sequence in face.
Further, only will the list item data that more new state is insertion be rendered and is shown, can be shown complete The updated display page.This is because more new state is that the list item data skipped or deleted is rendered before the update It crosses, is rendered without repeating, avoid excessive list items data render operation.
Illustratively, is 3 list item datas that the page is included currently have been displayed in the first data, respectively data 1,3, 5;4 list item datas that the new page data of the page includes currently have been displayed by downloading in second data, respectively 1, 3,4,5.Each list item data in first data is traversed, there are data 1,3,5 in the second array, then by data 1, 3,5 more new state is set as skipping;Each list item data in second data is traversed, there are numbers in the first data According to 1,3 and position it is also identical, then the more new state of data 1,3 is set as skipping, in the first data be not present data 4, then The more new state of data 4 is set as being inserted into;There are data 5 but different from the position in the first array in first data, then will The more new state of data 5 is set as mobile.Each list item data in first data is traversed, data 1,3,5 are more New state is to skip, without executing operation;Each list item data in second array is traversed, the light of data 1,3 State is to skip, without executing operation;The more new state of data 4 is insertion, then data 4 is rendered and are shown in and worked as After preceding page the last item data 5, at this point, the data sequence that current page is shown is 1,3,5,4, the more new state of data 5 For movement, then after data 5 being moved to data 4, at this point, the data sequence that current page is shown is 1,3,4,5, counted with second Sequence consensus in.
A kind of renewal of the page display methods that the embodiment of the present disclosure provides, by being traversed respectively in current display page and The list item data of the page to be updated of current display page determines the more new state of each list items, and then in currently display page According to the more new state of each list items on the basis of face, current display page is adjusted as unit of list item data, is obtained current The update page for showing the page solves and needs to carry out full page weight to the process of renewal of the page and display in the prior art New rendering, takes a long time and problem that complexity is high, realizes the operating process of simplified page furbishing, saves page furbishing The resource called keeps renewal of the page process more smooth to reduce the page furbishing time.
Embodiment two
Fig. 2 is a kind of structural schematic diagram for renewal of the page display device that the embodiment of the present disclosure two provides, and the disclosure is implemented Example is applicable to the case where terminal applies show renewal of the page.
As shown in Fig. 2, renewal of the page display device in the embodiment of the present disclosure, comprising: data acquisition module 210 updates shape State confirmation module 220 and renewal of the page module 230.
Wherein, data acquisition module 210, for obtaining the first data and the second data, wherein first data include Each list item data in current display page, second data include in the page to be updated of the current display page Each list item data;State confirmation module 220 is updated, for traversing first data and second data respectively, is determined The more new state of each list item data in first data and second data, wherein the more new state is used to indicate For the update operation of each list item data;Renewal of the page module 230, for according to first data and second data In the more new state of each list item data adjust first data and described the on the basis of the current display page Each list item data in two data, obtains the update page of the current display page, and shows the update page.
A kind of renewal of the page display device that the embodiment of the present disclosure provides, by being traversed respectively in current display page and The list item data of the page to be updated of current display page determines the more new state of each list items, and then in currently display page According to the more new state of each list items on the basis of face, current display page is adjusted as unit of list item data, is obtained current The update page for showing the page solves and needs to carry out full page weight to the process of renewal of the page and display in the prior art New rendering, takes a long time and problem that complexity is high, realizes the operating process of simplified page furbishing, saves page furbishing The resource called keeps renewal of the page process more smooth to reduce the page furbishing time.
Optionally, state confirmation module 220 is updated to be specifically used for:
Each list item data in first data is traversed, judges that the list item data currently traversed is One of the no list item data with second data is identical, if so, by the update of the list item data currently traversed State is set as skipping, and otherwise, the more new state of the list item data currently traversed is set as deleting;
Each list item data in second data is traversed, judges that the list item data currently traversed is One of the no list item data with first data is identical, if so, judge the position of the current list item data with it is described Whether the position of identical list item data is identical in first data, if so, more by the list item data currently traversed New state is set as skipping, and otherwise, sets mobile for the more new state of the list item data currently traversed, if current traversal To list item data be all different with each list item data in first data, then the list item number that will currently traverse According to more new state be set as being inserted into.
Optionally, renewal of the page module 230 is specifically used for:
Each list item data in first data is traversed, if the list item data currently traversed is more New state is to delete, then deletes the list item data of current display page;
Each list item data in second data is traversed, if the list item data currently traversed is more New state is movement, then the position based on the list item data currently traversed in second data is to current display page The list item data to carry out position mobile, will be current if the more new state of the list item data currently traversed is insertion The list item data traversed is inserted into current display page after the last item list item data.
Optionally, renewal of the page module 230 is used for:
The list item data that more new state is insertion is rendered and shown.
Optionally, data acquisition module 210 is specifically used for:
The first data and the second data are obtained according to prefixed time interval.
Optionally, state confirmation module 220 is updated to be specifically used for:
Judge the mark or cryptographic Hash of the list item data currently traversed, if with the list items in second data The mark or cryptographic Hash of one of data are identical;Correspondingly, whether the list item data that judgement currently traverses counts with described first One of list item data in is identical, comprising:
Judge the mark or cryptographic Hash of the list item data currently traversed, if with the list items in first data The mark or cryptographic Hash of one of data are identical.
Page provided by disclosure any embodiment can be performed in renewal of the page display device provided by the embodiment of the present disclosure Face updates display methods, has the corresponding functional module of execution method and beneficial effect.
Embodiment three
Below with reference to Fig. 3, it illustrates the electronic equipments and/or server 300 that are suitable for being used to realize the embodiment of the present disclosure Structural schematic diagram.Electronic equipment and/or server in the embodiment of the present disclosure can include but is not limited to such as mobile phone, Laptop, digit broadcasting receiver, PDA (personal digital assistant), PAD (tablet computer), PMP (portable multimedia broadcasting Put device), the mobile terminal of car-mounted terminal (such as vehicle mounted guidance terminal) etc. and such as number TV, desktop computer etc. Fixed terminal perhaps various forms of servers such as separate server or server cluster.Electronic equipment shown in Fig. 3 and/ Or server is only an example, should not function to the embodiment of the present disclosure and use scope bring any restrictions.
As shown in figure 3, electronic equipment and/or server 300 may include processing unit (such as central processing unit, figure Processor etc.) 301, it can add according to the program being stored in read-only memory device (ROM) 302 or from storage device 305 The program that is downloaded in random access memory device (RAM) 303 and execute various movements appropriate and processing.In RAM 303, also It is stored with electronic equipment and/or server 300 operates required various programs and data.Processing unit 301, ROM 302 and RAM 303 is connected with each other by bus 304.Input/output (I/O) interface 305 is also connected to bus 304.
In general, following device can connect to I/O interface 304: including such as touch screen, touch tablet, keyboard, mouse, taking the photograph As the input unit 306 of head, microphone, accelerometer, gyroscope etc.;Including such as liquid crystal display (LCD), loudspeaker, vibration The output device 307 of dynamic device etc.;Storage device 308 including such as tape, hard disk etc.;And communication device 309.Communication device 309, which can permit electronic equipment and/or server 300, is wirelessly or non-wirelessly communicated with other equipment to exchange data.Although Fig. 3 shows electronic equipment and/or server 300 with various devices, it should be understood that being not required for implementing or have Standby all devices shown.It can alternatively implement or have more or fewer devices.
Particularly, in accordance with an embodiment of the present disclosure, it may be implemented as computer above with reference to the process of flow chart description Software program.For example, embodiment of the disclosure includes a kind of computer program product comprising be carried on computer-readable medium On computer program, the computer program include for execute can operational controls display methods program code.In this way Embodiment in, which can be downloaded and installed from network by communication device 309, or from storage device 304 are mounted, or are mounted from ROM 302.When the computer program is executed by processing unit 301, it is real to execute the disclosure Apply the above-mentioned function of limiting in the method for example.
It should be noted that the above-mentioned computer-readable medium of the disclosure can be computer-readable signal media or meter Calculation machine readable storage medium storing program for executing either the two any combination.Computer readable storage medium for example can be --- but not Be limited to --- electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor system, device or device, or any above combination.Meter The more specific example of calculation machine readable storage medium storing program for executing can include but is not limited to: have the electrical connection, just of one or more conducting wires Take formula computer disk, hard disk, random access memory device (RAM), read-only memory device (ROM), erasable type may be programmed it is read-only Storage device (EPROM or flash memory), optical fiber, portable compact disc read-only memory device (CD-ROM), light storage device part, magnetic Storage device part or above-mentioned any appropriate combination.In the disclosure, computer readable storage medium can be any packet Contain or store the tangible medium of program, which can be commanded execution system, device or device use or in connection It uses.And in the disclosure, computer-readable signal media may include propagating in a base band or as carrier wave a part Data-signal, wherein carrying computer-readable program code.The data-signal of this propagation can take various forms, packet Include but be not limited to electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be meter Any computer-readable medium other than calculation machine readable storage medium storing program for executing, which can send, propagate or Person's transmission is for by the use of instruction execution system, device or device or program in connection.Computer-readable Jie The program code for including in matter can transmit with any suitable medium, including but not limited to: electric wire, optical cable, RF (radio frequency) etc. Deng or above-mentioned any appropriate combination.
Above-mentioned computer-readable medium can be included in above-mentioned electronic equipment;It is also possible to individualism, and not It is fitted into the electronic equipment.
Above-mentioned computer-readable medium carries one or more program, when said one or multiple programs are by this Manage device execute when so that the electronic equipment: obtain promotional content is associated can operational controls;Determination can operational controls target Show information;If the displaying duration of promotional content reaches preset duration, according to target show information, to can operational controls original The display information that begins is adjusted.
The calculating of the operation for executing the disclosure can be write with one or more programming languages or combinations thereof Machine program code, above procedure design language include object oriented program language-such as Java, Smalltalk, C+ +, it further include conventional procedural programming language-such as " C " language or similar programming language.Program code can Fully to execute, partly execute on the user computer on the user computer, be executed as an independent software package, Part executes on the remote computer or executes on a remote computer or server completely on the user computer for part. In situations involving remote computers, remote computer can pass through the network of any kind --- including local area network (LAN) Or wide area network (WAN)-is connected to subscriber computer, or, it may be connected to outer computer (such as utilize Internet service Provider is connected by internet).
Flow chart and block diagram in attached drawing are illustrated according to the system of the various embodiments of the disclosure, method and computer journey The architecture, function and operation in the cards of sequence product.In this regard, each box in flowchart or block diagram can generation A part of one module, program segment or code of table, a part of the module, program segment or code include one or more use The executable instruction of the logic function as defined in realizing.It should also be noted that in some implementations as replacements, being marked in box The function of note can also occur in a different order than that indicated in the drawings.For example, two boxes succeedingly indicated are actually It can be basically executed in parallel, they can also be executed in the opposite order sometimes, and this depends on the function involved.Also it to infuse Meaning, the combination of each box in block diagram and or flow chart and the box in block diagram and or flow chart can be with holding The dedicated hardware based system of functions or operations as defined in row is realized, or can use specialized hardware and computer instruction Combination realize.
Being described in unit involved in the embodiment of the present disclosure can be realized by way of software, can also be by hard The mode of part is realized.Wherein, the title of module does not constitute the restriction to the module itself under certain conditions, for example, obtaining Modulus block be also described as " obtain promotional content it is associated can operational controls module ".
Above description is only the preferred embodiment of the disclosure and the explanation to institute's application technology principle.Those skilled in the art Member is it should be appreciated that the open scope involved in the disclosure, however it is not limited to technology made of the specific combination of above-mentioned technical characteristic Scheme, while should also cover in the case where not departing from design disclosed above, it is carried out by above-mentioned technical characteristic or its equivalent feature Any combination and the other technical solutions formed.Such as features described above has similar function with (but being not limited to) disclosed in the disclosure Can technical characteristic replaced mutually and the technical solution that is formed.

Claims (10)

1. a kind of renewal of the page display methods characterized by comprising
Obtaining the first data and the second data, wherein first data include each list item data in current display page, Second data include each list item data in the page to be updated of the current display page;
First data and second data are traversed respectively, determine each list in first data and second data The more new state of item data, wherein the more new state is used to indicate the update operation for each list item data;
According to the more new state of each list item data in first data and second data, in the current display page On the basis of, each list item data in first data and second data is adjusted, the current display page is obtained The page is updated, and shows the update page.
2. the method according to claim 1, wherein traverse first data and second data respectively, Determine the more new state of each list item data in first data and second data, comprising:
Each list item data in first data is traversed, judge the list item data that currently traverses whether with One of list item data in second data is identical, if so, by the more new state of the list item data currently traversed It is set as skipping, otherwise, the more new state of the list item data currently traversed is set as deleting;
Each list item data in second data is traversed, judge the list item data that currently traverses whether with One of list item data in first data is identical, if so, judging the position and described first of the current list item data Whether the position of identical list item data is identical in data, if so, by the update shape of the list item data currently traversed State is set as skipping, and otherwise, sets mobile for the more new state of the list item data currently traversed, if currently traverse List item data is all different with each list item data in first data, then by the list item data currently traversed More new state is set as being inserted into.
3. according to the method described in claim 2, it is characterized in that, respectively being arranged according in first data and second data The more new state of list item data adjusts first data and second data on the basis of current display page In each list item data, obtain the update page of the current display page, comprising:
Each list item data in first data is traversed, if the update shape of the list item data currently traversed State is to delete, then deletes the list item data of current display page;
Each list item data in second data is traversed, if the update shape of the list item data currently traversed State is movement, then is somebody's turn to do based on position of the list item data currently traversed in second data to current display page It is mobile that list item data carries out position, if the more new state of the list item data currently traversed will be traversed currently to be inserted into To list item data be inserted into current display page after the last item list item data.
4. according to the method described in claim 3, it is characterized in that, showing the update page, comprising:
The list item data that more new state is insertion is rendered and shown.
5. the method according to claim 1, wherein obtaining the first data and the second data, comprising:
The first data and the second data are obtained according to prefixed time interval.
6. according to the method described in claim 2, it is characterized in that, it is described judge the list item data that currently traverses whether with One of list item data in second data is identical, comprising:
Judge the mark or cryptographic Hash of the list item data currently traversed, if with the list item data in second data One of mark or cryptographic Hash it is identical;Correspondingly, whether the list item data for judging currently to traverse counts with described first One of list item data in is identical, comprising:
Judge the mark or cryptographic Hash of the list item data currently traversed, if with the list item data in first data One of mark or cryptographic Hash it is identical.
7. a kind of renewal of the page display device characterized by comprising
Data acquisition module, for obtaining the first data and the second data, wherein first data include current display page In each list item data, second data include each list item number in the page to be updated of the current display page According to;
It updates state confirmation module and determines first data for traversing first data and second data respectively With the more new state of list item data each in second data, wherein the more new state is used to indicate for each list items The update of data operates;
Renewal of the page module, for the more new state according to each list item data in first data and second data, On the basis of the current display page, each list item data in first data and second data is adjusted, is obtained The update page of the current display page, and show the update page.
8. device according to claim 7, which is characterized in that update state confirmation module and be specifically used for:
Each list item data in first data is traversed, judge the list item data that currently traverses whether with One of list item data in second data is identical, if so, by the more new state of the list item data currently traversed It is set as skipping, otherwise, the more new state of the list item data currently traversed is set as deleting;
Each list item data in second data is traversed, judge the list item data that currently traverses whether with One of list item data in first data is identical, if so, judging the position and described first of the current list item data Whether the position of identical list item data is identical in data, if so, by the update shape of the list item data currently traversed State is set as skipping, and otherwise, sets mobile for the more new state of the list item data currently traversed, if currently traverse List item data is all different with each list item data in first data, then by the list item data currently traversed More new state is set as being inserted into.
9. a kind of electronic equipment, which is characterized in that the electronic equipment includes:
One or more processing units;
Storage device, for storing one or more programs;
When one or more of programs are executed by one or more of processing units, so that one or more of processing fill Set realization such as renewal of the page display methods as claimed in any one of claims 1 to 6.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is by processor Such as renewal of the page display methods as claimed in any one of claims 1 to 6 is realized when execution.
CN201910425951.6A 2019-05-21 2019-05-21 Page update display method, device, equipment and storage medium Active CN110134905B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910425951.6A CN110134905B (en) 2019-05-21 2019-05-21 Page update display method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910425951.6A CN110134905B (en) 2019-05-21 2019-05-21 Page update display method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN110134905A true CN110134905A (en) 2019-08-16
CN110134905B CN110134905B (en) 2022-03-04

Family

ID=67572304

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910425951.6A Active CN110134905B (en) 2019-05-21 2019-05-21 Page update display method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN110134905B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111741257A (en) * 2020-05-21 2020-10-02 深圳市商汤科技有限公司 Data processing method and device, electronic equipment and storage medium
CN112214270A (en) * 2020-09-18 2021-01-12 北京鸿腾智能科技有限公司 Page redrawing method, device, equipment and storage medium
CN113378084A (en) * 2020-03-10 2021-09-10 阿里巴巴集团控股有限公司 Page display method and device, electronic equipment and computer readable storage medium

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102521295A (en) * 2011-11-30 2012-06-27 深圳市五巨科技有限公司 Method and device for automatically acquiring content updating on designated page
CN103166916A (en) * 2011-12-12 2013-06-19 深圳市金蝶中间件有限公司 Method and system for updating page
US20140095697A1 (en) * 2012-10-02 2014-04-03 Micrcosoft Corporation Heuristic analysis of responses to user requests
CN105549973A (en) * 2015-12-11 2016-05-04 上海斐讯数据通信技术有限公司 Data updating method and system for view list in list control
CN106156308A (en) * 2016-06-30 2016-11-23 北京奇虎科技有限公司 Local updating method and system for webpage
EP3279811A1 (en) * 2016-08-04 2018-02-07 HERE Global B.V. Reducing size of update package data for navigation databases
WO2018076795A1 (en) * 2016-10-31 2018-05-03 华为技术有限公司 Page refreshing method and device
CN108647075A (en) * 2018-05-11 2018-10-12 阿里巴巴集团控股有限公司 Listview method for refreshing, device and the electronic equipment of five application page
CN109299421A (en) * 2018-09-19 2019-02-01 中译语通科技股份有限公司 A kind of data-updating method, server, electric terminal
CN109614195A (en) * 2018-12-11 2019-04-12 北京微播视界科技有限公司 A kind of preloading method, apparatus, equipment and the storage medium of list items

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102521295A (en) * 2011-11-30 2012-06-27 深圳市五巨科技有限公司 Method and device for automatically acquiring content updating on designated page
CN103166916A (en) * 2011-12-12 2013-06-19 深圳市金蝶中间件有限公司 Method and system for updating page
US20140095697A1 (en) * 2012-10-02 2014-04-03 Micrcosoft Corporation Heuristic analysis of responses to user requests
CN105549973A (en) * 2015-12-11 2016-05-04 上海斐讯数据通信技术有限公司 Data updating method and system for view list in list control
CN106156308A (en) * 2016-06-30 2016-11-23 北京奇虎科技有限公司 Local updating method and system for webpage
EP3279811A1 (en) * 2016-08-04 2018-02-07 HERE Global B.V. Reducing size of update package data for navigation databases
WO2018076795A1 (en) * 2016-10-31 2018-05-03 华为技术有限公司 Page refreshing method and device
CN108647075A (en) * 2018-05-11 2018-10-12 阿里巴巴集团控股有限公司 Listview method for refreshing, device and the electronic equipment of five application page
CN109299421A (en) * 2018-09-19 2019-02-01 中译语通科技股份有限公司 A kind of data-updating method, server, electric terminal
CN109614195A (en) * 2018-12-11 2019-04-12 北京微播视界科技有限公司 A kind of preloading method, apparatus, equipment and the storage medium of list items

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113378084A (en) * 2020-03-10 2021-09-10 阿里巴巴集团控股有限公司 Page display method and device, electronic equipment and computer readable storage medium
CN111741257A (en) * 2020-05-21 2020-10-02 深圳市商汤科技有限公司 Data processing method and device, electronic equipment and storage medium
TWI759059B (en) * 2020-05-21 2022-03-21 大陸商深圳市商湯科技有限公司 Data processing method electronic equipment computer readable storage medium
CN112214270A (en) * 2020-09-18 2021-01-12 北京鸿腾智能科技有限公司 Page redrawing method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN110134905B (en) 2022-03-04

Similar Documents

Publication Publication Date Title
CN110324646A (en) Method for displaying and processing, device and the electronic equipment of special efficacy
CN110149539A (en) Method for broadcasting multimedia file, device, electronic equipment and storage medium
CN109947317A (en) Application program page display method and device
CN109460233A (en) Primary interface display update method, device, terminal device and the medium of the page
CN110019949A (en) Video recommendation method, device, terminal, server and readable medium
CN109889880A (en) Pay close attention to information displaying method, device, equipment and the storage medium of user
CN110134905A (en) A kind of renewal of the page display methods, device, equipment and storage medium
CN108965389A (en) Method for showing information
CN109640129A (en) Video recommendation method, device, client device, server and storage medium
CN109769127A (en) Audio video synchronization dissemination method, device, electronic equipment and readable storage medium storing program for executing
CN110110101A (en) Recommended method, device, terminal, server and the readable medium of multimedia content
CN109525855A (en) Method and apparatus for handling information
CN109996125A (en) Generate method, apparatus, electronic equipment and the storage medium of video list
CN115103236B (en) Image record generation method, device, electronic equipment and storage medium
CN110209315A (en) The display methods of character, device, electronic equipment and storage medium in user interface
CN109684589A (en) Processing method, device and the computer storage medium of the comment data of client
CN109522062A (en) Display data determines method, applications client and electronic equipment
WO2024022403A1 (en) Task processing method and apparatus, device, and storage medium
CN109918146A (en) Page generation method and device
CN110334246A (en) A kind of data request processing method, apparatus, terminal device and storage medium
CN110825481A (en) Method and device for displaying page information corresponding to page tag and electronic equipment
CN109656667A (en) Implementation method, device, equipment and the medium of suspended window in a kind of client
CN115550723A (en) Multimedia information display method and device and electronic equipment
CN111694629A (en) Information display method and device and electronic equipment
CN111338729A (en) Method, device, medium and electronic equipment for playing view

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