CN111522616A - Page change method and device - Google Patents

Page change method and device Download PDF

Info

Publication number
CN111522616A
CN111522616A CN202010334171.3A CN202010334171A CN111522616A CN 111522616 A CN111522616 A CN 111522616A CN 202010334171 A CN202010334171 A CN 202010334171A CN 111522616 A CN111522616 A CN 111522616A
Authority
CN
China
Prior art keywords
attribute
page
original
target
dynamic
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010334171.3A
Other languages
Chinese (zh)
Inventor
郑鑫
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Si Tech Information Technology Co Ltd
Original Assignee
Beijing Si Tech Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Si Tech Information Technology Co Ltd filed Critical Beijing Si Tech Information Technology Co Ltd
Priority to CN202010334171.3A priority Critical patent/CN111522616A/en
Publication of CN111522616A publication Critical patent/CN111522616A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • 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

Landscapes

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

Abstract

The invention provides a method and a device for page change, wherein the method comprises the following steps: receiving the requirement of the target attribute and the original attribute in the original page; dividing the target attribute into a fixed attribute and a dynamic attribute according to the requirement of the target attribute and the original attribute in the original page; configuring fixed attributes and dynamic attributes corresponding to the original page in a database to form a configuration table; and receiving a loading instruction, and loading the dynamic attribute in the configuration table in the original page to obtain a target page. Therefore, the code does not need to be modified, a loading instruction is received, the dynamic attribute in the configuration table is loaded in the original page to obtain the target page, the workload is greatly reduced, and the attribute on the page can be timely increased.

Description

Page change method and device
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a method and an apparatus for page change, a computing device, and a computer-readable storage medium.
Background
With the development of the service of an operator, in recent years, service departments successively propose various attributes of terminal models, such as whether to promote a machine, whether to star a machine, whether to merge a gateway, whether to intensify four attributes, and whether to display the four attributes on a page.
When the new attributes are displayed on the page, the codes need to be modified, the workload is greatly increased, and the support attributes are not increased timely enough.
Disclosure of Invention
In view of this, embodiments of the present invention provide a method and an apparatus for page change, a computing device, and a computer-readable storage medium, so as to solve technical defects in the prior art.
The embodiment of the invention discloses a page change method, which comprises the following steps:
receiving the requirement of the target attribute and the original attribute in the original page;
dividing the target attribute into a fixed attribute and a dynamic attribute according to the requirement of the target attribute and the original attribute in the original page;
configuring fixed attributes and dynamic attributes corresponding to the original page in a database to form a configuration table;
and receiving a loading instruction, and loading the dynamic attribute in the configuration table in the original page to obtain a target page.
The embodiment of the invention also discloses a device for page change, which comprises:
the receiving module is configured to receive the requirements of the target attributes and the original attributes in the original page;
the dividing module is configured to divide the target attribute into a fixed attribute and a dynamic attribute according to the requirement of the target attribute and the original attribute in the original page;
the configuration module is configured to configure the fixed attribute and the dynamic attribute corresponding to the original page in a database to form a configuration table;
and the loading module is configured to receive a loading instruction, and load the dynamic attribute in the configuration table in the original page to obtain a target page.
The embodiment of the invention discloses a computing device, which comprises a memory, a processor and computer instructions stored on the memory and capable of running on the processor, wherein the processor executes the instructions to realize the steps of the page change method.
The embodiment of the invention discloses a computer readable storage medium, which stores computer instructions, and the instructions are executed by a processor to realize the steps of the page change method.
According to the method and the device for page change, the requirement of the target attribute and the original attribute in the original page are received, then the target attribute is divided into the fixed attribute and the dynamic attribute according to the requirement of the target attribute and the original attribute in the original page, the fixed attribute and the dynamic attribute corresponding to the original page are directly configured in a database to form a configuration table, so that the code does not need to be modified, a loading instruction is received, the dynamic attribute in the configuration table is loaded in the original page to obtain the target page, the workload is greatly reduced, and the attribute on the page can be increased in time.
Drawings
FIG. 1 is a flowchart illustrating a method for page change according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of a page change apparatus according to an embodiment of the present invention;
FIG. 3 is a schematic structural diagram of a computing device according to an embodiment of the invention.
Detailed Description
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present invention. This invention may, however, be embodied in many different forms and should not be construed as limited to the embodiments set forth herein, but rather construed as limited to the embodiments set forth herein.
The terminology used in the description of the one or more embodiments is for the purpose of describing the particular embodiments only and is not intended to be limiting of the description of the one or more embodiments. As used in one or more embodiments of the present specification and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used in one or more embodiments of the present specification refers to and encompasses any and all possible combinations of one or more of the associated listed items.
It will be understood that, although the terms first, second, etc. may be used herein in one or more embodiments to describe various information, these information should not be limited by these terms. These terms are only used to distinguish one type of information from another. For example, a first can also be referred to as a second and, similarly, a second can also be referred to as a first without departing from the scope of one or more embodiments of the present description. The word "if" as used herein may be interpreted as "at … …" or "when … …" or "in response to a determination", depending on the context.
In the present invention, a method and an apparatus for page change, a computing device and a computer-readable storage medium are provided, which are described in detail in the following embodiments one by one.
Fig. 1 shows a schematic flow chart of a method of page change according to an embodiment of the invention, comprising steps 102 to 108.
Step 102: and receiving the requirement of the target attribute and the original attribute in the original page.
The target attribute is an attribute that needs to be displayed in an original page, for example, the target attribute is the number of the sales promotion machines, the star machines, the converged gateway network ports, the wireless transmission rate and the network port capacity, and the original attribute is displayed in the original page, for example, the original attribute is the number of the sales promotion machines, the star machines and the converged gateway network ports.
Step 104: and dividing the target attribute into a fixed attribute and a dynamic attribute according to the requirement of the target attribute and the original attribute in the original page.
And comparing the target attribute with the original attribute in the original page, taking the attribute which is the same as the original attribute in the original page in the target attribute as a fixed attribute, and taking the attribute which is different from the original attribute in the original page in the target attribute as a dynamic attribute.
According to the above example, the number of the attribute sales promotion machines, the star machines and the converged gateway network ports in the target attributes which are the same as the original attributes in the original page are used as fixed attributes, and the wireless transmission rate and the network port capacity of the attributes in the target attributes which are different from the original attributes in the original page are used as dynamic attributes.
Step 106: and configuring the fixed attribute and the dynamic attribute corresponding to the original page in a database to form a configuration table.
Step 108: and receiving a loading instruction, and loading the dynamic attribute in the configuration table in the original page to obtain a target page.
Because the fixed attributes are the same in the target attributes as the original attributes in the original page, the attributes in the target page obtained by changing are a promotional machine, a star machine, the number of the converged gateway ports, the wireless transmission rate and the port capacity by loading the dynamic attributes in the configuration table in the original page under the condition of receiving a loading instruction, and the conversion of the original page into the target page is realized. Therefore, the code does not need to be modified, a loading instruction is received, the dynamic attribute in the configuration table is loaded in the original page to obtain the target page, the workload is greatly reduced, and the attribute on the page can be timely increased.
In addition, the attribute values corresponding to the fixed attribute and the dynamic attribute in the target page can be displayed by associating the attribute values corresponding to the fixed attribute and the dynamic attribute with the code table.
And correspondingly writing the attribute values into the fixed attributes and the dynamic attributes through a code table, wherein the finally presented fixed attributes and dynamic attributes in the target page are respectively and correspondingly set to finish the attribute values, and the code table is a section of codes written with the attribute values. For example, the attribute value of the number of the dynamic attribute convergence gateway network ports in the target page is a triple gateway, the attribute value of the dynamic attribute wireless transmission rate is 150MB/S, and the dynamic attribute and the attribute value are shown in the target page.
The user may configure the attributes to be used in the database to form a configuration table for subsequent presentation of the target page. The method has the advantages that the newly added attribute value is accurately displayed on the target page by configuring the quick support attribute, so that the capacity of quickly loading the newly added attribute is enhanced, the enterprise development is supported, the customer perception is improved, and the operation quality is guaranteed.
Corresponding to the above method embodiment, the present specification further provides an embodiment of a page changing apparatus, and fig. 2 shows a schematic structural diagram of the page changing apparatus provided in an embodiment of the present specification. As shown in fig. 2, the apparatus includes:
a receiving module 202, configured to receive the requirement of the target attribute and the original attribute in the original page;
a dividing module 204 configured to divide the target attribute into a fixed attribute and a dynamic attribute according to the requirement of the target attribute and an original attribute in an original page;
a configuration module 206 configured to configure a configuration table by configuring the fixed attribute and the dynamic attribute corresponding to the original page in the database;
and the loading module 208 is configured to receive a loading instruction, and load the dynamic attribute in the configuration table in the original page to obtain a target page.
The partitioning module 204 is further configured to compare the target attribute with an original attribute in an original page; and taking the attribute which is the same as the original attribute in the original page in the target attribute as a fixed attribute, and taking the attribute which is different from the original attribute in the original page in the target attribute as a dynamic attribute.
The page changing device further comprises:
the association module is configured to associate attribute values corresponding to the fixed attributes and the dynamic attributes with a code table;
and the display module is configured to display the attribute values corresponding to the fixed attribute and the dynamic attribute in the target page respectively.
In this embodiment, the requirement of the target attribute and the original attribute in the original page are received first, then the target attribute is divided into the fixed attribute and the dynamic attribute according to the requirement of the target attribute and the original attribute in the original page, and the fixed attribute and the dynamic attribute corresponding to the original page are directly configured in the database to form the configuration table, so that the code does not need to be modified, a loading instruction is received, and the dynamic attribute in the configuration table is loaded in the original page to obtain the target page, thereby greatly reducing the workload and enabling the attribute on the page to be increased in time.
Fig. 3 is a block diagram illustrating a configuration of a computing device 300 according to an embodiment of the present description. The components of the computing device 300 include, but are not limited to, memory 310 and processor 320. The processor 320 is coupled to the memory 310 via a bus 330 and the database 350 is used to store data.
Computing device 300 also includes access device 340, access device 340 enabling computing device 300 to communicate via one or more networks 360. Examples of such networks include the Public Switched Telephone Network (PSTN), a Local Area Network (LAN), a Wide Area Network (WAN), a Personal Area Network (PAN), or a combination of communication networks such as the internet. Access device 340 may include one or more of any type of network interface (e.g., a Network Interface Card (NIC)) whether wired or wireless, such as an IEEE802.11 Wireless Local Area Network (WLAN) wireless interface, a worldwide interoperability for microwave access (Wi-MAX) interface, an ethernet interface, a Universal Serial Bus (USB) interface, a cellular network interface, a bluetooth interface, a Near Field Communication (NFC) interface, and so forth.
In one embodiment of the present description, the above-described components of computing device 300 and other components not shown in FIG. 3 may also be connected to each other, such as by a bus. It should be understood that the block diagram of the computing device architecture shown in FIG. 3 is for purposes of example only and is not limiting as to the scope of the description. Those skilled in the art may add or replace other components as desired.
Computing device 300 may be any type of stationary or mobile computing device, including a mobile computer or mobile computing device (e.g., tablet, personal digital assistant, laptop, notebook, netbook, etc.), a mobile phone (e.g., smartphone), a wearable computing device (e.g., smartwatch, smartglasses, etc.), or other type of mobile device, or a stationary computing device such as a desktop computer or PC. Computing device 300 may also be a mobile or stationary server.
An embodiment of the present invention also provides a computing device comprising a memory, a processor, and computer instructions stored on the memory and executable on the processor, the processor implementing the steps of the method for creating a development environment as described above when executing the instructions.
An embodiment of the present invention also provides a storage medium storing computer instructions that, when executed by a processor, implement the steps of the method of creating a development environment as described above.
The above is an illustrative scheme of a storage medium of the present embodiment. It should be noted that the technical solution of the storage medium and the technical solution of the method for creating a development environment belong to the same concept, and details that are not described in detail in the technical solution of the storage medium can be referred to the description of the technical solution of the method for creating a development environment.
The computer instructions comprise computer program code which may be in the form of source code, object code, an executable file or some intermediate form, or the like. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like. It should be noted that the computer readable medium may contain content that is subject to appropriate increase or decrease as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media does not include electrical carrier signals and telecommunications signals as is required by legislation and patent practice.
It should be noted that, for the sake of simplicity, the above-mentioned method embodiments are described as a series of acts or combinations, but those skilled in the art should understand that the present invention is not limited by the described order of acts, as some steps may be performed in other orders or simultaneously according to the present invention. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred and that no acts or modules are necessarily required of the invention.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
The preferred embodiments of the invention disclosed above are intended to be illustrative only. Alternative embodiments are not exhaustive and do not limit the invention to the precise embodiments described. Obviously, many modifications and variations are possible in light of the above teaching. The embodiments were chosen and described in order to best explain the principles of the invention and the practical application, to thereby enable others skilled in the art to best utilize the invention. The invention is limited only by the claims and their full scope and equivalents.

Claims (6)

1. A method for page change, comprising:
receiving the requirement of the target attribute and the original attribute in the original page;
dividing the target attribute into a fixed attribute and a dynamic attribute according to the requirement of the target attribute and the original attribute in the original page;
configuring fixed attributes and dynamic attributes corresponding to the original page in a database to form a configuration table;
and receiving a loading instruction, and loading the dynamic attribute in the configuration table in the original page to obtain a target page.
2. The method of claim 1, wherein dividing the target attribute into a fixed attribute and a dynamic attribute according to the requirement of the target attribute and an original attribute in an original page comprises:
comparing the target attribute with the original attribute in the original page;
and taking the attribute which is the same as the original attribute in the original page in the target attribute as a fixed attribute, and taking the attribute which is different from the original attribute in the original page in the target attribute as a dynamic attribute.
3. The method of claim 1, wherein after loading the dynamic attribute in the configuration table in the source page to obtain the target page, further comprising:
associating attribute values corresponding to the fixed attribute and the dynamic attribute with a code table;
and displaying attribute values respectively corresponding to the fixed attribute and the dynamic attribute in the target page.
4. An apparatus for page changing, comprising:
the receiving module is configured to receive the requirements of the target attributes and the original attributes in the original page;
the dividing module is configured to divide the target attribute into a fixed attribute and a dynamic attribute according to the requirement of the target attribute and the original attribute in the original page;
the configuration module is configured to configure the fixed attribute and the dynamic attribute corresponding to the original page in a database to form a configuration table;
and the loading module is configured to receive a loading instruction, and load the dynamic attribute in the configuration table in the original page to obtain a target page.
5. A computing device comprising a memory, a processor, and computer instructions stored on the memory and executable on the processor, wherein the processor implements the steps of the method of any one of claims 1-3 when executing the instructions.
6. A computer-readable storage medium storing computer instructions, which when executed by a processor, perform the steps of the method of any one of claims 1 to 3.
CN202010334171.3A 2020-04-24 2020-04-24 Page change method and device Pending CN111522616A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010334171.3A CN111522616A (en) 2020-04-24 2020-04-24 Page change method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010334171.3A CN111522616A (en) 2020-04-24 2020-04-24 Page change method and device

Publications (1)

Publication Number Publication Date
CN111522616A true CN111522616A (en) 2020-08-11

Family

ID=71904110

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010334171.3A Pending CN111522616A (en) 2020-04-24 2020-04-24 Page change method and device

Country Status (1)

Country Link
CN (1) CN111522616A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114253635A (en) * 2020-09-10 2022-03-29 网银在线(北京)科技有限公司 Data acquisition method and device, feature determination method and device and electronic equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104599144A (en) * 2015-02-03 2015-05-06 北京京东尚科信息技术有限公司 Method and device for generating product details page
CN107918548A (en) * 2017-07-25 2018-04-17 平安科技(深圳)有限公司 Method, apparatus, computer equipment and the storage medium that business function is realized
CN110865797A (en) * 2018-08-28 2020-03-06 北京京东尚科信息技术有限公司 Method and device for processing dynamic attributes of services

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104599144A (en) * 2015-02-03 2015-05-06 北京京东尚科信息技术有限公司 Method and device for generating product details page
CN107918548A (en) * 2017-07-25 2018-04-17 平安科技(深圳)有限公司 Method, apparatus, computer equipment and the storage medium that business function is realized
CN110865797A (en) * 2018-08-28 2020-03-06 北京京东尚科信息技术有限公司 Method and device for processing dynamic attributes of services

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114253635A (en) * 2020-09-10 2022-03-29 网银在线(北京)科技有限公司 Data acquisition method and device, feature determination method and device and electronic equipment

Similar Documents

Publication Publication Date Title
WO2020244233A1 (en) Data storage method and apparatus
CN111949324A (en) Distributed serial number generation method and device
CN103369505A (en) Card selection method and system for multi-card mobile terminal, and mobile terminal
CN111767047A (en) Micro-service component management method and device
US20200285654A1 (en) Data storage method and apparatus
CN111324343A (en) Code generation method and device
CN111522616A (en) Page change method and device
CN111111179A (en) Unity-based graphics resource loading method and device
CN111835824B (en) Binding method, migration method, binding device, migration device, computing equipment and storage medium
CN110446118B (en) Video resource preprocessing method and device and video resource downloading method and device
CN112070591A (en) Page display method and device
CN114584482B (en) Method, device and network card for storing detection data based on memory
CN114385596A (en) Data processing method and device
CN111246046B (en) Pattern encoding method and device, pattern decoding method and device
CN111625341A (en) Task scheduling management method and device
CN113553814A (en) Form content expansion method, device, equipment and medium
CN111124582B (en) Icon calling method and device
CN113065009B (en) View loading method and device
CN113296870B (en) Method and device for predicting Kubernetes cluster configuration
CN114155019A (en) Marketing message generation method, marketing message generation device, marketing message generation equipment and storage medium
CN110018891B (en) Task management system, task management method and device
CN111080763A (en) Method and device for merging maps
CN113198180B (en) Event processing method and device
US20230230049A1 (en) Methods and system for generating versions of a device maintenance profile
CN112597419A (en) Data synchronization method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20200811