CN113722335B - Trigger display method, device and equipment for geographic position and content management - Google Patents

Trigger display method, device and equipment for geographic position and content management Download PDF

Info

Publication number
CN113722335B
CN113722335B CN202111086952.6A CN202111086952A CN113722335B CN 113722335 B CN113722335 B CN 113722335B CN 202111086952 A CN202111086952 A CN 202111086952A CN 113722335 B CN113722335 B CN 113722335B
Authority
CN
China
Prior art keywords
name
hierarchical
content
data table
target
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.)
Active
Application number
CN202111086952.6A
Other languages
Chinese (zh)
Other versions
CN113722335A (en
Inventor
蒋浩良
胡志翔
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nxera Information Technology Shenzhen Co ltd
Original Assignee
Nxera Information Technology Shenzhen Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nxera Information Technology Shenzhen Co ltd filed Critical Nxera Information Technology Shenzhen Co ltd
Priority to CN202111086952.6A priority Critical patent/CN113722335B/en
Publication of CN113722335A publication Critical patent/CN113722335A/en
Application granted granted Critical
Publication of CN113722335B publication Critical patent/CN113722335B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/22Indexing; Data structures therefor; Storage structures
    • G06F16/2282Tablespace storage structures; Management thereof
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/23Updating
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/248Presentation of query results
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/29Geographical information databases
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K17/00Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations
    • G06K17/0022Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations arrangements or provisious for transferring data to distant stations, e.g. from a sensing device
    • G06K17/0025Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations arrangements or provisious for transferring data to distant stations, e.g. from a sensing device the arrangement consisting of a wireless interrogation device in combination with a device for optically marking the record carrier

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Computational Linguistics (AREA)
  • Software Systems (AREA)
  • Remote Sensing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention relates to the field of intelligent terminals, and provides a triggering display method, device, equipment and medium for geographic position and content management, which can freely add a unique address and freely edit or inherit active content aiming at any hierarchical name after the initial hierarchical structure information is constructed, and can automatically manage the content of two-dimension codes without designating and setting the content of each two-dimension code, thereby improving the data processing efficiency.

Description

Trigger display method, device and equipment for geographic position and content management
Technical Field
The present invention relates to the field of data processing technologies, and in particular, to a method and apparatus for performing geographic location and content management trigger display, a computer device, and a storage medium.
Background
At present, a two-dimensional code is generated, and the content correspondingly presented is content production singly appointed to a certain website. If a content provider needs to generate a plurality of two-dimensional codes and post the two-dimensional codes at specific positions (for example, a table of a restaurant scans code to order), each two-dimensional code needs to be set and specified in a one-to-one manner. If the content provider itself has hierarchical management (for example, a store, a layer, a partition.) on the physical geographic location, location management and one-to-one setting of the location content of different layers should be performed on the two-dimensional codes of different layers.
However, the current two-dimensional code generation has only content, and does not have the management setting of the self-defined geographic position and hierarchy of the content provider, so that after the number of the two-dimensional codes is increased, the content under certain entity positions or hierarchies is changed, or the newly increased or decreased geographic position or hierarchy of the geographic position under the posted hierarchy is newly increased or decreased, which is a tedious and error-prone link in the content correspondence, the newly increased and modified two-dimensional codes and the management of the entity positions. Whether the content of the two-dimensional code supports the correct geographic position or not is known by frequent checking.
Disclosure of Invention
In view of the above, it is necessary to provide a trigger display method, device, equipment and medium for performing geographic location and content management, which aims to solve the problems that in the prior art, the two-dimensional code generation itself has only content, and no management setting of the geographic location and hierarchy defined by a content provider causes the content correspondence, new addition and modification of the two-dimensional code, and the management of the location is tedious and error-prone.
In a first aspect, an embodiment of the present invention provides a trigger display method for performing geographic location and content management, including:
when detecting an instruction of a hierarchy position newly added mode, acquiring position management names input according to a hierarchy ascending order of hierarchy names; wherein the location management names include a plurality of hierarchical names;
Acquiring a stored first data table, if it is determined that a name combination composed of all hierarchical names in the position management names does not exist in the first data table, generating a position-hierarchy unique code corresponding to the position management names, and storing the name combination composed of all hierarchical names in the position management names in the first data table to update the first data table; wherein the first data table comprises a plurality of hierarchical name combinations, and each hierarchical name combination is unique in the first data table;
combining all the hierarchical names in the position management names to obtain a current unique position name, acquiring a stored second data table, acquiring a target merging data set of the current unique position name in the second data table, and merging the current unique position name and the target merging data set according to the hierarchical descending order of the hierarchical names so as to update the second data table; the second data table comprises a plurality of groups of combined data sets, each group of combined data sets comprises at least one piece of unique position name data with content attribute, and each group of combined data sets at least has the same highest hierarchical name;
Assigning the content of the target merged data set to the corresponding content of the current unique position name through a preset content inheritance strategy so as to update a second data table;
when a custom content adding instruction corresponding to the current unique position name in a second data table is detected, acquiring a hierarchical name selected by the custom content adding instruction in the current unique position name as a target hierarchical name;
acquiring current editing content as target content of the target hierarchical name, acquiring target inheritance content corresponding to the target hierarchical name, and setting the priority of the target content in the target hierarchical name to be higher than that of the target inheritance content so as to update a second data table;
and acquiring the unique position name of each piece of unique position name data in the second data table and the real-time content state corresponding to each hierarchical name of the unique position name, and displaying the unique position name of each piece of unique position name data in the second data table and the real-time content state in a corresponding display state.
In a second aspect, an embodiment of the present invention provides a triggered display apparatus for geographic location and content management, including:
A position management name input unit for acquiring position management names input in a hierarchical ascending order of hierarchical names when detecting an instruction of a hierarchical position newly added mode; wherein the location management names include a plurality of hierarchical names;
a comparison unit, configured to obtain a stored first data table, if it is determined that a name combination composed of each hierarchical name in the location management names does not exist in the first data table, generate a location-hierarchical system unique code corresponding to the location management name, and store the name combination composed of each hierarchical name in the location management names in the first data table to update the first data table; wherein the first data table comprises a plurality of hierarchical name combinations, and each hierarchical name combination is unique in the first data table;
the merging unit is used for combining all the hierarchical names in the position management names to obtain a current unique position name, acquiring a stored second data table, acquiring a target merging data set of the current unique position name in the second data table, and merging the current unique position name and the target merging data set according to the hierarchical descending order of the hierarchical names so as to update the second data table; the second data table comprises a plurality of groups of combined data sets, each group of combined data sets comprises at least one piece of unique position name data with content attribute, and each group of combined data sets at least has the same highest hierarchical name;
A content inheritance unit, configured to assign, by using a preset content inheritance policy, the content of the target merged dataset to the corresponding content of the current unique location name so as to update a second data table;
the custom instruction detection unit is used for acquiring a hierarchy name selected by the custom content addition instruction in the current unique position name as a target hierarchy name when the custom content addition instruction corresponding to the current unique position name in the second data table is detected;
the content custom unit is used for acquiring the current editing content as the target content of the target hierarchical name, acquiring the target inheritance content corresponding to the target hierarchical name, and setting the priority of the target content in the target hierarchical name to be higher than that of the target inheritance content so as to update the second data table;
and the content state monitoring unit is used for acquiring the unique position names of the unique position name data in the second data table and the real-time content states corresponding to the hierarchical names of the unique position names, and displaying the unique position names of the unique position name data in the second data table and the real-time content states in corresponding display states.
In a third aspect, an embodiment of the present invention further provides a computer device, which includes a memory, a processor, and a computer program stored in the memory and capable of running on the processor, where the processor implements the triggered display method for performing geographic location and content management according to the first aspect when the processor executes the computer program.
In a fourth aspect, an embodiment of the present invention further provides a computer readable storage medium, where the computer readable storage medium stores a computer program, where the computer program when executed by a processor causes the processor to perform the triggered display method for performing geographic location and content management according to the first aspect.
The embodiment of the invention provides a triggering display method, a device, computer equipment and a storage medium for geographic position and content management, which can freely add a unique address after the initial hierarchical structure information is constructed, freely edit or inherit active content aiming at any hierarchical name, and automatically manage the content of two-dimensional codes without designating and setting the content of each two-dimensional code, thereby improving the efficiency of data processing.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for the description of the embodiments will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of a preferred embodiment of a trigger display method for geographic location and content management of the present invention;
FIG. 2 is a functional block diagram of a preferred embodiment of a trigger display for geographic location and content management in accordance with the present invention;
FIG. 3 is a schematic diagram of a computer device implementing a preferred embodiment of a trigger display method for geographic location and content management in accordance with the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention will be described in detail with reference to the accompanying drawings and specific embodiments.
FIG. 1 is a flow chart of a preferred embodiment of a trigger display method for geographic location and content management according to the present invention. The order of the steps in the flowchart may be changed and some steps may be omitted according to various needs.
The trigger display method for geographic location and content management is applied to one or more computer devices, wherein the computer device is a device capable of automatically performing numerical calculation and/or information processing according to preset or stored instructions, and the hardware of the computer device comprises, but is not limited to, a microprocessor, an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), a programmable gate array (Field-Programmable Gate Array, FPGA), a digital processor (Digital Signal Processor, DSP), an embedded device and the like.
The computer device may be any electronic product that can interact with a user in a human-computer manner, such as a personal computer, tablet computer, smart phone, personal digital assistant (Personal Digital Assistant, PDA), game console, interactive internet protocol television (Internet Protocol Television, IPTV), smart wearable device, etc.
The computer device may also include a network device and/or a user device. Wherein the network device includes, but is not limited to, a single network server, a server group composed of a plurality of network servers, or a Cloud based Cloud Computing (Cloud Computing) composed of a large number of hosts or network servers.
The network in which the computer device is located includes, but is not limited to, the internet, a wide area network, a metropolitan area network, a local area network, a virtual private network (Virtual Private Network, VPN), and the like.
For a clearer understanding of the technical solutions of the present application, the first data table and the second data table referred to in the present application are first described below.
The first data table initially stored in the server comprises a plurality of hierarchical name combinations, and each hierarchical name combination is unique in the first data table. For example, [ bar area, a cafe, first floor, shopping mall first floor ] may be regarded as a hierarchical name combination including 4 hierarchical names of bar area, a cafe, first floor, and shopping mall first floor, and a hierarchical name combination obtained by combining the 4 hierarchical names in a predetermined combination order (for example, in order of hierarchical levels from bottom to top) is regarded as unique data (the representation is not repeated with other hierarchical name combinations) in the first data table. In addition, one hierarchical name combination in the first data table can be regarded as one piece of data, and the piece of data cannot be combined with other pieces of data.
The second data table initially stored in the server comprises a plurality of groups of combined data sets, each group of combined data sets comprises at least one piece of unique position name data with content attribute, and each group of combined data sets at least has the same highest hierarchical name. That is, the second data table further sets the content attribute for each hierarchical name included in each piece of unique location name data as compared with the first data table. And there may be a case where unique location name data is merged with a partial hierarchical name of similar unique location name data in the second data table, it is no longer that each unique location name data is presented in a single piece of data. The content attribute set for each hierarchical name in the second data table may be essentially regarded as a combination of conditions edited by the user, that is, a combination of a plurality of conditional expressions.
In this embodiment, the technical scheme is described with the server as the execution body. When an operator of the server needs to generate a trigger display mode capable of performing dual flexible management of geographic position and content for a certain service scene (which can be an online service scene or an offline service scene), a first data table and a second data table for the service scene can be initially created.
For example, an offline service scenario is first described as creating a first data table and a second data table and initializing them. More specifically, a shopping mall having a plurality of buildings is described as an example, and the shopping mall has a plurality of floors, a plurality of stores, and a plurality of areas within the stores. In order to uniformly manage the two-dimensional codes of the plurality of distinct areas in the server and set corresponding active contents for each two-dimensional code, the following operations may be performed:
a1 First creating a first data table for the shopping mall while creating a second data table for the shopping mall;
a2 After that, a 4-layer hierarchy is created in the first data table created in the ascending order of the hierarchical names, for example, a field of a hierarchical name corresponding region of the lowest hierarchical name level, a field of a hierarchical name corresponding store of the second lowest hierarchical name level, a field of a hierarchical name corresponding floor of the third lowest hierarchical name level, and a field of a hierarchical name corresponding stadium of the fourth lowest hierarchical name level (the hierarchical name of the fourth lowest hierarchical name of the hierarchical name level is currently the highest hierarchical level in the first data table).
A3 Creating a plurality of hierarchical name combinations in the first data table, each hierarchical name combination having the 4-layer hierarchical name described above, and each hierarchical name combination being unique (meaning not repeated with other hierarchical name combinations in the first data table); for example, the first building of the shopping center is provided with an A coffee shop, and the A coffee shop is provided with a bar counter area, so that the hierarchical name combination is stored as [ bar counter area, A coffee shop, first building of the shopping center ] in the first data table, and other hierarchical name combinations are also stored in the first data table according to the data in the form of the 4-layer hierarchical architecture;
A4 Generating one-to-one system unique code for all hierarchical name combinations in the first data table (indicating that the system unique code corresponding to each hierarchical name combination is also a system unique code repetition that is not combined with other hierarchical names);
a5 Taking the current first data table as an initial second data table, and then merging the position names of the unique position name data contained in the second data table according to the descending order of the hierarchy names to update the second data table; for example, the second data table stores two unique position name data of [ bar counter area, A coffee shop, first building, shopping center first building ] and [ leisure area, A coffee shop, first building, shopping center first building ], wherein 3 hierarchy names in the two unique position name data are the same, the hierarchy names of the 3 hierarchy levels of the A coffee shop, first building, shopping center first building are combined, and finally, the hierarchy names of the bar counter area and the leisure area are displayed separately;
a6 Setting activity content according to corresponding activity demands for all unique position name data existing in the second data table at present; for example, taking the unique position name data of [ bar area, a cafe, first building, shopping center ] in the second data table as an example, the attribute of setting specific activity content for the a cafe can be selected, so that once the activity content (for example, free drink is given by the scan code, the name is limited, the first 30 scan codes are available and sent out) for the a cafe is finished, an activity two-dimensional code corresponding to the a cafe can be generated, wherein because the activity content is set for the a cafe, the activity two-dimensional code of the a cafe has activity content and the two-dimensional code is displayed in a preset second type color, the class name of the a cafe is stored in a preset first type color in a server, and the two-dimensional code can be pushed to a terminal corresponding to the a cafe for checking and printing out and pasting the two-dimensional code to the bar area for displaying.
For example, a service scenario on the internet is taken as an example to describe and initialize the first data table and the second data table. More specifically, an e-commerce website with multiple product classifications is described as an example, where the e-commerce website also has multiple commodity major classes and multiple commodity minor classes, each commodity minor class has multiple commodity brands and multiple commodity specific models within each commodity brand. In order to uniformly manage the two-dimensional codes with definite layers in the server and set corresponding active contents for each two-dimensional code, the following operations can be performed:
b1 First creating a first data table for the e-commerce web site, and simultaneously creating a second data table for the e-commerce web site;
b2 And then creating a 4-layer hierarchy in the first data table according to the ascending order of the hierarchical names, for example, a field that the hierarchical name with the lowest hierarchical level corresponds to a specific commodity model, a field that the hierarchical name with the second lowest hierarchical level corresponds to a commodity brand, a field that the hierarchical name with the third lowest hierarchical level corresponds to a commodity subclass, and a field that the hierarchical name with the fourth lowest hierarchical level corresponds to a commodity subclass (the hierarchical name with the fourth lowest hierarchical level is currently the highest hierarchical level in the channel table B).
B3 Creating a plurality of hierarchical name combinations in the first data table, each hierarchical name combination having the 4-layer hierarchical name described above, and each hierarchical name combination being unique (meaning not repeated with other current hierarchical name combinations in the first data table); for example, a commodity subclass of 5G mobile phones is included in the commodity subclass of mobile phones, and YY2 mobile phone models of XX1 mobile phone brands are included in the commodity subclass of 5G mobile phones, so that the class name combination is stored as [ YY2 mobile phone models, XX1 mobile phones, 5G mobile phones, mobile phones ] in the first data table, and similarly, other class name combinations are also stored in the first data table according to the data in the 4-layer hierarchy architecture form;
b4 Generating one-to-one system unique code for all hierarchical name combinations in the first data table (indicating that the system unique code corresponding to each hierarchical name combination is also a system unique code repetition that is not combined with other hierarchical names);
b5 Taking the current first data table as an initial second data table, and then merging the position names of the unique position name data contained in the second data table according to the descending order of the hierarchy names to update the second data table; for example, the second data table stores two unique position name data of [ YY2 mobile phone model, XX1 mobile phone, 5G mobile phone, mobile phone ] and [ YY1 mobile phone model, XX1 mobile phone, 5G mobile phone, mobile phone ], wherein 3 hierarchy names in the two unique position name data are the same, the hierarchy names of the 3 hierarchy levels of XX1 mobile phone, 5G mobile phone and mobile phone are combined, and finally, the hierarchy names of the YY1 mobile phone model and YY2 mobile phone model are displayed separately;
B6 Setting activity content according to corresponding activity demands for all unique position name data existing in the second data table at present; for example, taking the unique location name data of [ YY2 mobile phone model, XX1 mobile phone, 5G mobile phone, mobile phone ] in the second data table as an example, the attribute of setting specific active content for XX1 mobile phone can be selected, so that once the setting of active content (for example, the acquisition of a purchase coupon by a code scanning is completed, the name is limited, the first 500 code scanning persons can obtain the coupon, and the mobile two-dimensional code corresponding to XX1 mobile phone is generated, wherein because the active content is set for XX1 mobile phone, the active two-dimensional code of XX1 mobile phone is provided with the active content, the two-dimensional code is displayed in a preset second type color, and the hierarchical name of XX1 mobile phone is stored in a preset first type color in a server, the active two-dimensional code can be added and displayed on a display poster corresponding to the merchant website XX1 mobile phone for a user to view.
It can be seen that when the initial first data table and the second data table are constructed, and the second data table sets the corresponding active content for the unique location name data, the active content can be stored in the server first, and whether there is a need for a new hierarchical location is further detected.
S101, when detecting an instruction of a hierarchy position newly added mode, acquiring position management names input according to a hierarchy ascending order of hierarchy names; wherein the location management names include a number of hierarchical names.
In this embodiment, when the operator of the server receives an instruction indicating that at least one new current hierarchical name combination needs to be added to the first data table (i.e., when an instruction of a hierarchical position new adding mode is detected), the operator needs to input the position management names in order of hierarchical ascending order of the hierarchical names, for example, when a new current hierarchical name combination with the hierarchical name combination of [ bar area, a cafe, first building, shopping mall first building ] located in the same cafe (i.e., still in the a cafe) but another area (e.g., leisure area) needs to be input first, then input the hierarchical name "leisure area" of the lowest hierarchical level, then input the hierarchical name "a cafe" of the second low hierarchical level, then input the hierarchical name "first building" of the third low hierarchical level, and finally input the hierarchical name "shopping mall first building" of the fourth low hierarchical level.
When the operator inputs the position management names in the ascending order of the hierarchy names, after finishing inputting the hierarchy names of one hierarchy, the operator immediately searches whether the same hierarchy name combination exists in the first data table, and if the same hierarchy name combination exists, the operator prompts the operation in a pull-down frame mode. For example, after the operator inputs the hierarchical name of the lowest hierarchy of the leisure area, the keyword that two pieces of current hierarchical information of [ leisure area, B coffee shop, third building, shopping center third building ], [ leisure area, C coffee shop, second building, shopping center fourth building ] have the leisure area ] is searched in the hierarchical structure information, and the two pieces of current hierarchical information are presented in a drop-down frame mode. At this time, the operator continues to input the second lower-level class name "a-cafe", and the user may be prompted to newly create a class name combination in the first data table by using the class name combination of the leisure area+a-cafe as the location management name because the class name of the leisure area+a-cafe cannot be searched in the hierarchy information. Of course, the user may continue to input the third lower hierarchical name "first building" of the hierarchy, and finally input the fourth lower hierarchical name "first building" of the shopping mall, so long as the combination formed by the input hierarchical names (i.e., the hierarchical name combination) does not exist in the first data table with repeated hierarchical name combinations, the new current hierarchical name combination (the current hierarchical name combination may also be understood as the location management name) may be completed.
When the user inputs the position management names according to the ascending order of the hierarchy names, the value corresponding to a certain hierarchy name may be a specific value (for example, the lowest hierarchy name of the leisure area may be input by the operator), or a null value may be set (for example, the operator does not input any character to the lowest hierarchy name, so that the value is null).
S102, acquiring a stored first data table, if it is determined that a name combination composed of all hierarchical names in the position management names does not exist in the first data table, generating a position-hierarchy unique code corresponding to the position management names, and storing the name combination composed of all hierarchical names in the position management names in the first data table to update the first data table; the first data table comprises a plurality of hierarchical name combinations, and each hierarchical name combination is unique in the first data table.
In this embodiment, after the user inputs the location management name corresponding to the instruction of the hierarchical location new mode, continuing to refer to the above example, if the location management name input by the user and having the name combination of the leisure area+a coffee shop as the location management name does not exist in the first data table, it indicates that the user newly creates a location management name having the uniqueness of the name combination, and at this time, a unique location-hierarchical system code corresponding to the location management name may be generated, thereby ensuring that each hierarchical name combination in the first data table is a corresponding unique address. Of course, referring to the above example, the user may continue to input the third lowest hierarchical name "first building" of the hierarchy completely, and finally input the fourth lowest hierarchical name "first building of the shopping mall" of the hierarchy, so long as the combination of the input hierarchical names does not have duplicate names in the hierarchical structure information, the new current hierarchical information may be completed.
In one embodiment, step S102 includes:
acquiring the entered hierarchical names according to the hierarchical ascending order of the hierarchical names, and combining the hierarchical names according to the hierarchical ascending order to obtain the name combination corresponding to the position management names;
and if the name combination corresponding to the position management name is determined to be different from all the hierarchical name combinations in the first data table, generating a corresponding position-hierarchical system unique code according to the position management name.
In this embodiment, continuing to refer to the above example, if the user currently inputs only the leisure area, the obtained name combination has only the leisure area; when the user inputs the leisure area and the A coffee shop, the obtained name is combined with the leisure area and the A coffee shop, and the combination name of the leisure area and the A coffee shop can be used as a position management name because the name combination of the leisure area and the A coffee shop does not exist in the first data table; the user can still continue to input the hierarchy name of the next hierarchy, "first floor", when the user inputs the leisure area, the coffee shop A and the first floor, the obtained name is combined with the leisure area, the coffee shop A and the first floor, and the combined name of the leisure area, the coffee shop A and the first floor can be used as the position management name because the name combination of the leisure area, the coffee shop A and the first floor does not exist in the first data table; the user can still continue to input the hierarchy name of the next hierarchy, "first shopping center" and when the user inputs the leisure area, the coffee shop, the first building and the first shopping center, the obtained names are combined into the first name of the leisure area, the coffee shop, the first building and the first shopping center, and the combined name of the leisure area, the coffee shop, the first building and the first shopping center can be used as the position management name because the first data table does not contain the combination of the names of the leisure area, the coffee shop, the first building and the first shopping center. By the method, whether the newly-built position management name is a unique name is judged, and the result is more accurate. And upon determining that the newly created location management name is a unique name, a location-hierarchy unique code corresponding to the location management name may be generated.
S103, combining all the hierarchical names in the position management names to obtain a current unique position name, acquiring a stored second data table, acquiring a target merging data set of the current unique position name in the second data table, and merging the current unique position name and the target merging data set according to the descending order of the hierarchical names so as to update the second data table; the second data table comprises multiple groups of combined data sets, each combined data set comprises at least one piece of unique position name data with content attribute, and each combined data set at least has the same highest hierarchical name.
In this embodiment, when it is determined that the hierarchical name combination corresponding to the location management name has uniqueness based on the first data table, each hierarchical name in the location management name is first combined to obtain the current unique location name, and at this time, no active content is set for any one of the current unique location names. And acquiring a stored second data table, acquiring a target merging data set with the current unique position name in the second data table, and merging the position names of the current unique position name and the target merging data set according to the descending order of the hierarchy names to update the second data table.
In an embodiment, the obtaining the target merged dataset with the current unique location name in the second data table includes:
sequentially acquiring the highest-level hierarchical name and the next highest-level hierarchical name included in the current unique position name until the lowest-level hierarchical name is acquired;
if the fact that the highest hierarchical name of the merged data set does not exist in the second data table is the same as the highest hierarchical name of the current unique position name is determined, the current unique position name is used as newly-added data of the second data table, and the newly-added data of the second data table is used as a target merged data set;
and if the highest hierarchical name of the merged data set in the second data table is identical to the highest hierarchical name of the current unique position name, taking the corresponding merged data set as a target merged data set.
In this embodiment, after the name entry and the name uniqueness determination of the current unique location name are completed in the first data table, the highest-level hierarchical name and the next highest-level hierarchical name included in the current unique location name are sequentially acquired in descending order of hierarchy first from the current unique location name until the lowest-level hierarchical name is acquired. And then, rapidly taking the highest hierarchical name in the current unique position name as a matching item, and judging whether the highest hierarchical name of the merged data set exists in the second data table or not, wherein the highest hierarchical name is the same as the highest hierarchical name of the current unique position name.
If it is determined that the highest level hierarchy name of the merged data set does not exist in the second data table and the highest level hierarchy name of the current unique position name are the same, the current unique position name is indicated to have no merging item in the second data table, at this time, the current unique position name is used as new data of the second data table, and the new data of the second data table is used as the target merged data set.
And if the highest hierarchical name of the merged data set exists in the second data table and is the same as the highest hierarchical name of the current unique position name, the current unique position name is indicated to have a merged item in the second data table, and the corresponding merged data set is taken as a target merged data set.
In an embodiment, the merging the current unique location name with the target merged dataset in descending order of hierarchy names to update the second data table comprises:
acquiring a p-th hierarchical level name in the current unique position names; the highest level hierarchical name, the next highest level hierarchical name and the lowest level hierarchical names in the current unique position names are respectively recorded as 1-level hierarchical names to P-level hierarchical names, the initial value of P is 1, the value range of P is [1, P ], and P is the total layer number of the hierarchical names included in the current unique position names;
If the p-th hierarchical level name of the unique position name data in the target merging data set is identical to the p-th hierarchical level name of the current unique position name, carrying out cell merging on the p-th hierarchical level name of the current unique position name and the p-th hierarchical level name of the corresponding unique position name data;
if it is determined that the p-th hierarchical level name of the unique position name data does not exist in the target merged data set is the same as the p-th hierarchical level name of the current unique position name, storing the p-th hierarchical level name of the unique position name data in the second data table in a non-merged cell, and executing a step of updating the second data table;
self-increasing p by 1 to update the value of p;
if the P is determined not to exceed the P, returning to execute the step of acquiring the name of the P-th hierarchical level in the current unique position names;
the second data table is updated.
In this embodiment, after the current unique location name is obtained, the current unique location name and the target merged data set are subjected to merging display processing of the same hierarchical name in descending order of the hierarchical names. That is, the current unique location name is added to the second data table and is adjacent to the data location having the most combinable hierarchical name in the target merged data set, and the data corresponding to the current unique location name is generally added to the second data table and is located below the data having the most combinable hierarchical name in the target merged data set.
For example, the location management names are [ leisure area, a cafe, first building and shopping center first building ], one piece of unique location name data is in the target merging data set determined in the second data table, the unique location name data is [ bar area, a cafe, first building and shopping center first building ], the location management names are the same as the [ bar area, a cafe, first building and shopping center first building ] in the 3-hierarchy names, at the moment, cell merging is performed between the two, that is, before the active content of the location management names is not set, the active content of the unique location name data can be inherited according to the preset rule because the unique location name data corresponds to the active content.
In the second data table, at least the highest hierarchical names of the unique position name data in each target merged data set are the same and can be merged. Instead of displaying the current hierarchical information for the similar region in a decentralized manner for each location in the second data table.
And S104, assigning the content of the target merged data set to the corresponding content of the current unique position name through a preset content inheritance strategy so as to update a second data table.
In this embodiment, after a current unique location name is newly added or reset, the current unique location name may be in a state where active content is not initially set, and at this time, content assignment may be performed according to the content of the target merged dataset corresponding to the current unique location name. For example, one unique location name data in the target merged data set is [ bar area, a cafe, first building, shopping center first building ], wherein the a cafe has been set with active content (for example, free drink given by the code is available for the first 30 code-swiping person, and the first building is sent out), the current unique location name is [ leisure area, a cafe, first building, shopping center first building ], if no active content is set for each hierarchical name in the current unique location name, because the cells corresponding to the a cafe, first building, shopping center first building are merged when the [ leisure area, a cafe, first building, shopping center first building ] are stored in the second data table, only the cells of the level of the rest area are not merged, at this time, the shopping center first building in the current unique location name is the active content directly serving as the shopping center first building in the unique location name data, the building in the current unique location name is the active content directly serving as the home, and the unique location name in the current unique location name is the coffee hall, and the unique location name in the current unique location name is the unique location name.
In one embodiment, step S104 includes:
acquiring a non-merging cell set corresponding to the current unique position name, and sequentially marking the non-merging cell set as 1 st non-merging cell to Q th non-merging cell according to the descending order of the layers, wherein Q is the total number of the non-merging cells in the non-merging cell set;
assigning the content of the q-th non-merging cell to the content of the target cell in the merging cell set corresponding to the current unique position name so as to update a second data table; wherein, the initial value of q is 1 and the value range of q is [1, Q ]; when a target cell is determined in a merging cell set corresponding to the current unique position name, acquiring a merging cell which has the smallest hierarchical interval with the q-th non-merging cell and has non-null content from the merging cell set corresponding to the current unique position name, and setting the content of the q-th non-merging cell as null value if the content of all the merging cells in the merging cell set corresponding to the current unique position name is null;
self-increasing q by 1 to update the value of q;
if Q is determined not to exceed Q, returning to execute the step of assigning the content of the Q-th non-merging cell to the cell with the lowest hierarchical order in the merging cell set corresponding to the current unique position name so as to update the second data table;
And if Q is determined to exceed Q, acquiring a second data table.
In this embodiment, the foregoing manner may be specifically adopted to implement that the content of the target merged dataset assigns a value to the corresponding content of the current unique location name through a preset content inheritance policy to update the second data table. In the above manner, in order to improve the efficiency of content inheritance, the non-merging cell set corresponding to the current unique position name is obtained quickly, then the cell with the highest level in the non-merging cell set is assigned with the content in the cell with the lowest level sequence in the merging cell set and the content is not null value to update the second data table, if the content of all the cells in the merging cell set is null value, the cell with the highest level is assigned with the null value, and so on until the cell with the lowest level in the non-merging cell set also completes the inheritance of the content. That is, the specific way in which the current unique location name is merged with the target merged dataset determines the way in which it inherits.
S105, when a custom content adding instruction corresponding to the current unique position name in a second data table is detected, acquiring a hierarchical name selected by the custom content adding instruction in the current unique position name as a target hierarchical name.
In this embodiment, when the current unique location name verified by the unique address is completed, the content assignment is performed on the current unique location name based on the content of the target merged dataset and a preset content inheritance policy, or the system may further customize the active content after automatically assigning the active content, for example, any one hierarchical name in the current unique location name may be selected as the target hierarchical name to perform the setting of the active content. For example, the current unique location name is [ leisure area, A cafe, first floor, first shopping center ], the class name of A cafe can be selected for setting the activity content and parameters (such as free drink given by the code scanning, limited name, available for the first 30 code scanning players, and finished sending); the name of the leisure area can be selected to set the activity content and parameters (for example, the leisure area is provided with free drink and limited name, and the first 10 code-scanning players can obtain the free drink and send the free drink until the free drink is finished). By means of the flexible mode of setting the activity content for any hierarchical name, any actual activity requirement of a user can be met.
S106, acquiring the current editing content as the target content of the target hierarchical name, acquiring the target inheritance content corresponding to the target hierarchical name, and setting the priority of the target content in the target hierarchical name to be higher than that of the target inheritance content so as to update the second data table.
In this embodiment, when the user selects the target hierarchy name and needs to set the active content, the method can be implemented by customizing the content. For example, the coffee shop a is the name of the selected target hierarchy, at this time, the user directly edits and inputs the current edited content of "free drink given free by the code scanning" which is available to the first 30 code scanning persons until the user finishes sending the current edited content as the target content of the target hierarchy name, so as to update the second data table. With this custom content schema, the user can edit according to actual activity needs.
In one embodiment, step S106 includes:
setting the content display priority of the target content in the target hierarchy name as a first priority, and setting the content display priority of the target inherited content as a second priority; the priority order of the first priority is higher than that of the second priority, and when the condition that the target content in the target hierarchy name is in a content abnormal state is satisfied, the target inherited content is switched from the second priority to the first priority, and the target content in the target hierarchy name is switched from the first priority to the second priority.
In this embodiment, for the same hierarchical name, it may have target content edited by user or target inherited content obtained by automatic inheritance. Once the same hierarchical name is used for simultaneously carrying out the target content and the target inherited content, the content presentation priority of the target content is higher than that of the target inherited content. In the implementation, the content display priority of the target content in the target hierarchical name is set as a first priority, and the content display priority of the target inherited content is set as a second priority.
In this way, the corresponding active content in the hierarchy name preferentially displays the target content, and only when the target content is in the content abnormal state, the target inheritance content is switched from the second priority to the first priority, and the target content in the target hierarchy name is switched from the first priority to the second priority.
In an embodiment, step S106 further includes:
acquiring a hierarchy name with a hierarchy order below the target hierarchy name, a hierarchy name corresponding to the hierarchy name not being null and a hierarchy interval between the hierarchy name and the target hierarchy name being minimum from the current unique position name as an end hierarchy name, and forming a current hierarchy name set to be updated by the hierarchy name with the hierarchy order between the end hierarchy name and the target hierarchy name in the current unique position name;
And updating the inheritance content of each hierarchical name in the current hierarchical name set to be updated into the target content according to the descending order of the hierarchy.
In this embodiment, as long as the content of the target hierarchical name in the current unique location name is custom set to obtain the target content, the current hierarchical name set to be updated is determined according to this manner: the method comprises the steps of obtaining a hierarchy name with a hierarchy sequence below a target hierarchy name in the current unique position name according to a hierarchy descending sequence, wherein the custom content corresponding to the hierarchy name is not null, and the hierarchy interval between the custom content and the target hierarchy name is the minimum, and the hierarchy name with the hierarchy sequence between the terminal hierarchy name and the target hierarchy name in the current unique position name is used as the terminal hierarchy name, so that a current hierarchy name set to be updated is formed. Instead of adjusting the inheritance content of all hierarchical names whose hierarchical order is below the target hierarchical name, only the inheritance content of each hierarchical name in the current hierarchical name set to be updated, which is determined in the above manner, is updated to the target content.
S107, acquiring the unique position names of the unique position name data in the second data table and the real-time content states corresponding to the hierarchical names of the unique position names, and displaying the unique position names of the unique position name data in the second data table and the real-time content states in corresponding display states.
In this embodiment, after the content setting for each piece of unique location name data in the second data table is completed, the real-time content state of the content corresponding to each hierarchical name of each piece of unique location name data may be monitored, so that each piece of unique location name data unique location name and real-time content state in the second data table are displayed in corresponding display states. Through the real-time monitoring process, the current state of the content corresponding to each class name of the user can be intuitively prompted, so that whether the active content is correspondingly adjusted is determined.
In one embodiment, step S107 includes:
acquiring content corresponding to each hierarchical name of the unique position name data in the second data table, a source type corresponding to the content and a real-time content state corresponding to the content; wherein the real-time content state is one of a content normal state, a content abnormal state or a content empty state; the source type is one of a custom content type, an inheritance content type or an empty content type;
Determining a first display mode corresponding to each hierarchical name according to the content and the corresponding source type of the content corresponding to each hierarchical name of the unique position name data;
determining a two-dimensional code generation state and a second display mode of the two-dimensional code corresponding to each hierarchical name according to the real-time content state of the content corresponding to each hierarchical name of the unique position name data;
and displaying the first display mode, the corresponding two-dimensional code generation state and the second display mode of the two-dimensional code according to the corresponding hierarchical names of the unique position name data.
In this embodiment, when the server monitors the content of each unique location name data in the second data table in real time, the most intuitive display mode is to display the current state by using the font display color of the hierarchical name (the font display color is one specific embodiment of the first display mode, but the first display mode is not limited to the font display color, as long as it is a display mode different from the subsequent second display mode), and the corresponding two-dimensional code generation state and two-dimensional code display color (the two-dimensional code display color is one specific embodiment of the second display mode, but the second display mode is not limited to the two-dimensional code display color, as long as it is a display mode different from the first display mode). And the current state can correspondingly and timely make synchronous change along with the change of the content of the unique position name data, thereby realizing accurate state display.
In order to more clearly understand the font display color of the hierarchical name, the corresponding two-dimensional code generation state and the two-dimensional code display color, the detailed description is provided below in connection with specific applications. The hierarchical names can be preset with at least 3 colors, and are respectively marked as a first type font display color (blue when implementing), a second type font display color (black when implementing) and a third type font display color (red when implementing); the two-dimensional code generation state comprises a two-dimensional code state and a two-dimensional code-free state; the display colors of the two-dimensional codes can be at least preset with 2 colors, and are respectively marked as a first-type two-dimensional code display color (blue when implementing) and a second-type two-dimensional code display color (black when implementing).
By this arrangement at least the following 6 effective combinations can be obtained: there are also black-word codeless cases (indicating no inheritance to the content)
a1 The font display color of the hierarchical name is black and no two-dimensional code, indicating that the hierarchical name is not inherited to active content (i.e., the source type is the null content type), and no custom content is set for the hierarchical name;
a2 The font display color of the hierarchical name is black and has a two-dimensional code, the two-dimensional code display color is black, the real-time content state in the hierarchical name is a normal content state, and the source type is an inherited content type;
a3 The font display color of the hierarchical name is red and has a two-dimensional code, the two-dimensional code display color is black, the source type of the hierarchical name is a custom content type but the content abnormal state when the real-time content state of the custom content type is shown, and at the moment, the source type of the hierarchical name is switched to the inheritance content type and the content normal state when the real-time content state of the content type is inherited;
a4 The font display color of the hierarchical name is blue and has a two-dimensional code, the two-dimensional code display color is black, and the source type of the hierarchical name is a custom content type but the content is in a normal state when the real-time content state of the custom content type is shown;
a5, the font display color of the hierarchical name is black and has a two-dimensional code, the display color of the two-dimensional code is red, and the display color of the two-dimensional code represents the abnormal state of the content when the source type of the hierarchical name is the inheritance content type but the real-time content state of the content;
a6 The font display color of the hierarchical name is red and has a two-dimensional code, the two-dimensional code display color is red, the source type of the hierarchical name is a custom content type but the content is in an abnormal state when the real-time content state of the custom content type is displayed, and the source type of the hierarchical name is switched to an inherited content type and still is in an abnormal state when the real-time content state of the inherited content type is displayed.
According to the technical scheme, after the initial hierarchical structure information is built, the unique address can be added freely, the free editing or inheritance of the active content aiming at any hierarchical name can be realized, each two-dimensional code is not required to be assigned and set, the position is managed well, the content of the two-dimensional code is managed automatically, and the data processing efficiency is improved.
FIG. 2 is a functional block diagram of a preferred embodiment of a trigger display for geographic location and content management in accordance with the present invention. The trigger display device 100 for geographic location and content management includes a location management name input unit 101, a comparison unit 102, a merging unit 103, a content inheritance unit 104, a custom instruction detection unit 105, a content custom unit 106, and a content status monitoring unit 107. The module/unit referred to in the present invention refers to a series of computer program segments capable of being executed by the processor 13 and of performing a fixed function, which are stored in the memory 12. In the present embodiment, the functions of the respective modules/units will be described in detail in the following embodiments.
A position management name input unit 101 for acquiring position management names input in a hierarchical ascending order of hierarchical names when detecting an instruction of a hierarchical position addition mode; wherein the location management names include a number of hierarchical names.
In this embodiment, when the operator of the server receives an instruction indicating that at least one new current hierarchical name combination needs to be added to the first data table (i.e., when an instruction of a hierarchical position new adding mode is detected), the operator needs to input the position management names in order of hierarchical ascending order of the hierarchical names, for example, when a new current hierarchical name combination with the hierarchical name combination of [ bar area, a cafe, first building, shopping mall first building ] located in the same cafe (i.e., still in the a cafe) but another area (e.g., leisure area) needs to be input first, then input the hierarchical name "leisure area" of the lowest hierarchical level, then input the hierarchical name "a cafe" of the second low hierarchical level, then input the hierarchical name "first building" of the third low hierarchical level, and finally input the hierarchical name "shopping mall first building" of the fourth low hierarchical level.
When the operator inputs the position management names in the ascending order of the hierarchy names, after finishing inputting the hierarchy names of one hierarchy, the operator immediately searches whether the same hierarchy name combination exists in the first data table, and if the same hierarchy name combination exists, the operator prompts the operation in a pull-down frame mode. For example, after the operator inputs the hierarchical name of the lowest hierarchy of the leisure area, the keyword that two pieces of current hierarchical information of [ leisure area, B coffee shop, third building, shopping center third building ], [ leisure area, C coffee shop, second building, shopping center fourth building ] have the leisure area ] is searched in the hierarchical structure information, and the two pieces of current hierarchical information are presented in a drop-down frame mode. At this time, the operator continues to input the second lower-level class name "a-cafe", and the user may be prompted to newly create a class name combination in the first data table by using the class name combination of the leisure area+a-cafe as the location management name because the class name of the leisure area+a-cafe cannot be searched in the hierarchy information. Of course, the user may continue to input the third lower hierarchical name "first building" of the hierarchy, and finally input the fourth lower hierarchical name "first building" of the shopping mall, so long as the combination formed by the input hierarchical names (i.e., the hierarchical name combination) does not exist in the first data table with repeated hierarchical name combinations, the new current hierarchical name combination (the current hierarchical name combination may also be understood as the location management name) may be completed.
When the user inputs the position management names according to the ascending order of the hierarchy names, the value corresponding to a certain hierarchy name may be a specific value (for example, the lowest hierarchy name of the leisure area may be input by the operator), or a null value may be set (for example, the operator does not input any character to the lowest hierarchy name, so that the value is null).
A comparison unit 102, configured to obtain a stored first data table, generate a location-hierarchy unique code corresponding to the location management name if it is determined that a name combination of each hierarchy name in the location management name does not exist in the first data table, and store the name combination of each hierarchy name in the location management name in the first data table to update the first data table; the first data table comprises a plurality of hierarchical name combinations, and each hierarchical name combination is unique in the first data table.
In this embodiment, after the user inputs the location management name corresponding to the instruction of the hierarchical location new mode, continuing to refer to the above example, if the location management name input by the user and having the name combination of the leisure area+a coffee shop as the location management name does not exist in the first data table, it indicates that the user newly creates a location management name having the uniqueness of the name combination, and at this time, a unique location-hierarchical system code corresponding to the location management name may be generated, thereby ensuring that each hierarchical name combination in the first data table is a corresponding unique address. Of course, referring to the above example, the user may continue to input the third lowest hierarchical name "first building" of the hierarchy completely, and finally input the fourth lowest hierarchical name "first building of the shopping mall" of the hierarchy, so long as the combination of the input hierarchical names does not have duplicate names in the hierarchical structure information, the new current hierarchical information may be completed.
In one embodiment, the alignment unit 102 includes:
the name ascending combination unit is used for acquiring the entered hierarchical names according to the hierarchical ascending order of the hierarchical names, and carrying out hierarchical name combination on the entered hierarchical names according to the hierarchical ascending order to obtain the name combination corresponding to the position management names;
and the system unique code generating unit is used for generating a corresponding position-hierarchy system unique code according to the position management name if the name combination corresponding to the position management name is determined to be different from all hierarchy name combinations in the first data table.
In this embodiment, continuing to refer to the above example, if the user currently inputs only the leisure area, the obtained name combination has only the leisure area; when the user inputs the leisure area and the A coffee shop, the obtained name is combined with the leisure area and the A coffee shop, and the combination name of the leisure area and the A coffee shop can be used as a position management name because the name combination of the leisure area and the A coffee shop does not exist in the first data table; the user can still continue to input the hierarchy name of the next hierarchy, "first floor", when the user inputs the leisure area, the coffee shop A and the first floor, the obtained name is combined with the leisure area, the coffee shop A and the first floor, and the combined name of the leisure area, the coffee shop A and the first floor can be used as the position management name because the name combination of the leisure area, the coffee shop A and the first floor does not exist in the first data table; the user can still continue to input the hierarchy name of the next hierarchy, "first shopping center" and when the user inputs the leisure area, the coffee shop, the first building and the first shopping center, the obtained names are combined into the first name of the leisure area, the coffee shop, the first building and the first shopping center, and the combined name of the leisure area, the coffee shop, the first building and the first shopping center can be used as the position management name because the first data table does not contain the combination of the names of the leisure area, the coffee shop, the first building and the first shopping center. By the method, whether the newly-built position management name is a unique name is judged, and the result is more accurate. And upon determining that the newly created location management name is a unique name, a location-hierarchy unique code corresponding to the location management name may be generated.
A merging unit 103, configured to combine each hierarchical name in the location management names to obtain a current unique location name, obtain a stored second data table, obtain a target merged data set of the current unique location name in the second data table, and merge the current unique location name and the target merged data set according to a descending order of the hierarchical names, so as to update the second data table; the second data table comprises multiple groups of combined data sets, each combined data set comprises at least one piece of unique position name data with content attribute, and each combined data set at least has the same highest hierarchical name.
In this embodiment, when it is determined that the hierarchical name combination corresponding to the location management name has uniqueness based on the first data table, each hierarchical name in the location management name is first combined to obtain the current unique location name, and at this time, no active content is set for any one of the current unique location names. And acquiring a stored second data table, acquiring a target merging data set with the current unique position name in the second data table, and merging the position names of the current unique position name and the target merging data set according to the descending order of the hierarchy names to update the second data table.
In an embodiment, the merging unit 103 includes:
each level of hierarchical level name acquisition unit is used for sequentially acquiring the highest level of hierarchical level name and the next highest level of hierarchical level name included in the current unique position name until the lowest level of hierarchical level name is acquired;
a first determining unit, configured to, if it is determined that the highest level hierarchy name of the merged dataset does not exist in the second data table is the same as the highest level hierarchy name of the current unique location name, use the current unique location name as new data of the second data table, and use the new data of the second data table as a target merged dataset;
and the second judging unit is used for taking the corresponding merged data set as a target merged data set if the highest hierarchical name of the merged data set in the second data table is identical to the highest hierarchical name of the current unique position name.
In this embodiment, after the name entry and the name uniqueness determination of the current unique location name are completed in the first data table, the highest-level hierarchical name and the next highest-level hierarchical name included in the current unique location name are sequentially acquired in descending order of hierarchy first from the current unique location name until the lowest-level hierarchical name is acquired. And then, rapidly taking the highest hierarchical name in the current unique position name as a matching item, and judging whether the highest hierarchical name of the merged data set exists in the second data table or not, wherein the highest hierarchical name is the same as the highest hierarchical name of the current unique position name.
If it is determined that the highest level hierarchy name of the merged data set does not exist in the second data table and the highest level hierarchy name of the current unique position name are the same, the current unique position name is indicated to have no merging item in the second data table, at this time, the current unique position name is used as new data of the second data table, and the new data of the second data table is used as the target merged data set.
And if the highest hierarchical name of the merged data set exists in the second data table and is the same as the highest hierarchical name of the current unique position name, the current unique position name is indicated to have a merged item in the second data table, and the corresponding merged data set is taken as a target merged data set.
In an embodiment, the merging unit 103 further includes:
the first execution unit is used for acquiring a p-th hierarchical level name in the current unique position names; the highest level hierarchical name, the next highest level hierarchical name and the lowest level hierarchical names in the current unique position names are respectively recorded as 1-level hierarchical names to P-level hierarchical names, the initial value of P is 1, the value range of P is [1, P ], and P is the total layer number of the hierarchical names included in the current unique position names;
The second execution unit is used for carrying out cell merging on the p-th hierarchical level name of the current unique position name and the p-th hierarchical level name of the corresponding unique position name data if the p-th hierarchical level name of the unique position name data in the target merging data set is determined to be the same as the p-th hierarchical level name of the current unique position name;
a third execution unit, configured to store, in the second data table, a p-th hierarchical level name of the unique location name data in a non-merging cell if it is determined that the p-th hierarchical level name of the unique location name data does not exist in the target merged data set is the same as the p-th hierarchical level name of the current unique location name, and execute a step of updating the second data table;
the fourth execution unit is used for self-increasing p by 1 to update the value of p;
the fifth execution unit is used for returning to execute the step of acquiring the P-th hierarchical level name in the current unique position name if the P is determined not to exceed the P;
and the sixth execution unit is used for updating the second data table.
In this embodiment, after the current unique location name is obtained, the current unique location name and the target merged data set are subjected to merging display processing of the same hierarchical name in descending order of the hierarchical names. That is, the current unique location name is added to the second data table and is adjacent to the data location having the most combinable hierarchical name in the target merged data set, and the data corresponding to the current unique location name is generally added to the second data table and is located below the data having the most combinable hierarchical name in the target merged data set.
For example, the location management names are [ leisure area, a cafe, first building and shopping center first building ], one piece of unique location name data is in the target merging data set determined in the second data table, the unique location name data is [ bar area, a cafe, first building and shopping center first building ], the location management names are the same as the [ bar area, a cafe, first building and shopping center first building ] in the 3-hierarchy names, at the moment, cell merging is performed between the two, that is, before the active content of the location management names is not set, the active content of the unique location name data can be inherited according to the preset rule because the unique location name data corresponds to the active content.
In the second data table, at least the highest hierarchical names of the unique position name data in each target merged data set are the same and can be merged. Instead of displaying the current hierarchical information for the similar region in a decentralized manner for each location in the second data table.
And the content inheritance unit 104 is configured to assign the content of the target merged dataset to the corresponding content of the current unique location name through a preset content inheritance policy so as to update the second data table.
In this embodiment, after a current unique location name is newly added or reset, the current unique location name may be in a state where active content is not initially set, and at this time, content assignment may be performed according to the content of the target merged dataset corresponding to the current unique location name. For example, one unique location name data in the target merged data set is [ bar area, a cafe, first building, shopping center first building ], wherein the a cafe has been set with active content (for example, free drink given by the code is available for the first 30 code-swiping person, and the first building is sent out), the current unique location name is [ leisure area, a cafe, first building, shopping center first building ], if no active content is set for each hierarchical name in the current unique location name, because the cells corresponding to the a cafe, first building, shopping center first building are merged when the [ leisure area, a cafe, first building, shopping center first building ] are stored in the second data table, only the cells of the level of the rest area are not merged, at this time, the shopping center first building in the current unique location name is the active content directly serving as the shopping center first building in the unique location name data, the building in the current unique location name is the active content directly serving as the home, and the unique location name in the current unique location name is the coffee hall, and the unique location name in the current unique location name is the unique location name.
In an embodiment, the content inheritance unit 104 includes:
a seventh execution unit, configured to obtain a non-merging cell set corresponding to the current unique location name, and sequentially record, in descending order of a hierarchy, the non-merging cell set as a 1 st non-merging cell to a Q-th non-merging cell, where Q is a total number of non-merging cells in the non-merging cell set;
the eighth execution unit is used for assigning the content of the q-th non-merging cell to the content of the target cell in the merging cell set corresponding to the current unique position name so as to update a second data table; wherein, the initial value of q is 1 and the value range of q is [1, Q ]; when a target cell is determined in a merging cell set corresponding to the current unique position name, acquiring a merging cell which has the smallest hierarchical interval with the q-th non-merging cell and has non-null content from the merging cell set corresponding to the current unique position name, and setting the content of the q-th non-merging cell as null value if the content of all the merging cells in the merging cell set corresponding to the current unique position name is null;
A ninth execution unit for self-increasing q by 1 to update the value of q;
a tenth execution unit, configured to, if Q is determined not to exceed Q, return to execute the step of assigning the content of the Q-th non-merging cell to the content of the cell with the lowest hierarchical order in the merging cell set corresponding to the current unique location name to update the second data table;
and the eleventh execution unit is used for acquiring the second data table if Q exceeds Q.
In this embodiment, the foregoing manner may be specifically adopted to implement that the content of the target merged dataset assigns a value to the corresponding content of the current unique location name through a preset content inheritance policy to update the second data table. In the above manner, in order to improve the efficiency of content inheritance, the non-merging cell set corresponding to the current unique position name is obtained quickly, then the cell with the highest level in the non-merging cell set is assigned with the content in the cell with the lowest level sequence in the merging cell set and the content is not null value to update the second data table, if the content of all the cells in the merging cell set is null value, the cell with the highest level is assigned with the null value, and so on until the cell with the lowest level in the non-merging cell set also completes the inheritance of the content. That is, the specific way in which the current unique location name is merged with the target merged dataset determines the way in which it inherits.
And a custom instruction detection unit 105, configured to, when a custom content addition instruction corresponding to the current unique location name in the second data table is detected, acquire, as a target hierarchical name, a hierarchical name selected by the custom content addition instruction in the current unique location name.
In this embodiment, when the current unique location name verified by the unique address is completed, the content assignment is performed on the current unique location name based on the content of the target merged dataset and a preset content inheritance policy, or the system may further customize the active content after automatically assigning the active content, for example, any one hierarchical name in the current unique location name may be selected as the target hierarchical name to perform the setting of the active content. For example, the current unique location name is [ leisure area, A cafe, first floor, first shopping center ], the class name of A cafe can be selected for setting the activity content and parameters (such as free drink given by the code scanning, limited name, available for the first 30 code scanning players, and finished sending); the name of the leisure area can be selected to set the activity content and parameters (for example, the leisure area is provided with free drink and limited name, and the first 10 code-scanning players can obtain the free drink and send the free drink until the free drink is finished). By means of the flexible mode of setting the activity content for any hierarchical name, any actual activity requirement of a user can be met.
And the content customization unit 106 is configured to obtain the current editing content as a target content of the target hierarchical name, obtain a target inheritance content corresponding to the target hierarchical name, and set a priority of the target content in the target hierarchical name to be higher than that of the target inheritance content so as to update the second data table.
In this embodiment, when the user selects the target hierarchy name and needs to set the active content, the method can be implemented by customizing the content. For example, the coffee shop a is the name of the selected target hierarchy, at this time, the user directly edits and inputs the current edited content of "free drink given free by the code scanning" which is available to the first 30 code scanning persons until the user finishes sending the current edited content as the target content of the target hierarchy name, so as to update the second data table. With this custom content schema, the user can edit according to actual activity needs.
In an embodiment, the content customization unit 106 is further configured to:
setting the content display priority of the target content in the target hierarchy name as a first priority, and setting the content display priority of the target inherited content as a second priority; the priority order of the first priority is higher than that of the second priority, and when the condition that the target content in the target hierarchy name is in a content abnormal state is satisfied, the target inherited content is switched from the second priority to the first priority, and the target content in the target hierarchy name is switched from the first priority to the second priority.
In this embodiment, for the same hierarchical name, it may have target content edited by user or target inherited content obtained by automatic inheritance. Once the same hierarchical name is used for simultaneously carrying out the target content and the target inherited content, the content presentation priority of the target content is higher than that of the target inherited content. In the implementation, the content display priority of the target content in the target hierarchical name is set as a first priority, and the content display priority of the target inherited content is set as a second priority.
In this way, the corresponding active content in the hierarchy name preferentially displays the target content, and only when the target content is in the content abnormal state, the target inheritance content is switched from the second priority to the first priority, and the target content in the target hierarchy name is switched from the first priority to the second priority.
In one embodiment, the triggered display apparatus 100 for geographic location and content management further comprises:
the to-be-updated hierarchical level name set obtaining unit is used for obtaining a hierarchical level name which is located below the target hierarchical level name in the current unique position name in a hierarchical descending order, is not null in the custom content corresponding to the hierarchical level name and is the smallest in hierarchical interval with the target hierarchical name as an end point hierarchical name, and the hierarchical level names which are located between the end point hierarchical name and the target hierarchical name in the current unique position name in the hierarchical descending order form a current to-be-updated hierarchical level name set;
And the inheritance content updating unit is used for updating the inheritance content of each hierarchical name in the current hierarchical name set to be updated into the target content according to the descending order of the hierarchy.
In this embodiment, as long as the content of the target hierarchical name in the current unique location name is custom set to obtain the target content, the current hierarchical name set to be updated is determined according to this manner: the method comprises the steps of obtaining a hierarchy name with a hierarchy sequence below a target hierarchy name in the current unique position name according to a hierarchy descending sequence, wherein the custom content corresponding to the hierarchy name is not null, and the hierarchy interval between the custom content and the target hierarchy name is the minimum, and the hierarchy name with the hierarchy sequence between the terminal hierarchy name and the target hierarchy name in the current unique position name is used as the terminal hierarchy name, so that a current hierarchy name set to be updated is formed. Instead of adjusting the inheritance content of all hierarchical names whose hierarchical order is below the target hierarchical name, only the inheritance content of each hierarchical name in the current hierarchical name set to be updated, which is determined in the above manner, is updated to the target content.
The content state monitoring unit 107 is configured to obtain a unique location name of each piece of unique location name data in the second data table and a real-time content state corresponding to each hierarchical name of the unique location name, and display each piece of unique location name data in the second data table and the real-time content state in a corresponding display state.
In this embodiment, after the content setting for each piece of unique location name data in the second data table is completed, the real-time content state of the content corresponding to each hierarchical name of each piece of unique location name data may be monitored, so that each piece of unique location name data unique location name and real-time content state in the second data table are displayed in corresponding display states. Through the real-time monitoring process, the current state of the content corresponding to each class name of the user can be intuitively prompted, so that whether the active content is correspondingly adjusted is determined.
In one embodiment, the content status monitoring unit 107 includes:
the unique position name data state acquisition unit is used for acquiring the content, the corresponding source type of the content and the corresponding real-time content state of the content, which correspond to each hierarchical name of the unique position name data in the second data table; wherein the real-time content state is one of a content normal state, a content abnormal state or a content empty state; the source type is one of a custom content type, an inheritance content type or an empty content type;
The first display parameter acquisition unit is used for determining a first display mode corresponding to each hierarchical name according to the content corresponding to each hierarchical name of the unique position name data and the source type corresponding to the content;
the second display parameter obtaining unit is used for determining a two-dimensional code generation state and a second display mode of the two-dimensional code corresponding to each hierarchical name according to the real-time content state of the content corresponding to each hierarchical name of the unique position name data;
and the real-time state display unit is used for displaying a first display mode corresponding to each hierarchical name of the unique position name data, a corresponding two-dimensional code generation state and a second display mode of the two-dimensional code.
In this embodiment, when the server monitors the content of each unique location name data in the second data table in real time, the most intuitive display mode is to display the current state by using the font display color of the hierarchical name (the font display color is one specific embodiment of the first display mode, but the first display mode is not limited to the font display color, as long as it is a display mode different from the subsequent second display mode), and the corresponding two-dimensional code generation state and two-dimensional code display color (the two-dimensional code display color is one specific embodiment of the second display mode, but the second display mode is not limited to the two-dimensional code display color, as long as it is a display mode different from the first display mode). And the current state can correspondingly and timely make synchronous change along with the change of the content of the unique position name data, thereby realizing accurate state display.
In order to more clearly understand the font display color of the hierarchical name, the corresponding two-dimensional code generation state and the two-dimensional code display color, the detailed description is provided below in connection with specific applications. The hierarchical names can be preset with at least 3 colors, and are respectively marked as a first type font display color (blue when implementing), a second type font display color (black when implementing) and a third type font display color (red when implementing); the two-dimensional code generation state comprises a two-dimensional code state and a two-dimensional code-free state; the display colors of the two-dimensional codes can be at least preset with 2 colors, and are respectively marked as a first-type two-dimensional code display color (blue when implementing) and a second-type two-dimensional code display color (black when implementing).
By this arrangement at least the following 6 effective combinations can be obtained: there are also black-word codeless cases (indicating no inheritance to the content)
a1 The font display color of the hierarchical name is black and no two-dimensional code, indicating that the hierarchical name is not inherited to active content (i.e., the source type is the null content type), and no custom content is set for the hierarchical name;
a2 The font display color of the hierarchical name is black and has a two-dimensional code, the two-dimensional code display color is black, the real-time content state in the hierarchical name is a normal content state, and the source type is an inherited content type;
a3 The font display color of the hierarchical name is red and has a two-dimensional code, the two-dimensional code display color is black, the source type of the hierarchical name is a custom content type but the content abnormal state when the real-time content state of the custom content type is shown, and at the moment, the source type of the hierarchical name is switched to the inheritance content type and the content normal state when the real-time content state of the content type is inherited;
a4 The font display color of the hierarchical name is blue and has a two-dimensional code, the two-dimensional code display color is black, and the source type of the hierarchical name is a custom content type but the content is in a normal state when the real-time content state of the custom content type is shown;
a5, the font display color of the hierarchical name is black and has a two-dimensional code, the display color of the two-dimensional code is red, and the display color of the two-dimensional code represents the abnormal state of the content when the source type of the hierarchical name is the inheritance content type but the real-time content state of the content;
a6 The font display color of the hierarchical name is red and has a two-dimensional code, the two-dimensional code display color is red, the source type of the hierarchical name is a custom content type but the content is in an abnormal state when the real-time content state of the custom content type is displayed, and the source type of the hierarchical name is switched to an inherited content type and still is in an abnormal state when the real-time content state of the inherited content type is displayed.
According to the technical scheme, after the initial hierarchical structure information is built, the unique address can be added freely, the free editing or inheritance of the active content aiming at any hierarchical name can be realized, each two-dimensional code is not required to be assigned and set, the position is managed well, the content of the two-dimensional code is managed automatically, and the data processing efficiency is improved.
FIG. 3 is a schematic diagram of a computer device implementing a preferred embodiment of a trigger display method for geographic location and content management according to the present invention.
The computer device 1 may comprise a memory 12, a processor 13 and a bus, and may further comprise a computer program stored in the memory 12 and executable on the processor 13, such as a trigger display program for geographical location and content management.
It will be appreciated by those skilled in the art that the schematic diagram is merely an example of the computer device 1 and does not constitute a limitation of the computer device 1, the computer device 1 may be a bus type structure, a star type structure, the computer device 1 may further comprise more or less other hardware or software than illustrated, or a different arrangement of components, for example, the computer device 1 may further comprise an input-output device, a network access device, etc.
It should be noted that the computer device 1 is only used as an example, and other electronic products that may be present in the present invention or may be present in the future are also included in the scope of the present invention by way of reference.
The memory 12 includes at least one type of readable storage medium including flash memory, a removable hard disk, a multimedia card, a card memory (e.g., SD or DX memory, etc.), a magnetic memory, a magnetic disk, an optical disk, etc. The memory 12 may in some embodiments be an internal storage unit of the computer device 1, such as a removable hard disk of the computer device 1. The memory 12 may in other embodiments also be an external storage device of the computer device 1, such as a plug-in mobile hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card) or the like, which are provided on the computer device 1. Further, the memory 12 may also include both an internal storage unit and an external storage device of the computer device 1. The memory 12 may be used not only for storing application software installed in the computer device 1 and various types of data such as codes of trigger display programs for performing geographical location and content management, but also for temporarily storing data that has been output or is to be output.
The processor 13 may be comprised of integrated circuits in some embodiments, for example, a single packaged integrated circuit, or may be comprised of multiple integrated circuits packaged with the same or different functions, including one or more central processing units (Central Processing unit, CPU), microprocessors, digital processing chips, graphics processors, a combination of various control chips, and the like. The processor 13 is a Control Unit (Control Unit) of the computer device 1, connects the respective components of the entire computer device 1 using various interfaces and lines, executes or executes programs or modules stored in the memory 12 (for example, executes a trigger display program for performing geographical location and content management, etc.), and invokes data stored in the memory 12 to perform various functions of the computer device 1 and process data.
The processor 13 executes the operating system of the computer device 1 and various types of applications installed. The processor 13 executes the application program to implement the steps of the various embodiments of the trigger display method for geographic location and content management described above, such as the steps shown in fig. 1.
Illustratively, the computer program may be partitioned into one or more modules/units that are stored in the memory 12 and executed by the processor 13 to complete the present invention. The one or more modules/units may be a series of computer readable instruction segments capable of performing the specified functions, which instruction segments describe the execution of the computer program in the computer device 1. For example, the computer program may be divided into a location management name input unit 101, an alignment unit 102, a merging unit 103, a content inheritance unit 104, a custom instruction detection unit 105, a content custom unit 106, and a content status monitoring unit 107.
The integrated units implemented in the form of software functional modules described above may be stored in a computer readable storage medium. The software functional module is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a computer device, or a network device, etc.) or a processor (processor) to execute the portions of the triggered display method for geographic location and content management according to the embodiments of the present invention.
The modules/units integrated in the computer device 1 may be stored in a computer readable storage medium if implemented in the form of software functional units and sold or used as separate products. Based on this understanding, the present invention may also be implemented by a computer program for instructing a relevant hardware device to implement all or part of the procedures of the above-mentioned embodiment method, where the computer program may be stored in a computer readable storage medium and the computer program may be executed by a processor to implement the steps of each of the above-mentioned method embodiments.
Wherein the computer program comprises computer program code which may be in source code form, object code form, executable file or some intermediate form etc. The computer readable medium may include: any entity or device capable of carrying the computer program code, a recording medium, a U disk, a removable hard disk, a magnetic disk, an optical disk, a computer Memory, a Read-Only Memory (ROM), a random access Memory, or the like.
Further, the computer-readable storage medium may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function, and the like; the storage data area may store data created from the use of blockchain nodes, and the like.
The blockchain is a novel application mode of computer technologies such as distributed data storage, point-to-point transmission, consensus mechanism, encryption algorithm and the like. The Blockchain (Blockchain), which is essentially a decentralised database, is a string of data blocks that are generated by cryptographic means in association, each data block containing a batch of information of network transactions for verifying the validity of the information (anti-counterfeiting) and generating the next block. The blockchain may include a blockchain underlying platform, a platform product services layer, an application services layer, and the like.
The bus may be a peripheral component interconnect standard (peripheral component interconnect, PCI) bus or an extended industry standard architecture (extended industry standard architecture, EISA) bus, among others. The bus may be classified as an address bus, a data bus, a control bus, etc. For ease of illustration, only one straight line is shown in fig. 3, but not only one bus or one type of bus. The bus is arranged to enable a connection communication between the memory 12 and at least one processor 13 or the like.
Although not shown, the computer device 1 may further comprise a power source (such as a battery) for powering the various components, preferably the power source may be logically connected to the at least one processor 13 via a power management means, whereby the functions of charge management, discharge management, and power consumption management are achieved by the power management means. The power supply may also include one or more of any of a direct current or alternating current power supply, recharging device, power failure detection circuit, power converter or inverter, power status indicator, etc. The computer device 1 may further include various sensors, bluetooth modules, wi-Fi modules, etc., which will not be described in detail herein.
Further, the computer device 1 may also comprise a network interface, optionally comprising a wired interface and/or a wireless interface (e.g. WI-FI interface, bluetooth interface, etc.), typically used for establishing a communication connection between the computer device 1 and other computer devices.
The computer device 1 may optionally further comprise a user interface, which may be a Display, an input unit, such as a Keyboard (Keyboard), or a standard wired interface, a wireless interface. Alternatively, in some embodiments, the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an OLED (Organic Light-Emitting Diode) touch, or the like. The display may also be referred to as a display screen or display unit, as appropriate, for displaying information processed in the computer device 1 and for displaying a visual user interface.
It should be understood that the embodiments described are for illustrative purposes only and are not limited to this configuration in the scope of the patent application.
Fig. 3 shows only a computer device 1 with components 12-13, it being understood by those skilled in the art that the structure shown in fig. 3 is not limiting of the computer device 1 and may include fewer or more components than shown, or may combine certain components, or a different arrangement of components.
In connection with fig. 1, the memory 12 in the computer device 1 stores a plurality of instructions to implement a trigger display method for geographical location and content management, the processor 13 being executable to implement:
when detecting an instruction of a hierarchy position newly added mode, acquiring position management names input according to a hierarchy ascending order of hierarchy names; wherein the location management names include a plurality of hierarchical names;
acquiring a stored first data table, if it is determined that a name combination composed of all hierarchical names in the position management names does not exist in the first data table, generating a position-hierarchy unique code corresponding to the position management names, and storing the name combination composed of all hierarchical names in the position management names in the first data table to update the first data table; wherein the first data table comprises a plurality of hierarchical name combinations, and each hierarchical name combination is unique in the first data table;
Combining all the hierarchical names in the position management names to obtain a current unique position name, acquiring a stored second data table, acquiring a target merging data set of the current unique position name in the second data table, and merging the current unique position name and the target merging data set according to the hierarchical descending order of the hierarchical names so as to update the second data table; the second data table comprises a plurality of groups of combined data sets, each group of combined data sets comprises at least one piece of unique position name data with content attribute, and each group of combined data sets at least has the same highest hierarchical name;
assigning the content of the target merged data set to the corresponding content of the current unique position name through a preset content inheritance strategy so as to update a second data table;
when a custom content adding instruction corresponding to the current unique position name in a second data table is detected, acquiring a hierarchical name selected by the custom content adding instruction in the current unique position name as a target hierarchical name;
acquiring current editing content as target content of the target hierarchical name, acquiring target inheritance content corresponding to the target hierarchical name, and setting the priority of the target content in the target hierarchical name to be higher than that of the target inheritance content so as to update a second data table;
Acquiring unique position names and real-time content states corresponding to the hierarchical names of the unique position names in the second data table, and displaying the unique position names and the real-time content states of the unique position names in the second data table in corresponding display states
Specifically, the specific implementation method of the above instructions by the processor 13 may refer to the description of the relevant steps in the corresponding embodiment of fig. 1, which is not repeated herein.
In the several embodiments provided in the present invention, it should be understood that the disclosed systems, devices, and methods may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the modules is merely a logical function division, and there may be other manners of division when actually implemented.
The modules described as separate components may or may not be physically separate, and components shown as modules may or may not be physical units, may be located in one place, or may be distributed over multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional module in the embodiments of the present invention may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units can be realized in a form of hardware or a form of hardware and a form of software functional modules.
It will be evident to those skilled in the art that the invention is not limited to the details of the foregoing illustrative embodiments, and that the present invention may be embodied in other specific forms without departing from the spirit or essential characteristics thereof.
The present embodiments are, therefore, to be considered in all respects as illustrative and not restrictive, the scope of the invention 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 signs in the claims shall not be construed as limiting the claim concerned.
Furthermore, it is evident that the word "comprising" does not exclude other elements or steps, and that the singular does not exclude a plurality. The units or means stated in the invention may also be implemented by one unit or means, either by software or hardware. The terms first, second, etc. are used to denote a name, but not any particular order.
Finally, it should be noted that the above-mentioned embodiments are merely for illustrating the technical solution of the present invention and not for limiting the same, and although the present invention has been described in detail with reference to the preferred embodiments, it should be understood by those skilled in the art that modifications and equivalents may be made to the technical solution of the present invention without departing from the spirit and scope of the technical solution of the present invention.

Claims (10)

1. A trigger display method for geographic location and content management, comprising:
when detecting an instruction of a hierarchy position newly added mode, acquiring position management names input according to a hierarchy ascending order of hierarchy names; wherein the location management names include a plurality of hierarchical names;
acquiring a stored first data table, if it is determined that a name combination composed of all hierarchical names in the position management names does not exist in the first data table, generating a position-hierarchy unique code corresponding to the position management names, and storing the name combination composed of all hierarchical names in the position management names in the first data table to update the first data table; wherein the first data table comprises a plurality of hierarchical name combinations, and each hierarchical name combination is unique in the first data table;
Combining all the hierarchical names in the position management names to obtain a current unique position name, acquiring a stored second data table, acquiring a target merging data set of the current unique position name in the second data table, and merging the current unique position name and the target merging data set according to the hierarchical descending order of the hierarchical names so as to update the second data table; the second data table comprises a plurality of groups of combined data sets, each group of combined data sets comprises at least one piece of unique position name data with content attribute, and each group of combined data sets at least has the same highest hierarchical name;
assigning the content of the target merged data set to the corresponding content of the current unique position name through a preset content inheritance strategy so as to update a second data table;
when a custom content adding instruction corresponding to the current unique position name in a second data table is detected, acquiring a hierarchical name selected by the custom content adding instruction in the current unique position name as a target hierarchical name;
acquiring current editing content as target content of the target hierarchical name, acquiring target inheritance content corresponding to the target hierarchical name, and setting the priority of the target content in the target hierarchical name to be higher than that of the target inheritance content so as to update a second data table;
And acquiring the unique position name of each piece of unique position name data in the second data table and the real-time content state corresponding to each hierarchical name of the unique position name, and displaying the unique position name of each piece of unique position name data in the second data table and the real-time content state in a corresponding display state.
2. The method for triggering display of geographic location and content management according to claim 1, wherein generating a location-hierarchy unique code corresponding to the location management name if it is determined that a name combination of hierarchical names in the location management name does not exist in the first data table comprises:
acquiring the entered hierarchical names according to the hierarchical ascending order of the hierarchical names, and combining the hierarchical names according to the hierarchical ascending order to obtain the name combination corresponding to the position management names;
and if the name combination corresponding to the position management name is determined to be different from all the hierarchical name combinations in the first data table, generating a corresponding position-hierarchical system unique code according to the position management name.
3. The method of claim 1, wherein the obtaining the target merged dataset with the current unique location name in the second data table comprises:
Sequentially acquiring the highest-level hierarchical name and the next highest-level hierarchical name included in the current unique position name until the lowest-level hierarchical name is acquired;
if the fact that the highest hierarchical name of the merged data set does not exist in the second data table is the same as the highest hierarchical name of the current unique position name is determined, the current unique position name is used as newly-added data of the second data table, and the newly-added data of the second data table is used as a target merged data set;
and if the highest hierarchical name of the merged data set in the second data table is identical to the highest hierarchical name of the current unique position name, taking the corresponding merged data set as a target merged data set.
4. The method of claim 3, wherein merging the current unique location name with the target merged dataset in descending order of hierarchical names to update a second data table comprises:
acquiring a p-th hierarchical level name in the current unique position names; the highest level hierarchical name, the next highest level hierarchical name and the lowest level hierarchical names in the current unique position names are respectively recorded as 1-level hierarchical names to P-level hierarchical names, the initial value of P is 1, the value range of P is [1, P ], and P is the total layer number of the hierarchical names included in the current unique position names;
If the p-th hierarchical level name of the unique position name data in the target merging data set is identical to the p-th hierarchical level name of the current unique position name, carrying out cell merging on the p-th hierarchical level name of the current unique position name and the p-th hierarchical level name of the corresponding unique position name data;
if it is determined that the p-th hierarchical level name of the unique position name data does not exist in the target merged data set is the same as the p-th hierarchical level name of the current unique position name, storing the p-th hierarchical level name of the unique position name data in the second data table in a non-merged cell, and executing a step of updating the second data table;
self-increasing p by 1 to update the value of p;
if the P is determined not to exceed the P, returning to execute the step of acquiring the name of the P-th hierarchical level in the current unique position names;
the second data table is updated.
5. The method for triggered display of geographic location and content management according to claim 4, wherein assigning the content of the target merged dataset to the corresponding content of the current unique location name by a preset content inheritance policy to update a second data table comprises:
Acquiring a non-merging cell set corresponding to the current unique position name, and sequentially marking the non-merging cell set as 1 st non-merging cell to Q th non-merging cell according to the descending order of the layers, wherein Q is the total number of the non-merging cells in the non-merging cell set;
assigning the content of the q-th non-merging cell to the content of the target cell in the merging cell set corresponding to the current unique position name so as to update a second data table; wherein, the initial value of q is 1 and the value range of q is [1, Q ]; when a target cell is determined in a merging cell set corresponding to the current unique position name, acquiring a merging cell which has the smallest hierarchical interval with the q-th non-merging cell and has non-null content from the merging cell set corresponding to the current unique position name, and setting the content of the q-th non-merging cell as null value if the content of all the merging cells in the merging cell set corresponding to the current unique position name is null;
self-increasing q by 1 to update the value of q;
if Q is determined not to exceed Q, returning to execute the step of assigning the content of the Q-th non-merging cell to the cell with the lowest hierarchical order in the merging cell set corresponding to the current unique position name so as to update the second data table;
And if Q is determined to exceed Q, acquiring a second data table.
6. The method for triggering and displaying geographic location and content management according to claim 1, wherein after obtaining the current edited content as the target content of the target hierarchical name and obtaining the target inheritance content corresponding to the target hierarchical name, setting the priority of the target content in the target hierarchical name to be higher than that of the target inheritance content to update the second data table, further comprising:
acquiring a hierarchy name with a hierarchy order below the target hierarchy name, a hierarchy name corresponding to the hierarchy name not being null and a hierarchy interval between the hierarchy name and the target hierarchy name being minimum from the current unique position name as an end hierarchy name, and forming a current hierarchy name set to be updated by the hierarchy name with the hierarchy order between the end hierarchy name and the target hierarchy name in the current unique position name;
and updating the inheritance content of each hierarchical name in the current hierarchical name set to be updated into the target content according to the descending order of the hierarchy.
7. The method for triggering and displaying geographic location and content management according to claim 1, wherein the obtaining the unique location name of each piece of unique location name data in the second data table and the real-time content state corresponding to each hierarchical name of the unique location name, and displaying each piece of unique location name data in the second data table and the real-time content state in the corresponding display state, comprises:
Acquiring content corresponding to each hierarchical name of the unique position name data in the second data table, a source type corresponding to the content and a real-time content state corresponding to the content; wherein the real-time content state is one of a content normal state, a content abnormal state or a content empty state; the source type is one of a custom content type, an inheritance content type or an empty content type;
determining a first display mode corresponding to each hierarchical name according to the content and the corresponding source type of the content corresponding to each hierarchical name of the unique position name data;
determining a two-dimensional code generation state and a second display mode of the two-dimensional code corresponding to each hierarchical name according to the real-time content state of the content corresponding to each hierarchical name of the unique position name data;
and displaying the first display mode, the corresponding two-dimensional code generation state and the second display mode of the two-dimensional code according to the corresponding hierarchical names of the unique position name data.
8. A trigger display device for geographic location and content management, comprising:
a position management name input unit for acquiring position management names input in a hierarchical ascending order of hierarchical names when detecting an instruction of a hierarchical position newly added mode; wherein the location management names include a plurality of hierarchical names;
A comparison unit, configured to obtain a stored first data table, if it is determined that a name combination composed of each hierarchical name in the location management names does not exist in the first data table, generate a location-hierarchical system unique code corresponding to the location management name, and store the name combination composed of each hierarchical name in the location management names in the first data table to update the first data table; wherein the first data table comprises a plurality of hierarchical name combinations, and each hierarchical name combination is unique in the first data table;
the merging unit is used for combining all the hierarchical names in the position management names to obtain a current unique position name, acquiring a stored second data table, acquiring a target merging data set of the current unique position name in the second data table, and merging the current unique position name and the target merging data set according to the hierarchical descending order of the hierarchical names so as to update the second data table; the second data table comprises a plurality of groups of combined data sets, each group of combined data sets comprises at least one piece of unique position name data with content attribute, and each group of combined data sets at least has the same highest hierarchical name;
A content inheritance unit, configured to assign, by using a preset content inheritance policy, the content of the target merged dataset to the corresponding content of the current unique location name so as to update a second data table;
the custom instruction detection unit is used for acquiring a hierarchy name selected by the custom content addition instruction in the current unique position name as a target hierarchy name when the custom content addition instruction corresponding to the current unique position name in the second data table is detected;
the content custom unit is used for acquiring the current editing content as the target content of the target hierarchical name, acquiring the target inheritance content corresponding to the target hierarchical name, and setting the priority of the target content in the target hierarchical name to be higher than that of the target inheritance content so as to update the second data table;
and the content state monitoring unit is used for acquiring the unique position names of the unique position name data in the second data table and the real-time content states corresponding to the hierarchical names of the unique position names, and displaying the unique position names of the unique position name data in the second data table and the real-time content states in corresponding display states.
9. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the triggered display method for geographic location and content management as claimed in any one of claims 1 to 7 when the computer program is executed.
10. A computer readable storage medium, characterized in that the computer readable storage medium stores a computer program which, when executed by a processor, causes the processor to perform the triggered display method for geographic location and content management as claimed in any one of claims 1 to 7.
CN202111086952.6A 2021-09-16 2021-09-16 Trigger display method, device and equipment for geographic position and content management Active CN113722335B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111086952.6A CN113722335B (en) 2021-09-16 2021-09-16 Trigger display method, device and equipment for geographic position and content management

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111086952.6A CN113722335B (en) 2021-09-16 2021-09-16 Trigger display method, device and equipment for geographic position and content management

Publications (2)

Publication Number Publication Date
CN113722335A CN113722335A (en) 2021-11-30
CN113722335B true CN113722335B (en) 2023-07-21

Family

ID=78684071

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111086952.6A Active CN113722335B (en) 2021-09-16 2021-09-16 Trigger display method, device and equipment for geographic position and content management

Country Status (1)

Country Link
CN (1) CN113722335B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102638610A (en) * 2011-02-15 2012-08-15 Lg电子株式会社 Method of transmitting and receiving data, display device and mobile terminal using the same
WO2018230626A1 (en) * 2017-06-16 2018-12-20 株式会社アップリンク Two-dimensional code management system, two-dimensional code management method, and two-dimensional code management program
CN109726204A (en) * 2018-12-24 2019-05-07 深圳市奋源科技有限公司 A kind of data information management method and device based on self-defining data table

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102638610A (en) * 2011-02-15 2012-08-15 Lg电子株式会社 Method of transmitting and receiving data, display device and mobile terminal using the same
WO2018230626A1 (en) * 2017-06-16 2018-12-20 株式会社アップリンク Two-dimensional code management system, two-dimensional code management method, and two-dimensional code management program
CN109726204A (en) * 2018-12-24 2019-05-07 深圳市奋源科技有限公司 A kind of data information management method and device based on self-defining data table

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于二维码的仪器设备管理信息系统设计;黄江虹;余敏建;;计算机技术与发展(11);全文 *

Also Published As

Publication number Publication date
CN113722335A (en) 2021-11-30

Similar Documents

Publication Publication Date Title
CN103154949B (en) Intelligent display of information in a user interface
CN106575308A (en) Semantic distance-based assignment of data elements to visualization edges
CN105283845A (en) Display object pre-generation
CN112650899B (en) Data visualization rendering method and device, computer equipment and storage medium
CN109376873A (en) O&M method, apparatus, electronic equipment and computer readable storage medium
CN116541883B (en) Trust-based differential privacy protection method, device, equipment and storage medium
CN107219983A (en) List display method and device
CN107463380A (en) Message treatment method, device and electronic equipment
CN109615290A (en) For obtaining the method, apparatus, system and medium of address for service
CN111694844A (en) Enterprise operation data analysis method and device based on configuration algorithm and electronic equipment
CN113868528A (en) Information recommendation method and device, electronic equipment and readable storage medium
US9946736B2 (en) Constructing a database of verified individuals
CN112700261B (en) Method, device, equipment and medium for detecting single file of brushing on basis of suspicious communities
CN113722335B (en) Trigger display method, device and equipment for geographic position and content management
CN111950707B (en) Behavior prediction method, device, equipment and medium based on behavior co-occurrence network
CN113344673A (en) Product pushing method and device, electronic equipment and storage medium
CN112396547A (en) Course recommendation method, device, equipment and medium based on unsupervised learning
CN116823437A (en) Access method, device, equipment and medium based on configured wind control strategy
CN116757715A (en) Ranking list generation method and device, storage medium and computer equipment
CN113704608A (en) Personalized item recommendation method and device, electronic equipment and storage medium
CN115238179A (en) Project pushing method and device, electronic equipment and computer readable storage medium
WO2021164361A1 (en) Kpi optimization method, apparatus, device, and medium
CA2923602A1 (en) Apparatus and method for generating and outputting an interactive image object
CN111782166A (en) Multi-screen interaction method, device, equipment and storage medium
US20140372231A1 (en) Online selling mechanism creation

Legal Events

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