CN110597867A - Image-text data processing method and system - Google Patents

Image-text data processing method and system Download PDF

Info

Publication number
CN110597867A
CN110597867A CN201910864657.5A CN201910864657A CN110597867A CN 110597867 A CN110597867 A CN 110597867A CN 201910864657 A CN201910864657 A CN 201910864657A CN 110597867 A CN110597867 A CN 110597867A
Authority
CN
China
Prior art keywords
image
text data
text
server
attribute information
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
CN201910864657.5A
Other languages
Chinese (zh)
Other versions
CN110597867B (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.)
Gree Electric Appliances Inc of Zhuhai
Zhuhai Lianyun Technology Co Ltd
Original Assignee
Gree Electric Appliances Inc of Zhuhai
Zhuhai Lianyun 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 Gree Electric Appliances Inc of Zhuhai, Zhuhai Lianyun Technology Co Ltd filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN201910864657.5A priority Critical patent/CN110597867B/en
Publication of CN110597867A publication Critical patent/CN110597867A/en
Application granted granted Critical
Publication of CN110597867B publication Critical patent/CN110597867B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2457Query processing with adaptation to user needs
    • G06F16/24578Query processing with adaptation to user needs using ranking
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/28Databases characterised by their database models, e.g. relational or object models
    • G06F16/284Relational databases
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computational Linguistics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention relates to the technical field of information processing, in particular to a method and a system for processing image-text data. By the method, the attribute information of the image-text data is obtained and stored in an event-driven mode, so that the problem of inconvenience caused by the need of adding an attribute name by a user is avoided.

Description

Image-text data processing method and system
Technical Field
The invention relates to the technical field of information processing, in particular to a method and a system for processing image-text data.
Background
The PLM system uses a relational database to store data, data objects and data attributes are respectively stored in a plurality of tables of the relational database, when a front-end user searches data, a back-end program can carry out multi-table combined query, wherein the object data table has millions of data, the attribute table has nearly 5 hundred million data, when the user searches the objects by using the attributes, different objects have different attributes, the user needs to add attribute names on an interface one by one, and query is carried out after filling corresponding data values, so that the operation is inconvenient.
Disclosure of Invention
The invention provides a method and a system for processing image-text data, which are convenient for adding attribute information.
In order to solve the above technical problems, the embodiments of the present invention provide the following technical solutions:
a graphic and text data processing method is applied to a first server and comprises the following steps:
when the state of the image-text data is monitored to be changed, judging whether the image-text type of the image-text data belongs to one of image-text types allowed to be released or not;
when the image-text type of the image-text data belongs to one of the image-text types which are allowed to be released, obtaining attribute information of the image-text data;
and releasing the attribute information of the image-text data so that the second server can retrieve the image-text data required by the user according to the released attribute information of the image-text data.
Optionally, in the method for processing teletext data, before the step of determining whether the teletext type of the teletext data belongs to one of the teletext types allowed to be released when it is monitored that the state of the teletext data changes, the method further includes the following steps:
and defining the types of the pictures and texts allowed to be released by adopting a preset markup language file.
Optionally, in the method for processing image-text data, the attribute information of the image-text data includes a standard attribute of the image-text data and a soft attribute of the image-text data, and the soft attribute of the image-text data includes an attribute name and an attribute value of the image-text data;
accordingly, the step of obtaining attribute information of the teletext data comprises:
searching a standard attribute corresponding to the ID of the image-text data from a preset database according to the ID of the image-text data;
reading the image-text data to obtain a corresponding layout view, finding out service group information in the layout view, and reading image-text attributes defined in the service group information;
and judging the type of the image-text attribute according to the image-text attribute defined in the service group information, and acquiring the attribute name and the attribute value of the image-text data corresponding to the type of the image-text attribute from an attribute definition table and an attribute value table.
Optionally, in the method for processing image-text data, before the step of issuing the attribute information of the image-text data, the method further includes:
acquiring related object information corresponding to the ID of the image-text data in a preset association table, wherein the related object information comprises associated object documents and material number information;
correspondingly, the attribute information of the image-text data is released, and simultaneously, the related object information corresponding to the image-text data is also released.
Optionally, in the image-text data processing method, the image-text data processing method further includes:
constructing a first message queue for storing attribute information of the image-text data;
and releasing the attribute information of the image-text data stored in the first message queue.
Optionally, in the method for processing teletext data, the step of issuing the attribute information of the teletext data includes:
step a, constructing a first message queue for storing attribute information of the image-text data;
b, releasing the attribute information of the image-text data stored in the first message queue,
step c, detecting whether the abnormal condition occurs in the release process:
if the issuing process has no abnormal condition, the successful issuing is prompted;
if the abnormal condition occurs in the issuing process, deleting the first message queue, updating the times of the abnormal condition occurring in the issuing process, and judging whether the times of the abnormal condition occurring in the issuing process is less than the preset times:
if the number of times is less than the preset number of times, returning to execute the step a;
and if the number of times is larger than or equal to the preset number of times, prompting that the release is failed.
Optionally, in the image-text data processing method, the method further includes:
and when an image-text deleting instruction aiming at the target image-text data is monitored, obtaining the ID of the target image-text data and sending the ID of the target image-text data and the image-text deleting instruction to the second server so that the second server can delete the image-text data corresponding to the ID of the target image-text data and the attribute information of the image-text data according to the image-text deleting instruction.
The embodiment of the invention also provides a graphic data processing method which is applied to a queue message server and comprises the following steps:
acquiring attribute information of the image-text data obtained when the first server monitors that the state of the image-text data changes;
constructing a second message queue for storing attribute information of the image-text data;
and releasing the attribute information of the image-text data stored in the second message queue so that the second server can retrieve the image-text data required by the user according to the released attribute information of the image-text data.
Optionally, in the image-text data processing method, the method further includes:
obtaining receiving completion information fed back by the second server when the attribute information of the image-text data is received;
and deleting or marking the attribute information of the image-text data corresponding to the receiving completion information in the second message queue as the release completion.
The invention also provides a system for processing the image-text data, which comprises a first server, a queue message server and a second server;
when the first server monitors that the state of the image-text data is changed, judging whether the image-text type of the image-text data is one of image-text types allowed to be issued, and when the image-text type of the image-text data belongs to one of the image-text types allowed to be issued, acquiring attribute information of the image-text data and issuing the attribute information of the image-text data;
when monitoring the attribute information of the image-text data issued by the first server, the queue message server stores the attribute information of the image-text data issued by the first server into a second message queue and issues the attribute information of the image-text data stored in the second message queue;
and when monitoring the attribute information of the image-text data issued by the queue message server, the second server retrieves the image-text data required by the user according to the attribute information of the image-text data issued by the queue message server.
Optionally, in the image-text data processing system, the first server is a PLM server, the queue message server is an MQ server, the second server is an ES server, and the second server is further configured to send a data deletion instruction corresponding to attribute information of the image-text data to the queue message server when monitoring the attribute information of the image-text data issued by the queue message server;
and when receiving the data deleting instruction, the queue message server deletes the attribute information of the image-text data corresponding to the data deleting instruction from the second message queue.
Compared with the prior art, the image-text data processing method and the image-text data processing system provided by the invention at least have the following beneficial effects:
the method and the system for processing the image-text data provided by the invention judge whether the image-text type of the image-text data belongs to one of the image-text types allowed to be released or not when monitoring that the state of the image-text data is changed, obtain the attribute information of the image-text data when the image-text type of the image-text data belongs to one of the image-text types allowed to be released, and release the attribute information of the image-text data, so that a second server can retrieve the image-text data required by a user according to the attribute information of the released image-text data. By the method, the attribute information of the image-text data is obtained and stored in an event-driven mode, so that the problem of inconvenience caused by the need of adding an attribute name by a user is avoided.
Drawings
The invention will be described in more detail hereinafter on the basis of embodiments and with reference to the accompanying drawings.
Fig. 1 is a flowchart illustrating a method for processing image-text data according to an embodiment of the present invention.
Fig. 2 is a schematic flowchart of step S120 in fig. 1.
Fig. 3 is another flowchart of a method for processing teletext data according to an embodiment of the invention.
Fig. 4 is a flowchart illustrating a method for processing graphics and text data according to a second embodiment of the present invention.
In the drawings, like parts are designated with like reference numerals, and the drawings are not drawn to scale.
Detailed Description
The following detailed description of the embodiments of the present invention will be provided with reference to the accompanying drawings and examples, so that how to apply the technical means to solve the technical problems and achieve the corresponding technical effects can be fully understood and implemented. The embodiments and the features of the embodiments can be combined without conflict, and the technical solutions formed are all within the scope of the present invention.
Example one
Referring to fig. 1, the present invention provides a method for processing teletext data applicable to a first server, which may be a PLM server, and when the method for processing teletext data is applied to the PLM server, steps S110-S140 are performed.
Step S110: and when the state of the image-text data is monitored to be changed, judging whether the image-text type of the image-text data belongs to one of the image-text data which is allowed to be released.
The state of the teletext data may include at least two of an initial state, a review state and a release state, and the change in the state of the teletext data may be from the initial state to the release state or from the review state to the release state. The type of the image-text to be released can be preset by a user, for example, the type of the image-text can be defined by an XML file or an extensible markup language, etc.; the types of graphics to be released may be, but are not limited to, development graphics, process graphics, standard information graphics, authentication information graphics, change list graphics, and the like, and are not limited in detail herein.
In this embodiment, before performing step S110, the method further includes: and defining the types of the pictures and texts allowed to be released by adopting a preset markup language file.
Step S120: when the teletext type of the teletext data belongs to one of the teletext types allowed to be published, attribute information of the teletext data is obtained.
Each teletext data usually has a unique identification ID, and therefore, in step S120, the attribute information of the teletext data may be obtained by: and obtaining the attribute information of the image-text data according to the ID of the image-text data, or searching the attribute information of the image-text data from a database or a list according to the ID of the image-text data.
In general, the attribute information of the teletext data may include a teletext standard attribute and a soft attribute, and the soft attribute of the teletext data includes an attribute name and an attribute value of the teletext data, so, referring to fig. 2, in this embodiment, the step S120 may include steps S121 to S125.
Step S121: and searching a standard attribute corresponding to the ID of the image-text data from a preset database according to the ID of the image-text data.
It can be understood that the preset database stores different standard attributes of the image-text data, and the preset database may be a database or a data table.
Step S122: reading the image-text data to obtain a corresponding layout view, finding out the service group information in the layout view, and reading the image-text attribute defined in the service group information.
Wherein, the layout view comprises service group information and view group information.
Step S123: and judging the type of the image-text attribute according to the image-text attribute defined in the service group information, and acquiring an attribute name and an attribute value corresponding to the type of the image-text attribute from an attribute definition table and an attribute value table.
In the above step, the image-text attribute defined in the service group information may be defined in a character string form, a boolean form, a value form, and a number form, and therefore, the type of the image-text attribute may be a character string, a boolean, a value, and a number type, and when the attribute name and the attribute value corresponding to the type of the attribute are obtained, the attribute name and the attribute value may be synthesized into a soft attribute in the form of a JSON character string.
The attribute information of the image-text data can be obtained by sequencing the image-text standard attribute of the image-text data and the soft attribute of the image-text data according to a preset sequencing rule.
Step S130: and releasing the attribute information of the image-text data so that the second server can retrieve the image-text data required by the user according to the released attribute information of the image-text data.
In order to facilitate the distribution of the attribute information of the teletext data in order, in this embodiment, the above-mentioned step S130 includes a step S131 and a step S132.
Step S131: and constructing a first message queue for storing the attribute information of the image-text data.
Step S132: and releasing the attribute information of the image-text data stored in the first message queue.
It should be noted that, in this embodiment, the first server may be a PLM server, and the correspondingly created first message queue is a PLM message queue.
In order to facilitate that, in the process of publishing the attribute information of the image-text data, a prompt is issued when the publishing is successful, and the publishing is performed again when the publishing is failed, so as to ensure that the attribute information of the image-text data can be successfully published, in another implementation manner in this embodiment, the step S130 may further include the following steps:
step S131: constructing a first message queue for storing attribute information of the image-text data;
step S1132: and releasing the attribute information of the image-text data stored in the first message queue.
Step S133: and detecting whether an abnormal condition occurs in the issuing process.
If there is no abnormal condition in the issue process, execute step S134: and prompting the successful release.
If the issue process is abnormal, executing step S135 and step S136, where step S135 is: deleting the first message queue, and updating the times of abnormal situations occurring in the issuing process, wherein step S136 is as follows: and judging whether the frequency of the abnormal conditions in the issuing process is less than the preset frequency or not.
If the number of times is less than the preset number of times, the process returns to step S131.
If the number of times is greater than or equal to the preset number of times, executing step S137: and prompting that the release is failed.
Through the arrangement, when the first message queue is abnormal in the process of transmitting the attribute information of the image-text data, the attribute information comprising the image-text data is constructed again and is sent again, so that the reliability of the attribute information release of the image-text data can be effectively guaranteed.
It should be noted that the manner of detecting whether the first message queue is abnormal may be to detect whether the state of the first message queue is abnormal, for example, the state is normal when the queue state is Ready and abnormal when the queue state is Failed, and the queue state may also be Reschedule, that is, the queue state is rescheduled, and when the queue has Failed, the queue state may also be reset to Reschedule and reissued, so as to improve the success rate of publishing the attribute information of the teletext data.
The above-mentioned manner of publishing the attribute information of the image-text data in the first message queue may be directly sending to the second server through a transmission interface or a channel, or forwarding through a queue message server.
By the method, when the second server retrieves the image-text data required by the user according to the attribute information of the issued image-text data, the quick retrieval of hundred million-level data can be realized by adopting an Elasticissearch engine search technology, and the problems of multi-table combined query object and low attribute speed of the PLM relational database are solved. In addition, when the state of the image-text data is monitored to be changed, and when the image-text type of the image-text data belongs to one of the image-text types allowed to be released, the attribute information of the image-text data is obtained, so that the problem that users are inconvenient to add attribute names one by one through an interface can be effectively avoided.
Further, in order to delete the image-text data and the corresponding attribute information stored in the second server through the first server, so as to manage the data stored in the second server, in this embodiment, the method further includes the following steps:
and when an image-text deleting instruction aiming at the target image-text data is monitored, obtaining the ID of the target image-text data and sending the ID of the target image-text data and the image-text deleting instruction to the second server so that the second server can delete the image-text data corresponding to the ID of the target image-text data and the attribute information of the image-text data according to the image-text deleting instruction.
The steps can be as follows: when an image-text deleting instruction aiming at target image-text data is monitored, the ID of the target image-text data is obtained, the ID of the target image-text data and the image-text deleting instruction are sent to the queue message server, the queue message server is made to issue the ID of the target image-text data and the image-text deleting instruction to the second server, and the second server can delete the image-text data corresponding to the ID of the target image-text data and the attribute information of the image-text data according to the image-text deleting instruction.
In order to facilitate the user to obtain other data related to the teletext data when retrieving the teletext data, in this embodiment, the method further comprises the following steps:
and acquiring related object information corresponding to the ID of the image-text data in a preset association table, wherein the related object information comprises the number information of associated object documents and materials.
And issuing the attribute information of the image-text data and issuing related object information corresponding to the image-text data.
Through the arrangement, when the user searches the required image-text data, the number information of the object document and the material related to the image-text data can be searched.
The associated objects related to the image-text data can be one or more, and when the number of the associated objects is multiple, the associated objects are separated by sub commas, are represented in a character string mode and are issued.
Example two
Referring to fig. 4, the present invention further provides a method for processing teletext data applicable to the queue message server, where when the method is applied to the queue message server, steps S210 to S230 are executed:
step S210: and acquiring attribute information of the image-text data obtained when the first server monitors that the state of the image-text data changes.
The above-mentioned manner of obtaining the attribute information of the image-text data may be to monitor the attribute information of the image-text data issued by the first server. For the method steps of the first server, based on the attribute information of the teletext data obtained when the state of the teletext data is monitored to be changed, reference may be made to the specific description of the first embodiment, which is not repeated here.
Step S220: and storing the attribute information of the image-text data to a second message queue.
Step S230: and releasing the attribute information of the image-text data stored in the second message queue so that the second server can retrieve the image-text data required by the user according to the released attribute information of the image-text data.
In order to facilitate the queue message server to manage the attribute information of the teletext data, when the attribute information of the teletext data is received, the attribute information of the teletext data is stored in a second message queue for distribution, and when the queue message server finishes distributing the attribute information of the teletext data, the method further comprises step S250 and step S260.
Step S250: and obtaining receiving completion information fed back by the second server when the attribute information of the image-text data is received.
Step S260: and deleting or marking the attribute information of the image-text data corresponding to the receiving completion information stored in the second message queue as the release completion.
Through the above, the situation that the queue message server may repeatedly release the data after the release of the attribute information of the image-text data is completed can be avoided.
EXAMPLE III
Referring to fig. 1, an embodiment of the present invention provides a system for processing teletext data, including a first server, a message queue server, and a second server, where the first server, the message queue server, and the second server are directly or indirectly connected to each other.
The first server judges whether the image-text type of the image-text data is one of image-text types allowed to be issued or not when monitoring that the state of the image-text data is changed, and obtains the attribute information of the image-text data and issues the attribute information of the image-text data when the image-text type of the image-text data belongs to one of the image-text types allowed to be issued.
In this embodiment, the process of performing the graphic data processing by the first server may refer to the detailed description in the first embodiment, which is not described herein in detail.
And when monitoring the attribute information of the image-text data issued by the first server, the queue message server stores the attribute information of the image-text data issued by the first server into a second message queue and issues the attribute information of the image-text data stored in the second message queue.
In this embodiment, the process of performing the teletext data processing by the queue message server may refer to the specific description in embodiment two, which is not described in detail herein.
And when monitoring the attribute information of the image-text data issued by the queue message server, the second server retrieves the image-text data required by the user according to the attribute information of the image-text data of the queue message server.
The second server stores the attribute information of the image-text data to a corresponding database so as to realize quick retrieval of hundred million-level data by adopting an elastic search engine search technology and solve the problems of multi-table combined object query and low attribute speed of a PLM relational database.
In this embodiment, the first server is a PLM server, the queue message server is an MQ server, and the second server is an ES server.
It can be understood that, in order to facilitate a user to update the teletext data and the attribute information corresponding to the teletext data stored in the second server, for example, delete the teletext data and the attribute information corresponding to the teletext data in the second database, in this embodiment, the second server is further configured to send a data deletion instruction corresponding to the attribute information of the teletext data to the queue message server when monitoring the attribute information of the teletext data issued by the queue message server, and the queue message server deletes the attribute information of the teletext data corresponding to the data deletion instruction from the second message queue when receiving the data deletion instruction.
Example four
In this embodiment, taking an example that the state change is changed from the audit state to the release state, when the first server monitors a state change event that the state of the image-text data is changed from the audit state to the release state, it is determined whether the image-text type of the image-text data belongs to one of predefined development images-texts, process images-texts, standard information images-texts, authentication information images-texts, change list images-texts, and the like, if so, the corresponding standard attribute is searched according to the ID of the image-text data, the image-text data is read to obtain a layout view, the service group information is found in the layout view, the image-text attribute defined in the service group information is read to determine the type of the image-text attribute according to the image-text attribute defined in the service group information, the attribute name and the attribute value belonging to the soft attribute corresponding to the type of the image-text attribute are obtained from the attribute definition table and the attribute value table, the soft attribute and the standard attribute of the image-text data belong to attribute information of the image-text data, relevant object information corresponding to an ID of the image-text data in a preset association table is obtained, a first message queue comprising the attribute information of the image-text data and the relevant object information corresponding to the image-text data is constructed, and the attribute information of the stored image-text data in the first message queue and the relevant object information corresponding to the image-text data are released.
And when monitoring the attribute information of the image-text data issued by the first server and the related object information corresponding to the image-text data, the queue message server stores the monitored attribute information of the image-text data into a second message queue and issues the attribute information of the image-text data stored in the second message queue and the related object information corresponding to the image-text data.
When monitoring the attribute information of the image-text data issued by the queue message server and the related object information corresponding to the image-text data, the second server feeds back a receiving completion message to the queue message server, and stores the monitored attribute information of the image-text data and the related object information corresponding to the image-text data into a database associated with the second server, so that when a user retrieves the required image-text data, the second server retrieves the image-text data required by the user according to the stored attribute information of the image-text data and the related object information corresponding to the image-text data
The queue message server is further configured to delete or mark attribute information of the image-text data corresponding to the reception completion information and related object information corresponding to the image-text data when receiving the reception completion information fed back by the second server, so as to avoid a situation that the attribute information of the image-text data and the related object information corresponding to the image-text data are repeatedly sent when the queue message server receives the attribute information of other image-text data again and stores the attribute information to the second message queue.
In summary, according to the method and system for processing the image-text data provided by the present invention, when the state of the image-text data is monitored to be changed, and when the image-text type of the image-text data belongs to one of the image-text types allowed to be released, the attribute information of the image-text data is obtained, and the attribute information of the image-text data is released, so that the second server retrieves the image-text data required by the user according to the released attribute information of the image-text data. The image-text data are preprocessed and stored in an event-driven mode, so that the problem that inconvenience is caused by adding an attribute name to a user is avoided, and in addition, when the image-text data required by the user are retrieved according to the attribute information of the image-text data stored in the second server, the retrieval efficiency is effectively improved by adopting an Elasticise engine search technology.
In the embodiments provided in the present invention, it should be understood that the disclosed system and method can be implemented in other ways. The system and method embodiments described above are merely illustrative.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
Although the embodiments of the present invention have been described above, the above descriptions are only for the convenience of understanding the present invention, and are not intended to limit the present invention. It will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (11)

1. A method for processing image-text data is applied to a first server, and is characterized by comprising the following steps:
when the state of the image-text data is monitored to be changed, judging whether the image-text type of the image-text data belongs to one of image-text types allowed to be released or not;
when the image-text type of the image-text data belongs to one of the image-text types which are allowed to be released, obtaining attribute information of the image-text data;
and releasing the attribute information of the image-text data so that the second server can retrieve the image-text data required by the user according to the released attribute information of the image-text data.
2. The method for processing teletext data according to claim 1, wherein, before the step of determining whether the teletext type of the teletext data belongs to one of the teletext types allowed to be released when a change in the state of the teletext data is monitored, the method further comprises the steps of:
and defining the types of the pictures and texts allowed to be released by adopting a preset markup language file.
3. The method for processing the image-text data according to claim 1, wherein the attribute information of the image-text data comprises a standard attribute of the image-text data and a soft attribute of the image-text data, and the soft attribute of the image-text data comprises an attribute name and an attribute value of the image-text data;
accordingly, the step of obtaining attribute information of the teletext data comprises:
searching a standard attribute corresponding to the ID of the image-text data from a preset database according to the ID of the image-text data;
reading the image-text data to obtain a corresponding layout view, finding out service group information in the layout view, and reading image-text attributes defined in the service group information;
and judging the type of the image-text attribute according to the image-text attribute defined in the service group information, and acquiring the attribute name and the attribute value of the image-text data corresponding to the type of the image-text attribute from an attribute definition table and an attribute value table.
4. Teletext data processing method according to claim 1, characterized in that the method further comprises the following steps:
acquiring related object information corresponding to the ID of the image-text data in a preset association table, wherein the related object information comprises associated object documents and material number information;
correspondingly, the attribute information of the image-text data is released, and simultaneously, the related object information corresponding to the image-text data is also released.
5. Teletext data processing method according to claim 1, wherein the step of publishing the attribute information of the teletext data comprises:
constructing a first message queue for storing attribute information of the image-text data;
and releasing the attribute information of the image-text data stored in the first message queue.
6. Teletext data processing method according to claim 1, wherein the step of publishing the attribute information of the teletext data comprises:
step a, constructing a first message queue for storing attribute information of the image-text data;
b, releasing the attribute information of the image-text data stored in the first message queue,
step c, detecting whether the abnormal condition occurs in the release process:
if the issuing process has no abnormal condition, the successful issuing is prompted;
if the abnormal condition occurs in the issuing process, deleting the first message queue, updating the times of the abnormal condition occurring in the issuing process, and judging whether the times of the abnormal condition occurring in the issuing process is less than the preset times:
if the number of times is less than the preset number of times, returning to execute the step a;
and if the number of times is larger than or equal to the preset number of times, prompting that the release is failed.
7. The data processing method of claim 1, wherein the method further comprises:
and when an image-text deleting instruction aiming at the target image-text data is monitored, obtaining the ID of the target image-text data and sending the ID of the target image-text data and the image-text deleting instruction to the second server so that the second server can delete the image-text data corresponding to the ID of the target image-text data and the attribute information of the image-text data according to the image-text deleting instruction.
8. A method for processing teletext data, applied to a queue message server, the method comprising:
acquiring attribute information of the image-text data obtained when the first server monitors that the state of the image-text data changes;
storing the attribute information of the image-text data to a second message queue;
and releasing the attribute information of the image-text data stored in the second message queue so that the second server can retrieve the image-text data required by the user according to the released attribute information of the image-text data.
9. Teletext data processing method according to claim 8, characterized in that the method further comprises:
obtaining receiving completion information fed back by the second server when the attribute information of the image-text data is received;
and deleting or marking the attribute information of the image-text data corresponding to the receiving completion information stored in the second message queue as the release completion.
10. An image-text data processing system is characterized by comprising a first server, a queue message server and a second server;
when the first server monitors that the state of the image-text data is changed, judging whether the image-text type of the image-text data is one of image-text types allowed to be issued, and when the image-text type of the image-text data belongs to one of the image-text types allowed to be issued, acquiring attribute information of the image-text data and issuing the attribute information of the image-text data;
when monitoring the attribute information of the image-text data issued by the first server, the queue message server stores the attribute information of the image-text data issued by the first server into a second message queue and issues the attribute information of the image-text data stored in the second message queue;
and when monitoring the attribute information of the image-text data issued by the queue message server, the second server retrieves the image-text data required by the user according to the attribute information of the image-text data issued by the queue message server.
11. The system according to claim 10, wherein the first server is a PLM server, the queue message server is an MQ server, the second server is an ES server, and the second server is further configured to send a data deletion instruction corresponding to attribute information of the teletext data to the queue message server when monitoring the attribute information of the teletext data issued by the queue message server;
and when receiving the data deleting instruction, the queue message server deletes the attribute information of the image-text data corresponding to the data deleting instruction from the second message queue.
CN201910864657.5A 2019-09-09 2019-09-09 Graphic data processing method and system Active CN110597867B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910864657.5A CN110597867B (en) 2019-09-09 2019-09-09 Graphic data processing method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910864657.5A CN110597867B (en) 2019-09-09 2019-09-09 Graphic data processing method and system

Publications (2)

Publication Number Publication Date
CN110597867A true CN110597867A (en) 2019-12-20
CN110597867B CN110597867B (en) 2023-04-28

Family

ID=68859356

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910864657.5A Active CN110597867B (en) 2019-09-09 2019-09-09 Graphic data processing method and system

Country Status (1)

Country Link
CN (1) CN110597867B (en)

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101159711A (en) * 2007-11-27 2008-04-09 航天东方红卫星有限公司 Self-adaptive real time message subscribing and issuing system and method
US20100005104A1 (en) * 2006-03-09 2010-01-07 Gracenote, Inc. Method and system for media navigation
CN102547403A (en) * 2011-12-29 2012-07-04 孙巍 System capable of releasing television advertisements in real time
CN105007539A (en) * 2015-07-17 2015-10-28 孙巍 HTML template-based method, equipment and system for releasing graphics and text information via television
CN105307024A (en) * 2014-06-13 2016-02-03 北京视联动力国际信息技术有限公司 Graphic and text information interface control method and device based on internet of videos
CN105808707A (en) * 2016-02-29 2016-07-27 郑州悉知信息科技股份有限公司 Data processing method, data processing device and e-commerce platform
CN105868966A (en) * 2016-04-06 2016-08-17 石萍 Audio and video and picture and text integrated talent information issuing and query system and realization method
US20170068643A1 (en) * 2015-09-03 2017-03-09 Disney Enterprises, Inc. Story albums
CN106843835A (en) * 2016-12-21 2017-06-13 中国电子科技网络信息安全有限公司 A kind of application systems software constructing system of meta data customizing, system constituting method
CN107656783A (en) * 2016-07-25 2018-02-02 武汉票据交易中心有限公司 A kind of flow path processing method and system based on event
CN107679247A (en) * 2017-10-31 2018-02-09 南威软件股份有限公司 A kind of method that electric business website realizes self-defined maintenance items extension information
CN108134762A (en) * 2016-12-01 2018-06-08 腾讯科技(深圳)有限公司 Launch resource reservation method and device
CN108920659A (en) * 2018-07-03 2018-11-30 广州唯品会信息科技有限公司 Data processing system and its data processing method, computer readable storage medium
CN109144952A (en) * 2018-07-25 2019-01-04 深圳市买买提信息科技有限公司 Believe and examines rule file dissemination method, device and storage medium

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100005104A1 (en) * 2006-03-09 2010-01-07 Gracenote, Inc. Method and system for media navigation
CN101159711A (en) * 2007-11-27 2008-04-09 航天东方红卫星有限公司 Self-adaptive real time message subscribing and issuing system and method
CN102547403A (en) * 2011-12-29 2012-07-04 孙巍 System capable of releasing television advertisements in real time
CN105307024A (en) * 2014-06-13 2016-02-03 北京视联动力国际信息技术有限公司 Graphic and text information interface control method and device based on internet of videos
CN105007539A (en) * 2015-07-17 2015-10-28 孙巍 HTML template-based method, equipment and system for releasing graphics and text information via television
US20170068643A1 (en) * 2015-09-03 2017-03-09 Disney Enterprises, Inc. Story albums
CN105808707A (en) * 2016-02-29 2016-07-27 郑州悉知信息科技股份有限公司 Data processing method, data processing device and e-commerce platform
CN105868966A (en) * 2016-04-06 2016-08-17 石萍 Audio and video and picture and text integrated talent information issuing and query system and realization method
CN107656783A (en) * 2016-07-25 2018-02-02 武汉票据交易中心有限公司 A kind of flow path processing method and system based on event
CN108134762A (en) * 2016-12-01 2018-06-08 腾讯科技(深圳)有限公司 Launch resource reservation method and device
CN106843835A (en) * 2016-12-21 2017-06-13 中国电子科技网络信息安全有限公司 A kind of application systems software constructing system of meta data customizing, system constituting method
CN107679247A (en) * 2017-10-31 2018-02-09 南威软件股份有限公司 A kind of method that electric business website realizes self-defined maintenance items extension information
CN108920659A (en) * 2018-07-03 2018-11-30 广州唯品会信息科技有限公司 Data processing system and its data processing method, computer readable storage medium
CN109144952A (en) * 2018-07-25 2019-01-04 深圳市买买提信息科技有限公司 Believe and examines rule file dissemination method, device and storage medium

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
SADAQAT UR REHMAN 等: "A Benchmark Dataset and Learning High-Level Semantic Embeddings of Multimedia for Cross-Media Retrieval", 《IEEE ACCESS》 *
郑芳友: "基于KVM的桌面云及其管理平台设计与实现", 《中国优秀硕士学位论文全文数据库 信息科技辑》 *

Also Published As

Publication number Publication date
CN110597867B (en) 2023-04-28

Similar Documents

Publication Publication Date Title
CN107943841B (en) Streaming data processing method, system and computer readable storage medium
US8903924B2 (en) Aggregating data in electronic communications
JP3885483B2 (en) Service execution method and apparatus
US20090106196A1 (en) Transferring records between tables using a change transaction log
KR101475335B1 (en) Enhancing an inquiry for a search of a database
US9020976B2 (en) System and method for processing data in diverse storage systems
EP1860603B1 (en) Efficient calculation of sets of distinct results
US20130198223A1 (en) System And Method For Processing, Maintaining, And Verifying Data
US11392606B2 (en) System and method for converting user data from disparate sources to bitmap data
CN101477527A (en) Multimedia resource retrieval method and apparatus
US7302427B2 (en) Text mining server and program
CN111191111A (en) Content recommendation method, device and storage medium
US8719690B2 (en) Method and system for automatic data aggregation
CN113360284A (en) Resource management method, device and equipment
JP5294002B2 (en) Document management system, document management program, and document management method
CN111737443A (en) Answer text processing method and device and key text determining method
JP2010061569A (en) Failure handling management server and failure handling management program
US20110302220A1 (en) Sql processing for data conversion
US20060007477A1 (en) Storage medium storing computer program for presenting document registrant, document registrant presenting method, and document management apparatus
CN110597867B (en) Graphic data processing method and system
US8190559B2 (en) Document management apparatus, storage medium storing program for document management apparatus, and method for managing documents
JP2016051383A (en) Document data management program, document data management method, and information processing device
JP2008165409A (en) Electronic business form retrieving device, electronic business form retrieving method, and program
US8200703B2 (en) Method and apparatus for supporting active documents
US8037113B2 (en) Techniques for file system searching

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