CN115731057A - Information generation method and device, computer equipment and storage medium - Google Patents

Information generation method and device, computer equipment and storage medium Download PDF

Info

Publication number
CN115731057A
CN115731057A CN202211458765.0A CN202211458765A CN115731057A CN 115731057 A CN115731057 A CN 115731057A CN 202211458765 A CN202211458765 A CN 202211458765A CN 115731057 A CN115731057 A CN 115731057A
Authority
CN
China
Prior art keywords
information
product
version number
target
target product
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.)
Pending
Application number
CN202211458765.0A
Other languages
Chinese (zh)
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.)
Ping An Health Insurance Company of China Ltd
Original Assignee
Ping An Health Insurance Company of China 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 Ping An Health Insurance Company of China Ltd filed Critical Ping An Health Insurance Company of China Ltd
Priority to CN202211458765.0A priority Critical patent/CN115731057A/en
Publication of CN115731057A publication Critical patent/CN115731057A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The embodiment of the application belongs to the field of big data, and relates to an information generation method, which comprises the following steps: judging whether the configuration of information change for the target product input by a user is received or not; if so, acquiring a historical information change record corresponding to the target product; acquiring a product identifier and a file identifier corresponding to the target product; acquiring current time information; and generating a target version number corresponding to the target product subjected to the information change configuration based on the historical information modification record, the product identifier, the file identifier and the time information. The application also provides an information generation device, computer equipment and a storage medium. In addition, the application also relates to a block chain technology, and the target version number can be stored in the block chain. By the method and the device, the generation efficiency of the version number of the product is effectively improved, and the intelligence of generation of the version number is improved.

Description

Information generation method and device, computer equipment and storage medium
Technical Field
The present application relates to the field of big data technologies, and in particular, to an information generating method and apparatus, a computer device, and a storage medium.
Background
Product information is important data information for insurance systems, and any modification of information to products already on sale is very important to downstream systems and is error-free. The conventional product information is not subjected to version recording, and the history modification record cannot be traced, so that the problem of the history insurance policy is very difficult to be checked, and the problem cannot be checked. Accordingly, version numbers are now increasingly used in insurance systems to identify versions of products. In the prior art, before a product is packaged in a file, a developer usually manually constructs information containing English and/or number as the version number of the product. For example, product A has version numbers V1.0, V2.0, and so on. However, the version number generation method needs manual participation, is inefficient in generating the version number, and is prone to version number confusion.
Disclosure of Invention
An object of the embodiments of the present application is to provide an information generating method, an information generating apparatus, a computer device, and a storage medium, so as to solve the technical problems that an existing version number generating manner needs manual participation, the generation efficiency of a version number is low, and version numbers are easily confused.
In order to solve the foregoing technical problem, an embodiment of the present application provides an information generating method, which adopts the following technical solutions:
judging whether the information change configuration of the target product input by a user is received or not;
if yes, obtaining a history information change record corresponding to the target product;
acquiring a product identifier and a file identifier corresponding to the target product;
acquiring current time information;
and generating a target version number corresponding to the target product subjected to the information change configuration based on the historical information modification record, the product identifier, the file identifier and the time information.
Further, the step of generating a target version number corresponding to the target product after the information change configuration based on the history information modification record, the product identifier, the file identifier, and the time information specifically includes:
counting the quantity value of the change record of the historical information;
generating a frequency order value corresponding to the information change configuration based on the quantity value;
splicing the frequency value, the product identification, the file identification and the time information based on a preset sequence to obtain corresponding spliced contents;
and taking the spliced content as the target version number.
Further, after the step of generating a target version number corresponding to the target product after the information change configuration based on the historical information modification record, the product identifier, the file identifier, and the time information, the method further includes:
determining the information content of the target product corresponding to the target version number based on the information change configuration;
constructing an incidence relation between the target version number and the information content of the target product;
and storing the target version number and the target product information content into a preset database based on the incidence relation.
Further, after the step of storing the target version number and the target product information content into a preset database based on the association relationship, the method further includes:
judging whether a product information query request triggered by a first user is received; wherein, the information inquiry request carries a first version number;
if yes, the first version number is analyzed from the product information query request;
inquiring the database based on the first version number, and inquiring first product information content corresponding to the first version number from the database;
and displaying the first product information content.
Further, after the step of storing the target version number and the target product information content into a preset database based on the association relationship, the method further includes:
judging whether a version information comparison request triggered by a second user is received; the information query request at least carries a second version number and a third version number;
if yes, the second version number and the third version number are analyzed from the version information comparison request;
inquiring a second product information content corresponding to the second version number from the database, and inquiring a third product information content corresponding to the third version number;
comparing the second product information content with the third product information content to obtain a corresponding comparison result;
and displaying the comparison result.
Further, the step of comparing the second product information content with the third product information content to obtain a corresponding comparison result specifically includes:
judging whether a built-in first comparison tool exists or not;
if a built-in first comparison tool exists, calling the first comparison tool to compare the second product information content with the third product information content to obtain a comparison result;
if the built-in first comparison tool does not exist, establishing a communication relation with an external second comparison tool;
and calling the second comparison tool to compare the second product information content with the third product information content based on the communication relation to obtain a comparison result.
Further, after the step of generating a target version number corresponding to the target product after the information change configuration based on the historical information modification record, the product identifier, the file identifier, and the time information, the method further includes:
monitoring the release state of the target product corresponding to the target version number;
judging whether the release state is abnormal;
if the release state is release abnormity, acquiring an abnormity processing timeliness level corresponding to the target product;
if the exception handling aging level is urgent, displaying a preset rollback version number input page;
receiving a target rollback version number submitted in the rollback version number input page;
and performing version rollback processing on the target product based on the target rollback version number.
In order to solve the above technical problem, an embodiment of the present application further provides an information generating apparatus, which adopts the following technical solutions:
the first judgment module is used for judging whether the configuration of the information of the target product input by a user is changed or not;
the first acquisition module is used for acquiring the historical information change record corresponding to the target product if the historical information change record is acquired;
the second acquisition module is used for acquiring a product identifier and a file identifier corresponding to the target product;
the third acquisition module is used for acquiring current time information;
and the generating module is used for generating a target version number corresponding to the target product subjected to the information change configuration based on the historical information modification record, the product identifier, the file identifier and the time information.
In order to solve the above technical problem, an embodiment of the present application further provides a computer device, which adopts the following technical solutions:
judging whether the configuration of information change for the target product input by a user is received or not;
if so, acquiring a historical information change record corresponding to the target product;
acquiring a product identifier and a file identifier corresponding to the target product;
acquiring current time information;
and generating a target version number corresponding to the target product subjected to the information change configuration based on the historical information modification record, the product identifier, the file identifier and the time information.
In order to solve the above technical problem, an embodiment of the present application further provides a computer-readable storage medium, which adopts the following technical solutions:
judging whether the configuration of information change for the target product input by a user is received or not;
if so, acquiring a historical information change record corresponding to the target product;
acquiring a product identifier and a file identifier corresponding to the target product;
acquiring current time information;
and generating a target version number corresponding to the target product subjected to the information change configuration based on the historical information modification record, the product identifier, the file identifier and the time information.
Compared with the prior art, the embodiment of the application mainly has the following beneficial effects:
when the information change configuration input by a user for the target product is received; changing records by acquiring historical information corresponding to the target product; acquiring a product identifier and a file identifier corresponding to the target product; acquiring current time information; and generating a target version number corresponding to the target product after the information change configuration based on the historical information modification record, the product identifier, the file identifier and the time information. According to the embodiment of the application, the version number of the target product can be automatically generated according to the historical information modification record, the product identification, the file identification and the current time information of the target product, so that manual participation is not needed, the labor cost is reduced, and the generation efficiency of the version number of the product is effectively improved. In addition, the file identification, the time information and the like are information with uniqueness, so that the target version number of the generated target product also has uniqueness, the situation that the version number is repeated can be effectively avoided, and the intelligence of the generation of the version number is improved.
Drawings
In order to more clearly illustrate the solution of the present application, the drawings used in the description of the embodiments of the present application will be briefly described below, and it is obvious that the drawings in the description below are some embodiments of the present application, and that other drawings may be obtained by those skilled in the art without inventive effort.
FIG. 1 is an exemplary system architecture diagram in which the present application may be applied;
FIG. 2 is a flow diagram of one embodiment of an information generation method according to the present application;
FIG. 3 is a schematic block diagram of one embodiment of an information generating apparatus according to the present application;
FIG. 4 is a schematic block diagram of one embodiment of a computer device according to the present application.
Detailed Description
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs; the terminology used in the description of the application herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application; the terms "including" and "having," and any variations thereof, in the description and claims of this application and the description of the above figures are intended to cover non-exclusive inclusions. The terms "first," "second," and the like in the description and claims of this application or in the foregoing drawings are used for distinguishing between different objects and not for describing a particular sequential order.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the application. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
In order to make the technical solutions better understood by those skilled in the art, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings.
As shown in fig. 1, the system architecture 100 may include terminal devices 101, 102, 103, a network 104, and a server 105. The network 104 serves as a medium for providing communication links between the terminal devices 101, 102, 103 and the server 105. Network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, to name a few.
A user may use terminal devices 101, 102, 103 to interact with a server 105 over a network 104 to receive or send messages or the like. Various communication client applications, such as a web browser application, a shopping application, a search application, an instant messaging tool, a mailbox client, social platform software, etc., may be installed on the terminal devices 101, 102, 103.
The terminal devices 101, 102, 103 may be various electronic devices having a display screen and supporting web browsing, including but not limited to a smart phone, a tablet computer, an e-book reader, an MP3 player (Mov I ng P I feature expetsgroup Aud I o Layer I, motion picture experts compression standard audio Layer 3), an MP4 (Mov I ng P I ctu reExperts G roup Aud I o Layer I V, motion picture experts compression standard audio Layer 4) player, a laptop portable computer, a desktop computer, and the like.
The server 105 may be a server providing various services, such as a background server providing support for pages displayed on the terminal devices 101, 102, 103.
It should be noted that the information generating method provided in the embodiments of the present application is generally executed by a server/terminal device, and accordingly, the information generating apparatus is generally disposed in the server/terminal device.
It should be understood that the number of terminal devices, networks, and servers in fig. 1 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.
With continuing reference to FIG. 2, a flow diagram of one embodiment of an information generation method in accordance with the present application is shown. The information generation method comprises the following steps:
step S201, determining whether the information about the target product input by the user is received to modify the configuration.
In this embodiment, an electronic device (for example, the server/terminal device shown in fig. 1) on which the information generating method operates may obtain the information modification configuration in a wired connection manner or a wireless connection manner. It should be noted that the wireless connection manners may include, but are not limited to, 3G/4G/5G connection, wifi connection, bluetooth connection, wimax connection, zjgbee connection, UWB (u l t a W i deband) connection, and other wireless connection manners known now or developed in the future. The information modification configuration may refer to modified information content obtained by modifying the product information of the target product by the user.
And S202, if yes, obtaining a history information change record corresponding to the target product.
In this embodiment, each time the information change configuration for a product is performed, an information change record corresponding to the product is generated and stored.
Step S203, acquiring a product identifier and a file identifier corresponding to the target product.
In this embodiment, the product identifier may refer to a product name of the target product. The file identifier may refer to a unique identifier in the last submission record of the code file corresponding to the target product.
Step S204, acquiring the current time information.
In this embodiment, the current time information may be acquired based on a built-in time acquisition tool, such as a clock. Wherein, the current time information has uniqueness.
Step S205, based on the historical information modification record, the product identifier, the file identifier, and the time information, a target version number corresponding to the target product after the information modification configuration is generated.
In this embodiment, the specific implementation process of generating the target version number corresponding to the target product after being modified and configured by the information based on the history information modification record, the product identifier, the file identifier and the time information is described in further detail in the following specific embodiments, and will not be described in detail here. In addition, when the downstream system needs to perform data comparison processing on products of different versions, only the version numbers need to be checked to be consistent, and data comparison is not needed to be performed table by table, so that data comparison is facilitated, the labor cost is saved, and the system availability is improved.
When the information change configuration for the target product input by the user is received; changing records by acquiring historical information corresponding to the target product; acquiring a product identifier and a file identifier corresponding to the target product; acquiring current time information; and generating a target version number corresponding to the target product after the information change configuration based on the historical information modification record, the product identifier, the file identifier and the time information. According to the method and the device, the version number of the target product can be automatically generated according to the historical information modification record, the product identification, the file identification and the current time information of the target product, so that manual participation is not needed, the labor cost is reduced, and the generation efficiency of the version number of the product is effectively improved. In addition, the file identification, the time information and the like are information with uniqueness, so that the target version number of the generated target product also has uniqueness, the situation that the version number is repeated can be effectively avoided, and the intelligence of generation of the version number is improved.
In some optional implementations, step S205 includes the following steps:
and counting the quantity value of the change record of the historical information.
In this embodiment, the quantity value refers to the number of times the information change has been made to the target product.
And generating a frequency order value corresponding to the information change configuration based on the quantity value.
In this embodiment, the frequency value is equal to the value +1. For example, if the target product has been configured with 2 information changes before, 2 history information change records corresponding to the target product are correspondingly generated and stored, and the frequency value is 3.
And splicing the frequency value, the product identification, the file identification and the time information based on a preset sequence to obtain corresponding spliced content.
In this embodiment, the preset sequence is not specifically limited, and may be set according to actual use requirements, for example, the preset sequence may be a sequence of product identifier-file identifier-time information-frequency value. The splicing process may refer to connecting different information by using a preset symbol. The selection of the preset symbol is not particularly limited, and may be set according to actual use requirements, for example, the symbol may be selected.
And taking the spliced content as the target version number.
The method comprises the steps of counting the quantity value of the change record of the historical information; then generating a frequency order value corresponding to the information change configuration based on the quantity value; and then splicing the frequency value, the product identifier, the file identifier and the time information based on a preset sequence to obtain corresponding spliced content, and taking the spliced content as the target version number. The method and the device can automatically generate the version number of the target product according to the frequency value, the product identification, the file identification and the time information of the target product, so that manual participation is not needed, the labor cost is reduced, and the generation efficiency of the version number of the product is effectively improved. In addition, the frequency value, the file identifier and the time information are information with uniqueness, so that the version number of the generated target product also has uniqueness, and the situation that the version number is repeated can be effectively avoided.
In some optional implementation manners of this embodiment, after step S205, the electronic device may further perform the following steps:
and determining the information content of the target product corresponding to the target version number based on the information change configuration.
In this embodiment, the configuration may be modified according to the information about the target product input by the user, so as to obtain the modified content about the target product input by the user, that is, the information content about the target product.
And constructing an incidence relation between the target version number and the information content of the target product.
In this embodiment, a one-to-one mapping relationship between the target version number and the information content of the target product may be constructed to obtain the association relationship.
And storing the target version number and the information content of the target product into a preset database based on the incidence relation.
Determining the information content of the target product corresponding to the target version number by changing configuration based on the information; then constructing an incidence relation between the target version number and the information content of the target product; and storing the target version number and the information content of the target product into a preset database based on the incidence relation. The database can be used for recording the modification information content for the product each time in detail, so that the follow-up investigation and tracing are facilitated, and the use experience of a user is improved.
In some optional implementation manners, after the step of storing the target version number and the target product information content into a preset database based on the association relationship, the electronic device may further perform the following steps:
judging whether a product information query request triggered by a first user is received; and the information inquiry request carries a first version number.
In this embodiment, the electronic device is further provided with a query function for product information content of the product.
And if so, analyzing the first version number from the product information query request.
In this embodiment, the first version number may be parsed from the product information query request by parsing the product information query request.
And inquiring the database based on the first version number, and inquiring first product information content corresponding to the first version number from the database.
In this embodiment, based on the association relationship between the version number and the product information content of the product, the first product information content corresponding to the first version number may be queried from the database
And displaying the first product information content.
In this embodiment, the display mode of the first product information content is not particularly limited, and may be set according to actual use requirements. For example, the first product information content may be highlighted and then displayed on the current page.
After receiving a product information query request triggered by a first user, the method can analyze the first version number from the product information query request; and then, inquiring the database based on the first version number, inquiring the first product information content corresponding to the first version number from the database, and displaying the first product information content. The user can quickly and accurately obtain the product information content of the product to be inquired based on the database only by inputting the version number of the product corresponding to the product information content to be inquired, and the use experience of the user is improved.
In some optional implementation manners, after the step of storing the target version number and the target product information content into a preset database based on the association relationship, the electronic device may further perform the following steps:
judging whether a version information comparison request triggered by a second user is received; and the information inquiry request at least carries a second version number and a third version number.
In this embodiment, the electronic device is further provided with a comparison function for the historical version of the product.
And if so, analyzing the second version number and the third version number from the version information comparison request.
In this embodiment, the second version number and the third version number may be parsed from the version information comparison request by parsing the version information comparison request.
And inquiring second product information content corresponding to the second version number and inquiring third product information content corresponding to the third version number from the database.
In this embodiment, based on the association relationship between the version number and the product information content of the product, the second product information content corresponding to the second version number and the third product information content corresponding to the third version number may be queried from the database.
And comparing the second product information content with the third product information content to obtain a corresponding comparison result.
In this embodiment, the specific implementation process of comparing the second product information content with the third product information content to obtain the corresponding comparison result is described in further detail in the following specific embodiments, and will not be described herein too much.
And displaying the comparison result.
In this embodiment, the comparison result may include a difference content between the second product information content and the third product information content. The display mode of the comparison result is not particularly limited, and can be set according to actual use requirements.
After receiving a version information comparison request triggered by a second user, the method and the device can analyze the second version number and the third version number from the version information comparison request; then inquiring second product information content corresponding to the second version number from the database, and inquiring third product information content corresponding to the third version number; and subsequently comparing the second product information content with the third product information content to obtain a corresponding comparison result, and displaying the comparison result. The user can quickly and accurately obtain the difference content between different versions needing to be compared based on the database only by inputting the version number needing to be compared, and the use experience of the user is improved.
In some optional implementation manners of this embodiment, the comparing the second product information content with the third product information content to obtain a corresponding comparison result includes the following steps:
and judging whether a built-in first comparison tool exists.
In this embodiment, the first built-in comparison tool is a comparison tool pre-integrated in the electronic device
And if the built-in first comparison tool exists, calling the first comparison tool to compare the second product information content with the third product information content to obtain the comparison result.
In this embodiment, the second product information content and the third product information content in the database are read and compared by starting a first comparison tool integrated inside, so as to obtain a corresponding comparison result.
And if the built-in first comparison tool does not exist, establishing a communication relation with an external second comparison tool.
In this embodiment, the second comparing tool may refer to a third comparing tool that is not integrated in the electronic device, and the selection of the second comparing tool is not specifically limited, and may include, for example, U l t complex forward i ona l, D i fflarge, and other tools.
And calling the second comparison tool to compare the second product information content with the third product information content based on the communication relation to obtain a comparison result.
In this embodiment, the second comparison tool is started, and the second product information content and the third product information content acquired from the database are imported into the second comparison tool based on the communication relationship, so as to perform comparison processing.
When the electronic equipment is detected to have the built-in first comparison tool, the comparison processing of the product information contents between different versions can be achieved intelligently by using the first comparison tool, the installation operation of a user on the comparison tool can be omitted, and therefore the comparison efficiency of the product information contents between different versions is improved. If the electronic equipment does not have the built-in first comparison tool, the communication relation can be flexibly established with an external second comparison tool, comparison processing of product information contents among different versions is achieved through the second comparison tool, and the intelligence of comparison processing of the product information contents is improved.
In some optional implementation manners of this embodiment, after step S205, the electronic device may further perform the following steps:
monitoring the release state of the target product corresponding to the target version number.
In this embodiment, the issue status includes issue normal or issue exception. The flow log of the target product running in the release process can be obtained, and the attributes of the target product corresponding to the target version number, such as stability, use times, use frequency, server stability and the like, are determined by analyzing the flow log so as to determine whether the target product corresponding to the target version number has problems in the release process. If the problem occurs, the issuing state is abnormal, otherwise, the issuing state is normal.
And judging whether the issuing state is abnormal.
In this example, when a product is released, the version number of this time is added to a broadcast message, when a downstream system consumes, the version number is compared with a local version number, and consumption is performed only when the version number is larger, so that consumption confusion is avoided.
And if the release state is abnormal, acquiring an abnormal processing timeliness level corresponding to the target product.
In this embodiment, the above-described exception handling aging level includes emergency or non-emergency.
And if the exception handling aging level is urgent, displaying a preset rollback version number input page.
In this embodiment, the rollback version number input page is a page that is constructed in advance and used for reminding a relevant user to input a rollback version number corresponding to a version rollback requirement according to an actual service requirement.
Receiving a target rollback version number submitted in the rollback version number input page.
And performing version rollback processing on the target product based on the target rollback version number.
In this embodiment, the version rollback processing for the target product may be completed by acquiring the specified product data corresponding to the target rollback version number and overwriting the product data corresponding to the target product with the specified product data.
The method comprises the steps of monitoring the release state of the target product corresponding to the target version number; if the release state is release abnormity, acquiring an abnormity processing timeliness level corresponding to the target product; if the exception handling timeliness level is urgent, displaying a preset rollback version number input page; then receiving a target rollback version number submitted in the rollback version number input page; and then performing version rollback processing on the target product based on the target rollback version number. When the online release of the target product is detected to be out of order, the version rollback processing can be intelligently carried out on the target product in time according to the rollback version number input by the relevant user, so that the influence on more users is avoided, and the use experience of the user is improved.
It is emphasized that the target version number may also be stored in a node of a block chain in order to further ensure privacy and security of the target version number.
The block chain referred by the application is a novel application mode of computer technologies such as distributed data storage, point-to-point transmission, a consensus mechanism, an encryption algorithm and the like. The block chain (B l ockcha i n), which is essentially a decentralized database, is a string of data blocks associated by using cryptography, and each data block contains information of a batch of network transactions, which is used for verifying the validity (anti-counterfeiting) of the information and generating the next block. The blockchain may include a blockchain underlying platform, a platform product service layer, an application service layer, and the like.
The embodiment of the application can acquire and process related data based on an artificial intelligence technology. The artificial intelligence (Art I f I c I a l I nte l I gene, AI) is a theory, method, technique and application system for simulating, extending and expanding human intelligence by using a digital computer or a machine controlled by a digital computer, sensing environment, acquiring knowledge and obtaining the best result by using the knowledge.
The artificial intelligence base technologies generally include technologies such as sensors, dedicated artificial intelligence chips, cloud computing, distributed storage, big data processing technologies, operation/interaction systems, mechatronics, and the like. The artificial intelligence software technology mainly comprises a computer vision technology, a robot technology, a biological recognition technology, a voice processing technology, a natural language processing technology, machine learning/deep learning and the like.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware associated with computer readable instructions, which can be stored in a computer readable storage medium, and when executed, the processes of the embodiments of the methods described above can be included. The storage medium may be a non-volatile storage medium such as a magnetic disk, an optical disk, a Read-only Memory (ROM), or a Random Access Memory (RAM).
It should be understood that, although the steps in the flowcharts of the figures are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and may be performed in other orders unless explicitly stated herein. Moreover, at least a portion of the steps in the flow chart of the figure may include multiple sub-steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, and the order of execution is not necessarily sequential, but may be performed alternately or alternately with other steps or at least a portion of the sub-steps or stages of other steps.
With further reference to fig. 3, as an implementation of the method shown in fig. 2, the present application provides an embodiment of an information generating apparatus, where the embodiment of the apparatus corresponds to the embodiment of the method shown in fig. 2, and the apparatus may be specifically applied to various electronic devices.
As shown in fig. 3, the information generating apparatus 300 according to the present embodiment includes: a first determining module 301, a first obtaining module 302, a second obtaining module 303, a third obtaining module 304, and a generating module 305. Wherein:
the first judging module 301 is configured to judge whether the configuration of the information about the target product input by the user is changed;
a first obtaining module 302, configured to, if yes, obtain a history information change record corresponding to the target product;
a second obtaining module 303, configured to obtain a product identifier and a file identifier corresponding to the target product;
a third obtaining module 304, configured to obtain current time information;
a generating module 305, configured to generate a target version number corresponding to the target product after the information change configuration based on the historical information modification record, the product identifier, the file identifier, and the time information.
In this embodiment, the operations that the modules or units are respectively configured to execute correspond to the steps of the information generating method of the foregoing embodiment one to one, and are not described herein again.
In some optional implementations of this embodiment, the generating module 305 includes:
the statistic submodule is used for counting the quantity value of the change record of the historical information;
the generation submodule is used for generating a frequency order value corresponding to the information change configuration based on the quantity value;
the first processing submodule is used for splicing the frequency value, the product identifier, the file identifier and the time information based on a preset sequence to obtain corresponding spliced content;
and the determining submodule is used for taking the splicing content as the target version number.
In this embodiment, the operations that the modules or units are respectively configured to execute correspond to the steps of the information generating method of the foregoing embodiment one to one, and are not described herein again.
In some optional implementations of this embodiment, the information generating apparatus further includes:
the determining module is used for determining the information content of the target product corresponding to the target version number based on the information change configuration;
the construction module is used for constructing the incidence relation between the target version number and the information content of the target product;
and the storage module is used for storing the target version number and the target product information content into a preset database based on the incidence relation.
In this embodiment, the operations that the modules or units are respectively configured to execute correspond to the steps of the information generating method in the foregoing embodiment one to one, and are not described herein again.
In some optional implementations of this embodiment, the information generating apparatus further includes:
the second judgment module is used for judging whether a product information inquiry request triggered by the first user is received or not; wherein, the information inquiry request carries a first version number;
the first analysis module is used for analyzing the first version number from the product information query request if the first version number is the first version number;
the first query module is used for performing query processing on the database based on the first version number and querying first product information content corresponding to the first version number from the database;
and the first display module is used for displaying the information content of the first product.
In this embodiment, the operations that the modules or units are respectively configured to execute correspond to the steps of the information generating method of the foregoing embodiment one to one, and are not described herein again.
In some optional implementations of this embodiment, the information generating apparatus further includes:
the third judging module is used for judging whether a version information comparison request triggered by a second user is received or not; the information query request at least carries a second version number and a third version number;
the second analysis module is used for analyzing the second version number and the third version number from the version information comparison request if the version information comparison request is positive;
the second query module is used for querying a second product information content corresponding to the second version number from the database and querying a third product information content corresponding to the third version number;
the comparison module is used for comparing the second product information content with the third product information content to obtain a corresponding comparison result;
and the second display module is used for displaying the comparison result.
In this embodiment, the operations that the modules or units are respectively configured to execute correspond to the steps of the information generating method of the foregoing embodiment one to one, and are not described herein again.
In some optional implementations of this embodiment, the alignment module includes:
the judging submodule is used for judging whether a built-in first comparing tool exists or not;
the second processing submodule is used for calling the first comparison tool to compare the second product information content with the third product information content if the built-in first comparison tool exists, so as to obtain a comparison result;
the construction submodule is used for establishing a communication relation with an external second comparison tool if the built-in first comparison tool does not exist;
and the third processing submodule is used for calling the second comparison tool to compare the second product information content with the third product information content based on the communication relation to obtain the comparison result.
In this embodiment, the operations that the modules or units are respectively configured to execute correspond to the steps of the information generating method of the foregoing embodiment one to one, and are not described herein again.
In some optional implementations of this embodiment, the information generating apparatus further includes:
the monitoring module is used for monitoring the release state of the target product corresponding to the target version number;
the fourth judging module is used for judging whether the issuing state is abnormal;
a fourth obtaining module, configured to obtain an exception handling timeliness level corresponding to the target product if the release status is that the release is abnormal;
the third display module is used for displaying a preset rollback version number input page if the exception handling timeliness level is urgent;
a receiving module, configured to receive a target rollback version number submitted in the rollback version number input page;
and the rollback module is used for performing version rollback processing on the target product based on the target rollback version number.
In this embodiment, the operations that the modules or units are respectively configured to execute correspond to the steps of the information generating method of the foregoing embodiment one to one, and are not described herein again.
In order to solve the technical problem, an embodiment of the present application further provides a computer device. Referring to fig. 4, fig. 4 is a block diagram of a basic structure of a computer device according to the present embodiment.
The computer device 4 comprises a memory 41, a processor 42, a network interface 43 communicatively connected to each other via a system bus. It is noted that only computer device 4 having components 41-43 is shown, but it is understood that not all of the shown components are required to be implemented, and that more or fewer components may be implemented instead. AS will be understood by those skilled in the art, the computer device herein is a device capable of automatically performing numerical calculation and/or information processing according to preset or stored instructions, and the hardware thereof includes, but is not limited to, a microprocessor, an application specific integrated circuit (App I cat I on pec I C I integrated C I rcu t, AS ic), a programmable Gate array (F I e D-programmable Gate Ar ray, FPGA), a digital Processor (D I g ta l S I gn a Processor, DSP), an embedded device, and the like.
The computer device can be a desktop computer, a notebook, a palm computer, a cloud server and other computing devices. The computer equipment can carry out man-machine interaction with a user through a keyboard, a mouse, a remote controller, a touch panel or voice control equipment and the like.
The memory 41 includes at least one type of readable storage medium including a flash memory, a hard disk, a multimedia card, a card type memory (e.g., SD or DX memory, etc.), a Random Access Memory (RAM), a Static Random Access Memory (SRAM), a Read Only Memory (ROM), an Electrically Erasable Programmable Read Only Memory (EEPROM), a Programmable Read Only Memory (PROM), a magnetic memory, a magnetic disk, an optical disk, etc. In some embodiments, the memory 41 may be an internal storage unit of the computer device 4, such as a hard disk or a memory of the computer device 4. In other embodiments, the memory 41 may also be an external storage device of the computer device 4, such as a plug-in hard disk, a Smart Memory Card (SMC), a Secure digital (Secure D i g i ta l, SD) Card, a flash memory Card (F l ash Card), and the like, which are provided on the computer device 4. Of course, the memory 41 may also include both internal and external storage devices of the computer device 4. In this embodiment, the memory 41 is generally used for storing an operating system installed in the computer device 4 and various types of application software, such as computer readable instructions of an information generating method. Further, the memory 41 may also be used to temporarily store various types of data that have been output or are to be output.
The processor 42 may be a Central Processing Unit (CPU), a controller, a microcontroller, a microprocessor, or other data processing chip in some embodiments. The processor 42 is typically used to control the overall operation of the computer device 4. In this embodiment, the processor 42 is configured to execute computer readable instructions stored in the memory 41 or process data, for example, execute computer readable instructions of the information generating method.
The network interface 43 may comprise a wireless network interface or a wired network interface, and the network interface 43 is generally used for establishing communication connection between the computer device 4 and other electronic devices.
Compared with the prior art, the embodiment of the application mainly has the following beneficial effects:
in the embodiment of the application, when the configuration of the information of the target product input by a user is changed; changing records by acquiring historical information corresponding to the target product; acquiring a product identifier and a file identifier corresponding to the target product; acquiring current time information; and generating a target version number corresponding to the target product after the information change configuration based on the historical information modification record, the product identifier, the file identifier and the time information. According to the embodiment of the application, the version number of the target product can be automatically generated according to the historical information modification record, the product identification, the file identification and the current time information of the target product, so that manual participation is not needed, the labor cost is reduced, and the generation efficiency of the version number of the product is effectively improved. In addition, the file identification, the time information and the like are information with uniqueness, so that the target version number of the generated target product also has uniqueness, the situation that the version number is repeated can be effectively avoided, and the intelligence of generation of the version number is improved.
The present application further provides another embodiment, which is to provide a computer-readable storage medium storing computer-readable instructions executable by at least one processor to cause the at least one processor to perform the steps of the information generating method as described above.
Compared with the prior art, the embodiment of the application mainly has the following beneficial effects:
in the embodiment of the application, when the information change configuration of the target product input by a user is received; changing records by acquiring historical information corresponding to the target product; acquiring a product identifier and a file identifier corresponding to the target product; acquiring current time information; and generating a target version number corresponding to the target product after the information change configuration based on the historical information modification record, the product identifier, the file identifier and the time information. According to the embodiment of the application, the version number of the target product can be automatically generated according to the historical information modification record, the product identification, the file identification and the current time information of the target product, so that manual participation is not needed, the labor cost is reduced, and the generation efficiency of the version number of the product is effectively improved. In addition, the file identification, the time information and the like are information with uniqueness, so that the target version number of the generated target product also has uniqueness, the situation that the version number is repeated can be effectively avoided, and the intelligence of the generation of the version number is improved.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present application.
It should be understood that the above-described embodiments are merely exemplary of some, and not all, embodiments of the present application, and that the drawings illustrate preferred embodiments of the present application without limiting the scope of the claims appended hereto. This application is capable of embodiments in many different forms and is provided for the purpose of enabling a thorough understanding of the disclosure of the application. Although the present application has been described in detail with reference to the foregoing embodiments, it will be apparent to one skilled in the art that the present application may be practiced without modification or with equivalents of some of the features described in the foregoing embodiments. All equivalent structures made by using the contents of the specification and the drawings of the present application are directly or indirectly applied to other related technical fields and are within the protection scope of the present application.

Claims (10)

1. An information generating method, characterized by comprising the steps of:
judging whether the information change configuration of the target product input by a user is received or not;
if so, acquiring a historical information change record corresponding to the target product;
acquiring a product identifier and a file identifier corresponding to the target product;
acquiring current time information;
and generating a target version number corresponding to the target product subjected to the information change configuration based on the historical information modification record, the product identifier, the file identifier and the time information.
2. The information generating method according to claim 1, wherein the step of generating a target version number corresponding to the target product after the information change configuration based on the historical information modification record, the product identifier, the file identifier, and the time information specifically includes:
counting the quantity value of the change record of the historical information;
generating a frequency order value corresponding to the information change configuration based on the quantity value;
splicing the frequency value, the product identifier, the file identifier and the time information based on a preset sequence to obtain corresponding spliced content;
and taking the spliced content as the target version number.
3. The information generating method according to claim 1, further comprising, after the step of generating a target version number corresponding to the target product after the information change configuration based on the history information modification record, the product identifier, the file identifier, and the time information:
determining the information content of the target product corresponding to the target version number based on the information change configuration;
constructing an incidence relation between the target version number and the information content of the target product;
and storing the target version number and the target product information content into a preset database based on the incidence relation.
4. The information generating method according to claim 3, further comprising, after the step of storing the target version number and the target product information content into a preset database based on the association relationship:
judging whether a product information query request triggered by a first user is received; wherein, the information inquiry request carries a first version number;
if yes, the first version number is analyzed from the product information query request;
inquiring the database based on the first version number, and inquiring first product information content corresponding to the first version number from the database;
and displaying the first product information content.
5. The information generating method according to claim 3, further comprising, after the step of storing the target version number and the target product information content into a preset database based on the association relationship:
judging whether a version information comparison request triggered by a second user is received; the information query request at least carries a second version number and a third version number;
if yes, the second version number and the third version number are analyzed from the version information comparison request;
inquiring second product information content corresponding to the second version number and inquiring third product information content corresponding to the third version number from the database;
comparing the second product information content with the third product information content to obtain a corresponding comparison result;
and displaying the comparison result.
6. The information generating method according to claim 5, wherein the step of comparing the second product information content with the third product information content to obtain a corresponding comparison result specifically includes:
judging whether a built-in first comparison tool exists or not;
if a built-in first comparison tool exists, calling the first comparison tool to compare the second product information content with the third product information content to obtain a comparison result;
if the built-in first comparison tool does not exist, establishing a communication relation with an external second comparison tool;
and calling the second comparison tool to compare the second product information content with the third product information content based on the communication relation to obtain a comparison result.
7. The information generating method according to claim 1, further comprising, after the step of generating a target version number corresponding to the target product after the information change configuration based on the history information modification record, the product identifier, the file identifier, and the time information:
monitoring the release state of the target product corresponding to the target version number;
judging whether the release state is abnormal;
if the release state is abnormal, acquiring an abnormal processing timeliness level corresponding to the target product;
if the exception handling aging level is urgent, displaying a preset rollback version number input page;
receiving a target rollback version number submitted in the rollback version number input page;
and performing version rollback processing on the target product based on the target rollback version number.
8. An information generating apparatus, characterized by comprising:
the first judgment module is used for judging whether the information change configuration of the target product input by the user is received or not;
the first acquisition module is used for acquiring the historical information change record corresponding to the target product if the historical information change record is acquired;
the second acquisition module is used for acquiring a product identifier and a file identifier corresponding to the target product;
the third acquisition module is used for acquiring current time information;
and the generating module is used for generating a target version number corresponding to the target product subjected to the information change configuration based on the historical information modification record, the product identifier, the file identifier and the time information.
9. A computer device comprising a memory having computer readable instructions stored therein and a processor which when executed implements the steps of the information generating method of any one of claims 1 to 7.
10. A computer-readable storage medium, having computer-readable instructions stored thereon, which, when executed by a processor, implement the steps of the information generating method according to any one of claims 1 to 7.
CN202211458765.0A 2022-11-18 2022-11-18 Information generation method and device, computer equipment and storage medium Pending CN115731057A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211458765.0A CN115731057A (en) 2022-11-18 2022-11-18 Information generation method and device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211458765.0A CN115731057A (en) 2022-11-18 2022-11-18 Information generation method and device, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
CN115731057A true CN115731057A (en) 2023-03-03

Family

ID=85297005

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211458765.0A Pending CN115731057A (en) 2022-11-18 2022-11-18 Information generation method and device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115731057A (en)

Similar Documents

Publication Publication Date Title
CN112052111B (en) Processing method, device and equipment for server abnormity early warning and storage medium
CN112613917A (en) Information pushing method, device and equipment based on user portrait and storage medium
CN114564294A (en) Intelligent service arranging method and device, computer equipment and storage medium
CN112631751A (en) Task scheduling method and device, computer equipment and storage medium
CN112181835A (en) Automatic testing method and device, computer equipment and storage medium
CN112860662B (en) Automatic production data blood relationship establishment method, device, computer equipment and storage medium
CN115712422A (en) Form page generation method and device, computer equipment and storage medium
CN115757075A (en) Task abnormity detection method and device, computer equipment and storage medium
CN113869789A (en) Risk monitoring method and device, computer equipment and storage medium
CN111311374A (en) University student-based idle commodity exchange method, device, equipment and storage medium
CN115809241A (en) Data storage method and device, computer equipment and storage medium
CN116450723A (en) Data extraction method, device, computer equipment and storage medium
CN116627778A (en) Service system performance monitoring method and device, computer equipment and storage medium
CN116383787A (en) Page creation method, page creation device, computer equipment and storage medium
CN115543565A (en) Task processing method and device, computer equipment and storage medium
CN115731057A (en) Information generation method and device, computer equipment and storage medium
CN114143308A (en) File uploading information processing method and device, computer equipment and storage medium
CN111353768A (en) Book borrowing supervision method, device, equipment and storage medium
CN114545328B (en) Tracking method and system for optical cable inspection equipment, computer equipment and storage medium
CN115756640A (en) Method for automatically generating job scheduling configuration and related equipment thereof
CN117933699A (en) Task analysis method, device, computer equipment and storage medium
CN117390119A (en) Task processing method, device, computer equipment and storage medium
CN115080045A (en) Link generation method and device, computer equipment and storage medium
CN115904657A (en) Document generation method and device, computer equipment and storage medium
CN117395310A (en) Task processing method, device, computer equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination