CN114860189B - Data processing method, device, server and readable storage medium - Google Patents
Data processing method, device, server and readable storage medium Download PDFInfo
- Publication number
- CN114860189B CN114860189B CN202110163166.5A CN202110163166A CN114860189B CN 114860189 B CN114860189 B CN 114860189B CN 202110163166 A CN202110163166 A CN 202110163166A CN 114860189 B CN114860189 B CN 114860189B
- Authority
- CN
- China
- Prior art keywords
- queue
- sorted
- data
- index
- scheduling instruction
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F7/00—Methods or arrangements for processing data by operating upon the order or content of the data handled
- G06F7/06—Arrangements for sorting, selecting, merging, or comparing data on individual record carriers
- G06F7/08—Sorting, i.e. grouping record carriers in numerical or other ordered sequence according to the classification of at least some of the information they carry
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
Description
技术领域Technical Field
本发明涉及数据处理技术领域,特别是涉及一种数据处理方法、装置、服务器及可读存储介质。The present invention relates to the field of data processing technology, and in particular to a data processing method, device, server and readable storage medium.
背景技术Background Art
目前,随着电子技术的发展,电子设备在人们的生活中占据了越来越重要的位置,而电子设备在使用的过程中会获取并输出大量的数据,因此,为了电子设备更好的获取数据,服务器需要对上述数据进行排序。但是在实际的使用过程中,发明人发现现有技术存在以下问题:由于服务器中通常采用固定的队列在对数据进行排序,这样会导致数据的吞吐量降低,从而使得服务器对数据的排序效果较差。At present, with the development of electronic technology, electronic devices have played an increasingly important role in people's lives, and electronic devices will acquire and output a large amount of data during use. Therefore, in order for electronic devices to better acquire data, the server needs to sort the above data. However, in actual use, the inventor found that the prior art has the following problems: since the server usually uses a fixed queue to sort the data, this will lead to a decrease in data throughput, so that the server has a poor data sorting effect.
发明内容Summary of the invention
本发明实施例的目的在于提供一种数据处理方法、装置、服务器及可读存储介质,以解决服务器对数据的排序效果较差的问题。具体技术方案如下:The purpose of the embodiments of the present invention is to provide a data processing method, device, server and readable storage medium to solve the problem that the server has poor data sorting effect. The specific technical solution is as follows:
在本发明实施的第一方面,首先提供了一种数据处理方法,包括:In a first aspect of the present invention, a data processing method is provided, comprising:
获取待排序指标;Get the index to be sorted;
判断所述待排序指标是否为已有排序指标,基于所述待排序指标的判断结果向第一队列或第二队列发送数据调度指令;Determine whether the to-be-sorted index is an existing sorting index, and send a data scheduling instruction to the first queue or the second queue based on the determination result of the to-be-sorted index;
基于所述数据调度指令控制所述第一队列或者所述第二队列基于所述待排序指标生成排序数据;Controlling the first queue or the second queue to generate sorted data based on the to-be-sorted indicator based on the data scheduling instruction;
控制所述第一队列或者所述第二队列提供所述排序数据。Control the first queue or the second queue to provide the sorted data.
在本发明实施的第二方面,还提供了一种数据处理装置,应用于服务器,所述数据处理装置包括:In a second aspect of the present invention, a data processing device is provided, which is applied to a server. The data processing device includes:
获取模块,用于获取待排序指标;The acquisition module is used to obtain the indicators to be sorted;
判断模块,用于判断所述待排序指标是否为已有排序指标,基于所述待排序指标的判断结果向第一队列或第二队列发送数据调度指令;A judgment module, used for judging whether the to-be-sorted index is an existing sorting index, and sending a data scheduling instruction to the first queue or the second queue based on the judgment result of the to-be-sorted index;
第一控制模块,用于基于所述数据调度指令控制所述第一队列或者所述第二队列基于所述待排序指标生成排序数据;A first control module, configured to control the first queue or the second queue to generate sorted data based on the to-be-sorted indicator based on the data scheduling instruction;
第二控制模块,用于控制所述第一队列或者所述第二队列提供所述排序数据。The second control module is used to control the first queue or the second queue to provide the sorting data.
在本发明实施的又一方面,还提供了一种服务器,包括处理器、通信接口、存储器和通信总线,其中,处理器,通信接口,存储器通过通信总线完成相互间的通信;In another aspect of the present invention, a server is provided, comprising a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other via the communication bus;
存储器,用于存放计算机程序;Memory, used to store computer programs;
处理器,用于执行存储器上所存放的程序时,实现上述任一所述的数据处理方法。The processor is used to implement any of the above-mentioned data processing methods when executing the program stored in the memory.
在本发明实施的又一方面,还提供了一种计算机可读存储介质,所述计算机可读存储介质中存储有指令,当其在计算机上运行时,使得计算机执行上述任一所述的数据处理方法。In another aspect of the present invention, a computer-readable storage medium is provided, wherein instructions are stored in the computer-readable storage medium, and when the computer-readable storage medium is run on a computer, the computer executes any of the above-mentioned data processing methods.
在本发明实施的又一方面,还提供了一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行上述任一所述的数据处理方法。In yet another aspect of the present invention, a computer program product comprising instructions is provided, which, when executed on a computer, enables the computer to execute any of the above-mentioned data processing methods.
本发明实施例提供的数据处理方法,由于根据待排序指标是否为已有排序指标的判断结果可以确定对应的第一队列或者第二队列提供排序数据,这样,与只通过固定的队列提供排序数据的方式相比,本发明实施例中的方式更加灵活化,且不会降低第一队列和第二队列的吞吐量,从而使得对排序数据的排序效果较好。The data processing method provided in the embodiment of the present invention can determine whether the corresponding first queue or second queue provides sorting data based on the judgment result of whether the index to be sorted is an existing sorting index. Therefore, compared with the method of providing sorting data only through a fixed queue, the method in the embodiment of the present invention is more flexible and will not reduce the throughput of the first queue and the second queue, thereby achieving a better sorting effect on the sorting data.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍。In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art are briefly introduced below.
图1为本发明实施例提供的一种数据处理方法的流程图;FIG1 is a flow chart of a data processing method provided by an embodiment of the present invention;
图2为本发明实施例提供的一种数据处理方法中判断第一队列的标志位的状态的流程图;2 is a flow chart of determining the state of a flag bit of a first queue in a data processing method provided by an embodiment of the present invention;
图3为本发明实施例提供的一种数据处理方法中第一队列和第二队列的功能切换的流程图;3 is a flow chart of function switching between a first queue and a second queue in a data processing method provided by an embodiment of the present invention;
图4为本发明实施例提供的一种数据处理方法中排序指标切换的流程图;FIG4 is a flow chart of switching of sorting indicators in a data processing method provided by an embodiment of the present invention;
图5为本发明实施例提供的一种数据处理方法中数据排序示意图;FIG5 is a schematic diagram of data sorting in a data processing method provided by an embodiment of the present invention;
图6为本发明实施例提供的一种数据处理装置的结构示意图;FIG6 is a schematic diagram of the structure of a data processing device provided by an embodiment of the present invention;
图7为本发明实施例提供的一种服务器的结构示意图。FIG. 7 is a schematic diagram of the structure of a server provided in an embodiment of the present invention.
具体实施方式DETAILED DESCRIPTION
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行描述。The technical solutions in the embodiments of the present invention will be described below in conjunction with the accompanying drawings in the embodiments of the present invention.
参见图1,图1为本发明实施例提供的一种数据处理方法的流程图,如图1所示,所述方法包括以下步骤:Referring to FIG. 1 , FIG. 1 is a flow chart of a data processing method provided by an embodiment of the present invention. As shown in FIG. 1 , the method includes the following steps:
步骤101、获取待排序指标;Step 101, obtaining the index to be sorted;
其中,可以通过服务器中的数据接口获取待排序指标,而数据接口可以为服务器内某两个模块之间的接口,具体在此不做限定。The index to be sorted may be obtained through a data interface in the server, and the data interface may be an interface between two modules in the server, which is not specifically limited here.
其中,作为一种可选的实施方式,所述待排序指标包括:播放量、曝光量、点赞量和评论量中的任意一种。Wherein, as an optional implementation manner, the index to be sorted includes: any one of: playback volume, exposure volume, like volume and comment volume.
其中,曝光量可以理解为刷新量,例如:当预存数据为视频时,曝光量可以理解为用户刷新到该视频,但是并未等到视频开始播放或者播放时长在预设时长之内,即刷新为别的视频的情况的总次数。Among them, the exposure amount can be understood as the refresh amount. For example, when the pre-stored data is a video, the exposure amount can be understood as the total number of times the user refreshes to the video but does not wait until the video starts playing or the playing time is within the preset time, that is, refreshes to other videos.
这样,由于待排序指标的种类较多,从而使得基于待排序指标对数据进行排序的方式更加多样化和更加灵活化,从而使得数据的排序效果更好。In this way, since there are many types of indicators to be sorted, the way of sorting data based on the indicators to be sorted is more diversified and more flexible, thereby achieving a better data sorting effect.
步骤102、判断所述待排序指标是否为已有排序指标,基于所述待排序指标的判断结果向第一队列或第二队列发送数据调度指令;Step 102: determine whether the to-be-sorted index is an existing sorting index, and send a data scheduling instruction to the first queue or the second queue based on the determination result of the to-be-sorted index;
步骤103、基于所述数据调度指令控制所述第一队列或者所述第二队列基于所述待排序指标生成排序数据;Step 103: Based on the data scheduling instruction, control the first queue or the second queue to generate sorting data based on the to-be-sorted indicator;
步骤104、控制所述第一队列或者所述第二队列提供所述排序数据。Step 104: Control the first queue or the second queue to provide the sorted data.
其中,本发明实施例的工作原理可以参见以下表述:The working principle of the embodiment of the present invention can be seen in the following description:
本发明实施例中,可以根据待排序指标是否为已有排序指标的判断结果确定对应的第一队列或者第二队列提供排序数据,判断结果不同,对应的队列也不同。这样,与通过固定的队列提供排序数据的方式相比,本发明实施例可以增强提供排序数据的方式的灵活性和智能化程度,且不会降低第一队列和第二队列的吞吐量,同时由于不同的判断结果对应的队列不同,也就是说:每一种判断结果具有唯一对应的队列用于提供排序数据,从而使得排序数据的排序效果较好。In the embodiment of the present invention, the first queue or the second queue corresponding to the sorting data can be determined according to the judgment result of whether the index to be sorted is an existing sorting index. Different judgment results correspond to different queues. In this way, compared with the method of providing sorting data through a fixed queue, the embodiment of the present invention can enhance the flexibility and intelligence of the method of providing sorting data, and will not reduce the throughput of the first queue and the second queue. At the same time, because different judgment results correspond to different queues, that is to say, each judgment result has a unique corresponding queue for providing sorting data, so that the sorting effect of the sorting data is better.
需要说明的是,判断结果与队列之间的对应关系在此不做具体限定,例如:作为一种可选的实施方式,当判断结果为待排序指标不是已有排序指标时,可以控制第二队列提供排序数据;当待排序指标是已有排序指标时,可以控制第一队列提供排序数据。It should be noted that the correspondence between the judgment result and the queue is not specifically limited here. For example, as an optional implementation, when the judgment result is that the indicator to be sorted is not an existing sorting indicator, the second queue can be controlled to provide sorting data; when the indicator to be sorted is an existing sorting indicator, the first queue can be controlled to provide sorting data.
另外,作为另一种可选的实施方式,所述基于所述待排序指标的判断结果向第一队列或第二队列发送数据调度指令,包括:In addition, as another optional implementation, the sending of the data scheduling instruction to the first queue or the second queue based on the judgment result of the to-be-sorted indicator includes:
在所述待排序指标不是已有排序指标的情况下,向所述第一队列发送第一数据调度指令,所述第一队列的标志位为第一标识;When the to-be-sorted index is not an existing sorting index, sending a first data scheduling instruction to the first queue, the flag bit of the first queue being a first identifier;
所述基于所述数据调度指令控制所述第一队列或者所述第二队列基于所述待排序指标生成排序数据,包括:The controlling the first queue or the second queue to generate sorting data based on the to-be-sorted indicator based on the data scheduling instruction includes:
基于所述第一数据调度指令对待排序数据赋予所述待排序指标对应的值;Assigning a value corresponding to the to-be-sorted index to the to-be-sorted data based on the first data scheduling instruction;
控制所述第一队列基于所述待排序指标对应的值对所述待排序数据进行排序,以生成第一排序数据;Controlling the first queue to sort the data to be sorted based on the value corresponding to the to-be-sorted indicator to generate first sorted data;
所述控制所述第一队列或者所述第二队列提供所述排序数据,包括:The controlling the first queue or the second queue to provide the sorted data comprises:
在所述第一队列的标志位切换为第二标识的情况下,控制所述第一队列提供所述第一排序数据。When the flag bit of the first queue is switched to the second flag, the first queue is controlled to provide the first sorted data.
本发明实施方式中,待排序指标不是已有排序指标时,可以先对待排序数据赋予待排序指标对应的值,并基于待排序指标对应的值对待排序数据进行排序,以生成第一排序数据,然后控制第一队列提供第一排序数据,这样,可以使得第一排序数据是基于待排序指标对应的值进行排序,从而使得第一排序数据的排序结果较为准确。In an implementation manner of the present invention, when the index to be sorted is not an existing sorting index, the data to be sorted can be first assigned a value corresponding to the index to be sorted, and the data to be sorted can be sorted based on the value corresponding to the index to be sorted to generate first sorting data, and then the first queue is controlled to provide the first sorting data. In this way, the first sorting data can be sorted based on the value corresponding to the index to be sorted, so that the sorting result of the first sorting data is more accurate.
需要说明的是,第一标识和第二标识可以不同,当第一队列的标志位为第一标识时,第一队列可以用于对数据进行排序。当第一队列的标志位为第二标识时,第一队列可以用于传输数据,例如:接收数据或者发送数据(也可以被称作为弹出数据)。It should be noted that the first identifier and the second identifier may be different, and when the flag of the first queue is the first identifier, the first queue may be used to sort the data. When the flag of the first queue is the second identifier, the first queue may be used to transmit data, for example, to receive data or to send data (also referred to as pop-up data).
需要说明的是,已有排序指标可以指的是本地已存在的排序指标,而不是已有排序指标则可以指的是本地不存在的排序指标。It should be noted that the existing sorting index may refer to a sorting index that already exists locally, and the non-existing sorting index may refer to a sorting index that does not exist locally.
另外,对待排序数据赋予待排序指标对应的值可以由第一队列执行,当然,也可以由其他部件执行,具体在此不做限定。In addition, assigning the value corresponding to the to-be-sorted index to the to-be-sorted data may be executed by the first queue, and of course, may also be executed by other components, which is not specifically limited here.
另外,待排序数据进行排序时,可以按照优先级策略或者排序策略进行排序,而上述优先级策略或者排序策略可以理解为:按照对应的数值从大到小或者从小到大的顺序进行排列。In addition, when the data to be sorted is sorted, it can be sorted according to a priority strategy or a sorting strategy, and the above priority strategy or sorting strategy can be understood as: arranging in order from large to small or from small to large according to the corresponding numerical values.
另外,待排序指标对应的值可以被称作为model类,其可以根据代码生成库cglib生成得到。这样,使得生成的待排序指标对应的值的准确度更高,且生成方式更加简单。In addition, the value corresponding to the index to be sorted can be called a model class, which can be generated according to the code generation library cglib. In this way, the accuracy of the value corresponding to the index to be sorted is higher and the generation method is simpler.
作为另一种可选的实施方式,所述基于所述待排序指标的判断结果向第一队列或第二队列发送数据调度指令,还包括:As another optional implementation, the sending of the data scheduling instruction to the first queue or the second queue based on the judgment result of the to-be-sorted indicator further includes:
在所述待排序指标是已有排序指标的情况下,向所述第二队列发送第二数据调度指令;When the to-be-sorted indicator is an existing sorting indicator, sending a second data scheduling instruction to the second queue;
所述基于所述数据调度指令控制所述第一队列或者所述第二队列基于所述待排序指标生成排序数据,还包括:The step of controlling the first queue or the second queue to generate sorted data based on the to-be-sorted indicator based on the data scheduling instruction further includes:
基于所述第二数据调度指令控制所述第二队列对待排序数据进行排序,以生成第二排序数据;Controlling the second queue to sort the data to be sorted based on the second data scheduling instruction to generate second sorted data;
所述控制所述第一队列或者所述第二队列提供所述排序数据,还包括:The controlling the first queue or the second queue to provide the sorted data further includes:
在所述第二队列的标志位为第二标识的情况下,控制所述第二队列提供所述第二排序数据。When the flag bit of the second queue is the second identifier, the second queue is controlled to provide the second sorted data.
本发明实施方式中,待排序指标是已有排序指标时,可以直接控制第二队列提供第二排序数据,这样,可以对待排序指标不是已有排序指标时的排序数据的提供方式进行区分,增强排序数据的提供方式的灵活性和智能化程度。另外,当待排序指标是已有排序指标时,可以直接控制第二队列提供第二排序数据,这样,无需对待排序数据进行赋值,使得还可以提高第二排序数据的提供速度。In the implementation manner of the present invention, when the index to be sorted is an existing sorting index, the second queue can be directly controlled to provide the second sorting data, so that the provision method of the sorting data when the index to be sorted is not an existing sorting index can be distinguished, and the flexibility and intelligence of the provision method of the sorting data can be enhanced. In addition, when the index to be sorted is an existing sorting index, the second queue can be directly controlled to provide the second sorting data, so that there is no need to assign a value to the data to be sorted, so that the provision speed of the second sorting data can also be improved.
需要说明的是,第一标识和第二标识可以参见上述实施方式中的相应表述,具体在此不再赘述。It should be noted that the first identifier and the second identifier can refer to the corresponding descriptions in the above implementation manner, and will not be described in detail here.
例如:参见图4,可以获取到待排序指标的字段名称(也可以理解为待排序指标的值),然后通过逻辑判断,待排序数据中是否有待排序指标的字段名称(也就是判断待排序指标的字段是否为新增字段),若没有,则需要为待排序数据中的每一份数据赋予待排序指标对应的值,调用排序逻辑,且根据待排序指标对应的值对待排序数据进行排序。若有,直接调用排序逻辑,并根据待排序指标对应的值对待排序数据进行排序。For example: referring to Figure 4, the field name of the indicator to be sorted (which can also be understood as the value of the indicator to be sorted) can be obtained, and then through logical judgment, whether there is the field name of the indicator to be sorted in the data to be sorted (that is, whether the field of the indicator to be sorted is a newly added field). If not, it is necessary to assign the value corresponding to the indicator to be sorted to each piece of data to be sorted, call the sorting logic, and sort the data to be sorted according to the value corresponding to the indicator to be sorted. If yes, directly call the sorting logic and sort the data to be sorted according to the value corresponding to the indicator to be sorted.
上述排序逻辑即可以为上述的优先级策略或者排序策略。The above-mentioned sorting logic may be the above-mentioned priority strategy or sorting strategy.
另外,当待排序数据中的每一份数据存在待排序指标对应的值时,在对排序指标进行切换时(例如:由当前排序指标切换至待排序指标),可以通过反射的方式获取到待切换排序指标(也就是待排序指标)的对应的字段,然后根据对应的字段进行排序。In addition, when each piece of data to be sorted has a value corresponding to the index to be sorted, when the sorting index is switched (for example: switching from the current sorting index to the index to be sorted), the corresponding field of the sorting index to be switched (that is, the index to be sorted) can be obtained by reflection, and then sorting can be performed according to the corresponding field.
需要说明的是,当待排序数据不具备待排序指标的值,但是当待排序数据中的每一份数据赋予对应的待排序指标的值之后,在对待排序数据基于待排序指标的值排序之前,可以先获取到排序策略,然后基于排序策略和待排序指标的值对待排序数据进行排序。It should be noted that when the data to be sorted does not have the value of the indicator to be sorted, but after each piece of data in the data to be sorted is assigned the value of the corresponding indicator to be sorted, before the data to be sorted is sorted based on the value of the indicator to be sorted, the sorting strategy can be obtained first, and then the data to be sorted can be sorted based on the sorting strategy and the value of the indicator to be sorted.
同理,当待排序数据具备所述待排序指标的值,在对待排序数据基于待排序指标的值排序之前,同样可以先获取到排序策略,然后基于排序策略和待排序指标的值对预存数据进行排序。Similarly, when the data to be sorted has the value of the index to be sorted, before sorting the data to be sorted based on the value of the index to be sorted, the sorting strategy can also be obtained first, and then the pre-stored data can be sorted based on the sorting strategy and the value of the index to be sorted.
上述排序策略可以为优先级策略,即可以包括按照待排序指标的值从大到小排序,以及,按照待排序指标的值从小到大排序。The above-mentioned sorting strategy may be a priority strategy, that is, it may include sorting from large to small according to the value of the index to be sorted, and sorting from small to large according to the value of the index to be sorted.
另外,在根据待排序指标的值对待排序数据进行排序时,可以将某一个数据的待排序指标的值与其他数据的待排序指标的值进行对比,从而将该数据排序至对应的位置。例如:参见图5,每一个圆圈可以表示一个数据,圆圈内的数值则可以表示该数据的待排序指标的值,而箭头所示的数值则可以表示该数据与圆圈所示的数据之间的匹配顺序,如某一个数据的待排序指标的值为-1,则其可以依次按照507、506、505、504、503、502和501的先后顺序,分别与每一个圆圈内的数值进行比较,最终确定-1小于0,因此,该数据的位置应该排在501所示圆圈的上方。In addition, when sorting the data to be sorted according to the value of the to-be-sorted index, the value of the to-be-sorted index of a certain data can be compared with the values of the to-be-sorted index of other data, so as to sort the data to the corresponding position. For example, referring to FIG5 , each circle can represent a data, the value in the circle can represent the value of the to-be-sorted index of the data, and the value indicated by the arrow can represent the matching order between the data and the data indicated by the circle. For example, if the value of the to-be-sorted index of a certain data is -1, it can be compared with the value in each circle in the order of 507, 506, 505, 504, 503, 502 and 501, and finally determine that -1 is less than 0, so the position of the data should be arranged above the circle indicated by 501.
作为一种可选的实施方式,所述待排序数据包括:基于所述已有排序指标的排序数据和增量数据。这样,由于待排序数据中包括基于已有排序指标完成排序的排序数据和增量数据,从而使得待排序数据更加全面,进而使得排序结果更加准确。As an optional implementation, the data to be sorted includes: sorted data and incremental data based on the existing sorting index. In this way, since the data to be sorted includes sorted data and incremental data sorted based on the existing sorting index, the data to be sorted is more comprehensive, and the sorting result is more accurate.
其中,数据排序可以理解为分周期进行排序,而上述待排序数据可以理解为在当前周期内,需要进行排序的数据,而基于已有排序指标的排序数据则可以理解为当前周期之前已完成排序的排序数据,而增量数据可以理解为:在对上述基于已有排序指标的排序数据进行排序时,新接收到的数据(也可以理解为在当前周期之前新接收到的数据,但是未参与前一周期排序的数据)。Among them, data sorting can be understood as sorting by period, and the above-mentioned data to be sorted can be understood as data that needs to be sorted in the current period, and the sorting data based on the existing sorting indicators can be understood as the sorting data that has been sorted before the current period, and the incremental data can be understood as: when sorting the above-mentioned sorting data based on the existing sorting indicators, the newly received data (it can also be understood as the data newly received before the current period, but the data that did not participate in the sorting of the previous period).
另外,由于第一队列和第二队列上均具有标志位,可以通过判断第一队列和第二队列中至少一者的标志位的状态,从而确定第一队列和第二队列的功能。In addition, since both the first queue and the second queue have flag bits, the functions of the first queue and the second queue can be determined by judging the state of the flag bit of at least one of the first queue and the second queue.
例如:第一队列可以为优先级队列(priorityQue)A,第二队列可以为priorityQueB,而第一队列的标志位可以被称作为used_flag_A,相对应的,第二队列的标志位可以被称作为used_flag_B,这样,参见图2,当接收到增量数据时,可以通过判断used_flag_A和/或used_flag_B的状态,可以将used_flag_A和used_flag_B中状态为正确(true)状态的标志位对应的队列的功能确定为传输数据,而状态为错误(false)状态的标志位对应的队列的功能确定为排序,例如:used_flag_A=false,used_flag_B=true,则第一队列为用于对数据进行排序,而第二队列用于传输数据,从而可以准确且快速的确定第一队列和第二队列的功能。For example: the first queue can be priority queue (priorityQue) A, the second queue can be priorityQueB, and the flag bit of the first queue can be called used_flag_A, and correspondingly, the flag bit of the second queue can be called used_flag_B. In this way, referring to Figure 2, when incremental data is received, the status of used_flag_A and/or used_flag_B can be judged, and the function of the queue corresponding to the flag bit in the correct (true) state in used_flag_A and used_flag_B can be determined as transmitting data, and the function of the queue corresponding to the flag bit in the error (false) state can be determined as sorting. For example: used_flag_A=false, used_flag_B=true, then the first queue is used to sort data, and the second queue is used to transmit data, so that the functions of the first queue and the second queue can be accurately and quickly determined.
需要说明的是,传输数据可以指的是发送数据或者接收数据,而对数据进行排序则可以指的是对待排序数据进行排序。It should be noted that transmitting data may refer to sending data or receiving data, and sorting data may refer to sorting data to be sorted.
需要说明的是,第一队列和第二队列的功能可以是固定不变的,当然也可以是相互切换的。It should be noted that the functions of the first queue and the second queue may be fixed, or they may be switched to each other.
例如:作为一种可选的实施方式,所述控制所述第一队列或者所述第二队列提供所述排序数据,还包括:For example, as an optional implementation, the controlling the first queue or the second queue to provide the sorting data further includes:
从所述第一队列的标志位确定为所述第一标识的时刻开始,经过预设周期的情况下,将所述第一队列的标志位切换为所述第二标识,并将所述第二队列的标志位由所述第二标识切换为所述第一标识。Starting from the moment when the flag bit of the first queue is determined to be the first identifier, after a preset period, the flag bit of the first queue is switched to the second identifier, and the flag bit of the second queue is switched from the second identifier to the first identifier.
其中,预设周期的具体取值在此不做限定,例如:可以为10毫秒或者1秒等。另外,预设周期的取值可以根据第一队列对预存数据完成排序的时长确定。The specific value of the preset period is not limited here, for example, it can be 10 milliseconds or 1 second, etc. In addition, the value of the preset period can be determined according to the time length for the first queue to complete sorting of the pre-stored data.
这样,通过切换第一队列和第二队列的标志位的标识,从而完成第一队列和第二队列的功能的切换,从而使得对提供排序数据和接收数据时更加灵活,同时,还可以使得第一队列和第二队列之前的功能可以相互切换,当一个队列发声故障时,另一个队列还可以通过切换实现不同的功能,从而保证不同的功能可以正常实现,从而使得功能的稳定性更好。In this way, by switching the flag bits of the first queue and the second queue, the functions of the first queue and the second queue are switched, which makes it more flexible to provide sorted data and receive data. At the same time, the functions of the first queue and the second queue can be switched with each other. When one queue fails to sound, the other queue can also implement different functions through switching, thereby ensuring that different functions can be implemented normally, thereby making the stability of the functions better.
例如:在经过预设周期之后,可以通过将第一队列和第二队列对应的标志位的状态逆置,从而切换第一队列和第二队列的功能。例如:参见图3,将第一队列和第二队列两个队列关联的标志位进行逆置,就是原来的标志位的状态为used_flagA=true,used_flagB=false,逆置后为used_flagA=false,used_flagB=true;然后,这样,就完成了将第一队列和第二队列的功能的切换。当然,后续还可以再经过预设周期之后,再次对第一队列和第二队列的功能进行再次切换,即可以循环执行第一队列和第二队列的功能的切换。For example: after a preset period, the functions of the first queue and the second queue can be switched by reversing the states of the flags corresponding to the first queue and the second queue. For example: referring to FIG3, the flags associated with the first queue and the second queue are reversed, that is, the original states of the flags are used_flagA=true, used_flagB=false, and after the reversal, used_flagA=false, used_flagB=true; then, in this way, the switching of the functions of the first queue and the second queue is completed. Of course, the functions of the first queue and the second queue can be switched again after a preset period, that is, the switching of the functions of the first queue and the second queue can be executed cyclically.
参见图6,图6为本发明实施例还提供一种数据处理装置的结构示意图,如图6所示,数据处理装置600包括:Referring to FIG. 6 , FIG. 6 is a schematic diagram of the structure of a data processing device further provided in an embodiment of the present invention. As shown in FIG. 6 , the data processing device 600 includes:
获取模块601,用于获取待排序指标;The acquisition module 601 is used to acquire the index to be sorted;
判断模块602,用于判断所述待排序指标是否为已有排序指标,基于所述待排序指标的判断结果向第一队列或第二队列发送数据调度指令;A judgment module 602 is used to judge whether the to-be-sorted index is an existing sorting index, and send a data scheduling instruction to the first queue or the second queue based on the judgment result of the to-be-sorted index;
第一控制模块603,用于基于所述数据调度指令控制所述第一队列或者所述第二队列基于所述待排序指标生成排序数据;A first control module 603, configured to control the first queue or the second queue to generate sorted data based on the to-be-sorted indicator based on the data scheduling instruction;
第二控制模块604,用于控制所述第一队列或者所述第二队列提供所述排序数据。The second control module 604 is used to control the first queue or the second queue to provide the sorted data.
可选地,所述判断模块602,还用于在所述待排序指标不是已有排序指标的情况下,向所述第一队列发送第一数据调度指令,所述第一队列的标志位为第一标识;Optionally, the judgment module 602 is further configured to send a first data scheduling instruction to the first queue when the to-be-sorted index is not an existing sorting index, and the flag bit of the first queue is a first identifier;
所述第一控制模块603,包括:The first control module 603 includes:
赋予子模块,用于基于所述第一数据调度指令对待排序数据赋予所述待排序指标对应的值;An assigning submodule, configured to assign a value corresponding to the to-be-sorted index to the to-be-sorted data based on the first data scheduling instruction;
控制子模块,用于控制所述第一队列基于所述待排序指标对应的值对所述待排序数据进行排序,以生成第一排序数据;A control submodule, used for controlling the first queue to sort the data to be sorted based on the value corresponding to the to-be-sorted index to generate first sorted data;
所述第二控制模块604,还用于在所述第一队列的标志位切换为第二标识的情况下,控制所述第一队列提供所述第一排序数据。The second control module 604 is further configured to control the first queue to provide the first sorted data when the flag bit of the first queue is switched to a second flag.
可选地,所述判断模块602,还用于在所述待排序指标是已有排序指标的情况下,向所述第二队列发送第二数据调度指令;Optionally, the judging module 602 is further configured to send a second data scheduling instruction to the second queue when the to-be-sorted indicator is an existing sorted indicator;
所述第一控制模块603,还用于基于所述第二数据调度指令控制所述第二队列对待排序数据进行排序,以生成第二排序数据;The first control module 603 is further configured to control the second queue to sort the data to be sorted based on the second data scheduling instruction to generate second sorted data;
所述第二控制模块604,还用于在所述第二队列的标志位为第二标识的情况下,控制所述第二队列提供所述第二排序数据。The second control module 604 is further configured to control the second queue to provide the second sorted data when the flag bit of the second queue is a second identifier.
可选地,所述待排序数据包括:基于所述已有排序指标的排序数据和增量数据。Optionally, the data to be sorted includes: sorted data based on the existing sorting index and incremental data.
可选地,所述第二控制模块604,还包括:Optionally, the second control module 604 further includes:
切换子模块,用于从所述第一队列的标志位确定为所述第一标识的时刻开始,经过预设周期的情况下,将所述第一队列的标志位切换为所述第二标识,并将所述第二队列的标志位由所述第二标识切换为所述第一标识。The switching submodule is used to switch the flag bit of the first queue to the second identifier and switch the flag bit of the second queue from the second identifier to the first identifier after a preset period starting from the moment when the flag bit of the first queue is determined to be the first identifier.
可选地,所述待排序指标包括:播放量、曝光量、点赞量和评论量中的任意一种。Optionally, the index to be sorted includes: any one of: playback volume, exposure volume, like volume and comment volume.
这样,本发明实施例提供的数据处理装置同样可以使得对排序数据的排序效果较好。In this way, the data processing device provided by the embodiment of the present invention can also achieve a better sorting effect on sorted data.
本发明实施例还提供了一种服务器,如图7所示,包括处理器701、通信接口702、存储器703和通信总线704,其中,处理器701,通信接口702,存储器703通过通信总线704完成相互间的通信,The embodiment of the present invention further provides a server, as shown in FIG. 7 , including a processor 701, a communication interface 702, a memory 703 and a communication bus 704, wherein the processor 701, the communication interface 702, and the memory 703 communicate with each other via the communication bus 704.
存储器703,用于存放计算机程序;Memory 703, used for storing computer programs;
处理器701,用于执行存储器703上所存放的程序时,实现如下步骤:The processor 701 is used to execute the program stored in the memory 703 to implement the following steps:
获取待排序指标;Get the index to be sorted;
判断所述待排序指标是否为已有排序指标,基于所述待排序指标的判断结果向第一队列或第二队列发送数据调度指令;Determine whether the to-be-sorted index is an existing sorting index, and send a data scheduling instruction to the first queue or the second queue based on the determination result of the to-be-sorted index;
基于所述数据调度指令控制所述第一队列或者所述第二队列基于所述待排序指标生成排序数据;Controlling the first queue or the second queue to generate sorted data based on the to-be-sorted indicator based on the data scheduling instruction;
控制所述第一队列或者所述第二队列提供所述排序数据。Control the first queue or the second queue to provide the sorted data.
可选地,处理器701,执行的所述基于所述待排序指标的判断结果向第一队列或第二队列发送数据调度指令,包括:Optionally, the processor 701 executes the sending of a data scheduling instruction to the first queue or the second queue based on the judgment result of the to-be-sorted indicator, including:
在所述待排序指标不是已有排序指标的情况下,向所述第一队列发送第一数据调度指令,所述第一队列的标志位为第一标识;When the to-be-sorted index is not an existing sorting index, sending a first data scheduling instruction to the first queue, the flag bit of the first queue being a first identifier;
所述基于所述数据调度指令控制所述第一队列或者所述第二队列基于所述待排序指标生成排序数据,包括:The controlling the first queue or the second queue to generate sorting data based on the to-be-sorted indicator based on the data scheduling instruction includes:
基于所述第一数据调度指令对待排序数据赋予所述待排序指标对应的值;Assigning a value corresponding to the to-be-sorted index to the to-be-sorted data based on the first data scheduling instruction;
控制所述第一队列基于所述待排序指标对应的值对所述待排序数据进行排序,以生成第一排序数据;Controlling the first queue to sort the data to be sorted based on the value corresponding to the to-be-sorted indicator to generate first sorted data;
所述控制所述第一队列或者所述第二队列提供所述排序数据,包括:The controlling the first queue or the second queue to provide the sorted data comprises:
在所述第一队列的标志位切换为第二标识的情况下,控制所述第一队列提供所述第一排序数据。When the flag bit of the first queue is switched to the second flag, the first queue is controlled to provide the first sorted data.
可选地,处理器701,执行的所述基于所述待排序指标的判断结果向第一队列或第二队列发送数据调度指令,包括:Optionally, the processor 701 executes the sending of a data scheduling instruction to the first queue or the second queue based on the judgment result of the to-be-sorted indicator, including:
在所述待排序指标是已有排序指标的情况下,向所述第二队列发送第二数据调度指令;When the to-be-sorted indicator is an existing sorting indicator, sending a second data scheduling instruction to the second queue;
所述基于所述数据调度指令控制所述第一队列或者所述第二队列基于所述待排序指标生成排序数据,还包括:The step of controlling the first queue or the second queue to generate sorted data based on the to-be-sorted indicator based on the data scheduling instruction further includes:
基于所述第二数据调度指令控制所述第二队列对待排序数据进行排序,以生成第二排序数据;Controlling the second queue to sort the data to be sorted based on the second data scheduling instruction to generate second sorted data;
所述控制所述第一队列或者所述第二队列提供所述排序数据,还包括:The controlling the first queue or the second queue to provide the sorted data further includes:
在所述第二队列的标志位为第二标识的情况下,控制所述第二队列提供所述第二排序数据。When the flag bit of the second queue is the second identifier, the second queue is controlled to provide the second sorted data.
可选地,所述待排序数据包括:基于所述已有排序指标的排序数据和增量数据。Optionally, the data to be sorted includes: sorted data based on the existing sorting index and incremental data.
可选地,处理器701,执行的所述控制所述第一队列或者所述第二队列提供所述排序数据,还包括:Optionally, the controlling the first queue or the second queue to provide the sorting data executed by the processor 701 further includes:
从所述第一队列的标志位确定为所述第一标识的时刻开始,经过预设周期的情况下,将所述第一队列的标志位切换为所述第二标识,并将所述第二队列的标志位由所述第二标识切换为所述第一标识。Starting from the moment when the flag bit of the first queue is determined to be the first identifier, after a preset period, the flag bit of the first queue is switched to the second identifier, and the flag bit of the second queue is switched from the second identifier to the first identifier.
可选地,所述待排序指标包括:播放量、曝光量、点赞量和评论量中的任意一种。Optionally, the index to be sorted includes: any one of: playback volume, exposure volume, like volume and comment volume.
上述终端提到的通信总线可以是外设部件互连标准(Peripheral ComponentInterconnect,简称PCI)总线或扩展工业标准结构(Extended Industry StandardArchitecture,简称EISA)总线等。该通信总线可以分为地址总线、数据总线、控制总线等。为便于表示,图中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。The communication bus mentioned in the above terminal can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. The communication bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus.
通信接口用于上述终端与其他设备之间的通信。The communication interface is used for communication between the above terminal and other devices.
存储器可以包括随机存取存储器(Random Access Memory,简称RAM),也可以包括非易失性存储器(non-volatile memory),例如至少一个磁盘存储器。可选的,存储器还可以是至少一个位于远离前述处理器的存储装置。The memory may include a random access memory (RAM) or a non-volatile memory, such as at least one disk memory. Optionally, the memory may also be at least one storage device located away from the aforementioned processor.
上述的处理器可以是通用处理器,包括中央处理器(Central Processing Unit,简称CPU)、网络处理器(Network Processor,简称NP)等;还可以是数字信号处理器(Digital Signal Processing,简称DSP)、专用集成电路(Application SpecificIntegrated Circuit,简称ASIC)、现场可编程门阵列(Field-Programmable Gate Array,简称FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。The above-mentioned processor can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.
在本发明提供的又一实施例中,还提供了一种计算机可读存储介质,该计算机可读存储介质中存储有指令,当其在计算机上运行时,使得计算机执行上述实施例中任一所述的数据处理方法。In another embodiment of the present invention, a computer-readable storage medium is provided. The computer-readable storage medium stores instructions. When the instructions are executed on a computer, the computer executes the data processing method described in any one of the above embodiments.
在本发明提供的又一实施例中,还提供了一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行上述实施例中任一所述的数据处理方法。In another embodiment of the present invention, a computer program product including instructions is provided. When the computer program product is run on a computer, the computer executes the data processing method described in any one of the above embodiments.
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。所述计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行所述计算机程序指令时,全部或部分地产生按照本发明实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线(DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质,(例如,软盘、硬盘、磁带)、光介质(例如,DVD)、或者半导体介质(例如固态硬盘Solid State Disk(SSD))等。In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented by software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present invention is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from a website site, computer, server or data center to another website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrated. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state hard disk Solid State Disk (SSD)), etc.
需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.
本说明书中的各个实施例均采用相关的方式描述,各个实施例之间相同相似的部分互相参见即可,每个实施例重点说明的都是与其他实施例的不同之处。尤其,对于系统实施例而言,由于其基本相似于方法实施例,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。Each embodiment in this specification is described in a related manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
以上所述仅为本发明的较佳实施例而已,并非用于限定本发明的保护范围。凡在本发明的精神和原则之内所作的任何修改、等同替换、改进等,均包含在本发明的保护范围内。The above description is only a preferred embodiment of the present invention and is not intended to limit the protection scope of the present invention. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention are included in the protection scope of the present invention.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110163166.5A CN114860189B (en) | 2021-02-05 | 2021-02-05 | Data processing method, device, server and readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110163166.5A CN114860189B (en) | 2021-02-05 | 2021-02-05 | Data processing method, device, server and readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114860189A CN114860189A (en) | 2022-08-05 |
CN114860189B true CN114860189B (en) | 2024-11-01 |
Family
ID=82627400
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110163166.5A Active CN114860189B (en) | 2021-02-05 | 2021-02-05 | Data processing method, device, server and readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114860189B (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108763458A (en) * | 2018-05-28 | 2018-11-06 | 腾讯科技(深圳)有限公司 | Content characteristic querying method, device, computer equipment and storage medium |
CN110837410A (en) * | 2019-10-30 | 2020-02-25 | 北京奇艺世纪科技有限公司 | Task scheduling method and device, electronic equipment and computer readable storage medium |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI587214B (en) * | 2016-04-21 | 2017-06-11 | 慧榮科技股份有限公司 | Data storage device, control unit and task ordering method thereof |
US10476801B1 (en) * | 2018-04-27 | 2019-11-12 | Nicira, Inc. | Dynamic distribution of RSS engines to virtual machines based on flow data |
CN110113495A (en) * | 2019-05-10 | 2019-08-09 | 北京奇艺世纪科技有限公司 | Long-range control method, device, electronic equipment and the system of APP |
CN111988669B (en) * | 2020-08-24 | 2022-06-03 | 北京达佳互联信息技术有限公司 | Video interaction data processing method and device, electronic equipment and storage medium |
-
2021
- 2021-02-05 CN CN202110163166.5A patent/CN114860189B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108763458A (en) * | 2018-05-28 | 2018-11-06 | 腾讯科技(深圳)有限公司 | Content characteristic querying method, device, computer equipment and storage medium |
CN110837410A (en) * | 2019-10-30 | 2020-02-25 | 北京奇艺世纪科技有限公司 | Task scheduling method and device, electronic equipment and computer readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN114860189A (en) | 2022-08-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110022259B (en) | Message arrival rate determining method and device, data statistics server and storage medium | |
CN112241362B (en) | A testing method, device, server and storage medium | |
WO2021208682A1 (en) | Data sampling method, apparatus and device for network device, and medium | |
CN109726821B (en) | Data equalization method, apparatus, computer-readable storage medium and electronic device | |
US7334059B2 (en) | Multiple burst protocol device controller | |
CN111355765B (en) | A method and device for processing and sending network requests | |
CN114860189B (en) | Data processing method, device, server and readable storage medium | |
CN110717050A (en) | Method and device for accessing knowledge map database | |
CN114448848A (en) | Test method, device, electronic device and storage medium for a switch | |
WO2024152608A1 (en) | Acl management method and apparatus, communication device, and storage medium | |
CN112330306A (en) | Business Process-Based Business Processing Method and Device | |
CN109542775B (en) | A method and device for generating and executing a test script | |
CN115633044B (en) | Message processing methods, devices, electronic equipment and storage media | |
CN110020166B (en) | Data analysis method and related equipment | |
CN110716867A (en) | Method, device and equipment for detecting multi-page jump pressure | |
CN107220811B (en) | Method and device for activating nodes in process | |
CN113867778B (en) | Image file generation method and device, electronic equipment and storage medium | |
CN113609041A (en) | Data transmission method and system | |
CN118101622B (en) | Node address allocation method and device based on CAN communication | |
CN112288990A (en) | Method, system, medium and device for generating internet of things event based on internet of things data | |
CN113391872B (en) | Task processing method and device, electronic equipment and storage medium | |
CN116800827A (en) | Data interaction module and method for reducing virtual reality delay and electronic equipment | |
CN117215917A (en) | Method and device for determining detection mode | |
CN114528420A (en) | Multimedia data sorting method, data storage system, device and electronic equipment | |
CN117240805A (en) | Message processing method, device, equipment, vehicle and storage medium |
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 |