CN115062232A - Label processing method for civil aviation data, electronic equipment and storage medium - Google Patents

Label processing method for civil aviation data, electronic equipment and storage medium Download PDF

Info

Publication number
CN115062232A
CN115062232A CN202210993636.5A CN202210993636A CN115062232A CN 115062232 A CN115062232 A CN 115062232A CN 202210993636 A CN202210993636 A CN 202210993636A CN 115062232 A CN115062232 A CN 115062232A
Authority
CN
China
Prior art keywords
label
data
target
tag
data source
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
CN202210993636.5A
Other languages
Chinese (zh)
Other versions
CN115062232B (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.)
China Travelsky Mobile Technology Co Ltd
Original Assignee
China Travelsky Mobile 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 China Travelsky Mobile Technology Co Ltd filed Critical China Travelsky Mobile Technology Co Ltd
Priority to CN202210993636.5A priority Critical patent/CN115062232B/en
Publication of CN115062232A publication Critical patent/CN115062232A/en
Application granted granted Critical
Publication of CN115062232B publication Critical patent/CN115062232B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9535Search customisation based on user profiles and personalisation
    • 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
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/02Marketing; Price estimation or determination; Fundraising
    • G06Q30/0201Market modelling; Market analysis; Collecting market data

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Business, Economics & Management (AREA)
  • Finance (AREA)
  • General Physics & Mathematics (AREA)
  • Strategic Management (AREA)
  • Development Economics (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • Accounting & Taxation (AREA)
  • Entrepreneurship & Innovation (AREA)
  • General Engineering & Computer Science (AREA)
  • Game Theory and Decision Science (AREA)
  • General Business, Economics & Management (AREA)
  • Marketing (AREA)
  • Economics (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The application provides a label processing method, electronic equipment and a storage medium for civil aviation data, wherein the method comprises the following steps: acquiring a label establishing instruction of a target label; determining at least one candidate data source from the plurality of data sources according to the type of the required data; determining whether a candidate data source pushed by a data providing mode for a provider exists or not under the condition that the type of the label is a real-time label; if the data source exists, determining the candidate data source pushed by the data providing mode as the provider as a target data source; otherwise, determining the candidate data source which is pulled by the data providing mode as the obtaining party as the target data source; and generating a target real-time label and establishing an incidence relation with a target data source. According to the method and the device, when a new label is built, the corresponding label can be automatically built only by inputting the label type and the demand data type by a worker, the worker is prevented from independently screening the data source in a manual mode, and the efficiency of tag building is improved.

Description

Label processing method for civil aviation data, electronic equipment and storage medium
Technical Field
The present application relates to field data processing, and in particular, to a tag processing method for civil aviation data, an electronic device, and a storage medium.
Background
Along with the progress of the internet, more and more software operators can mark the user by using the data label so as to better distinguish the user population and realize the accurate pushing of information. However, in the civil aviation field, the data types are more, and the same data can be acquired from a plurality of data sources. The result is that when setting the tag, a worker needs to expend a great deal of effort to select an appropriate data source for association of the tag. However, most of the processes are manually completed at present, and the efficiency is low.
Disclosure of Invention
In view of the above, the present application provides a tag processing method, an electronic device and a storage medium for civil aviation data, which at least partially solve the problems in the prior art.
In one aspect of the application, a tag processing method for civil aviation data is provided, which is applied to a tag management system, wherein the tag management system is in communication connection with a plurality of data sources;
the method comprises the following steps:
s100, acquiring a label establishing instruction of a target label; the label establishing instruction comprises a label type and a demand data type of a target label; the tag type is used for representing an update mode of the tag content of the target tag, and the requirement data type is used for representing a data type of target data used for generating the tag content of the target tag;
s200, determining at least one candidate data source in the plurality of data sources according to the type of the required data; the candidate data source can provide target data corresponding to the required data type for the label management system, and the data providing mode of the candidate data source is pulling by an acquirer or pushing by a provider;
s300, under the condition that the type of the label is a real-time label, determining whether a candidate data source pushed by a data providing mode for a provider exists; if yes, go to step S400; otherwise, go to step S500;
s400, determining a candidate data source pushed by a data providing mode as a provider as a target data source;
s500, determining a candidate data source which is pulled by the data providing mode as an obtaining party as a target data source;
s600, generating the target real-time label and establishing an incidence relation with the target data source;
the target real-time tag is provided with a corresponding processing function, and is configured to process target data according to the processing function after the target data provided by the target data source is acquired, so as to obtain tag content of the target real-time tag.
In another aspect of the present application, there is provided an electronic device comprising a processor and a memory;
the processor is configured to perform the steps of any of the above methods by calling a program or instructions stored in the memory.
In another aspect of the application, there is provided a non-transitory computer readable storage medium storing a program or instructions for causing a computer to perform the steps of any of the methods described above.
According to the label processing method for civil aviation data, a preset mapping table can be consulted through a demand data type, so that at least one candidate data source capable of providing target data corresponding to the demand data type is determined from a plurality of data sources. And under the condition that the type of the tag is a real-time tag, automatically determining a target data source from the candidate data sources according to the data supply mode of each candidate data source so as to complete the establishment of the target real-time tag. Therefore, when a new label is established, a worker can automatically establish a corresponding label only by inputting the label type and the required data type, the worker is prevented from independently screening a data source in a manual mode, and the label establishing efficiency is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a block diagram of a tag management system according to this embodiment.
Detailed Description
The embodiments of the present application will be described in detail below with reference to the accompanying drawings.
It should be noted that, in the case of no conflict, the features in the following embodiments and examples may be combined with each other; moreover, all other embodiments that can be derived by one of ordinary skill in the art from the embodiments disclosed herein without making any creative effort fall within the scope of the present disclosure.
It is noted that various aspects of the embodiments are described below within the scope of the appended claims. It should be apparent that the aspects described herein may be embodied in a wide variety of forms and that any specific structure and/or function described herein is merely illustrative. Based on the disclosure, one skilled in the art should appreciate that one aspect described herein may be implemented independently of any other aspects and that two or more of these aspects may be combined in various ways. For example, an apparatus may be implemented and/or a method practiced using any number of the aspects set forth herein. Additionally, such an apparatus may be implemented and/or such a method may be practiced using other structure and/or functionality in addition to one or more of the aspects set forth herein.
The embodiment provides a tag processing method for civil aviation data, which is applied to a tag management system shown in fig. 1, wherein the tag management system is in communication connection with a plurality of data sources; the data source may be a navigation server, airport server, or other data providing company server, etc. Specifically, at least one user tag corresponding to each user is stored in the tag management system. The same user tag may be provided between different users, and the tag content of the same user tag may be the same or different between different users. If the user tag is a gender tag, the tag content may be "male" or "female".
The method comprises the following steps:
s100, a label establishing instruction of the target label is obtained.
The label establishing instruction comprises a label type and a demand data type of a target label. The tag type is used for representing an updating mode of the tag content of the target tag, and the tag type comprises a real-time tag and an offline tag. The updating mode corresponding to the real-time tag is that the content of the tag is updated every time the target data source associated with the real-time tag changes the target data or pushes a notification message. The updating mode of the off-line label is to update every time the set time point is reached. That is, the data update frequency of the real-time tag is generally higher than that of the offline tag, so that the real-time tag can realize millisecond update. The time length level of the update of the off-line tag is longer than that of the real-time tag. That is, the tag content of the implementation tag has a higher level of timeliness than the tag content of the offline tag. The requirement data type is used for representing the data type of the target data used for generating the label content of the target label. The data type may be identification card information, age information, flight information, subscription information, and the like. And recording the data type of the data which can be provided by each data source through a preset mapping table. The target label can be suitable for any user meeting the conditions or needing to set the label, namely the target label is the user label to be newly established currently. Meanwhile, the target tag may be for a certain type of user, or may be for all users. In this embodiment, the target data is also generic data, and when the established target tag (e.g., the target real-time tag) is to be associated with a certain user, the target data is the data of the user that meets the type of the required data.
S200, determining at least one candidate data source in the plurality of data sources according to the type of the required data; the candidate data source can provide target data corresponding to the required data type for the label management system, and the data providing mode of the candidate data source is pulling by an acquirer or pushing by a provider. Specifically, the candidate data source may be determined by referring to the mapping table according to the type of the demand data.
S300, under the condition that the type of the label is a real-time label, determining whether a candidate data source pushed by a data providing mode for a provider exists. If yes, the process proceeds to step S400. Otherwise, the process proceeds to step S500.
S400, determining the candidate data source with the data providing mode pushed by the provider as the target data source.
And S500, determining the candidate data source which is pulled by the data providing mode as the acquirer as the target data source.
Because the real-time tag needs to update at millisecond level (namely, after the target data corresponding to the tag content changes, the update of the tag content is completed within millisecond time as much as possible), the data providing mode is that the candidate data source pushed by the provider can actively send the updated target data to the tag management system after the corresponding target data changes, or inform the tag management system that the target data has changed in a notification message mode, so that the tag management system actively acquires the updated target data. The data providing mode is that the candidate data source pulled by the acquirer only sends the target information to the tag management system when the tag management system actively pulls the target data, so that the tag management system needs to send a pulling request of the target data every few milliseconds in order to acquire the target data in time and realize millisecond-level updating, and the communication pressure of the tag management system is increased. Therefore, in this embodiment, step S300 is implemented to preferentially determine the candidate data source pushed by the data providing manner as the provider as the target data source.
S600, generating the target real-time label and establishing an incidence relation with the target data source.
The target real-time tag is provided with a corresponding processing function, and is configured to process target data according to the processing function after the target data provided by the target data source is acquired, so as to obtain tag content of the target real-time tag. The processing function may be preset, or may be set and associated after the target real-time tag is generated. The processing function is used for processing according to target data corresponding to a corresponding tag (such as a target real-time tag), so as to obtain corresponding tag content. The specific content of the processing function may be set according to the requirement of the corresponding tag, which is not limited in this embodiment.
It should be noted that, in this embodiment, there may be a plurality of demand data types, and there may also be a plurality of target data sources, that is, each demand data type corresponds to one target data source.
Meanwhile, when the target data source is determined, if a plurality of candidate data sources meeting the current condition are available, the determination may be performed according to a preset sorting table, and the candidate data source with the top sorting is determined as the target data source. In the sorting table, the sorting of the data source corresponding to each data type is recorded, and the sorting rule is to sort according to the data updating frequency and the data accuracy of the data source.
Of course, in some cases, a demand data type may also correspond to multiple target data sources, for example, if the demand data type is flight information, it is necessary to determine a corresponding target data source for each flight department.
According to the tag processing method for civil aviation data, a preset mapping table can be consulted through a demand data type, so that at least one candidate data source capable of providing target data corresponding to the demand data type is determined from a plurality of data sources. And under the condition that the type of the tag is a real-time tag, automatically determining a target data source from the candidate data sources according to the data supply mode of each candidate data source so as to complete the establishment of the target real-time tag. Therefore, when a new label is established, a worker can automatically establish a corresponding label only by inputting the label type and the required data type, the worker is prevented from independently screening a data source in a manual mode, and the label establishing efficiency is improved.
In an exemplary embodiment of the present application, an offline database is disposed within the tag management system;
after the step S600, the method further includes:
s710, establishing communication connection between the off-line database and each candidate data source; each candidate data source sends target data corresponding to the required data type to the offline database;
s720, establishing a data compensation task corresponding to the target real-time tag in the offline database;
and calling a data compensation function corresponding to the target real-time tag to process the target data received from each candidate data source to obtain compensation tag content and updating the tag content by using the compensation tag content by the data compensation task every time a first set time point is reached. The data accuracy of the compensation label content obtained by the data compensation function is higher than the data accuracy of the label content obtained by the processing function. And a data cleaning algorithm is arranged in the offline database to ensure the retention of correct data and the correction or deletion of error data. In this embodiment, the data cleansing algorithm may use an existing data cleansing algorithm, and this embodiment is not limited.
Since the target real-time tag needs to realize update of millisecond level, it cannot use a large amount of data for calculation, but only can be updated by the target data of the target data source. This also results in errors in the tag content of the target data provided by the target data source should they occur.
And the off-line database receives the target data of each candidate data source and can store other data, so that the off-line database can keep correct data through a data cleaning algorithm, and more comprehensive and more accurate data than a processing function is used for calculating to obtain the compensation label content of each target implementation label. However, because of the need of a large amount of data acquisition, cleaning and processing, the timeliness of obtaining the compensation tag content is not in the millisecond level, and a longer time is needed to ensure the accuracy of the compensation tag content as much as possible.
In this embodiment, in order to ensure the accuracy of the tag content of the target real-time tag as much as possible, a data compensation task corresponding to the target real-time tag is established in the offline database, so that the offline database updates the tag content of the corresponding target real-time tag after obtaining the compensation tag content each time, thereby further improving the accuracy of the tag content of the target real-time tag.
Specifically, the time length between every two adjacent first set time points of the data compensation task may be set according to the change frequency of the target data with the fastest change frequency among a plurality of target data of the target real-time tag. The faster the change frequency, the shorter the time length between every two adjacent first set time points.
In an exemplary embodiment of the present application, the target real-time tag has a corresponding content analysis function; the content analysis function is used for analyzing whether the current label content of the target real-time label is correct or not;
and when the content analysis function determines that the current label content of the target real-time label is an error, triggering the data compensation task to update the label content.
In this embodiment, a content analysis function is configured for the target real-time tag to analyze the correctness of the current tag content, and when the fault tolerance in the current tag is determined, the data compensation task is directly triggered to obtain the correct tag content and update the current tag content. Therefore, the accuracy of the label content of the target real-time label is improved.
In an exemplary embodiment of the present application, the method further comprises:
s800, under the condition that the label type is an offline label, establishing an association relation between each candidate data source and the offline database;
s810, generating a target offline label, and establishing a timing updating task corresponding to the target offline label in the offline database;
and calling a data updating function corresponding to the target offline label to process the target data received from each candidate data source to obtain updated label content when the timing updating task reaches a second set time point, and updating the label content by using the updated label content.
According to the foregoing, the requirement on timeliness of updating the tag content of the offline tag is low, and therefore, in this embodiment, in order to ensure the accuracy of the tag content of the target offline tag as much as possible, the target data source is not determined from the candidate data sources, but an association relationship between each candidate data source and the offline database is established, so that the offline database can perform data cleaning and data processing on the target data provided by each candidate data source through the regular update task, obtain the updated tag content with higher accuracy, and update the tag content using the updated tag content. The time length between every two adjacent second set time points can be determined according to the updated timeliness requirement of the target offline tag.
In an exemplary embodiment of the present application, a plurality of user tags corresponding to a plurality of users are stored in the tag management system; the user tags are stored with tag contents, the tag contents exist in a tree structure, and root nodes of the tag contents are tag ids of corresponding user tags. Specifically, the setting may be performed by the name of the corresponding user tag, for example, the name is delay risk, and the tag id may be 001001. And the label management system is in communication connection with the query server.
The method of the embodiment further comprises the following steps:
acquiring query conditions C = (Uid, Z) sent by query server 1 ,Z 2 ,...,Z n ) (ii) a Wherein Uid is target query tag id, Z n Is the user corresponding to UidA node determination condition of an n +1 th layer of the tag content of the tag; n = M-1, M is the maximum layer number of the label content of the user label corresponding to the Uid.
And traversing the user tags of each user according to the Uid to obtain a plurality of candidate tags. The tag id of each candidate tag is the same as the Uid.
According to Z 1 ,Z 2 ,...,Z n Traversing each candidate tag to obtain a plurality of target query tags; the node value of the node in the ith layer of the tag content of the target query tag conforms to Z i-1 (ii) a i =2, 3. For example, there are 5 drivers under the delay risk, and each driver corresponds to 5 delay risks. Then, n =2, and Z 1 It may be that the node value of the first node of the layer 2 is 1, or that the layer 2 has a node value of 1, etc. Z 2 The same is true. Thus, the simultaneous coincidence Z can be screened out from a plurality of candidate labels 1 ,Z 2 ,...,Z n The target query tag.
And sending each target query tag and the user id of the user corresponding to each target query tag to the query server.
In this embodiment, since the tree structure tag content is stored in each user tag, a plurality of tags in a large category can be stored in the form of one tag. For example, a delay risk, only one user tag of the delay risk needs to be established, and the tag id of the delay risk tag is used as the root node. The next layer of the root node may be a node corresponding to each navigation department, and the node corresponding to each navigation department may be all types of delay risks corresponding to the navigation department. So that the data management system only needs to maintain one large category of user tags.
In an exemplary embodiment of the present application, the target tag may further have an associated tag, and correspondingly, in step S600, generating the target real-time tag and establishing an association relationship with the target data source, further includes:
and generating the target real-time label, and establishing an association relation between the associated label and a target data source.
Wherein the associated tag can be determined by:
after step S200 and before step S300, the method further includes:
s210, determining whether a historical label having an association relationship with any candidate data source exists in the label management system; if yes, go to step S220; otherwise, go to step S300;
wherein, the history label is a user label which is generated before the current time and starts to be used. The determination may be made by querying a configuration table associated with the user tag. The association relation means that the candidate data source will provide the historical target data required by the historical tag for the corresponding historical tag.
S220, determining whether each historical target data of the historical label generation corresponding to the historical label content is target data corresponding to the demand data type of the target label; if yes, go to step S230; otherwise, go to step S300; specifically, if yes, the historical target data used by the historical tag meets the requirement of the target tag for the target data, so that the target tag can directly perform self-processing through the tag content of the historical tag or the used target data.
And S230, determining the history label as an associated label corresponding to the target label.
When the target data source is determined, if a plurality of candidate data sources meeting the current condition are available, the determination may be performed according to a preset sorting table, and the candidate data source with the top sorting is determined as the target data source. In the sorting table, the sorting of the data source corresponding to each data type is recorded, and the sorting rule is to sort according to the data updating frequency and the data accuracy of the data source.
Of course, in some cases, a demand data type may also correspond to multiple target data sources, for example, if the demand data type is flight information, it is necessary to determine a corresponding target data source for each flight department.
In this embodiment, a preset mapping table can be referred to through a required data type, so as to determine at least one candidate data source capable of providing target data corresponding to the required data type from among a plurality of data sources. And determining each historical target data used in the historical tags of the candidate data sources as the historical tag of the target data corresponding to the required data type of the target tag, and otherwise determining the target data source from the candidate data sources. And finally, generating the target label and establishing an association relation between the target label and each associated label and/or target data source. Therefore, in the process of establishing the target label, whether the history label is suitable for being used as the associated label of the target label can be automatically determined through the history label associated with the candidate data source, and if the history label is suitable for being used as the associated label of the target label, the associated label is used as the data source corresponding to the target label, so that the situation that multiple labels make multiple requests for the same target data from the same data source is reduced, and the waste of network communication resources is reduced. Meanwhile, in the process of establishing the target label, the worker only needs to input the required data type of the target label to automatically complete the association of the associated label and/or the target data source, the generation of the target label is completed, the worker is prevented from independently screening the data source in a manual mode, and the efficiency of establishing the label is improved.
In an exemplary embodiment of the present application, the method further comprises:
determining whether the target tag only has a corresponding associated tag or not and whether the tag type of each associated tag is an offline tag or not under the condition that the tag type of the target tag is a real-time tag;
if so, determining the associated target data source corresponding to each associated label as the target data source corresponding to the target label;
otherwise, generating the target label and establishing the incidence relation between the target label and each target data source.
As can be seen from the foregoing, the requirement on update timeliness of the tag content by the real-time tag is higher, but the update timeliness of the offline tags is lower, and if the target tag only has the corresponding associated tag and the tag type of each associated tag is an offline tag, the update timeliness of the associated tags cannot meet the current target tag. Therefore, in this case, the associated target data source corresponding to each associated tag is determined as the target data source corresponding to the target tag, so that the finally generated target tag can obtain the latest target data in real time, and the update timeliness of the target tag is ensured.
In an exemplary embodiment of the present application, the associated tag is configured to generate a notification event and send the notification event to a corresponding target tag every time the tag content of the associated tag is updated.
If the label type of the target label is a real-time label;
the target tag is configured to, after receiving a notification event, acquire current target data of each of the associated tags and/or the target data source, and trigger the processing function.
In this embodiment, the tag type is a target tag of the real-time tag, and the tag content of the tag cannot be directly changed due to a change of the associated tag. After the label content of each associated label is updated, the target label on the upper layer of the label is actively informed. And the target tag actively triggers a processing function to update the tag content of the target tag after receiving the notification event. Therefore, the coupling between the target real-time tag and the associated tag can be reduced, and the situation that the tag contents of a large number of associated tags make mistakes after one data is wrong is avoided.
In an exemplary embodiment of the present application, if the tag type of the target tag is a real-time tag;
the target tag is configured to, after updating the tag content of the target tag for the last time, if the number of received notification events is greater than or equal to a set threshold K, obtain current target data of each associated tag and/or the target data source, and trigger the processing function. K = α × (N1+ N2), K being a positive integer, in particular, the value of K is rounded up; wherein, α is a preset coefficient, and the specific value of α can be adaptively modified according to the requirement of the target tag. N1 is the number of associated tags corresponding to the target tag, and N2 is the number of target data sources corresponding to the target tag.
In the embodiment, the updating of the target real-time tag is limited by the value K, so that the target real-time tag is updated when the target data source or the associated tag is not changed, and the condition that the calculation result is inaccurate due to too little data is avoided.
Moreover, although the steps of the methods of the present disclosure are depicted in the drawings in a particular order, this does not require or imply that the steps must be performed in this particular order, or that all of the depicted steps must be performed, to achieve desirable results. Additionally or alternatively, certain steps may be omitted, multiple steps combined into one step execution, and/or one step broken down into multiple step executions, etc.
Through the above description of the embodiments, those skilled in the art will readily understand that the exemplary embodiments described herein may be implemented by software, or by software in combination with necessary hardware. Therefore, the technical solution according to the embodiments of the present disclosure may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (which may be a CD-ROM, a usb disk, a removable hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which may be a personal computer, a server, a mobile terminal, or a network device, etc.) to execute the method according to the embodiments of the present disclosure.
In an exemplary embodiment of the present disclosure, an electronic device capable of implementing the above method is also provided.
As will be appreciated by one skilled in the art, aspects of the present application may be embodied as a system, method or program product. Accordingly, various aspects of the present application may be embodied in the form of: an entirely hardware embodiment, an entirely software embodiment (including firmware, microcode, etc.) or an embodiment combining hardware and software aspects that may all generally be referred to herein as a "circuit," module "or" system.
An electronic device according to this embodiment of the present application. The electronic device is only an example, and should not bring any limitation to the function and the scope of use of the embodiments of the present application.
The electronic device is in the form of a general purpose computing device. Components of the electronic device may include, but are not limited to: the at least one processor, the at least one memory, and a bus connecting the various system components (including the memory and the processor).
Wherein the storage stores program code executable by the processor to cause the processor to perform steps according to various exemplary embodiments of the present application described in the "exemplary methods" section above.
The memory may include readable media in the form of volatile memory, such as Random Access Memory (RAM) and/or cache memory, and may further include Read Only Memory (ROM).
The storage may also include a program/utility having a set (at least one) of program modules including, but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which, or some combination thereof, may comprise an implementation of a network environment.
The bus may be any of several types of bus structures including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor, or a local bus using any of a variety of bus architectures.
The electronic device may also communicate with one or more external devices (e.g., keyboard, pointing device, bluetooth device, etc.), with one or more devices that enable a user to interact with the electronic device, and/or with any devices (e.g., router, modem, etc.) that enable the electronic device to communicate with one or more other computing devices. Such communication may be through an input/output (I/O) interface. Also, the electronic device may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network, such as the internet) via a network adapter. The network adapter communicates with other modules of the electronic device over the bus. It should be appreciated that although not shown in the figures, other hardware and/or software modules may be used in conjunction with the electronic device, including but not limited to: microcode, device drivers, redundant processors, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, to name a few.
Through the above description of the embodiments, those skilled in the art will readily understand that the exemplary embodiments described herein may be implemented by software, or by software in combination with necessary hardware. Therefore, the technical solution according to the embodiments of the present disclosure may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (which may be a CD-ROM, a usb disk, a removable hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which may be a personal computer, a server, a terminal device, or a network device, etc.) to execute the method according to the embodiments of the present disclosure.
In an exemplary embodiment of the present disclosure, there is also provided a computer-readable storage medium having stored thereon a program product capable of implementing the above-described method of the present specification. In some possible embodiments, various aspects of the present application may also be implemented in the form of a program product comprising program code for causing a terminal device to perform the steps according to various exemplary embodiments of the present application described in the "exemplary methods" section above of this specification, when the program product is run on the terminal device.
The program product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium include: an electrical connection having one or more wires, a portable disk, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
A computer readable signal medium may include a propagated data signal with readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A readable signal medium may be any readable medium that is not a readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Program code for carrying out operations of the present application may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device and partly on a remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device (e.g., through the internet using an internet service provider).
Furthermore, the above-described figures are merely schematic illustrations of processes involved in methods according to exemplary embodiments of the present application, and are not intended to be limiting. It will be readily understood that the processes shown in the above figures are not intended to indicate or limit the chronological order of the processes. In addition, it is also readily understood that these processes may be performed synchronously or asynchronously, e.g., in multiple modules.
It should be noted that although in the above detailed description several modules or units of the device for action execution are mentioned, such a division is not mandatory. Indeed, the features and functionality of two or more modules or units described above may be embodied in one module or unit, according to embodiments of the present disclosure. Conversely, the features and functions of one module or unit described above may be further divided into embodiments by a plurality of modules or units.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the present application should be covered within the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (7)

1. A label processing method for civil aviation data is characterized by being applied to a label management system, wherein the label management system is in communication connection with a plurality of data sources;
the method comprises the following steps:
s100, acquiring a label establishing instruction of a target label; the label establishing instruction comprises a label type and a demand data type of a target label; the tag type is used for representing an update mode of the tag content of the target tag, and the requirement data type is used for representing a data type of target data used for generating the tag content of the target tag;
s200, determining at least one candidate data source in the plurality of data sources according to the type of the required data; the candidate data source can provide target data corresponding to the required data type for the label management system, and the data providing mode of the candidate data source is pulling by an acquirer or pushing by a provider;
s300, under the condition that the type of the tag is a real-time tag, determining whether a candidate data source pushed by a provider in a data providing mode exists; if yes, go to step S400; otherwise, go to step S500;
s400, determining a candidate data source pushed by a data providing mode as a provider as a target data source;
s500, determining a candidate data source which is pulled by the data providing mode as an obtaining party as a target data source;
s600, generating a target real-time label and establishing an association relation with the target data source;
the target real-time tag is provided with a corresponding processing function, and is configured to process target data according to the processing function after the target data provided by the target data source is acquired, so as to obtain tag content of the target real-time tag.
2. The method of claim 1, wherein an offline database is provided within the tag management system;
after the step S600, the method further includes:
s710, establishing communication connection between the off-line database and each candidate data source; each candidate data source sends target data corresponding to the required data type to the offline database;
s720, establishing a data compensation task corresponding to the target real-time tag in the offline database;
and calling a data compensation function corresponding to the target real-time tag to process the target data received from each candidate data source to obtain compensation tag content and updating the tag content by using the compensation tag content by the data compensation task every time a first set time point is reached.
3. The method of claim 2, wherein the target real-time tag has a corresponding content analysis function; the content analysis function is used for analyzing whether the current label content of the target real-time label is correct or not;
and when the content analysis function determines that the current label content of the target real-time label is an error, triggering the data compensation task to update the label content.
4. The method of claim 2, wherein the data compensation function results in a higher data accuracy of the compensated tag content than the processing function results in the tag content.
5. The method of claim 2, further comprising:
s800, under the condition that the label type is an offline label, establishing an association relation between each candidate data source and the offline database;
s810, generating a target offline label, and establishing a timing updating task corresponding to the target offline label in the offline database;
and calling a data updating function corresponding to the target offline label to process the target data received from each candidate data source to obtain updated label content when the timing updating task reaches a second set time point, and updating the label content by using the updated label content.
6. An electronic device comprising a processor and a memory;
the processor is adapted to perform the steps of the method of any one of claims 1 to 5 by calling a program or instructions stored in the memory.
7. A non-transitory computer readable storage medium storing a program or instructions for causing a computer to perform the steps of the method of any one of claims 1 to 5.
CN202210993636.5A 2022-08-18 2022-08-18 Label processing method, electronic equipment and storage medium for civil aviation data Active CN115062232B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210993636.5A CN115062232B (en) 2022-08-18 2022-08-18 Label processing method, electronic equipment and storage medium for civil aviation data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210993636.5A CN115062232B (en) 2022-08-18 2022-08-18 Label processing method, electronic equipment and storage medium for civil aviation data

Publications (2)

Publication Number Publication Date
CN115062232A true CN115062232A (en) 2022-09-16
CN115062232B CN115062232B (en) 2022-11-04

Family

ID=83207387

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210993636.5A Active CN115062232B (en) 2022-08-18 2022-08-18 Label processing method, electronic equipment and storage medium for civil aviation data

Country Status (1)

Country Link
CN (1) CN115062232B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20200107054A1 (en) * 2018-09-28 2020-04-02 Rovi Guides, Inc. Systems and methods for modifying date-related references of a media asset to reflect absolute dates
CN111177569A (en) * 2020-01-07 2020-05-19 腾讯科技(深圳)有限公司 Recommendation processing method, device and equipment based on artificial intelligence
CN111506775A (en) * 2019-01-29 2020-08-07 阿里巴巴集团控股有限公司 Label processing method and device, electronic equipment and readable storage medium
CN112989023A (en) * 2021-03-25 2021-06-18 北京百度网讯科技有限公司 Label recommendation method, device, equipment, storage medium and computer program product
CN113095624A (en) * 2021-03-17 2021-07-09 中国民用航空总局第二研究所 Method and system for classifying unsafe events of civil aviation airport
CN114338586A (en) * 2021-12-21 2022-04-12 中国农业银行股份有限公司 Message pushing method and device, electronic equipment and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20200107054A1 (en) * 2018-09-28 2020-04-02 Rovi Guides, Inc. Systems and methods for modifying date-related references of a media asset to reflect absolute dates
CN111506775A (en) * 2019-01-29 2020-08-07 阿里巴巴集团控股有限公司 Label processing method and device, electronic equipment and readable storage medium
CN111177569A (en) * 2020-01-07 2020-05-19 腾讯科技(深圳)有限公司 Recommendation processing method, device and equipment based on artificial intelligence
CN113095624A (en) * 2021-03-17 2021-07-09 中国民用航空总局第二研究所 Method and system for classifying unsafe events of civil aviation airport
CN112989023A (en) * 2021-03-25 2021-06-18 北京百度网讯科技有限公司 Label recommendation method, device, equipment, storage medium and computer program product
CN114338586A (en) * 2021-12-21 2022-04-12 中国农业银行股份有限公司 Message pushing method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN115062232B (en) 2022-11-04

Similar Documents

Publication Publication Date Title
CN110968438B (en) Asynchronous notification method and device of event message, electronic equipment and storage medium
US8914798B2 (en) Production control for service level agreements
CN110895472A (en) Method and device for identifying service change
CN111383100A (en) Risk model-based full life cycle management and control method and device
CN111966382A (en) Online deployment method and device of machine learning model and related equipment
CN109299124B (en) Method and apparatus for updating a model
CN113076186B (en) Task processing method, device, electronic equipment and storage medium
CN110716804A (en) Method and device for automatically deleting useless resources, storage medium and electronic equipment
CN115062232B (en) Label processing method, electronic equipment and storage medium for civil aviation data
CN115062233B (en) Combined label generation method for civil aviation data
CN115062056B (en) User searching method for civil aviation data, electronic equipment and storage medium
CN113296796A (en) Project release method, device, system, storage medium and electronic equipment
CN111104125A (en) Intelligent integrated version management method, device, medium and electronic equipment
CN115982148A (en) Database table processing method and device, electronic equipment and storage medium
CN110716763A (en) Web container automatic optimization method and device, storage medium and electronic equipment
CN111723134A (en) Information processing method, information processing device, electronic equipment and storage medium
CN115496544A (en) Data processing method and device
CN111967806B (en) User risk updating method and device based on periodic retrace and electronic equipment
CN111950232B (en) Method and device for automatically switching number segments
CN117726147B (en) Adaptation-based server management method, electronic equipment and storage medium
CN115454697B (en) Information processing method and device for service exception, electronic equipment and storage medium
CN108509455B (en) Data table processing method and device
CN109901997B (en) Financial system upgrading method and device, electronic equipment and storage medium
CN115061437A (en) Process monitoring method, device, storage medium and electronic equipment
CN110704449A (en) Method and apparatus for locating defects

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