CN115062233A - Combined label generation method for civil aviation data - Google Patents

Combined label generation method for civil aviation data Download PDF

Info

Publication number
CN115062233A
CN115062233A CN202210994276.0A CN202210994276A CN115062233A CN 115062233 A CN115062233 A CN 115062233A CN 202210994276 A CN202210994276 A CN 202210994276A CN 115062233 A CN115062233 A CN 115062233A
Authority
CN
China
Prior art keywords
label
target
tag
data
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
CN202210994276.0A
Other languages
Chinese (zh)
Other versions
CN115062233B (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 CN202210994276.0A priority Critical patent/CN115062233B/en
Publication of CN115062233A publication Critical patent/CN115062233A/en
Application granted granted Critical
Publication of CN115062233B publication Critical patent/CN115062233B/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)
  • Strategic Management (AREA)
  • Finance (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • Accounting & Taxation (AREA)
  • Development Economics (AREA)
  • General Physics & Mathematics (AREA)
  • Entrepreneurship & Innovation (AREA)
  • General Engineering & Computer Science (AREA)
  • Game Theory and Decision Science (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • General Business, Economics & Management (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The application provides a method for generating a combined label for civil aviation data, which comprises the following steps: acquiring a label establishing instruction of a target label; establishing a data acquisition mode for each required data type to determine an associated tag and/or a target data source corresponding to each required data type; and generating a target label and establishing an incidence relation between the target label and each incidence label and/or target data source. According to the method and the device, whether the historical label is suitable for being used as the associated label of the target label can be automatically determined through the historical label associated with the candidate data source in the process of establishing the target label, and if the historical 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.

Description

Combined label generation method for civil aviation data
Technical Field
The present application relates to the field of data processing, and in particular, to a method for generating a combined tag 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, the process is mostly completed manually at present, and the efficiency is low. Meanwhile, if a plurality of tags use data of the same data source, the data source can be repeatedly acquired by each tag, so that unnecessary network communication resources are wasted.
Disclosure of Invention
In view of the above, the present application provides a method for generating a combined tag for civil aviation data, an electronic device, and a storage medium, which at least partially solve the problems in the prior art.
In one aspect of the application, a combined label generation method for civil aviation data is provided, and is 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 plurality of required data types;
s200, establishing a data acquisition mode for each required data type to determine an associated tag and/or a target data source corresponding to each required data type;
s300, generating the target label and establishing an association relation between the target label and each associated label and/or target data source;
the target label is provided with a corresponding processing function, and the target label is configured to process target data according to the processing function after the target data provided by the associated label and/or the target data source is obtained, so as to obtain label content of the target label;
the data acquisition mode establishing process comprises the following steps:
s400, determining at least one candidate data source corresponding to the required data type from a plurality of data sources; the candidate data source can provide target data corresponding to the type of the required data for the label management system;
s500, determining whether a historical label having an association relation with any candidate data source exists in the label management system; if yes, go to step S610; otherwise, go to step S710;
s610, determining whether each historical target data of the historical label generation corresponding to the historical label content is target data corresponding to the required data type of the target label; if yes, go to step S620; otherwise, go to step S710;
s620, determining the history tag as an associated tag corresponding to the target tag;
s710, determining the target data source in at least one candidate data source.
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 method for generating the combined label for the civil aviation data, a preset mapping table can be consulted through the demand data type, so that at least one candidate data source capable of providing the target data corresponding to the demand data type is determined from 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.
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 flowchart of a method for generating a combined tag for civil aviation data 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. In addition, such an apparatus may be implemented and/or such a method may be practiced using other structure and/or functionality in addition to or other than one or more of the aspects set forth herein.
In one aspect of the present embodiment, a method for generating a combined tag for civil aviation data is provided, which is applied to a tag management system, where 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".
Referring to fig. 1, the method includes:
and S100, acquiring a label establishing instruction of the target label.
The tag establishment instruction includes a plurality of requirement data types. 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. The data type of the data which can be provided by each data source is recorded 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 a 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, establishing a data acquisition mode for each required data type to determine an associated tag and/or a target data source corresponding to each required data type. The associated label and/or the target data source are used for providing target data of the demand data type corresponding to the associated label and/or the target data source for the target label.
S300, generating the target label and establishing an association relation between the target label and each associated label and/or target data source.
The target label has a corresponding processing function, and the target label is configured to process the target data according to the processing function after the target data provided by the associated label and/or the target data source is acquired, so as to obtain the label content of the target real-time label. The processing function may be preset, or may be set and associated after the target tag is generated. The processing function is used for processing according to target data corresponding to a corresponding tag (such as a target 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.
The data acquisition mode establishing process comprises the following steps:
s400, at least one candidate data source corresponding to the demand data type is determined from the plurality of data sources. The candidate data source can provide target data corresponding to the demand data type for the tag management system. 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 can be pulled by an acquirer or pushed 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.
S500, determining whether the label management system has a history label which has an association relation with any candidate data source. If yes, the process proceeds to step S610. Otherwise, the process proceeds to step S710.
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.
S610, determining whether each historical target data of the historical label generation corresponding to the historical label content is the target data corresponding to the demand data type of the target label. If yes, the process proceeds to step S620. Otherwise, the process proceeds to step S710. 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.
S620, determining the history tag as an associated tag corresponding to the target tag;
s710, determining the target data source in at least one candidate data source.
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 method for generating the combined label for the civil aviation data, a preset mapping table can be consulted through the demand data type, so that at least one candidate data source capable of providing the target data corresponding to the demand data type is determined from a plurality of data sources. And determining each historical target data used in the historical tags of the candidate data source as the historical tag of the target data corresponding to the required data type of the target tag, otherwise determining the target data source from the candidate data source. 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 tag establishing instruction further includes a tag type of the target tag; the tag type is used for representing an update mode of the tag content of the target tag.
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 step S710 includes:
s711, if 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 S712; otherwise, go to step S713;
s712, determining the candidate data source pushed by the data providing mode as the provider as the target data source;
s713, 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, through step S711, it is implemented to preferentially determine the candidate data source pushed by the data providing manner for the provider as the target data source.
In an exemplary embodiment of the present application, after the step S200, the method further includes:
s210, under the condition that the label type of the target label is a real-time label, determining whether the target label only has a corresponding associated label and whether the label type of each associated label is an offline label; if yes, go to step S220; otherwise, entering the step S300;
s220, determining the associated target data source corresponding to each associated label as the target data source corresponding to the target label;
s230, 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 a real-time tag (hereinafter referred to as a target real-time tag), and the tag content of the tag cannot be directly changed due to a change of an associated tag. After the label content of each associated label is updated, the target label on the upper layer of the tag 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 K value, so that the target data source or the associated tag is updated by the change of the target data source or the associated tag instead of one of the target real-time tag, and the occurrence of inaccurate calculation results caused by too little data is avoided.
In an exemplary embodiment of the present application, an offline database is disposed within the tag management system;
in the case that the tag type of the target tag is a real-time tag, the method further includes:
s800, 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;
s900, establishing a data compensation task corresponding to the target label (target real-time label) for the offline database;
and the data compensation task calls 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 when a set time point is reached, and updates the tag content by using the compensation tag content. 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 be updated in milliseconds, it cannot be calculated by using a large amount of data, and can be updated only 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 compensated 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 the 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:
under the condition that the label type is an offline label, establishing an incidence relation between each candidate data source and the offline database;
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 the root nodes of the tag contents are the tag ids of the 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 Judging conditions for nodes of the (n + 1) th layer of the label content of the user label corresponding to the Uid; 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 label to obtain a plurality of target query labels; 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 driver, and the node corresponding to each driver may be all types of delay hazards corresponding to the driver. So that the data management system only needs to maintain one large category of user tags.
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, among others.
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 also 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 (10)

1. A combined label generation 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 plurality of required data types;
s200, establishing a data acquisition mode for each required data type to determine an associated tag and/or a target data source corresponding to each required data type;
s300, generating the target label and establishing an association relation between the target label and each associated label and/or target data source;
the target label is provided with a corresponding processing function, and the target label is configured to process target data according to the processing function after the target data provided by the associated label and/or the target data source is obtained, so as to obtain label content of the target label;
the data acquisition mode establishing process comprises the following steps:
s400, determining at least one candidate data source corresponding to the required data type from a plurality of data sources; the candidate data source can provide target data corresponding to the demand data type for the label management system;
s500, determining whether a historical label having an association relation with any candidate data source exists in the label management system; if yes, go to step S610; otherwise, go to step S710;
s610, determining whether each historical target data of the historical label generation corresponding to the historical label content is target data corresponding to the required data type of the target label; if yes, go to step S620; otherwise, go to step S710;
s620, determining the historical label as an associated label corresponding to the target label;
s710, determining the target data source in at least one candidate data source.
2. The method of claim 1, wherein the tag establishment instruction further includes a tag type of the target tag; the tag type is used for representing an updating mode of the tag content of the target tag;
the step S710 includes:
s711, if 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 S712; otherwise, go to step S713;
s712, determining the candidate data source pushed by the data providing mode as the provider as the target data source;
s713, determining the candidate data source which is pulled by the data providing mode as the acquirer as the target data source.
3. The method of claim 2, wherein after the step S200, the method further comprises:
s210, under the condition that the label type of the target label is a real-time label, determining whether the target label only has a corresponding associated label and whether the label type of each associated label is an offline label; if yes, go to step S220; otherwise, entering the step S300;
s220, determining the associated target data source corresponding to each associated label as the target data source corresponding to the target label;
s230, generating the target label and establishing the incidence relation between the target label and each target data source.
4. The method of claim 3, wherein the associated tag is configured to generate a notification event and send the notification event to the corresponding target tag each time the tag content of the associated tag is updated.
5. The method of claim 4, wherein if the tag type of the target tag is a real-time tag;
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.
6. The method of claim 4, wherein if the tag type of the target tag is a real-time tag;
and the target label is configured to, after the label content of the target label is updated last time, if the number of the received notification events is greater than or equal to a set threshold value K, acquire current target data of each associated label and/or the target data source, and trigger the processing function.
7. The method of claim 6, wherein K = α · (N1+ N2), K being a positive integer; wherein α is a preset coefficient, 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.
8. The method of claim 7, wherein an offline database is disposed within the tag management system;
in the case that the tag type of the target tag is a real-time tag, the method further includes:
s800, 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;
s900, establishing a data compensation task corresponding to the target label for the offline database;
and the data compensation task calls a data compensation function corresponding to the target tag to process the target data received from each candidate data source to obtain compensation tag content when a set time point is reached, and updates the tag content by using the compensation tag content.
9. 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 8 by calling a program or instructions stored in the memory.
10. 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 8.
CN202210994276.0A 2022-08-18 2022-08-18 Combined label generation method for civil aviation data Active CN115062233B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210994276.0A CN115062233B (en) 2022-08-18 2022-08-18 Combined label generation method for civil aviation data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210994276.0A CN115062233B (en) 2022-08-18 2022-08-18 Combined label generation method for civil aviation data

Publications (2)

Publication Number Publication Date
CN115062233A true CN115062233A (en) 2022-09-16
CN115062233B CN115062233B (en) 2022-11-04

Family

ID=83207492

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210994276.0A Active CN115062233B (en) 2022-08-18 2022-08-18 Combined label generation method for civil aviation data

Country Status (1)

Country Link
CN (1) CN115062233B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060067334A1 (en) * 2004-08-18 2006-03-30 Ougarov Andrei V System and methods for dynamic generation of point / tag configurations
CN112989023A (en) * 2021-03-25 2021-06-18 北京百度网讯科技有限公司 Label recommendation method, device, equipment, storage medium and computer program product
CN113157978A (en) * 2021-01-15 2021-07-23 浪潮云信息技术股份公司 Data label establishing method and device
CN113297288A (en) * 2021-04-28 2021-08-24 上海淇玥信息技术有限公司 User real-time label generation method and device and electronic equipment
CN114817409A (en) * 2022-05-16 2022-07-29 北京火山引擎科技有限公司 Label generation method, device, equipment and medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060067334A1 (en) * 2004-08-18 2006-03-30 Ougarov Andrei V System and methods for dynamic generation of point / tag configurations
CN113157978A (en) * 2021-01-15 2021-07-23 浪潮云信息技术股份公司 Data label establishing method and device
CN112989023A (en) * 2021-03-25 2021-06-18 北京百度网讯科技有限公司 Label recommendation method, device, equipment, storage medium and computer program product
CN113297288A (en) * 2021-04-28 2021-08-24 上海淇玥信息技术有限公司 User real-time label generation method and device and electronic equipment
CN114817409A (en) * 2022-05-16 2022-07-29 北京火山引擎科技有限公司 Label generation method, device, equipment and medium

Also Published As

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

Similar Documents

Publication Publication Date Title
EP3806432A1 (en) Method for changing service on device and service changing system
CN110968438B (en) Asynchronous notification method and device of event message, electronic equipment and storage medium
CN110032576B (en) Service processing method and device
US8914798B2 (en) Production control for service level agreements
CN109299124B (en) Method and apparatus for updating a model
CN111966382A (en) Online deployment method and device of machine learning model and related equipment
CN110704390A (en) Method, device, electronic equipment and medium for obtaining server maintenance script
CN115062233B (en) Combined label generation method for civil aviation data
CN115062232B (en) Label processing method, electronic equipment and storage medium for civil aviation data
CN113296796A (en) Project release method, device, system, storage medium and electronic equipment
CN115062056B (en) User searching method for civil aviation data, electronic equipment and storage medium
CN110716763A (en) Web container automatic optimization method and device, storage medium and electronic equipment
CN111104125A (en) Intelligent integrated version management method, device, medium and electronic equipment
CN116992982A (en) Model deployment method, device, system, electronic equipment and storage medium
CN111723134A (en) Information processing method, information processing device, electronic equipment and storage medium
CN115982148A (en) Database table processing method and device, electronic equipment and storage medium
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
CN111159237B (en) System data distribution method and device, storage medium and electronic equipment
CN113656239A (en) Monitoring method and device for middleware and computer program product
CN113011664A (en) Logistics timeliness monitoring method and device, electronic equipment and storage medium
CN112035368A (en) Automatic software testing method and device, electronic equipment and storage medium
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
US20220164219A1 (en) Processing system, processing method, higher-level system, lower-level system, higher-level program, and lower-level program

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