CN110795652A - Promotional resource replacement method, device and computer readable medium - Google Patents
Promotional resource replacement method, device and computer readable medium Download PDFInfo
- Publication number
- CN110795652A CN110795652A CN201910942778.7A CN201910942778A CN110795652A CN 110795652 A CN110795652 A CN 110795652A CN 201910942778 A CN201910942778 A CN 201910942778A CN 110795652 A CN110795652 A CN 110795652A
- Authority
- CN
- China
- Prior art keywords
- resource
- user
- value
- replacement
- popularization
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 43
- 230000001737 promoting effect Effects 0.000 title claims description 38
- 238000012545 processing Methods 0.000 claims abstract description 35
- 238000004590 computer program Methods 0.000 claims description 17
- 230000011218 segmentation Effects 0.000 claims description 6
- 238000010586 diagram Methods 0.000 description 8
- 230000006870 function Effects 0.000 description 8
- 241001455214 Acinonyx jubatus Species 0.000 description 6
- 238000005516 engineering process Methods 0.000 description 6
- 230000003287 optical effect Effects 0.000 description 6
- 241000282373 Panthera pardus Species 0.000 description 5
- 230000000295 complement effect Effects 0.000 description 4
- 230000008569 process Effects 0.000 description 4
- 238000004891 communication Methods 0.000 description 3
- 239000004065 semiconductor Substances 0.000 description 3
- 230000006399 behavior Effects 0.000 description 2
- 239000002537 cosmetic Substances 0.000 description 2
- 230000002452 interceptive effect Effects 0.000 description 2
- 230000000644 propagated effect Effects 0.000 description 2
- 238000013475 authorization Methods 0.000 description 1
- 230000002457 bidirectional effect Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000018109 developmental process Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 239000000835 fiber Substances 0.000 description 1
- 230000004927 fusion Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 229910044991 metal oxide Inorganic materials 0.000 description 1
- 150000004706 metal oxides Chemical class 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 239000000725 suspension Substances 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/957—Browsing optimisation, e.g. caching or content distillation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/30—Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
- G06F16/34—Browsing; Visualisation therefor
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q30/00—Commerce
- G06Q30/02—Marketing; Price estimation or determination; Fundraising
- G06Q30/0241—Advertisements
- G06Q30/0277—Online advertisement
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Databases & Information Systems (AREA)
- Physics & Mathematics (AREA)
- Business, Economics & Management (AREA)
- General Physics & Mathematics (AREA)
- Accounting & Taxation (AREA)
- General Engineering & Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Development Economics (AREA)
- Finance (AREA)
- Strategic Management (AREA)
- Entrepreneurship & Innovation (AREA)
- Game Theory and Decision Science (AREA)
- Economics (AREA)
- Marketing (AREA)
- General Business, Economics & Management (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The method comprises the steps of firstly identifying high-value sentences relevant to popularization resources in texts read by users, determining replacement elements with similar meanings to the popularization resources in the high-value sentences, then carrying out replacement processing on the replacement elements in the high-value sentences according to the popularization resources, and displaying the replaced contents. Because the promotion resource is replaced by the replacement element which is in the high-value sentence associated with the promotion resource and has similar meaning with the promotion resource, the relevance degree of the released promotion resource and the content in the text which is currently read by the user can be higher, the attention of the reading user can be attracted, the display pattern of the reading interface cannot be changed, the replacement of part of the content with similar meaning is carried out, and the influence on the reading experience of the user is small.
Description
Technical Field
The present application relates to the field of information technology, and in particular, to a method, an apparatus, and a computer-readable medium for replacing a promotional resource.
Background
With the development of the technology, the internet advertisement delivery is an important field of advertisement delivery, the internet advertisement has the advantages of being rich and various in form, capable of interacting with users and the like, which are not possessed by other advertisement modes, and new creativity of the internet advertisement is also endless based on the application of the internet technology and the multimedia technology. Meanwhile, the functions provided by various intelligent devices are more and more abundant, for example, users often use mobile phones, tablet computers and other devices, and read various text contents such as news, novels, articles and the like by utilizing fragmented time. Therefore, the internet advertisement can be implanted into the process of reading various text contents by the user.
Currently, the way to deliver advertisements to such users is mainly to insert or pop up advertisements at specific positions of the reading interface, for example, below or on one side of the reading interface. The disadvantage of this method is that the display format of the reading interface is changed, which affects the reading experience of the user, and meanwhile, the content of the advertisement is still determined based on the conventional advertisement recommendation algorithm, and the association with the content of the text is insufficient, which often cannot attract the attention of the user, and the advertisement effect is poor.
Disclosure of Invention
An object of the present application is to provide a method, apparatus, and computer-readable medium for promoting resource replacement.
To achieve the above object, some embodiments of the present application provide a method for promoting resource replacement, including:
identifying high-value sentences associated with the promoted resources in the text read by the user;
determining a replacement element in the high-value statement that has a similar meaning to the promotional resource;
and replacing the replacement elements in the high-value sentences according to the popularization resources, and displaying the replaced contents.
In addition, the present application also provides a promoted resource replacement device, which includes a memory for storing computer program instructions and a processor for executing the computer program instructions, wherein when the computer program instructions are executed by the processor, the device is triggered to execute the promoted resource replacement method.
Embodiments of the present application also provide a computer readable medium, on which computer program instructions are stored, the computer readable instructions being executable by a processor to implement the promoted resource replacement method.
In the scheme provided by some embodiments of the application, a high-value sentence associated with a promotional resource is identified in a text read by a user, a replacement element having a similar meaning to the promotional resource is determined in the high-value sentence, and then the replacement element in the high-value sentence is replaced according to the promotional resource, and the content after replacement is displayed. Because the promotion resource is replaced by the replacement element which is in the high-value sentence associated with the promotion resource and has similar meaning with the promotion resource, the relevance degree of the released promotion resource and the content in the text which is currently read by the user can be higher, the attention of the reading user can be attracted, the display pattern of the reading interface cannot be changed, the replacement of part of the content with similar meaning is carried out, and the influence on the reading experience of the user is small.
Drawings
Other features, objects and advantages of the present application will become more apparent upon reading of the following detailed description of non-limiting embodiments thereof, made with reference to the accompanying drawings in which:
fig. 1 is a processing flow chart of a method for replacing a promotional resource according to an embodiment of the present application;
FIG. 2 is a schematic diagram of text content before replacement processing in the embodiment of the present application;
FIG. 3 is a schematic diagram of text content after replacement processing in an embodiment of the present application;
FIG. 4 is a schematic diagram of a display interface in the first mode according to an embodiment of the present disclosure;
fig. 5 is a schematic structural diagram of a computing device for implementing promotional resource replacement according to an embodiment of the present application;
the same or similar reference numbers in the drawings identify the same or similar elements.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
In a typical configuration of the present application, the terminal, the devices serving the network each include one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
Computer-readable media, which include both non-transitory and non-transitory, removable and non-removable media, may implement the information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Disks (DVD) or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device.
In the popularization resource replacement scheme provided by some embodiments of the application, the popularization resource is replaced by a replacement element which has a similar meaning with the popularization resource in a high-value sentence associated with the popularization resource, so that the relevance of the released popularization resource and the content in the text which is currently read by the user can be higher, the attention of the reading user can be attracted better, the display pattern of a reading interface cannot be changed, the replacement of the approximate meaning is performed on part of the content, and the reading experience influence on the user is smaller.
In a practical scenario, the execution subject of the method may be a user equipment, or a device formed by integrating the user equipment and a network device through a network. The user equipment at least comprises a display device which is used for interacting with a user and displaying the replaced content to the user. The part of the scheme related to data processing can be implemented locally in the user equipment, or can be implemented in the network equipment and provides the processing result to the user equipment through the network, and the part related to interactive display is implemented only by the user equipment. The user equipment comprises but is not limited to various terminal equipment such as a computer, a mobile phone and a tablet computer; including but not limited to implementations such as a network host, a single network server, multiple sets of network servers, or a cloud-computing-based collection of computers. Here, the Cloud is made up of a large number of hosts or web servers based on Cloud Computing (Cloud Computing), which is a type of distributed Computing, one virtual computer consisting of a collection of loosely coupled computers.
Fig. 1 shows a processing flow of a method for replacing a promoted resource provided in an embodiment of the present application, where the method may include at least the following steps:
step S101, identifying high-value sentences associated with the popularization resource in the text read by the user. The text read by the user may be various forms of electronic text that the user is currently browsing at the device, such as news that the user is reading through a browser, novels that are browsed using a reading application, and so on.
The promotion resource in the embodiment of the application can be the text content used by the resource publisher for promoting and publicizing the resource released by the resource publisher. For example, the popularization resource may be advertising words of various products, and specific contents of the advertising words may be "cheetah shaver", "XX brand egg beater", "CC mobile phone", and the like. The high-value sentences associated with the popularization resources are sentences of which part or all of the contents have a preset association relationship with the popularization resources, and the part or all of the contents in the sentences can be replaced by the popularization resources. For sentences having a preset association relation with the popularization resource, after sentence elements having similar meanings are replaced, the replaced contents have higher fusion degree with the original contents of the text, so that the substitution sense is stronger when a user reads, the user can more naturally imagine the contents of the popularization resource from the text contents, the influence on the reading experience of the user is smaller, and the impression of the user on the popularization resource is further deepened.
For example, the word "cheetah shaver" may be associated with a word indicating that the speed is fast, and if the word "his speed is as fast as the leopard" is included in the novel being read by the user, the word may be recognized as a high-value word associated with the "cheetah shaver"; for example, for the "CC mobile phone," an association relationship may be established with any statement that includes a mobile phone, and if the novel being read by the user includes the statement "i have drawn out the mobile phone," the statement may be identified as a high-value statement associated with the "CC mobile phone.
When a high-value sentence related to a promotional resource is identified in a text read by a user, the identified range may be set according to the requirements of an actual scene, for example, the identification process may be performed only in the text content currently displayed, taking a novel word read by the user as an example, if the user is currently reading the content of the 15 th page, only the text included in the 15 th page may be used as the identified range, or a certain range may be expanded based on the text content in the currently displayed page, for example, the text included in the 14-16 pages may be used as the identified range.
In some embodiments of the present application, the high-value sentences associated with the promoted resources may be determined by combining with some related preset information, where the preset information may include at least any one of user portrait information, tag information of text, and time information of the promoted resources. Therefore, in the embodiment of the application, when a high-value sentence associated with a popularization resource is identified in a text read by a user, the popularization resource matched with the preset information can be determined according to the preset information, and the high-value sentence associated with the popularization resource is identified in the text read by the user.
In an actual scenario, the promotional resources may be candidate promotional resources in a resource library, where the candidate promotional resources included in the resource library are advertisement texts associated with the promotional resources that need to be released by the resource publisher, and for example, the aforementioned "cheetah shaver", "XX brand whisk", and "CC handset" may all be candidate promotional resources and stored in the resource library in advance. Therefore, in some embodiments of the application, at least one popularization resource matched with the preset information can be selected from candidate popularization resources of the resource library according to the preset information, and then high-value sentences associated with the popularization resources are identified in texts read by users.
When determining the popularization resource, the user portrait information may be generated based on personal information provided by the user or historical behavior information of the user, or may be directly obtained from another third party, taking the user portrait information as an example. If the user is reading a novel in a reading application, the user profile information may be derived from information filled in by the user when registering an account, such as age, interest, gender. For example, for the popularization resource related to the game, the popularization resource is preferentially delivered to a young user, at this time, the popularization resource matched with the age group, such as the popularization resource of a new game, can be determined according to the age, and a high-value language related to the popularization resource of the new game is identified in the novel text read by the user; for the popularization resources related to cosmetics, the popularization resources related to cosmetics can be preferentially put to female users and the like, at the moment, the popularization resources matched with the gender of the users, such as the popularization resources related to the new lipstick, can be determined according to the gender, and high-value sentences related to the popularization resources of the new lipstick are identified in the novel text read by the users.
Or, the user portrait information may be from a historical browsing record of the user reading novels, for example, the novels in the historical browsing record of the user are novels about the online game, so that it can be determined that the content in which the user is interested is likely to be the online game, at this time, it can be determined that the popularization resource matched with the user portrait information is a popularization resource about the online game, and a high-value sentence associated with the popularization resource of the online game is identified in the novels text read by the user. In addition, the user representation information may also come from a third party, for example, a reading application used by the user may obtain authorization of a shopping application of the third party, the user has registered an account in the shopping application of the third party and has used the shopping application to shop, and thus the shopping application of the third party also generates the user representation information based on the historical purchasing behavior of the user. At this time, when the user reads the novel by using the reading application on the device, the user portrait information can be acquired from the third-party shopping application to be used for determining the popularization resource suitable for the user, and the high-value sentence associated with the popularization resource is identified in the novel text read by the user.
The label information of the text refers to a label of the text read by the user, and the label information may be a keyword reflecting information such as a subject, an approximate content, and a category of the text. For example, if a user is using a reading application to browse a story caused by theft of a cell phone, if the tag information of the story includes "cell phone," then a matching promotional resource, such as the CC cell phone described above, can be determined based on the tag information of the text, and high-value sentences associated with the CC cell phone are identified in the text of the story.
The time information of the promoted resource refers to information related to time set for the promoted resource in advance, such as the advertisement serving time limit, the advertisement scheduled serving time period, and the like. For example, for the popularization resource of the 'cheetah razor', the putting time can be preset to be two months, and the preset putting time is 9-11 am. That is, the promotional resource is used for subsequent replacement processing within two months after a predetermined time (e.g., the first delivery), so as to implement advertisement delivery, the promotional resource is not used after two months, and at the same time, the promotional resource is used for subsequent replacement processing only between 9 am and 11 am of the day, and the promotional resource is not used in the rest of the time period.
It should be understood by those skilled in the art that the specific contents of the preset information are only examples, and other forms based on similar principles, which exist now or later come, should be included in the scope of the present application if they can be applied to the present application, and are included herein by reference. And before the preset information items are combined and used at will according to the requirements of the actual scene, for example, the matched promotion resource can be determined according to the user portrait information, the label information of the text and the time information of the promotion resource, and then the high-value sentence associated with the promotion resource is identified in the text read by the user.
If the candidate promotional resources in the resource library are AA games, BB lipsticks, CC phones and DD games, the user pictorial information shows that the user is a young woman and is interested in playing games, the browsing text is a long story about online games, the tag information includes "games", and the predetermined release time periods of the promotional resources are 9 to 11 points, 13 to 22 points, 17 to 22 points and 19 to 21 points, respectively. If the user reads the novel at 19 o 'clock 21 o' clock, if the matched promotion resource is determined based on the user portrait information, the label information of the text and the time information of the promotion resource at the same time, the determined promotion resource is the 'DD game', if the preset association relationship of the DD game is any sentence about the game in the text content, the high-value sentence associated with the DD game can be identified within a certain range of the novel by the preset association relationship, for example, 'he creates a new character in the game'.
And step S102, determining a replacement element with a similar meaning to the popularization resource in the high-value sentence. Since the high-value sentence is a sentence composed of a plurality of elements, and the promotion resource replacement generally only needs to replace a part of elements in the sentence, it is necessary to determine a replacement element having a similar meaning to the promotion resource in the high-value sentence.
For example, for the aforementioned high-value sentence "he created a new character in the game," the game "therein may be determined as a replacement element; for the aforementioned high-value sentence "his speed is as fast as the leopard", the "leopard" therein can be determined as a replacement element; for the high-value sentence "i have drawn out the mobile phone", the "mobile phone" in the high-value sentence can be determined as a replacement element.
In some embodiments of the present application, when determining a replacement element having a similar meaning to the popularization resource in the high-value sentence, word segmentation processing may be performed on the high-value sentence to obtain at least one sentence element, and then, according to the semantics of the sentence element, a sentence element matching the semantics of the popularization resource is extracted from the sentence element of the high-value sentence and determined as the replacement element.
For example, for a high-value sentence "i have drawn out a mobile phone" matched with a CC mobile phone, the result of performing word segmentation processing on the sentence may be "i/having drawn out/mobile phone", and thus 4 sentence elements may be acquired as "i", "having drawn out", "having" and "mobile phone", respectively. Based on the semantics of the statement elements, the statement elements matched with the semantics of the promotion resource CC mobile phone can be extracted as the mobile phone, so that the mobile phone in the statement is determined to be the replacement elements. In an actual scenario, any available algorithm may be used for word segmentation processing, for example, a string matching-based algorithm such as a forward maximum matching algorithm, a reverse maximum matching algorithm, a bidirectional maximum matching algorithm, or other statistical-based word segmentation algorithms may also be used.
And S103, replacing the replacement elements in the high-value sentences according to the popularization resources, and displaying the replaced contents. Taking the high-value sentence matched with the CC mobile phone as an example, when the replacement element in the high-value sentence is replaced, the mobile phone in the sentence is replaced by the CC mobile phone, and therefore the replaced content is the CC mobile phone. Similarly, for the high-value sentence matching the DD game "he created a new character in the game", and the high-value sentence matching the cheetah shaver "his speed and leopard are as fast", the content after the replacement process is "he created a new character in the DD game", and "his speed and leopard shaver are as fast", respectively.
In some embodiments of the present application, according to the popularization resource, an actual processing manner when the replacement element in the high-value sentence is subjected to replacement processing may be to display the popularization resource at a text position where the replacement element in the high-value sentence is located, and fig. 2 and fig. 3 respectively show text contents before and after the replacement. Therefore, the popularization resource can replace a replacement element with a similar meaning to the popularization resource in the high-value sentence, the relevance between the released popularization resource and the content in the text which is read by the user at present can be higher, the attention of the reading user can be attracted better, the display pattern of a reading interface cannot be changed, the replacement with the similar meaning is carried out on part of the content, and the influence on the reading experience of the user is small.
For the replaced replacement elements, the replacement elements may not be displayed, or may be displayed at a preset position according to needs, where the preset position may be around the promoted resource, such as above, below, right side, or may be an area specially set on the interface, such as an additional information frame displayed on the right side of the reading interface.
In some embodiments of the present application, a display switching instruction input by a user may also be obtained, and the current display mode is switched according to the display switching instruction. The display modes may include at least two modes, which are respectively used for displaying the content after the replacement processing and the content before the non-replacement processing, for example, when the current display mode is the first mode, the content after the replacement processing is displayed, and when the current display mode is the second mode, the content before the non-replacement processing is displayed. Because some users may also need to read unmodified text in an actual scene, a triggering mode can be provided for the users to switch, so that the users can freely select.
The display switching instruction input by the user may be an operation of clicking the switching button by the user, and when the operation is detected, it is determined that the display switching instruction is obtained. For example, the display switching instruction input by the user may also be a preset gesture operation, and the actual scene may include, but is not limited to, the following categories: the method comprises the following steps of suspending operation gestures of a user above a reading interface, contact operation gestures of the user on the reading interface, a movement trend of the user driving user equipment in a display state of the reading interface and the like.
The hanging operation gesture of the user on the reading interface may refer to a hanging sliding track of the user on the business card display interface displayed on the display device of the user equipment within the acquisition range of the image sensor of the user equipment. The image sensor may be a Charge Coupled Device (CCD) sensor, or may also be a Metal-Oxide Semiconductor (CMOS) sensor, which is not particularly limited in this embodiment. The suspension sliding track may include, but is not limited to, a straight line or a curve with any shape, which is composed of a plurality of dwell points corresponding to a plurality of consecutive sliding events, and this embodiment is not particularly limited thereto.
The touch operation gesture of the user on the reading interface may refer to a touch sliding track of the user on the reading interface displayed on the display device of the user equipment. Generally, user devices can be classified into two types according to whether a display device has a characteristic of touch input, one type is a touch device, and the other type is a non-touch device. Specifically, a contact operation gesture of a user on a business card display interface displayed on a touch screen of the touch device may be detected. The contact sliding trajectory may include, but is not limited to, a straight line or a curve with an arbitrary shape, which is composed of a plurality of touch points corresponding to a plurality of consecutive touch events, and this embodiment is not particularly limited thereto. For example, the long pressing operation gesture of the user in the central area on the name card display interface or the sliding gesture of a plurality of contact points can be used.
The trend of the user driving the user equipment to move in the display state of the reading interface may refer to a movement track, such as shaking, turning, moving along a specific track, of the user equipment, which is driven by the user to move when the user equipment is held by a hand and the reading interface is displayed on a display device of the user equipment.
In other embodiments of the present application, in both display modes, the replaced content and the content before being replaced may be displayed simultaneously, where the difference is that when the current display mode is the first mode, the replaced content is highlighted and the content before being replaced is displayed at the preset position, and when the current display mode is the second mode, the content before being replaced is highlighted and the replaced content is displayed at the preset position. The specific form of the highlighting may be any display mode capable of attracting the visual attention of the user, such as bold font, red font, zoom, flash, etc. Fig. 4 shows a display interface in the first mode.
In an actual scenario, since the specific forms and types of the popularization resources are different, after a part of statement elements in a statement are replaced, a situation that a replaced high-value statement does not conform to a grammar rule of a corresponding language may occur. For example, the high-value sentence associated with "XX-brand whisk" is "cell phone shakes too much", and the result of performing the word segmentation processing thereon is "cell phone/shake/get too much", wherein the determined replacement element is "too much", and the result after the replacement according to the promoted resource is "cell phone shake XX-brand whisk". However, the high-value sentence after the replacement processing does not conform to the grammar rule of Chinese, which results in the sentence being not smooth.
Therefore, in the method for replacing the popularization resource provided by the embodiment of the application, the high-value sentences after the replacement processing can be detected after the replacement processing is completed, and if the high-value sentences do not accord with the grammar rules of the corresponding language, the high-value sentences are adjusted according to the grammar rules. For example, for the aforementioned sentence "XX medal beaten by cell phone", the grammatical structure is a structure of subject + predicate + complement, where "cell phone" is the subject, "shaken" is the predicate and "XX medal beaten" is the complement, and since the complement is a supplementary explanation for the predicate, the predicate in the sentence is the verb predicate "shaken" and the complement is the noun and does not conform to the grammatical rules. Therefore, the verb image can be supplemented, the supplementary language is modified into the verb phrase image XX brand egg beater, the adjusted high-value sentence is the phrase image XX brand egg beater shaken by the mobile phone, the grammar rule is met, and the sentence is smooth.
Based on the same inventive concept, the embodiment of the application also provides a device for replacing the popularization resource, the corresponding method of the device is the method for replacing the popularization resource in the embodiment, and the principle of solving the problem is similar to that of the method. The apparatus includes a memory for storing computer program instructions and a processor for executing the computer program instructions, wherein the computer program instructions, when executed by the processor, trigger the apparatus to perform the aforementioned promotional resource replacement method.
The specific implementation of the popularization resource replacement device may be a user device, or a device formed by integrating the user device and a network device through a network. The user equipment at least comprises a display device which is used for interacting with a user and displaying the replaced content to the user. The part of the scheme related to data processing can be implemented locally in the user equipment, or can be implemented in the network equipment and provides the processing result to the user equipment through the network, and the part related to interactive display is implemented only by the user equipment. The user equipment comprises but is not limited to various terminal equipment such as a computer, a mobile phone and a tablet computer; including but not limited to implementations such as a network host, a single network server, multiple sets of network servers, or a cloud-computing-based collection of computers. Here, the Cloud is made up of a large number of hosts or web servers based on Cloud Computing (Cloud Computing), which is a type of distributed Computing, one virtual computer consisting of a collection of loosely coupled computers.
Fig. 5 shows a structure of a device suitable for implementing the method and/or technical solution in the embodiment of the present application, and the device 500 includes a Central Processing Unit (CPU)501, which can execute various suitable actions and processes according to a program stored in a Read Only Memory (ROM) 502 or a program loaded from a storage portion 508 into a Random Access Memory (RAM) 503. In the RAM 503, various programs and data necessary for system operation are also stored. The CPU 501, ROM 502, and RAM 503 are connected to each other via a bus 504. An Input/Output (I/O) interface 505 is also connected to bus 504.
The following components are connected to the I/O interface 505: an input portion 506 including a keyboard, a mouse, a touch screen, a microphone, an infrared sensor, and the like; an output section 507 including a Display such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), an LED Display, an OLED Display, and the like, and a speaker; a storage portion 508 comprising one or more computer-readable media such as a hard disk, optical disk, magnetic disk, semiconductor memory, or the like; and a communication section 509 including a Network interface card such as a LAN (Local Area Network) card, a modem, or the like. The communication section 509 performs communication processing via a network such as the internet.
In particular, the methods and/or embodiments in the embodiments of the present application may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. The computer program performs the above-described functions defined in the method of the present application when executed by the Central Processing Unit (CPU) 501.
It should be noted that the computer readable medium described herein can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present application, a computer readable medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
In this application, however, a computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present application may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart or block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems that perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
As another aspect, the present application also provides a computer-readable medium, which may be contained in the apparatus described in the above embodiments; or may be separate and not incorporated into the device. The computer-readable medium carries one or more computer-readable instructions executable by a processor to implement the methods and/or aspects of the embodiments of the present application as described above.
To sum up, in the solutions provided in some embodiments of the present application, a high-value sentence associated with a promotional resource is first identified in a text read by a user, a replacement element having a similar meaning to the promotional resource is determined in the high-value sentence, and then, according to the promotional resource, the replacement element in the high-value sentence is subjected to replacement processing, and the content after the replacement processing is displayed. Because the promotion resource is replaced by the replacement element which is in the high-value sentence associated with the promotion resource and has similar meaning with the promotion resource, the relevance degree of the released promotion resource and the content in the text which is currently read by the user can be higher, the attention of the reading user can be attracted, the display pattern of the reading interface cannot be changed, the replacement of part of the content with similar meaning is carried out, and the influence on the reading experience of the user is small.
It should be noted that the present application may be implemented in software and/or a combination of software and hardware, for example, implemented using Application Specific Integrated Circuits (ASICs), general purpose computers or any other similar hardware devices. In some embodiments, the software programs of the present application may be executed by a processor to implement the above steps or functions. Likewise, the software programs (including associated data structures) of the present application may be stored in a computer readable recording medium, such as RAM memory, magnetic or optical drive or diskette and the like. Additionally, some of the steps or functions of the present application may be implemented in hardware, for example, as circuitry that cooperates with the processor to perform various steps or functions.
It will be evident to those skilled in the art that the present application is not limited to the details of the foregoing illustrative embodiments, and that the present application may be embodied in other specific forms without departing from the spirit or essential attributes thereof. The present embodiments are therefore to be considered in all respects as illustrative and not restrictive, the scope of the application being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference sign in a claim should not be construed as limiting the claim concerned. Furthermore, it is obvious that the word "comprising" does not exclude other elements or steps, and the singular does not exclude the plural. A plurality of units or means recited in the apparatus claims may also be implemented by one unit or means in software or hardware. The terms first, second, etc. are used to denote names, but not any particular order.
Claims (10)
1. A method for promoting resource replacement, wherein the method comprises:
identifying high-value sentences associated with the promoted resources in the text read by the user;
determining a replacement element in the high-value statement that has a similar meaning to the promotional resource;
and replacing the replacement elements in the high-value sentences according to the popularization resources, and displaying the replaced contents.
2. The method of claim 1, wherein identifying high value sentences associated with the promoted resource in the user-read text comprises:
according to preset information, determining popularization resources matched with the preset information, and identifying high-value sentences associated with the popularization resources in texts read by a user, wherein the preset information at least comprises any one of the following items: user portrait information, label information of text, and time information of popularization resource.
3. The method of claim 2, wherein determining, according to preset information, a promotional resource matching the preset information, and identifying a high-value sentence associated with the promotional resource in a text read by a user comprises:
according to preset information, selecting at least one popularization resource matched with the preset information from candidate popularization resources of the resource library;
identifying high value sentences associated with the promotional resource in the user-read text.
4. The method of claim 1, wherein determining replacement elements in the high-value statement that have a similar meaning as the promotional resource comprises:
performing word segmentation processing on the high-value sentence to obtain at least one sentence element;
and according to the semantics of the statement elements, extracting statement elements matched with the semantics of the popularization resources from the statement elements of the high-value statements, and determining the statement elements as replacement elements.
5. The method of claim 1, wherein replacing the replacement element in the high-value statement according to the promotional resource comprises:
displaying the promotional resource at a text position in the high-value sentence where the replacement element is located.
6. The method of claim 1, wherein the method further comprises:
and acquiring a display switching instruction input by a user, and switching a current display mode according to the display switching instruction, wherein when the current display mode is a first mode, the replaced content is displayed, and when the current display mode is a second mode, the content which is not replaced is displayed.
7. The method according to claim 6, wherein the content after the replacement processing is highlighted and the content before the replacement processing is displayed at a preset position when the current display mode is the first mode, and the content before the replacement processing is highlighted and the content after the replacement processing is displayed at a preset position when the current display mode is the second mode.
8. The method of claim 1, wherein the method further comprises:
detecting the high-value sentences after the replacement processing;
and if the high-value sentences do not accord with the grammar rules of the corresponding languages, the high-value sentences are adjusted according to the grammar rules.
9. A promotional resource replacement device, the device comprising a memory for storing computer program instructions and a processor for executing the computer program instructions, wherein the computer program instructions, when executed by the processor, trigger the device to perform the method of any of claims 1 to 8.
10. A computer readable medium having stored thereon computer program instructions executable by a processor to implement the method of any one of claims 1 to 8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910942778.7A CN110795652A (en) | 2019-09-30 | 2019-09-30 | Promotional resource replacement method, device and computer readable medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910942778.7A CN110795652A (en) | 2019-09-30 | 2019-09-30 | Promotional resource replacement method, device and computer readable medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110795652A true CN110795652A (en) | 2020-02-14 |
Family
ID=69440043
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910942778.7A Pending CN110795652A (en) | 2019-09-30 | 2019-09-30 | Promotional resource replacement method, device and computer readable medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110795652A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112785339A (en) * | 2021-01-26 | 2021-05-11 | 上海明略人工智能(集团)有限公司 | Method, device and equipment for user identification |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120011001A1 (en) * | 2010-07-08 | 2012-01-12 | Xerox Corporation | System and method for embedded addressable content within text and graphics for digital media |
CN104809632A (en) * | 2015-05-07 | 2015-07-29 | 北京字节跳动科技有限公司 | Template-based dynamic advertisement generation method and template-based dynamic advertisement generation device |
CN108122134A (en) * | 2017-12-21 | 2018-06-05 | 广州阿里巴巴文学信息技术有限公司 | The method, apparatus and terminal device to break for commercialsy in a kind of automatic reading |
US20180285940A1 (en) * | 2014-07-24 | 2018-10-04 | Google Inc. | Web advertisement placement |
CN108833952A (en) * | 2018-06-20 | 2018-11-16 | 北京优酷科技有限公司 | The advertisement placement method and device of video |
CN109034864A (en) * | 2018-06-11 | 2018-12-18 | 广东因特利信息科技股份有限公司 | Improve method, apparatus, electronic equipment and storage medium that precision is launched in advertisement |
-
2019
- 2019-09-30 CN CN201910942778.7A patent/CN110795652A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120011001A1 (en) * | 2010-07-08 | 2012-01-12 | Xerox Corporation | System and method for embedded addressable content within text and graphics for digital media |
US20180285940A1 (en) * | 2014-07-24 | 2018-10-04 | Google Inc. | Web advertisement placement |
CN104809632A (en) * | 2015-05-07 | 2015-07-29 | 北京字节跳动科技有限公司 | Template-based dynamic advertisement generation method and template-based dynamic advertisement generation device |
CN108122134A (en) * | 2017-12-21 | 2018-06-05 | 广州阿里巴巴文学信息技术有限公司 | The method, apparatus and terminal device to break for commercialsy in a kind of automatic reading |
CN109034864A (en) * | 2018-06-11 | 2018-12-18 | 广东因特利信息科技股份有限公司 | Improve method, apparatus, electronic equipment and storage medium that precision is launched in advertisement |
CN108833952A (en) * | 2018-06-20 | 2018-11-16 | 北京优酷科技有限公司 | The advertisement placement method and device of video |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112785339A (en) * | 2021-01-26 | 2021-05-11 | 上海明略人工智能(集团)有限公司 | Method, device and equipment for user identification |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110020411B (en) | Image-text content generation method and equipment | |
JP7356206B2 (en) | Content recommendation and display | |
CN109740085B (en) | Page content display method, device, equipment and storage medium | |
US9489684B2 (en) | Delivering wrapped packages in response to the selection of advertisements | |
US20170193280A1 (en) | Automated effects generation for animated content | |
CN111597006A (en) | Application split screen method and device, storage medium and electronic equipment | |
US9858244B1 (en) | Sampling a part of a content item | |
US20130117677A1 (en) | Methods and systems for displaying web pages based on a user-specific browser history analysis | |
CN110851712B (en) | Method, device and computer readable medium for recommending book information | |
CN110827058A (en) | Multimedia promotion resource insertion method, equipment and computer readable medium | |
US9589296B1 (en) | Managing information for items referenced in media content | |
WO2017076073A1 (en) | Method and apparatus for search and recommendation | |
US9563695B2 (en) | Personalized electronic magazine | |
US20110246618A1 (en) | Caching multiple views corresponding to multiple aspect ratios | |
CN107590205A (en) | A kind of service showing method, device and equipment | |
WO2017218038A1 (en) | Server-based conversion of autoplay content to click-to-play content | |
CN110147505A (en) | A kind of page display method, server and storage medium | |
CN113204691B (en) | Information display method, device, equipment and medium | |
WO2023241321A1 (en) | Recommendation method and apparatus, and device, storage medium and computer program product | |
CN115203539B (en) | Media content recommendation method, device, equipment and storage medium | |
WO2024140025A1 (en) | Page display method and apparatus, and device and storage medium | |
CN111930459A (en) | Content display method and device, electronic equipment and computer readable medium | |
CN114925285B (en) | Book information processing method, device, equipment and storage medium | |
CN113986003A (en) | Multimedia information playing method and device, electronic equipment and computer storage medium | |
US20160188556A1 (en) | Adaptive electronic document |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20200214 |
|
RJ01 | Rejection of invention patent application after publication |