CN113238876A - Method for distributing information of each position in iOS application - Google Patents

Method for distributing information of each position in iOS application Download PDF

Info

Publication number
CN113238876A
CN113238876A CN202110494284.4A CN202110494284A CN113238876A CN 113238876 A CN113238876 A CN 113238876A CN 202110494284 A CN202110494284 A CN 202110494284A CN 113238876 A CN113238876 A CN 113238876A
Authority
CN
China
Prior art keywords
data
information
management
class
creating
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202110494284.4A
Other languages
Chinese (zh)
Other versions
CN113238876B (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.)
Baobao Bus Co ltd
Original Assignee
Baobao Bus 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 Baobao Bus Co ltd filed Critical Baobao Bus Co ltd
Priority to CN202110494284.4A priority Critical patent/CN113238876B/en
Publication of CN113238876A publication Critical patent/CN113238876A/en
Application granted granted Critical
Publication of CN113238876B publication Critical patent/CN113238876B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/547Remote procedure calls [RPC]; Web services
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/16File or folder operations, e.g. details of user interfaces specifically adapted to file systems
    • G06F16/168Details of user interfaces specifically adapted to file systems, e.g. browsing and visualisation, 2d or 3d GUIs
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (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 for distributing information of each position in an iOS application, which comprises the steps of respectively establishing enumeration types, information position management protocols and position unified management classes of different information positions at a client; the client requests the server data and judges whether special processing is needed or not, if so, a special processing method in a single information position management class is executed, otherwise, universal resources are downloaded to perform corresponding data management, and the problems of low yield of directly issuing data, poor visibility of client processing, high error rate and low expansibility are solved.

Description

Method for distributing information of each position in iOS application
Technical Field
The invention relates to the technical field of computers, in particular to a method for distributing information of each position in iOS application.
Background
With the development of the big data industry, more and more applications are put different contents to users at different information positions in products. To obtain different types of revenue or exposure to other products, including: self-media (delivery of home products) and direct guests (advertisements delivered by other companies within home products), since each information location may handle its own special logic, such as: the screen is opened, and a plurality of pieces of information are required to be inserted for browsing news and other contents. So the traditional mode is self-request and self-processing during display. This approach can lead to several problems:
disadvantage 1: visibility is poor. The data is required to be stored locally after being requested to be used without a network next time, and the data is too scattered and is not intuitive due to respective processing.
And (2) disadvantage: the error rate is high. Although each position may have own special logic, the same logic is too much, and the respective processing can lead to multiple realizations of the same content, so that the error rate is high.
Disadvantage 3: and the expansibility is low. When a demand is needed by all the positions, the code is added at the moment, the modules at each position are required to be added, and the operation is complex.
Disadvantage 4: the yield is low. Directly issuing data without processing results in yield and cost being not in direct proportion.
Disclosure of Invention
Technical problem to be solved
In order to solve the above problems in the prior art, the present invention provides a method for distributing each location information in an iOS application, which can solve the problems of low yield of directly issuing data, poor visibility of client processing, high error rate and low expansibility.
(II) technical scheme
In order to achieve the purpose, the invention adopts a technical scheme that:
a method of distributing location information within an iOS application, comprising the steps of:
respectively creating enumeration types, information position management protocols and position unified management types of different information positions at a client;
the client requests the server data and judges whether special processing is needed, if so, a special processing method in a single information position management class is executed, otherwise, universal resources are downloaded, and corresponding data management is carried out.
(III) advantageous effects
The invention has the beneficial effects that: respectively creating enumeration types, information position management protocols and position unified management types of different information positions at a client; the client requests the server data and judges whether special processing is needed or not, if so, a special processing method in a single information position management class is executed, otherwise, universal resources are downloaded to perform corresponding data management, and the problems of low yield of directly issuing data, poor visibility of client processing, high error rate and low expansibility are solved.
Drawings
FIG. 1 is a flow diagram of a method for location information distribution within an iOS application in accordance with an embodiment of the present invention; .
Detailed Description
For the purpose of better explaining the present invention and to facilitate understanding, the present invention will be described in detail by way of specific embodiments with reference to the accompanying drawings.
Referring to fig. 1, a method for distributing location information in an iOS application includes the steps of:
respectively creating enumeration types, information position management protocols and position unified management types of different information positions at a client;
the client requests the server data and judges whether special processing is needed, if so, a special processing method in a single information position management class is executed, otherwise, universal resources are downloaded, and corresponding data management is carried out.
The enumeration types comprise start, banner and reward;
the protocol method in the created information position management protocol comprises the following steps:
position enumeration, which is used for storing local data and requesting server parameters;
the special domain name is used for carrying out special processing on the obtained server data;
and specifying a data model for processing the data format required to be specified at each position.
Specifically, the server parameter is different from the server data, the server parameter refers to requesting the server according to an enumeration type, each position enumeration value is different, data returned by the requesting server is different, and position enumeration can distinguish different folders while storing local data.
The created location unification management class specifically includes:
and acquiring the currently usable position information, creating an initialization interface, calling when starting, and realizing first processing in the interface.
The first processing comprises;
when the server data is requested, the request state of each position and the requested original data are respectively stored in the memory;
after requesting the server data, judging whether special processing is needed, if so, executing a special processing method in a single information position management class, otherwise, creating different folders according to enumeration types, downloading universal resources and performing corresponding data management;
and storing the data of the server to the local, creating and acquiring a position interface, and realizing second processing.
The second treatment specifically comprises:
and filtering the acquired data through a filtering class, and returning a result.
The filtering class includes:
and displaying the blacklist, wherein the blacklist adopts an iOS key storage mode, and the storage key of the blacklist uses position enumeration as a unique identifier.
Further comprising the steps of:
creating a local data management class at a client, and storing the requested server data to the local;
and creating a directory class at the client for acquiring the path of the corresponding directory or resource according to the transmitted unique identifier or position information.
Specifically, the creating of the local data management class at the client and the saving of the requested server data to the local are to create a uniform class by saving data using an enumeration type.
The data is stored only once, and the process is as follows: create local data management class > request and save according to enumeration type.
Example two
The difference between this embodiment and the first embodiment is that this embodiment will further explain, in combination with a specific application scenario, how the method for distributing each piece of location information in the iOS application of the present invention is implemented:
1. creating enumeration types of different information positions at a client, wherein the enumeration types comprise start, banner and reward;
2. the method comprises the following steps of creating an information position management protocol at a client, wherein a protocol method in the created information position management protocol comprises the following steps:
position enumeration, which is used for storing local data and requesting server parameters;
the special domain name is used for carrying out special processing on the obtained server data so as to solve the technical problem of poor expansibility;
and specifying a data model for processing the data format required to be specified at each position.
3. And unifying the management class at the client position, wherein the created position unified management class specifically comprises the following steps:
and acquiring the currently usable position information, creating an initialization interface, calling when starting, and realizing first processing in the interface.
The first processing comprises;
when server data is requested, storing the request state (success, failure or in request) of each position and the requested original data in an internal memory respectively;
specifically, the function is to return the data requested this time or the local data according to different types of protocols, so as to solve the problem of high error rate, and when the request fails, the default data in step 8 is directly returned.
After requesting the server data, judging whether special processing is needed, if so, executing a special processing method in a single information position management class, otherwise, creating different folders according to enumeration types, downloading general resources and performing corresponding data management;
and thirdly, storing the data of the server to the local, creating an acquisition position interface, and realizing second processing, wherein the second processing is realized by the filtering class created in the step 4.
The second treatment specifically comprises:
and filtering the acquired data through a filtering class, and returning a result.
4. Creating a data filtering class at a client so as to solve the technical problem of low yield, wherein the most basic filtering conditions are as follows:
displaying a blacklist: the blacklist adopts an iOS key storage mode, so that the display efficiency is maximized, the storage key of the blacklist uses position enumeration as a unique identifier, two functions of obtaining and displaying are provided, and data are updated during display. The upper limit of the display times is the server-side issuing, when the times reach the maximum, the display is not allowed, when all issued products reach the online state, the blacklist is released, and the display is restarted. And changing the updating time of the single data into the updating time issued by the server, deleting the record in the blacklist when the updating time is inconsistent with the single data of the blacklist, and considering that the record can be redisplayed.
Specifically, the information position is represented by screen opening (content just shown by the program), banner, head of a video watching advertisement or motivational video, and the iOS keyhain represents that the same company subject can share data under the same device.
Network situation: different information is issued, and in some cases, the user is more likely to click under the WiFi situation.
③ effective time: the effective time period ensures that different contents are issued in each time period, and theme contents like spring festival, New year's day and the like can be configured in advance.
Different rotation of single material: the users may have different click interests due to different cover pages of each piece of issued information content, so that the rotation of single content material and the blacklist also need to be uniformly filtered.
5. The method comprises the steps of creating a local data management class at a client, storing requested server data to the local, creating a total folder, wherein each information position is a subfolder, and resources can be separately created in the subfolders. Therefore, all resources are managed under the same large folder, and the problem of poor visibility is solved.
6. And creating a directory class at the client for acquiring the path of the corresponding directory or resource according to the transmitted unique identifier or position information.
7. A base model is created. A self-media model and a direct guest model. At each location, there may be a designated model, so both models are used internally only by themselves.
8. A default data class is created. The application is started for the first time, the device has no network, and at this time, each information location also needs its own default data, and the management is performed in this way.
The above description is only an embodiment of the present invention, and not intended to limit the scope of the present invention, and all equivalent changes made by using the contents of the present specification and the drawings, or applied directly or indirectly to the related technical fields, are included in the scope of the present invention.

Claims (7)

1. A method for distributing location information within an iOS application, comprising the steps of:
respectively creating enumeration types, information position management protocols and position unified management types of different information positions at a client;
the client requests the server data and judges whether special processing is needed, if so, a special processing method in a single information position management class is executed, otherwise, universal resources are downloaded, and corresponding data management is carried out.
2. The method of distribution of location information within an iOS application according to claim 1, wherein the enumerated types include start, banner, and reward;
the protocol method in the created information position management protocol comprises the following steps:
position enumeration, which is used for storing local data and requesting server parameters;
the special domain name is used for carrying out special processing on the obtained server data;
and specifying a data model for processing the data format required to be specified at each position.
3. The method of claim 1, wherein the created location unification management class specifically comprises:
and acquiring the currently usable position information, creating an initialization interface, calling when starting, and realizing first processing in the interface.
4. The method of distribution of location information within an iOS application according to claim 3, characterized in that the first process comprises:
when the server data is requested, the request state of each position and the requested original data are respectively stored in the memory;
after requesting the server data, judging whether special processing is needed, if so, executing a special processing method in a single information position management class, otherwise, creating different folders according to enumeration types, downloading universal resources and performing corresponding data management;
and storing the data of the server to the local, creating and acquiring a position interface, and realizing second processing.
5. The method of distributing location information within an iOS application according to claim 4, characterized in that the second process is specifically:
and filtering the acquired data through a filtering class, and returning a result.
6. The method of distribution of location information within an iOS application according to claim 5, wherein the filter class comprises:
and displaying the blacklist, wherein the blacklist adopts an iOS key storage mode, and the storage key of the blacklist uses position enumeration as a unique identifier.
7. The method for distribution of location information within an iOS application according to claim 1, characterized by the further step of:
creating a local data management class at a client, and storing the requested server data to the local;
and creating a directory class at the client for acquiring the path of the corresponding directory or resource according to the transmitted unique identifier or position information.
CN202110494284.4A 2021-05-07 2021-05-07 Method for distributing information of each position in iOS application Active CN113238876B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110494284.4A CN113238876B (en) 2021-05-07 2021-05-07 Method for distributing information of each position in iOS application

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110494284.4A CN113238876B (en) 2021-05-07 2021-05-07 Method for distributing information of each position in iOS application

Publications (2)

Publication Number Publication Date
CN113238876A true CN113238876A (en) 2021-08-10
CN113238876B CN113238876B (en) 2023-09-29

Family

ID=77132267

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110494284.4A Active CN113238876B (en) 2021-05-07 2021-05-07 Method for distributing information of each position in iOS application

Country Status (1)

Country Link
CN (1) CN113238876B (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070299819A1 (en) * 2006-06-22 2007-12-27 Sun Microsystems, Inc. Resource discovery and enumeration in meta-data driven instrumentation
CN101119223A (en) * 2007-09-28 2008-02-06 腾讯科技(深圳)有限公司 Method, system and related device for implementing on-line advertisement launching
CN101346739A (en) * 2005-12-24 2009-01-14 富媒体俱乐部有限责任公司 System and method for the creation, distribution and tracking of advertising via electronic networks
US20090125619A1 (en) * 2007-11-14 2009-05-14 International Business Machines Corporation Autonomic definition and management of distributed appication information
CN101969475A (en) * 2010-11-15 2011-02-09 张军 Business data controllable distribution and fusion application system based on cloud computing
CN106600321A (en) * 2016-12-12 2017-04-26 合肥华耀广告传媒有限公司 IOS based mobile advertisement platform system
CN107995273A (en) * 2017-11-27 2018-05-04 北京酷我科技有限公司 A kind of iOS network management strategies
CN108053249A (en) * 2017-12-17 2018-05-18 湖北联城通科技发展有限公司 A kind of information issuing system based on Internet of Things
CN108134811A (en) * 2017-11-10 2018-06-08 广州优视网络科技有限公司 The methods, devices and systems that file destination is distributed or downloaded
US20200250176A1 (en) * 2019-01-31 2020-08-06 Salesforce.Com, Inc. Systems, methods, and apparatuses for distributing a metadata driven application to customers and non-customers of a host organization using distributed ledger technology (dlt)

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101346739A (en) * 2005-12-24 2009-01-14 富媒体俱乐部有限责任公司 System and method for the creation, distribution and tracking of advertising via electronic networks
US20070299819A1 (en) * 2006-06-22 2007-12-27 Sun Microsystems, Inc. Resource discovery and enumeration in meta-data driven instrumentation
CN101119223A (en) * 2007-09-28 2008-02-06 腾讯科技(深圳)有限公司 Method, system and related device for implementing on-line advertisement launching
US20090125619A1 (en) * 2007-11-14 2009-05-14 International Business Machines Corporation Autonomic definition and management of distributed appication information
CN101969475A (en) * 2010-11-15 2011-02-09 张军 Business data controllable distribution and fusion application system based on cloud computing
CN106600321A (en) * 2016-12-12 2017-04-26 合肥华耀广告传媒有限公司 IOS based mobile advertisement platform system
CN108134811A (en) * 2017-11-10 2018-06-08 广州优视网络科技有限公司 The methods, devices and systems that file destination is distributed or downloaded
CN107995273A (en) * 2017-11-27 2018-05-04 北京酷我科技有限公司 A kind of iOS network management strategies
CN108053249A (en) * 2017-12-17 2018-05-18 湖北联城通科技发展有限公司 A kind of information issuing system based on Internet of Things
US20200250176A1 (en) * 2019-01-31 2020-08-06 Salesforce.Com, Inc. Systems, methods, and apparatuses for distributing a metadata driven application to customers and non-customers of a host organization using distributed ledger technology (dlt)

Also Published As

Publication number Publication date
CN113238876B (en) 2023-09-29

Similar Documents

Publication Publication Date Title
US11405468B2 (en) Forming activity streams across heterogeneous applications
US20210209127A1 (en) Digital Asset Management System
CN111027921B (en) Service processing method and device, electronic equipment and storage medium
CN108536761B (en) Report data query method and server
KR100992030B1 (en) Method for exchanging portlet configuration data
US7181681B2 (en) Realtime web page scrapping and visual representation of associated clickthrough and impression data architecture
US20140173417A1 (en) Method and Apparatus for Archiving and Displaying historical Web Contents
CN100423610C (en) User identifying module service and method and system for using personalized tailered issuing
US20140280484A1 (en) Dynamic Service Extension Infrastructure For Cloud Platforms
US20150052144A1 (en) Computer system storing content into application independent objects
CN107291759B (en) Method and device for processing browser page resources
WO2018045489A1 (en) Data collection method, apparatus and system
CN104321743A (en) Method and system for developing applications for consulting content and services on a telecommunications network
US20130226975A1 (en) Method for file management and mobile device using the same
CN103051652B (en) A kind of mobile terminal cloud computing distribution platform
WO2016107465A1 (en) Method, device, and system for implementing card-type desktop
CN110910203A (en) Method and device for displaying content of commodity page
WO2016111975A1 (en) Implementing desktops on a mobile terminal
CN104573079A (en) Intelligent image file uploading management method
CN114528473A (en) Websocket-based information integration release method and system
WO2018000524A1 (en) Backup file method and apparatus
US9741060B2 (en) Recursive navigation in mobile CRM
CN113238876B (en) Method for distributing information of each position in iOS application
US20090313196A1 (en) External scoping sources to determine affected people, systems, and classes of information in legal matters
CN112783842A (en) Log collection 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
GR01 Patent grant
GR01 Patent grant